Package org.cristalise.kernel.lookup
Class RolePath
java.lang.Object
org.cristalise.kernel.lookup.Path
org.cristalise.kernel.lookup.RolePath
- All Implemented Interfaces:
C2KLocalObject
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondump()getChildren(TransactionKey transactionKey) Each C2KLocalObject is stored with a path identifier starting with the ClusterType: DomainPath: /Path/Domain/Name ItemPath: /Path/Item AgentPath: /Path/Agent RolePath: /Path/Role/Name Properties: /Property/Name Workflow: /LifeCycle/workflow Collections: /Collection/Name/Version (default Name='last') Outcomes: /Outcome/SchemaName/SchemaVersion/EventID Viewpoints: /ViewPoint/SchemaName/Name (default Name='last') Events: /AuditTrail/EventID Jobs: /Job/JobIDgetName()Gets the name of the C2KLocalObjectgetParent(TransactionKey transactionKey) getRoot()Returns root as it is defined as 'domain', 'entity' or 'role' in subclassesbooleanvoidsetHasJobList(boolean hasJobList) voidsetPermissions(List<String> newPermissions) voidsetPermissions(Set<String> newPermissions) Methods inherited from class org.cristalise.kernel.lookup.Path
equals, exists, exists, getClusterType, getItemPath, getItemPath, getPath, getString, getStringPath, getStringPath, getUUID, hashCode, setName, setPath, setPath, setPath, toString
-
Constructor Details
-
RolePath
public RolePath() -
RolePath
-
RolePath
-
RolePath
-
RolePath
-
RolePath
-
RolePath
-
RolePath
-
RolePath
-
RolePath
-
RolePath
-
RolePath
-
RolePath
-
RolePath
-
-
Method Details
-
getParent
- Throws:
ObjectNotFoundException
-
getParent
- Throws:
ObjectNotFoundException
-
hasJobList
public boolean hasJobList()- Returns:
- Returns the hasJobList.
-
setHasJobList
public void setHasJobList(boolean hasJobList) - Parameters:
hasJobList- The hasJobList to set.
-
getPermissions
-
getPermissionsList
-
setPermissions
-
setPermissions
-
getChildren
-
getChildren
-
dump
-
getRoot
Description copied from class:PathReturns root as it is defined as 'domain', 'entity' or 'role' in subclasses -
getName
Description copied from interface:C2KLocalObjectGets the name of the C2KLocalObject- Returns:
- name of the C2KLocalObject
-
getClusterPath
Description copied from interface:C2KLocalObjectEach C2KLocalObject is stored with a path identifier starting with the ClusterType:- DomainPath: /Path/Domain/Name
- ItemPath: /Path/Item
- AgentPath: /Path/Agent
- RolePath: /Path/Role/Name
- Properties: /Property/Name
- Workflow: /LifeCycle/workflow
- Collections: /Collection/Name/Version (default Name='last')
- Outcomes: /Outcome/SchemaName/SchemaVersion/EventID
- Viewpoints: /ViewPoint/SchemaName/Name (default Name='last')
- Events: /AuditTrail/EventID
- Jobs: /Job/JobID
- Returns:
- The path identifier (i.e. primary key) of the object
-