|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.6.0) E17060-03 |
|||||||||
| 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.session.OdiSessionFolder
public class OdiSessionFolder
An OdiSessionFolder is used to group OdiSession using predefined Keywords. Contrary to other types of folder in ODI, an OdiSessionFolder doesn't contain objects (i.e. OdiSessions). It is made of a collection of keywords that can be used to filter sessions that have been started / created with some keywords matching all the OdiSessionFolder's keywords.
Therefore, it is the only entity inside OdiSessionFolder aggregate, thus is the root. It is identified by a unique session folder ID that can be obtained from getSessionFolderId() method call. equals / hashCode methods are implemented according this identity.
Life cycle of an OdiSessionFolder begins when it is created in runtime repository. Some keywords can then be assigned to the OdiSessionFolder. Life cycle ends when the OdiSessionFolder is removed from runtime repository.
OdiSession, Serialized Form| Field Summary | |
|---|---|
static int |
KEYWORDS_MAX_TOTAL_LENGTHMaximum total length of an OdiSessionFolder's keywords. |
static int |
NAME_MAX_LENGTHMaximum length of an OdiSessionFolder's name. |
| Fields inherited from class oracle.odi.domain.support.AbstractOdiEntity |
|---|
STARTING_INTERNAL_VERSION |
| Constructor Summary | |
|---|---|
OdiSessionFolder(java.lang.String pName)Constructs a new OdiSessionFolder, specified by name. |
|
| Method Summary | |
|---|---|
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.lang.String[] |
getKeywords()Returns keywords elements that are defined for this OdiSessionFolder. |
java.lang.String |
getName()Returns the name of this OdiSessionFolder instance. |
IRepositoryEntity |
getSecurityContainer()Define a generic way to retrieve container for entities. |
java.lang.Number |
getSessionFolderId()Returns id of this OdiSessionFolder instance. |
java.util.Collection<OdiSession> |
getSessions(IOdiSessionFinder pFinder)Obtains an unmodifiable collection of OdiSessions matching this OdiSessionFolder's keywords. |
void |
setKeywords(java.lang.String[] pKeywords)Sets keywords for this OdiSessionFolder. |
void |
setName(java.lang.String pName)Sets name of this OdiSessionFolder. |
| Methods inherited from class oracle.odi.domain.support.AbstractOdiEntity |
|---|
equals, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, hashCode, isInstanceLevelSecurityNeeded, 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, isInstanceLevelSecurityNeeded |
| Field Detail |
|---|
public static final int NAME_MAX_LENGTH
OdiSessionFolder's name.
public static final int KEYWORDS_MAX_TOTAL_LENGTH
OdiSessionFolder's keywords.
| Constructor Detail |
|---|
public OdiSessionFolder(java.lang.String pName)
OdiSessionFolder, specified by name.
pName - - OdiSessionFolder's nameDomainRuntimeException - if pName is null, empty or longer than 400| Method Detail |
|---|
public java.lang.Number getSessionFolderId()
OdiSessionFolder instance.OdiSessionFolder instance.public java.lang.String getName()
OdiSessionFolder instance.getName in interface IOdiEntitygetName in class oracle.odi.domain.support.AbstractOdiEntityOdiSessionFolder instance.public java.lang.String[] getKeywords()
OdiSessionFolder.OdiSessionFolder.public java.util.Collection<OdiSession> getSessions(IOdiSessionFinder pFinder)
OdiSessionFolder's keywords.pFinder - finder for OdiSessionOdiSessionFolder's keywords.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 IRepositoryEntity getSecurityContainer()
IRepositoryEntitygetSecurityContainer in interface IRepositoryEntitypublic void setName(java.lang.String pName)
OdiSessionFolder.pName - - nameDomainRuntimeException - if pName is null, empty or longer than 400public void setKeywords(java.lang.String[] pKeywords)
OdiSessionFolder.pKeywords - array of string keywordsDomainRuntimeException - if total length of keywords is greater than 250
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.6.0) E17060-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||