public class OutcomeAttachment extends Object implements C2KLocalObject
| Modifier and Type | Field and Description |
|---|---|
static int |
NONE |
| Constructor and Description |
|---|
OutcomeAttachment() |
OutcomeAttachment(ItemPath itemPath,
Outcome outcome,
String file,
byte[] binaryData) |
OutcomeAttachment(ItemPath itemPath,
String schemaName,
int schemaVersion,
int eventId,
String file,
byte[] binaryData) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClusterPath()
Each C2KLocalObject is stored with a path identifier starting with the ClusterType:
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
|
ClusterType |
getClusterType()
Each object belongs to a specific type defined in
ClusterType |
Event |
getEvent() |
String |
getItemUUID() |
String |
getName()
Gets the name of the C2KLocalObject
|
Outcome |
getOutcome() |
Outcome |
getOutcome(Object locker) |
void |
setItemUUID(String uuid) |
void |
setName(String name)
Sets the name of the C2KLocalObject
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenforceValidNamepublic static final int NONE
public OutcomeAttachment()
public OutcomeAttachment(ItemPath itemPath, String schemaName, int schemaVersion, int eventId, String file, byte[] binaryData)
public Outcome getOutcome() throws ObjectNotFoundException, PersistencyException
public Outcome getOutcome(Object locker) throws ObjectNotFoundException, PersistencyException
public ClusterType getClusterType()
C2KLocalObjectClusterTypegetClusterType in interface C2KLocalObjectpublic String getClusterPath()
C2KLocalObjectgetClusterPath in interface C2KLocalObjectpublic void setItemUUID(String uuid) throws InvalidItemPathException
InvalidItemPathExceptionpublic String getItemUUID()
public Event getEvent() throws InvalidDataException, PersistencyException, ObjectNotFoundException
public void setName(String name)
C2KLocalObjectsetName in interface C2KLocalObjectname - Name of the C2KLocalObjectpublic String getName()
C2KLocalObjectgetName in interface C2KLocalObjectCopyright © 1997–2020 CRISTAL-iSE. All rights reserved.