Class TaskSummaryImpl

  • All Implemented Interfaces:
    TaskSummary
    Direct Known Subclasses:
    TaskImpl

    public class TaskSummaryImpl
    extends Object
    implements TaskSummary
    Entity which contains the most important information about a Task.
    • Field Detail

      • externalId

        protected String externalId
      • received

        protected Instant received
      • created

        protected Instant created
      • claimed

        protected Instant claimed
      • modified

        protected Instant modified
      • planned

        protected Instant planned
      • completed

        protected Instant completed
      • creator

        protected String creator
      • description

        protected String description
      • priority

        protected int priority
      • manualPriority

        protected int manualPriority
      • businessProcessId

        protected String businessProcessId
      • parentBusinessProcessId

        protected String parentBusinessProcessId
      • owner

        protected String owner
      • ownerLongName

        protected String ownerLongName
      • isRead

        protected boolean isRead
      • isTransferred

        protected boolean isTransferred
      • custom1

        protected String custom1
      • custom2

        protected String custom2
      • custom3

        protected String custom3
      • custom4

        protected String custom4
      • custom5

        protected String custom5
      • custom6

        protected String custom6
      • custom7

        protected String custom7
      • custom8

        protected String custom8
      • custom9

        protected String custom9
      • custom10

        protected String custom10
      • custom11

        protected String custom11
      • custom12

        protected String custom12
      • custom13

        protected String custom13
      • custom14

        protected String custom14
      • custom15

        protected String custom15
      • custom16

        protected String custom16
    • Constructor Detail

      • TaskSummaryImpl

        public TaskSummaryImpl()
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: TaskSummary
        Gets the id of the Task.
        Specified by:
        getId in interface TaskSummary
        Returns:
        taskId
      • setId

        public void setId​(String id)
      • getExternalId

        public String getExternalId()
        Description copied from interface: TaskSummary
        Gets the external id of the Task.
        Specified by:
        getExternalId in interface TaskSummary
        Returns:
        the external Id
      • setExternalId

        public void setExternalId​(String externalId)
      • getCreator

        public String getCreator()
        Description copied from interface: TaskSummary
        Gets the name of the creator of the Task.
        Specified by:
        getCreator in interface TaskSummary
        Returns:
        creator
      • setCreator

        public void setCreator​(String creator)
      • setCreated

        public void setCreated​(Instant created)
      • setClaimed

        public void setClaimed​(Instant claimed)
      • setCompleted

        public void setCompleted​(Instant completed)
      • setModified

        public void setModified​(Instant modified)
      • setPlanned

        public void setPlanned​(Instant planned)
      • setReceived

        public void setReceived​(Instant received)
      • setDue

        public void setDue​(Instant due)
      • getName

        public String getName()
        Description copied from interface: TaskSummary
        Gets the name of the Task.
        Specified by:
        getName in interface TaskSummary
        Returns:
        the Task's name
      • setName

        public void setName​(String name)
      • getNote

        public String getNote()
        Description copied from interface: TaskSummary
        Gets the note attached to the Task.
        Specified by:
        getNote in interface TaskSummary
        Returns:
        the Task's note
      • setNote

        public void setNote​(String note)
      • getDescription

        public String getDescription()
        Description copied from interface: TaskSummary
        Gets the description of the Task.
        Specified by:
        getDescription in interface TaskSummary
        Returns:
        the Task's description
      • setDescription

        public void setDescription​(String description)
      • getPriority

        public int getPriority()
        Description copied from interface: TaskSummary
        Gets the priority of the Task.
        Specified by:
        getPriority in interface TaskSummary
        Returns:
        the Task's priority
      • setPriority

        public void setPriority​(int priority)
      • getManualPriority

        public int getManualPriority()
        Description copied from interface: TaskSummary
        Gets the manualPriority 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.
        Specified by:
        getManualPriority in interface TaskSummary
        Returns:
        the manualPriority of the Task
      • setManualPriority

        public void setManualPriority​(int manualPriority)
      • setState

        public void setState​(TaskState state)
      • setClassificationSummary

        public void setClassificationSummary​(ClassificationSummary classificationSummary)
      • setWorkbasketSummary

        public void setWorkbasketSummary​(WorkbasketSummary workbasketSummary)
      • setAttachmentSummaries

        public void setAttachmentSummaries​(List<AttachmentSummary> attachmentSummaries)
      • setSecondaryObjectReferences

        public void setSecondaryObjectReferences​(List<ObjectReference> objectReferences)
      • getDomain

        public String getDomain()
        Description copied from interface: TaskSummary
        Gets the domain of the Task.
        Specified by:
        getDomain in interface TaskSummary
        Returns:
        the Task's domain
      • setDomain

        public void setDomain​(String domain)
      • getBusinessProcessId

        public String getBusinessProcessId()
        Description copied from interface: TaskSummary
        Gets the businessProcessId of the Task.
        Specified by:
        getBusinessProcessId in interface TaskSummary
        Returns:
        the Task's businessProcessId
      • setBusinessProcessId

        public void setBusinessProcessId​(String businessProcessId)
      • getParentBusinessProcessId

        public String getParentBusinessProcessId()
        Description copied from interface: TaskSummary
        Gets the parentBusinessProcessId of the Task.
        Specified by:
        getParentBusinessProcessId in interface TaskSummary
        Returns:
        the Task's parentBusinessProcessId
      • setParentBusinessProcessId

        public void setParentBusinessProcessId​(String parentBusinessProcessId)
      • getOwner

        public String getOwner()
        Description copied from interface: TaskSummary
        Gets the owner of the Task.
        Specified by:
        getOwner in interface TaskSummary
        Returns:
        the Task's owner
      • setOwner

        public void setOwner​(String owner)
      • getOwnerLongName

        public String getOwnerLongName()
        Description copied from interface: TaskSummary
        Gets the owner's long name of the Task.
        Specified by:
        getOwnerLongName in interface TaskSummary
        Returns:
        the long name of the Task owner
      • setOwnerLongName

        public void setOwnerLongName​(String ownerLongName)
      • setPrimaryObjRef

        public void setPrimaryObjRef​(ObjectReference primaryObjRef)
      • isRead

        public boolean isRead()
        Description copied from interface: TaskSummary
        Gets the isRead flag of the Task.
        Specified by:
        isRead in interface TaskSummary
        Returns:
        the Task's isRead flag
      • setRead

        public void setRead​(boolean isRead)
      • isTransferred

        public boolean isTransferred()
        Description copied from interface: TaskSummary
        Gets the isTransferred flag of the Task.
        Specified by:
        isTransferred in interface TaskSummary
        Returns:
        the Task's isTransferred flag.
      • setTransferred

        public void setTransferred​(boolean isTransferred)
      • getCustomAttribute

        @Deprecated
        public String getCustomAttribute​(TaskCustomField customField)
        Deprecated.
        Description copied from interface: TaskSummary
        Gets the custom attribute of the Task.
        Specified by:
        getCustomAttribute in interface TaskSummary
        Parameters:
        customField - identifies which custom attribute is requested.
        Returns:
        the value for the given customField
      • getCustomField

        public String getCustomField​(TaskCustomField customField)
        Description copied from interface: TaskSummary
        Gets the custom attribute of the task.
        Specified by:
        getCustomField in interface TaskSummary
        Parameters:
        customField - identifies which custom attribute is requested.
        Returns:
        the value for the given customField
      • isManualPriorityActive

        public boolean isManualPriorityActive()
        Description copied from interface: TaskSummary
        Returns whether the Task is prioritized manually. That means that the priority is set to the value of the manualPriority of the Task.
        Specified by:
        isManualPriorityActive in interface TaskSummary
        Returns:
        true, if Tasks are prioritized manually; false otherwise
      • copy

        public TaskSummaryImpl copy()
        Description copied from interface: TaskSummary
        Duplicates this TaskSummary without the internal and external id.
        Specified by:
        copy in interface TaskSummary
        Returns:
        a copy of this TaskSummary
      • setWorkbasketSummaryImpl

        public void setWorkbasketSummaryImpl​(WorkbasketSummaryImpl workbasketSummary)
      • addAttachmentSummary

        public void addAttachmentSummary​(AttachmentSummary attachmentSummary)
      • setClassificationSummaryImpl

        public void setClassificationSummaryImpl​(ClassificationSummaryImpl classificationSummary)
      • setPrimaryObjRefImpl

        public void setPrimaryObjRefImpl​(ObjectReferenceImpl objectReference)
      • 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)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object