public interface WorkflowAwareAmetysObject extends JCRAmetysObject
AmetysObject abstraction defined by the following additional property:
| Modifier and Type | Method and Description |
|---|---|
long |
getCurrentStepId()
Retrieves the current step id of the Ametys object
|
long |
getWorkflowId()
Retrieves the workflow id associated with the Ametys object.
|
void |
setCurrentStepId(long stepId)
Set the current step id of the Ametys object
|
void |
setWorkflowId(long workflowId)
Set the workflow id of this Ametys object.
This method will throw Exception if the workflow id was already set on this Ametys object. |
getNodegetMetadataHolderneedsSave, rename, revertChanges, saveChangesequals, getId, getName, getParent, getParentPath, getPath, hashCoderemovelong getWorkflowId() throws AmetysRepositoryException
AmetysRepositoryException - if an error occurs.void setWorkflowId(long workflowId) throws AmetysRepositoryException
workflowId - the workflow id of the object.AmetysRepositoryException - if an error occurs.long getCurrentStepId() throws AmetysRepositoryException
AmetysRepositoryException - if an error occurs.void setCurrentStepId(long stepId) throws AmetysRepositoryException
stepId - the step id to setAmetysRepositoryException - if an error occurs.