Package org.cristalise.kernel.lookup
Class AgentPath
java.lang.Object
org.cristalise.kernel.lookup.Path
org.cristalise.kernel.lookup.ItemPath
org.cristalise.kernel.lookup.AgentPath
- All Implemented Interfaces:
C2KLocalObject
Extends ItemPath with Agent specific codes
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondump()getAgentName(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/JobIDgetProxy()getProxy(TransactionKey transactionKey) RolePath[]getRoles()RolePath[]getRoles(TransactionKey transactionKey) booleanhasMatchingRole(List<RolePath> roles) booleanhasMatchingRole(List<RolePath> roles, TransactionKey transactionKey) booleanbooleanhasRole(String role, TransactionKey transactionKey) booleanbooleanhasRole(RolePath role, TransactionKey transactionKey) booleanvoidsetAgentName(String agentID) Methods inherited from class org.cristalise.kernel.lookup.ItemPath
getItemName, getItemName, getItemPath, getName, getOID, getRoot, getUUID, isUUID, setPath, setPath, setPath, setSysKeyMethods inherited from class org.cristalise.kernel.lookup.Path
equals, exists, exists, getClusterType, getItemPath, getPath, getString, getStringPath, getStringPath, hashCode, setName, toString
-
Constructor Details
-
AgentPath
public AgentPath() -
AgentPath
-
AgentPath
- Throws:
InvalidItemPathException
-
AgentPath
- Throws:
InvalidItemPathException
-
AgentPath
- Throws:
InvalidItemPathException
-
AgentPath
-
AgentPath
-
-
Method Details
-
setAgentName
-
getAgentName
-
getAgentName
-
getRoles
-
getRoles
-
hasMatchingRole
-
hasMatchingRole
-
hasRole
-
hasRole
-
hasRole
-
hasRole
-
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
- Specified by:
getClusterPathin interfaceC2KLocalObject- Overrides:
getClusterPathin classItemPath- Returns:
- The path identifier (i.e. primary key) of the object
-
getProxy
- Overrides:
getProxyin classItemPath- Throws:
ObjectNotFoundException
-
getProxy
- Overrides:
getProxyin classItemPath- Throws:
ObjectNotFoundException
-
dump
-
isPasswordTemporary
public boolean isPasswordTemporary()
-