Package org.cristalise.kernel.utils
Class ActDefCache
java.lang.Object
org.cristalise.kernel.utils.DescriptionObjectCache<ActivityDef>
org.cristalise.kernel.utils.ActDefCache
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cristalise.kernel.utils.DescriptionObjectCache
DescriptionObjectCache.CacheEntry<E extends DescriptionObject> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ActivityDefbuildObject(String name, int version, ItemPath path, String data) protected Stringprotected Stringprotected Stringprotected booleanisBootResource(String filename, String resName) protected ActivityDefloadObject(ItemProxy proxy, int version, TransactionKey transactionKey) Methods inherited from class org.cristalise.kernel.utils.DescriptionObjectCache
get, get, invalidate, invalidate, invalidate
-
Constructor Details
-
ActDefCache
-
-
Method Details
-
getTypeCode
- Specified by:
getTypeCodein classDescriptionObjectCache<ActivityDef>
-
getSchemaName
- Specified by:
getSchemaNamein classDescriptionObjectCache<ActivityDef>
-
getTypeRoot
- Specified by:
getTypeRootin classDescriptionObjectCache<ActivityDef>
-
isBootResource
- Overrides:
isBootResourcein classDescriptionObjectCache<ActivityDef>- Parameters:
filename-resName-- Returns:
-
loadObject
protected ActivityDef loadObject(ItemProxy proxy, int version, TransactionKey transactionKey) throws ObjectNotFoundException, InvalidDataException - Overrides:
loadObjectin classDescriptionObjectCache<ActivityDef>- Parameters:
proxy-version-transactionKey-- Returns:
- Throws:
ObjectNotFoundExceptionInvalidDataException
-
buildObject
protected ActivityDef buildObject(String name, int version, ItemPath path, String data) throws InvalidDataException - Specified by:
buildObjectin classDescriptionObjectCache<ActivityDef>- Parameters:
name-version-path-data-- Returns:
- Throws:
InvalidDataException
-