Package pro.taskana.task.rest.models
Class TaskRepresentationModel
- java.lang.Object
-
- org.springframework.hateoas.RepresentationModel<TaskSummaryRepresentationModel>
-
- pro.taskana.task.rest.models.TaskSummaryRepresentationModel
-
- pro.taskana.task.rest.models.TaskRepresentationModel
-
public class TaskRepresentationModel extends TaskSummaryRepresentationModel
EntityModel class forTask.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTaskRepresentationModel.CustomAttributeA CustomAttribute is a user customized attribute which is saved as a Map and can be retreived from eitherTask.getCustomAttributeMap()orTask.getCallbackInfo().
-
Field Summary
-
Fields inherited from class pro.taskana.task.rest.models.TaskSummaryRepresentationModel
businessProcessId, claimed, classificationSummary, completed, created, creator, custom1, custom10, custom11, custom12, custom13, custom14, custom15, custom16, custom2, custom3, custom4, custom5, custom6, custom7, custom8, custom9, description, due, externalId, isRead, isTransferred, modified, name, note, owner, parentBusinessProcessId, planned, primaryObjRef, priority, state, taskId, workbasketSummary
-
-
Constructor Summary
Constructors Constructor Description TaskRepresentationModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AttachmentRepresentationModel>getAttachments()List<TaskRepresentationModel.CustomAttribute>getCallbackInfo()List<TaskRepresentationModel.CustomAttribute>getCustomAttributes()voidsetAttachments(List<AttachmentRepresentationModel> attachments)voidsetCallbackInfo(List<TaskRepresentationModel.CustomAttribute> callbackInfo)voidsetCustomAttributes(List<TaskRepresentationModel.CustomAttribute> customAttributes)-
Methods inherited from class pro.taskana.task.rest.models.TaskSummaryRepresentationModel
getAttachmentSummaries, getBusinessProcessId, getClaimed, getClassificationSummary, getCompleted, getCreated, getCreator, getCustom1, getCustom10, getCustom11, getCustom12, getCustom13, getCustom14, getCustom15, getCustom16, getCustom2, getCustom3, getCustom4, getCustom5, getCustom6, getCustom7, getCustom8, getCustom9, getDescription, getDue, getExternalId, getModified, getName, getNote, getOwner, getParentBusinessProcessId, getPlanned, getPrimaryObjRef, getPriority, getState, getTaskId, getWorkbasketSummary, isRead, isTransferred, setAttachmentSummaries, setBusinessProcessId, setClaimed, setClassificationSummary, setCompleted, setCreated, setCreator, setCustom1, setCustom10, setCustom11, setCustom12, setCustom13, setCustom14, setCustom15, setCustom16, setCustom2, setCustom3, setCustom4, setCustom5, setCustom6, setCustom7, setCustom8, setCustom9, setDescription, setDue, setExternalId, setModified, setName, setNote, setOwner, setParentBusinessProcessId, setPlanned, setPrimaryObjRef, setPriority, setRead, setState, setTaskId, setTransferred, setWorkbasketSummary
-
-
-
-
Method Detail
-
getCustomAttributes
public List<TaskRepresentationModel.CustomAttribute> getCustomAttributes()
-
setCustomAttributes
public void setCustomAttributes(List<TaskRepresentationModel.CustomAttribute> customAttributes)
-
getCallbackInfo
public List<TaskRepresentationModel.CustomAttribute> getCallbackInfo()
-
setCallbackInfo
public void setCallbackInfo(List<TaskRepresentationModel.CustomAttribute> callbackInfo)
-
getAttachments
public List<AttachmentRepresentationModel> getAttachments()
-
setAttachments
public void setAttachments(List<AttachmentRepresentationModel> attachments)
-
-