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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Instantprotected @NotNull ClassificationSummaryRepresentationModelprotected Instantprotected Instantprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected Integerprotected Integerprotected Integerprotected Integerprotected Integerprotected Integerprotected Integerprotected Stringprotected Instantprotected Stringprotected Integerprotected booleanprotected booleanprotected intprotected Instantprotected Stringprotected Stringprotected intThe current count of the comments.protected Stringprotected Stringprotected Stringprotected Instantprotected @NotNull ObjectReferenceRepresentationModelprotected intprotected Instantprotected List<ObjectReferenceRepresentationModel>protected pro.taskana.task.api.TaskStateprotected Stringprotected @NotNull WorkbasketSummaryRepresentationModel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDue()intgetName()getNote()intgetOwner()intpro.taskana.task.api.TaskStategetState()booleanisRead()booleanvoidsetAttachmentSummaries(List<AttachmentSummaryRepresentationModel> attachmentSummaries) voidsetBusinessProcessId(String businessProcessId) voidsetClaimed(Instant claimed) voidsetClassificationSummary(ClassificationSummaryRepresentationModel classificationSummary) voidsetCompleted(Instant completed) voidsetCreated(Instant created) voidsetCreator(String creator) voidsetCustom1(String custom1) voidsetCustom10(String custom10) voidsetCustom11(String custom11) voidsetCustom12(String custom12) voidsetCustom13(String custom13) voidsetCustom14(String custom14) voidsetCustom15(String custom15) voidsetCustom16(String custom16) voidsetCustom2(String custom2) voidsetCustom3(String custom3) voidsetCustom4(String custom4) voidsetCustom5(String custom5) voidsetCustom6(String custom6) voidsetCustom7(String custom7) voidsetCustom8(String custom8) voidsetCustom9(String custom9) voidsetCustomInt1(Integer customInt1) voidsetCustomInt2(Integer customInt2) voidsetCustomInt3(Integer customInt3) voidsetCustomInt4(Integer customInt4) voidsetCustomInt5(Integer customInt5) voidsetCustomInt6(Integer customInt6) voidsetCustomInt7(Integer customInt7) voidsetCustomInt8(Integer customInt8) voidsetDescription(String description) voidvoidsetExternalId(String externalId) voidsetGroupByCount(Integer groupByCount) voidsetManualPriority(int manualPriority) voidsetModified(Instant modified) voidvoidvoidsetNumberOfComments(int numberOfComments) voidvoidsetOwnerLongName(String ownerLongName) voidsetParentBusinessProcessId(String parentBusinessProcessId) voidsetPlanned(Instant planned) voidsetPrimaryObjRef(ObjectReferenceRepresentationModel primaryObjRef) voidsetPriority(int priority) voidsetRead(boolean isRead) voidsetReceived(Instant received) voidsetSecondaryObjectReferences(List<ObjectReferenceRepresentationModel> secondaryObjectReferences) voidsetState(pro.taskana.task.api.TaskState state) voidvoidsetTransferred(boolean isTransferred) voidsetWorkbasketSummary(WorkbasketSummaryRepresentationModel workbasketSummary) Methods inherited from class org.springframework.hateoas.RepresentationModel
add, add, add, addAllIf, addIf, equals, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hashCode, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, of, of, removeLinks, toString
-
Field Details
-
taskId
-
externalId
-
created
-
claimed
-
completed
-
modified
-
planned
-
received
-
due
-
name
-
creator
-
note
-
description
-
priority
protected int priority -
manualPriority
protected int manualPriority -
state
protected pro.taskana.task.api.TaskState state -
numberOfComments
protected int numberOfCommentsThe current count of the comments. -
classificationSummary
-
workbasketSummary
-
businessProcessId
-
parentBusinessProcessId
-
owner
-
ownerLongName
-
-
isRead
protected boolean isRead -
isTransferred
protected boolean isTransferred -
groupByCount
-
custom1
-
custom2
-
custom3
-
custom4
-
custom5
-
custom6
-
custom7
-
custom8
-
custom9
-
custom10
-
custom11
-
custom12
-
custom13
-
custom14
-
custom15
-
custom16
-
customInt1
-
customInt2
-
customInt3
-
customInt4
-
customInt5
-
customInt6
-
customInt7
-
customInt8
-
secondaryObjectReferences
-
-
Constructor Details
-
TaskSummaryRepresentationModel
public TaskSummaryRepresentationModel()
-
-
Method Details
-
getTaskId
-
setTaskId
-
getExternalId
-
setExternalId
-
getCreated
-
setCreated
-
getClaimed
-
setClaimed
-
getCompleted
-
setCompleted
-
getModified
-
setModified
-
getPlanned
-
setPlanned
-
getReceived
-
setReceived
-
getDue
-
setDue
-
getName
-
setName
-
getCreator
-
setCreator
-
getNote
-
setNote
-
getDescription
-
setDescription
-
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) -
getNumberOfComments
public int getNumberOfComments() -
setNumberOfComments
public void setNumberOfComments(int numberOfComments) -
getClassificationSummary
-
setClassificationSummary
public void setClassificationSummary(ClassificationSummaryRepresentationModel classificationSummary) -
getWorkbasketSummary
-
setWorkbasketSummary
-
getBusinessProcessId
-
setBusinessProcessId
-
getParentBusinessProcessId
-
setParentBusinessProcessId
-
getOwner
-
setOwner
-
getOwnerLongName
-
setOwnerLongName
-
getPrimaryObjRef
-
setPrimaryObjRef
-
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
-
setAttachmentSummaries
-
getGroupByCount
-
setGroupByCount
-
getCustom1
-
setCustom1
-
getCustom2
-
setCustom2
-
getCustom3
-
setCustom3
-
getCustom4
-
setCustom4
-
getCustom5
-
setCustom5
-
getCustom6
-
setCustom6
-
getCustom7
-
setCustom7
-
getCustom8
-
setCustom8
-
getCustom9
-
setCustom9
-
getCustom10
-
setCustom10
-
getCustom11
-
setCustom11
-
getCustom12
-
setCustom12
-
getCustom13
-
setCustom13
-
getCustom14
-
setCustom14
-
getCustom15
-
setCustom15
-
getCustom16
-
setCustom16
-
getCustomInt1
-
setCustomInt1
-
getCustomInt2
-
setCustomInt2
-
getCustomInt3
-
setCustomInt3
-
getCustomInt4
-
setCustomInt4
-
getCustomInt5
-
setCustomInt5
-
getCustomInt6
-
setCustomInt6
-
getCustomInt7
-
setCustomInt7
-
getCustomInt8
-
setCustomInt8
-