public class ActionableCaseLinkImpl extends CaseLinkImpl implements ActionableCaseLink
CaseLink.CaseLinkState, CaseLink.CaseLinkTransistion
Constructor and Description |
---|
ActionableCaseLinkImpl(DocumentModel doc,
HasParticipants recipientAdapted) |
Modifier and Type | Method and Description |
---|---|
DocumentModelList |
getAttachedDocuments(CoreSession session)
The documents processed by the action.
|
DocumentRouteStep |
getDocumentRouteStep(CoreSession session)
The step that represent the action.
|
String |
getRefuseOperationChainId()
The operation chain id if the action is refused.
|
String |
getStepId() |
String |
getTaskType() |
String |
getValidateOperationChainId()
The operation chain id if the action is validated.
|
boolean |
isDone() |
boolean |
isTodo() |
void |
refuse(CoreSession session) |
void |
setDone(CoreSession session) |
void |
setRefuseOperationChainId(String refuseChainId) |
void |
setStepId(String id) |
void |
setValidateOperationChainId(String validateChainId) |
void |
validate(CoreSession session) |
addInitialExternalParticipants, addInitialInternalParticipants, addParticipants, getAllParticipants, getCase, getCaseId, getComment, getDate, getDocument, getId, getInitialExternalParticipants, getInitialInternalParticipants, getSender, getSenderMailboxId, getSentDate, getSubject, getType, isActionnable, isDraft, isRead, save, setActionnable
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCase, getCaseId, getComment, getDate, getDocument, getId, getSender, getSenderMailboxId, getSentDate, getSubject, getType, isActionnable, isDraft, isRead, save, setActionnable
addInitialExternalParticipants, addInitialInternalParticipants, addParticipants, getAllParticipants, getInitialExternalParticipants, getInitialInternalParticipants
public ActionableCaseLinkImpl(DocumentModel doc, HasParticipants recipientAdapted)
public String getTaskType()
getTaskType
in interface ActionableCaseLink
public void validate(CoreSession session)
validate
in interface ActionableCaseLink
public void refuse(CoreSession session)
refuse
in interface ActionableCaseLink
public String getRefuseOperationChainId()
ActionableObject
getRefuseOperationChainId
in interface ActionableObject
public String getValidateOperationChainId()
ActionableObject
getValidateOperationChainId
in interface ActionableObject
public DocumentRouteStep getDocumentRouteStep(CoreSession session)
ActionableObject
getDocumentRouteStep
in interface ActionableObject
public DocumentModelList getAttachedDocuments(CoreSession session)
ActionableObject
getAttachedDocuments
in interface ActionableObject
public void setRefuseOperationChainId(String refuseChainId)
setRefuseOperationChainId
in interface ActionableCaseLink
public void setValidateOperationChainId(String validateChainId)
setValidateOperationChainId
in interface ActionableCaseLink
public void setStepId(String id)
setStepId
in interface ActionableCaseLink
public String getStepId()
getStepId
in interface ActionableCaseLink
public boolean isTodo()
isTodo
in interface ActionableCaseLink
public boolean isDone()
isDone
in interface ActionableCaseLink
public void setDone(CoreSession session)
setDone
in interface ActionableCaseLink
Copyright © 2011 Nuxeo SA. All Rights Reserved.