Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.caselink
Class ActionableCaseLinkImpl

java.lang.Object
  extended by org.nuxeo.cm.caselink.CaseLinkImpl
      extended by org.nuxeo.cm.caselink.ActionableCaseLinkImpl
All Implemented Interfaces:
Serializable, ActionableCaseLink, CaseLink, HasParticipants, org.nuxeo.ecm.platform.routing.api.ActionableObject

public class ActionableCaseLinkImpl
extends CaseLinkImpl
implements ActionableCaseLink

Author:
Mariana Cedica
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.nuxeo.cm.caselink.CaseLink
CaseLink.CaseLinkState, CaseLink.CaseLinkTransistion
 
Constructor Summary
ActionableCaseLinkImpl(org.nuxeo.ecm.core.api.DocumentModel doc, HasParticipants recipientAdapted)
           
 
Method Summary
 org.nuxeo.ecm.core.api.DocumentModelList getAttachedDocuments(org.nuxeo.ecm.core.api.CoreSession session)
           
 org.nuxeo.ecm.platform.routing.api.DocumentRouteStep getDocumentRouteStep(org.nuxeo.ecm.core.api.CoreSession session)
           
 String getRefuseOperationChainId()
           
 String getStepId()
           
 String getTaskType()
           
 String getValidateOperationChainId()
           
 boolean isDone()
           
 boolean isTodo()
           
 void refuse(org.nuxeo.ecm.core.api.CoreSession session)
           
 void setDone(org.nuxeo.ecm.core.api.CoreSession session)
           
 void setRefuseOperationChainId(String refuseChainId)
           
 void setStepId(String id)
           
 void setValidateOperationChainId(String validateChainId)
           
 void validate(org.nuxeo.ecm.core.api.CoreSession session)
           
 
Methods inherited from class org.nuxeo.cm.caselink.CaseLinkImpl
addInitialExternalParticipants, addInitialInternalParticipants, addParticipants, getAllParticipants, getCase, getComment, getDate, getDocument, getId, getInitialExternalParticipants, getInitialInternalParticipants, getSender, getSenderMailboxId, getSentDate, getSubject, getType, isActionnable, isDraft, isRead, save, setActionnable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.cm.caselink.CaseLink
getCase, getComment, getDate, getDocument, getId, getSender, getSenderMailboxId, getSentDate, getSubject, getType, isActionnable, isDraft, isRead, save, setActionnable
 
Methods inherited from interface org.nuxeo.cm.cases.HasParticipants
addInitialExternalParticipants, addInitialInternalParticipants, addParticipants, getAllParticipants, getInitialExternalParticipants, getInitialInternalParticipants
 

Constructor Detail

ActionableCaseLinkImpl

public ActionableCaseLinkImpl(org.nuxeo.ecm.core.api.DocumentModel doc,
                              HasParticipants recipientAdapted)
Method Detail

getTaskType

public String getTaskType()
Specified by:
getTaskType in interface ActionableCaseLink

validate

public void validate(org.nuxeo.ecm.core.api.CoreSession session)
Specified by:
validate in interface ActionableCaseLink

refuse

public void refuse(org.nuxeo.ecm.core.api.CoreSession session)
Specified by:
refuse in interface ActionableCaseLink

getRefuseOperationChainId

public String getRefuseOperationChainId()
Specified by:
getRefuseOperationChainId in interface org.nuxeo.ecm.platform.routing.api.ActionableObject

getValidateOperationChainId

public String getValidateOperationChainId()
Specified by:
getValidateOperationChainId in interface org.nuxeo.ecm.platform.routing.api.ActionableObject

getDocumentRouteStep

public org.nuxeo.ecm.platform.routing.api.DocumentRouteStep getDocumentRouteStep(org.nuxeo.ecm.core.api.CoreSession session)
Specified by:
getDocumentRouteStep in interface org.nuxeo.ecm.platform.routing.api.ActionableObject

getAttachedDocuments

public org.nuxeo.ecm.core.api.DocumentModelList getAttachedDocuments(org.nuxeo.ecm.core.api.CoreSession session)
Specified by:
getAttachedDocuments in interface org.nuxeo.ecm.platform.routing.api.ActionableObject

setRefuseOperationChainId

public void setRefuseOperationChainId(String refuseChainId)
Specified by:
setRefuseOperationChainId in interface ActionableCaseLink

setValidateOperationChainId

public void setValidateOperationChainId(String validateChainId)
Specified by:
setValidateOperationChainId in interface ActionableCaseLink

setStepId

public void setStepId(String id)
Specified by:
setStepId in interface ActionableCaseLink

getStepId

public String getStepId()
Specified by:
getStepId in interface ActionableCaseLink

isTodo

public boolean isTodo()
Specified by:
isTodo in interface ActionableCaseLink

isDone

public boolean isDone()
Specified by:
isDone in interface ActionableCaseLink

setDone

public void setDone(org.nuxeo.ecm.core.api.CoreSession session)
Specified by:
setDone in interface ActionableCaseLink

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.