|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.odi.domain.support.BusinessObject
oracle.odi.domain.support.AbstractRepositoryEntity
oracle.odi.domain.support.AbstractOdiEntity
oracle.odi.domain.runtime.scenario.OdiScenarioFolder
public final class OdiScenarioFolder
*
An OdiScenarioFolder is a group of OdiScenarios. It can contain sub-folders. As any folder it has the particularity to be root of its own aggregate and to control removal of every objects that has been defined in it (OdiScenarios as well as sub OdiScenarioFolders).
Life cycle begins when a user create an OdiScenarioFolder inside runtime repository. Once created, user can change its name, description and add or move some OdiScenarios and other OdiScenarioFolders. Life cycle ends when a user removes OdiScenarioFolder from runtime repository. When removed, every OdiScenario and OdiScenarioFolder (sub-folders) that have been moved in this OdiScenarioFolder are also removed.
| Field Summary | |
|---|---|
static int |
NAME_MAX_LENGTHMaximum name length allowed. |
| Fields inherited from class oracle.odi.domain.support.AbstractOdiEntity |
|---|
STARTING_INTERNAL_VERSION |
| Constructor Summary | |
|---|---|
OdiScenarioFolder(OdiScenarioFolder pParentScenFolder, java.lang.String pName)Constructs the OdiScenarioFolder specified by the given name within the given parent scenario folder. |
|
OdiScenarioFolder(java.lang.String pName)Constructs the top-level OdiScenarioFolder specified by the given name. |
|
| Method Summary | |
|---|---|
void |
addLoadPlan(OdiLoadPlan pLoadPlan)Add the given OdiLoadPlan to this OdiScenarioFolder. |
void |
addScenario(OdiScenario pScenario)Add the given OdiScenario to this OdiScenarioFolder. |
void |
addSubFolder(OdiScenarioFolder pSubScenFolder)Add the given OdiScenarioFolder to this OdiScenarioFolder's hierarchy as a direct child. |
java.lang.String |
getDescription()Gets description of this OdiScenarioFolder. |
java.io.Serializable |
getInternalId()Provides a common getter for the persistence layer to obtain an identity, irrespective of the actual type of identity used. |
java.util.Collection<OdiLoadPlan> |
getLoadPlans()Gets an unmodifiable collection of OdiLoadPlan that belongs to this OdiScenarioFolder. |
java.lang.String |
getName()Gets name of this OdiScenarioFolder. |
OdiScenarioFolder |
getParentScenFolder()Returns the parent OdiScenarioFolder of this OdiScenarioFolder or null if this is a root OdiScenarioFolder. |
java.lang.Number |
getScenarioFolderId()Returns the unique ID of the scenario folder. |
java.util.Collection<OdiScenario> |
getScenarios()Gets an unmodifiable collection of OdiScenarios that belongs to this OdiScenarioFolder. |
IRepositoryEntity |
getSecurityContainer()Define a generic way to retrieve container for entities. |
java.util.Collection<OdiScenarioFolder> |
getSubFolders()Gets an unmodifiable collection of sub-folders of this OdiScenarioFolder. |
boolean |
isInstanceLevelSecurityNeeded()Internal: this method is for internal purpose and must not be considered as part of the public API. |
void |
removeLoadPlan(OdiLoadPlan pLoadPlan)Removes the given OdiLoadPlan from this OdiScenarioFolder's hierarchy. |
void |
removeScenario(OdiScenario pScenario)Removes the given OdiScenario from this OdiScenarioFolder's hierarchy. |
void |
removeSubFolder(OdiScenarioFolder pSubScenFolder)Removes the given OdiScenarioFolder from internal hierarchy and it becomes a top-level scenario folder. |
void |
setDescription(java.lang.String pDescription)Sets the description for this OdiScenarioFolder. |
void |
setName(java.lang.String pName)Sets the name for this OdiScenarioFolder. |
| Methods inherited from class oracle.odi.domain.support.AbstractOdiEntity |
|---|
equals, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, hashCode, isNew, toString |
| Methods inherited from class oracle.odi.domain.support.BusinessObject |
|---|
clone |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.odi.domain.IOdiEntity |
|---|
getFirstDate, getFirstUser, getLastDate, getLastUser |
| Field Detail |
|---|
public static final int NAME_MAX_LENGTH
| Constructor Detail |
|---|
public OdiScenarioFolder(java.lang.String pName)
OdiScenarioFolder specified by the given name.
pName - nameDomainRuntimeException - if pName is null, empty or longer than 400
public OdiScenarioFolder(OdiScenarioFolder pParentScenFolder,
java.lang.String pName)
OdiScenarioFolder specified by the given name within the given parent scenario folder.
pParentScenFolder - parent scenario folderpName - nameDomainRuntimeException - if pParentScenFolder is null or pName is null, empty| Method Detail |
|---|
public java.io.Serializable getInternalId()
IRepositoryEntityTypically a subclass will delegate to a public SomePrimitiveWrapper getId() method. The necessity for the getInternalId() abstract method is solely because the persistence layer needs a way of obtaining the identity irrespective of the actual identity implementation choice.
Returning null from this method will indicate the object has never been saved. This will likely be relied on by some DAO implementations.
getInternalId in interface IRepositoryEntitypublic java.lang.Number getScenarioFolderId()
public boolean isInstanceLevelSecurityNeeded()
IOdiEntityDefines a method to capture the info on which object needs instance level privilege.
isInstanceLevelSecurityNeeded in interface IOdiEntityisInstanceLevelSecurityNeeded in class oracle.odi.domain.support.AbstractOdiEntitytrue if instance level security needed, false otherwisepublic java.lang.String getName()
getName in interface IOdiEntitygetName in class oracle.odi.domain.support.AbstractOdiEntitysetName(String)public java.lang.String getDescription()
setDescription(String)public java.util.Collection<OdiScenarioFolder> getSubFolders()
addSubFolder(OdiScenarioFolder), removeSubFolder(OdiScenarioFolder)public java.util.Collection<OdiScenario> getScenarios()
addScenario(OdiScenario), removeScenario(OdiScenario)public java.util.Collection<OdiLoadPlan> getLoadPlans()
addLoadPlan(OdiLoadPlan), removeLoadPlan(OdiLoadPlan)public OdiScenarioFolder getParentScenFolder()
null if this is a root OdiScenarioFolder.public IRepositoryEntity getSecurityContainer()
IRepositoryEntitygetSecurityContainer in interface IRepositoryEntitypublic void setName(java.lang.String pName)
OdiScenarioFolder.pName - nameDomainRuntimeException - if pName is null, empty or longer than 400getName()public void setDescription(java.lang.String pDescription)
OdiScenarioFolder.pDescription - descriptiongetDescription()public void addSubFolder(OdiScenarioFolder pSubScenFolder)
OdiScenarioFolder to this OdiScenarioFolder's hierarchy as a direct child.pSubScenFolder - an OdiScenarioFolder objectDomainRuntimeException - if pSubScenFolder is null or it attempts to create a cycle in OdiScenarioFolder's hierarchyremoveSubFolder(OdiScenarioFolder), getSubFolders()public void removeSubFolder(OdiScenarioFolder pSubScenFolder)
Removes the given OdiScenarioFolder from internal hierarchy and it becomes a top-level scenario folder.
Note: You will have to call IOdiEntityManager.remove(pSubScenFolder) in order to remove the OdiScenarioFolder from the repository.
pSubScenFolder - a child OdiScenarioFolder objectDomainRuntimeException - if pSubScenFolder is null or is not a direct child for this OdiScenarioFolderaddSubFolder(OdiScenarioFolder), getSubFolders()public void addScenario(OdiScenario pScenario)
OdiScenario to this OdiScenarioFolder.pScenario - OdiScenario to addDomainRuntimeException - if pScenario is nullremoveScenario(OdiScenario), getScenarios()public void removeScenario(OdiScenario pScenario)
Removes the given OdiScenario from this OdiScenarioFolder's hierarchy.
Note: You will have to call IOdiEntityManager.remove(pScenario) in order to remove the OdiScenario from the repository.
pScenario - scenario to removeDomainRuntimeException - if pScenario is null or does not belong to this OdiScenarioFolderaddScenario(OdiScenario), getScenarios()public void addLoadPlan(OdiLoadPlan pLoadPlan)
OdiLoadPlan to this OdiScenarioFolder.pLoadPlan - OdiLoadPlan to addDomainRuntimeException - if pLoadPlan is nullremoveLoadPlan(OdiLoadPlan), getLoadPlans()public void removeLoadPlan(OdiLoadPlan pLoadPlan)
Removes the given OdiLoadPlan from this OdiScenarioFolder's hierarchy.
Note: You will have to call IOdiEntityManager.remove(pLoadPlan) in order to remove the OdiLoadPlan from the repository.
pLoadPlan - load plan to removeDomainRuntimeException - if pLoadPlan is null or does not belong to this OdiScenarioFolderaddLoadPlan(OdiLoadPlan), getLoadPlans()
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||