Interface Task

All Superinterfaces:
Serializable
All Known Implementing Classes:
TaskImpl

public interface Task extends Serializable
Since:
5.5
  • Field Details

  • Method Details

    • getDocument

      DocumentModel getDocument()
    • getId

      String getId()
    • getActors

      List<String> getActors()
    • getInitiator

      String getInitiator()
    • getName

      String getName()
    • getType

      String getType()
      Since:
      5.6
    • getProcessId

      String getProcessId()
      Since:
      5.6
    • getProcessName

      String getProcessName()
      Since:
      7.4
    • getDescription

      String getDescription()
    • getDirective

      String getDirective()
    • getComments

      List<TaskComment> getComments()
    • getVariable

      String getVariable(String key)
    • getDueDate

      Date getDueDate()
    • getCreated

      Date getCreated()
    • isCancelled

      Boolean isCancelled()
    • isOpened

      Boolean isOpened()
    • hasEnded

      Boolean hasEnded()
    • isAccepted

      Boolean isAccepted()
    • getVariables

      Map<String,String> getVariables()
    • setActors

      void setActors(List<String> actors)
    • setInitiator

      void setInitiator(String initiator)
    • setName

      void setName(String name)
    • setType

      void setType(String type)
      Since:
      5.6
    • setProcessId

      void setProcessId(String processId)
      Since:
      5.6
    • setProcessName

      void setProcessName(String processName)
      Since:
      7.4
    • setDescription

      void setDescription(String description)
    • setDirective

      void setDirective(String directive)
    • setVariable

      void setVariable(String key, String value)
    • setDueDate

      void setDueDate(Date dueDate)
    • setCreated

      void setCreated(Date created)
    • setAccepted

      void setAccepted(Boolean accepted)
    • setVariables

      void setVariables(Map<String,String> variables)
    • addComment

      void addComment(String author, String text)
    • cancel

      void cancel(CoreSession coreSession)
    • end

      void end(CoreSession coreSession)
    • getDelegatedActors

      List<String> getDelegatedActors()
      Since:
      5.8
    • setDelegatedActors

      void setDelegatedActors(List<String> delegatedActors)
      Since:
      5.8
    • getTargetDocumentsIds

      List<String> getTargetDocumentsIds()
      Since:
      5.8
    • setTargetDocumentsIds

      void setTargetDocumentsIds(List<String> ids)
      The first id on the list is also set as 'targetDocumentId'
      Since:
      5.8