Package org.hippoecm.repository.api
Class DocumentWorkflowAction
- java.lang.Object
-
- org.hippoecm.repository.api.DocumentWorkflowAction
-
- All Implemented Interfaces:
ActionAware
,WorkflowAction
public class DocumentWorkflowAction extends Object implements ActionAware, WorkflowAction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DocumentWorkflowAction.DocumentPayloadKey
-
Nested classes/interfaces inherited from interface org.hippoecm.repository.api.WorkflowAction
WorkflowAction.PayloadKey
-
-
Constructor Summary
Constructors Constructor Description DocumentWorkflowAction(String action)
DocumentWorkflowAction(String action, boolean mutates)
-
Method Summary
-
-
-
Method Detail
-
unlock
public static DocumentWorkflowAction unlock()
-
publish
public static DocumentWorkflowAction publish()
-
checkModified
public static DocumentWorkflowAction checkModified()
-
obtainEditableInstance
public static DocumentWorkflowAction obtainEditableInstance()
-
commitEditableInstance
public static DocumentWorkflowAction commitEditableInstance()
-
editDraft
public static DocumentWorkflowAction editDraft()
-
saveDraft
public static DocumentWorkflowAction saveDraft()
-
disposeEditableInstance
public static DocumentWorkflowAction disposeEditableInstance()
-
requestDepublication
public static DocumentWorkflowAction requestDepublication()
-
requestPublication
public static DocumentWorkflowAction requestPublication()
-
delete
public static DocumentWorkflowAction delete()
-
rename
public static DocumentWorkflowAction rename()
-
copy
public static DocumentWorkflowAction copy()
-
move
public static DocumentWorkflowAction move()
-
depublish
public static DocumentWorkflowAction depublish()
-
cancelRequest
public static DocumentWorkflowAction cancelRequest()
-
acceptRequest
public static DocumentWorkflowAction acceptRequest()
-
rejectRequest
public static DocumentWorkflowAction rejectRequest()
-
version
public static DocumentWorkflowAction version()
-
versionRestoreTo
public static DocumentWorkflowAction versionRestoreTo()
-
restoreVersion
public static DocumentWorkflowAction restoreVersion()
-
restoreVersionToBranch
public static DocumentWorkflowAction restoreVersionToBranch()
-
listVersions
public static DocumentWorkflowAction listVersions()
-
retrieveVersion
public static DocumentWorkflowAction retrieveVersion()
-
listBranches
public static DocumentWorkflowAction listBranches()
-
branch
public static DocumentWorkflowAction branch()
-
getBranch
public static DocumentWorkflowAction getBranch()
-
checkoutBranch
public static DocumentWorkflowAction checkoutBranch()
-
reintegrateBranch
public static DocumentWorkflowAction reintegrateBranch()
-
publishBranch
public static DocumentWorkflowAction publishBranch()
-
depublishBranch
public static DocumentWorkflowAction depublishBranch()
-
removeBranch
public static DocumentWorkflowAction removeBranch()
-
none
public static DocumentWorkflowAction none()
-
saveUnpublished
public static DocumentWorkflowAction saveUnpublished()
-
campaign
public static DocumentWorkflowAction campaign()
-
removeCampaign
public static DocumentWorkflowAction removeCampaign()
-
labelVersion
public static DocumentWorkflowAction labelVersion()
-
removeLabelVersion
public static DocumentWorkflowAction removeLabelVersion()
-
getRequestIdentifier
public String getRequestIdentifier()
-
requestIdentifier
public DocumentWorkflowAction requestIdentifier(String requestIdentifier)
-
addEventPayload
public DocumentWorkflowAction addEventPayload(WorkflowAction.PayloadKey key, Object value)
-
addEventPayload
public DocumentWorkflowAction addEventPayload(String key, Object value)
-
getAction
public String getAction()
- Specified by:
getAction
in interfaceActionAware
-
isMutates
public boolean isMutates()
-
-