Package pro.taskana.task.rest.models
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>
EntityModel class forWorkbasketSummary.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringbusinessProcessIdThe business process id.protected InstantclaimedThe timestamp of the last claim-operation.protected @NotNull ClassificationSummaryRepresentationModelclassificationSummaryThe classification of this task.protected InstantcompletedThe timestamp of the completion.protected InstantcreatedThe creation timestamp in the system.protected Stringcreatorthe creator of the task.protected Stringcustom1A custom property with name "1".protected Stringcustom10A custom property with name "10".protected Stringcustom11A custom property with name "11".protected Stringcustom12A custom property with name "12".protected Stringcustom13A custom property with name "13".protected Stringcustom14A custom property with name "14".protected Stringcustom15A custom property with name "15".protected Stringcustom16A custom property with name "16".protected Stringcustom2A custom property with name "2".protected Stringcustom3A custom property with name "3".protected Stringcustom4A custom property with name "4".protected Stringcustom5A custom property with name "5".protected Stringcustom6A custom property with name "6".protected Stringcustom7A custom property with name "7".protected Stringcustom8A custom property with name "8".protected Stringcustom9A custom property with name "9".protected StringdescriptionThe description of the task.protected InstantdueTimestamp when the task is due.protected StringexternalIdExternal Id.protected booleanisReadIndicator if the task has been read.protected booleanisTransferredIndicator if the task has been transferred.protected InstantmodifiedThe timestamp of the last modification.protected StringnameThe name of the task.protected Stringnotenote.protected StringownerThe owner of the task.protected StringownerLongNameThe long name of the task owner.protected StringparentBusinessProcessIdthe parent business process id.protected InstantplannedPlanned start of the task.protected @NotNull ObjectReferenceRepresentationModelprimaryObjRefThe Objects primary ObjectReference.protected intpriorityThe priority of the task.protected InstantreceivedTimestamp when the task has been received.protected List<ObjectReferenceRepresentationModel>secondaryObjectReferencesSecondary object references of the task.protected pro.taskana.task.api.TaskStatestateThe current task state.protected StringtaskIdUnique Id.protected @NotNull WorkbasketSummaryRepresentationModelworkbasketSummaryThe workbasket this task resides in.
-
Constructor Summary
Constructors Constructor Description TaskSummaryRepresentationModel()
-
Method Summary
-
-
-
Field Detail
-
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.
-
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.
-
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".
-
secondaryObjectReferences
protected List<ObjectReferenceRepresentationModel> secondaryObjectReferences
Secondary object references of the task.
-
-
Method Detail
-
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)
-
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)
-
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)
-
-