Package org.cristalise.kernel.entity
Class DomainContext
java.lang.Object
org.cristalise.kernel.entity.DomainContext
- All Implemented Interfaces:
DescriptionObject
Name is computed from the DomainPath string: fist letters capitalised, slashes removed and 'Context' postfix added,
e.g. /desc/Script/kernel => DescScriptKernelContext.
-
Constructor Summary
ConstructorsConstructorDescriptionDomainContext(String path) DomainContext(String path, Integer v) DomainContext(String path, String ns, Integer v) DomainContext(DomainPath path) DomainContext(DomainPath path, String ns, Integer v) -
Method Summary
Modifier and TypeMethodDescriptionGets the domain path represented by the the DomainContext item.getSubContexts(TransactionKey transactionKey) makeDescCollections(TransactionKey transactionKey) voidsetDomainPath(String path) DO NOT use this method, it is only needed for castor xml marshallingtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.cristalise.kernel.utils.DescriptionObject
exists, export, getItemPath, getName, getNamespace, getVersion, getXml, getXml, makeDescCollection, setItemPath, setName, setNamespace, setVersion, toOutcome
-
Constructor Details
-
DomainContext
public DomainContext() -
DomainContext
- Throws:
InvalidDataException
-
DomainContext
- Throws:
InvalidDataException
-
DomainContext
- Throws:
InvalidDataException
-
DomainContext
- Throws:
InvalidDataException
-
DomainContext
- Throws:
InvalidDataException
-
-
Method Details
-
getItemID
- Specified by:
getItemIDin interfaceDescriptionObject
-
makeDescCollections
public CollectionArrayList makeDescCollections(TransactionKey transactionKey) throws InvalidDataException, ObjectNotFoundException - Specified by:
makeDescCollectionsin interfaceDescriptionObject- Throws:
InvalidDataExceptionObjectNotFoundException
-
getParentContext
- Throws:
InvalidDataException
-
getSubContexts
-
setDomainPath
DO NOT use this method, it is only needed for castor xml marshalling- Parameters:
path- the domain path in string format
-
getDomainPath
Gets the domain path represented by the the DomainContext item. String return type is required for castor xml marshaling- Returns:
- string format of the domain path
-
getResourceType
- Specified by:
getResourceTypein interfaceDescriptionObject
-
toString
-