Class TaskSummaryRepresentationModel

java.lang.Object
org.springframework.hateoas.RepresentationModel<TaskSummaryRepresentationModel>
pro.taskana.task.rest.models.TaskSummaryRepresentationModel
Direct Known Subclasses:
TaskRepresentationModel

public class TaskSummaryRepresentationModel extends org.springframework.hateoas.RepresentationModel<TaskSummaryRepresentationModel>
  • Field Details

    • taskId

      protected String taskId
      Unique Id.
    • externalId

      protected String externalId
      External Id. Can be used to enforce idempotence at task creation. Can identify an external task.
    • created

      protected Instant created
      The creation timestamp in the system.
    • claimed

      protected Instant claimed
      The timestamp of the last claim-operation.
    • completed

      protected Instant completed
      The timestamp of the completion.
    • modified

      protected Instant modified
      The timestamp of the last modification.
    • planned

      protected Instant planned
      Planned start of the task. The actual completion of the task should be between PLANNED and DUE.
    • received

      protected Instant received
      Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created.
    • due

      protected Instant due
      Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE.
    • name

      protected String name
      The name of the task.
    • creator

      protected String creator
      the creator of the task.
    • note

      protected String note
      note.
    • description

      protected String description
      The description of the task.
    • priority

      protected int priority
      The priority of the task.
    • manualPriority

      protected int manualPriority
      The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually.
    • state

      protected pro.taskana.task.api.TaskState state
      The current task state.
    • classificationSummary

      @NotNull protected @NotNull ClassificationSummaryRepresentationModel classificationSummary
      The classification of this task.
    • workbasketSummary

      @NotNull protected @NotNull WorkbasketSummaryRepresentationModel workbasketSummary
      The workbasket this task resides in.
    • businessProcessId

      protected String businessProcessId
      The business process id.
    • parentBusinessProcessId

      protected String parentBusinessProcessId
      the parent business process id.
    • owner

      protected String owner
      The owner of the task. The owner is set upon claiming of the task.
    • ownerLongName

      protected String ownerLongName
      The long name of the task owner.
    • primaryObjRef

      @NotNull protected @NotNull ObjectReferenceRepresentationModel primaryObjRef
      The Objects primary ObjectReference.
    • isRead

      protected boolean isRead
      Indicator if the task has been read.
    • isTransferred

      protected boolean isTransferred
      Indicator if the task has been transferred.
    • groupByCount

      protected Integer groupByCount
      Number of Tasks that are grouped together with this Task during a groupBy.
    • custom1

      protected String custom1
      A custom property with name "1".
    • custom2

      protected String custom2
      A custom property with name "2".
    • custom3

      protected String custom3
      A custom property with name "3".
    • custom4

      protected String custom4
      A custom property with name "4".
    • custom5

      protected String custom5
      A custom property with name "5".
    • custom6

      protected String custom6
      A custom property with name "6".
    • custom7

      protected String custom7
      A custom property with name "7".
    • custom8

      protected String custom8
      A custom property with name "8".
    • custom9

      protected String custom9
      A custom property with name "9".
    • custom10

      protected String custom10
      A custom property with name "10".
    • custom11

      protected String custom11
      A custom property with name "11".
    • custom12

      protected String custom12
      A custom property with name "12".
    • custom13

      protected String custom13
      A custom property with name "13".
    • custom14

      protected String custom14
      A custom property with name "14".
    • custom15

      protected String custom15
      A custom property with name "15".
    • custom16

      protected String custom16
      A custom property with name "16".
    • customInt1

      protected Integer customInt1
      A custom int property with name "1".
    • customInt2

      protected Integer customInt2
      A custom int property with name "2".
    • customInt3

      protected Integer customInt3
      A custom int property with name "3".
    • customInt4

      protected Integer customInt4
      A custom int property with name "4".
    • customInt5

      protected Integer customInt5
      A custom int property with name "5".
    • customInt6

      protected Integer customInt6
      A custom int property with name "6".
    • customInt7

      protected Integer customInt7
      A custom int property with name "7".
    • customInt8

      protected Integer customInt8
      A custom int property with name "8".
    • secondaryObjectReferences

      protected List<ObjectReferenceRepresentationModel> secondaryObjectReferences
      Secondary object references of the task.
  • Constructor Details

    • TaskSummaryRepresentationModel

      public TaskSummaryRepresentationModel()
  • Method Details

    • getTaskId

      public String getTaskId()
    • setTaskId

      public void setTaskId(String taskId)
    • getExternalId

      public String getExternalId()
    • setExternalId

      public void setExternalId(String externalId)
    • getCreated

      public Instant getCreated()
    • setCreated

      public void setCreated(Instant created)
    • getClaimed

      public Instant getClaimed()
    • setClaimed

      public void setClaimed(Instant claimed)
    • getCompleted

      public Instant getCompleted()
    • setCompleted

      public void setCompleted(Instant completed)
    • getModified

      public Instant getModified()
    • setModified

      public void setModified(Instant modified)
    • getPlanned

      public Instant getPlanned()
    • setPlanned

      public void setPlanned(Instant planned)
    • getReceived

      public Instant getReceived()
    • setReceived

      public void setReceived(Instant received)
    • getDue

      public Instant getDue()
    • setDue

      public void setDue(Instant due)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getCreator

      public String getCreator()
    • setCreator

      public void setCreator(String creator)
    • getNote

      public String getNote()
    • setNote

      public void setNote(String note)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getPriority

      public int getPriority()
    • setPriority

      public void setPriority(int priority)
    • getManualPriority

      public int getManualPriority()
    • setManualPriority

      public void setManualPriority(int manualPriority)
    • getState

      public pro.taskana.task.api.TaskState getState()
    • setState

      public void setState(pro.taskana.task.api.TaskState state)
    • getClassificationSummary

      public ClassificationSummaryRepresentationModel getClassificationSummary()
    • setClassificationSummary

      public void setClassificationSummary(ClassificationSummaryRepresentationModel classificationSummary)
    • getWorkbasketSummary

      public WorkbasketSummaryRepresentationModel getWorkbasketSummary()
    • setWorkbasketSummary

      public void setWorkbasketSummary(WorkbasketSummaryRepresentationModel workbasketSummary)
    • getBusinessProcessId

      public String getBusinessProcessId()
    • setBusinessProcessId

      public void setBusinessProcessId(String businessProcessId)
    • getParentBusinessProcessId

      public String getParentBusinessProcessId()
    • setParentBusinessProcessId

      public void setParentBusinessProcessId(String parentBusinessProcessId)
    • getOwner

      public String getOwner()
    • setOwner

      public void setOwner(String owner)
    • getOwnerLongName

      public String getOwnerLongName()
    • setOwnerLongName

      public void setOwnerLongName(String ownerLongName)
    • getPrimaryObjRef

      public ObjectReferenceRepresentationModel getPrimaryObjRef()
    • setPrimaryObjRef

      public void setPrimaryObjRef(ObjectReferenceRepresentationModel primaryObjRef)
    • getSecondaryObjectReferences

      public List<ObjectReferenceRepresentationModel> getSecondaryObjectReferences()
    • setSecondaryObjectReferences

      public void setSecondaryObjectReferences(List<ObjectReferenceRepresentationModel> secondaryObjectReferences)
    • isRead

      public boolean isRead()
    • setRead

      public void setRead(boolean isRead)
    • isTransferred

      public boolean isTransferred()
    • setTransferred

      public void setTransferred(boolean isTransferred)
    • getAttachmentSummaries

      public List<AttachmentSummaryRepresentationModel> getAttachmentSummaries()
    • setAttachmentSummaries

      public void setAttachmentSummaries(List<AttachmentSummaryRepresentationModel> attachmentSummaries)
    • getGroupByCount

      public Integer getGroupByCount()
    • setGroupByCount

      public void setGroupByCount(Integer groupByCount)
    • getCustom1

      public String getCustom1()
    • setCustom1

      public void setCustom1(String custom1)
    • getCustom2

      public String getCustom2()
    • setCustom2

      public void setCustom2(String custom2)
    • getCustom3

      public String getCustom3()
    • setCustom3

      public void setCustom3(String custom3)
    • getCustom4

      public String getCustom4()
    • setCustom4

      public void setCustom4(String custom4)
    • getCustom5

      public String getCustom5()
    • setCustom5

      public void setCustom5(String custom5)
    • getCustom6

      public String getCustom6()
    • setCustom6

      public void setCustom6(String custom6)
    • getCustom7

      public String getCustom7()
    • setCustom7

      public void setCustom7(String custom7)
    • getCustom8

      public String getCustom8()
    • setCustom8

      public void setCustom8(String custom8)
    • getCustom9

      public String getCustom9()
    • setCustom9

      public void setCustom9(String custom9)
    • getCustom10

      public String getCustom10()
    • setCustom10

      public void setCustom10(String custom10)
    • getCustom11

      public String getCustom11()
    • setCustom11

      public void setCustom11(String custom11)
    • getCustom12

      public String getCustom12()
    • setCustom12

      public void setCustom12(String custom12)
    • getCustom13

      public String getCustom13()
    • setCustom13

      public void setCustom13(String custom13)
    • getCustom14

      public String getCustom14()
    • setCustom14

      public void setCustom14(String custom14)
    • getCustom15

      public String getCustom15()
    • setCustom15

      public void setCustom15(String custom15)
    • getCustom16

      public String getCustom16()
    • setCustom16

      public void setCustom16(String custom16)
    • getCustomInt1

      public Integer getCustomInt1()
    • setCustomInt1

      public void setCustomInt1(Integer customInt1)
    • getCustomInt2

      public Integer getCustomInt2()
    • setCustomInt2

      public void setCustomInt2(Integer customInt2)
    • getCustomInt3

      public Integer getCustomInt3()
    • setCustomInt3

      public void setCustomInt3(Integer customInt3)
    • getCustomInt4

      public Integer getCustomInt4()
    • setCustomInt4

      public void setCustomInt4(Integer customInt4)
    • getCustomInt5

      public Integer getCustomInt5()
    • setCustomInt5

      public void setCustomInt5(Integer customInt5)
    • getCustomInt6

      public Integer getCustomInt6()
    • setCustomInt6

      public void setCustomInt6(Integer customInt6)
    • getCustomInt7

      public Integer getCustomInt7()
    • setCustomInt7

      public void setCustomInt7(Integer customInt7)
    • getCustomInt8

      public Integer getCustomInt8()
    • setCustomInt8

      public void setCustomInt8(Integer customInt8)