Class Viewpoint
java.lang.Object
org.cristalise.kernel.persistency.outcome.Viewpoint
- All Implemented Interfaces:
C2KLocalObject
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEach 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/JobIDEach object belongs to a specific type defined inClusterTypegetEvent()getEvent(TransactionKey transactionKey) getOutcome(TransactionKey transactionKey) voidsetItemUUID(String uuid) voidSets the name of the C2KLocalObjecttoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.cristalise.kernel.entity.C2KLocalObject
getName
-
Field Details
-
NONE
public static final int NONE- See Also:
-
-
Constructor Details
-
Viewpoint
public Viewpoint() -
Viewpoint
-
Viewpoint
-
-
Method Details
-
getOutcome
-
getOutcome
public Outcome getOutcome(TransactionKey transactionKey) throws ObjectNotFoundException, PersistencyException -
setName
Description copied from interface:C2KLocalObjectSets the name of the C2KLocalObject- Specified by:
setNamein interfaceC2KLocalObject- Parameters:
n- Name of the C2KLocalObject
-
getClusterType
Description copied from interface:C2KLocalObjectEach object belongs to a specific type defined inClusterType- Specified by:
getClusterTypein interfaceC2KLocalObject- Returns:
- string id of the type
-
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- Returns:
- The path identifier (i.e. primary key) of the object
-
setItemUUID
- Throws:
InvalidItemPathException
-
getItemUUID
-
getEvent
-
getEvent
public Event getEvent(TransactionKey transactionKey) throws InvalidDataException, PersistencyException, ObjectNotFoundException -
toString
-