Class TaskSummaryImpl

  • All Implemented Interfaces:
    TaskSummary
    Direct Known Subclasses:
    TaskImpl

    public class TaskSummaryImpl
    extends Object
    implements TaskSummary
    Entity which contains the most important informations about a Task.
    • 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 task-creator.
        Specified by:
        getCreator in interface TaskSummary
        Returns:
        creator
      • setCreator

        public void setCreator​(String creator)
      • getCreated

        public Instant getCreated()
        Description copied from interface: TaskSummary
        Gets the time when the task was created.
        Specified by:
        getCreated in interface TaskSummary
        Returns:
        the created Instant
      • setCreated

        public void setCreated​(Instant created)
      • getClaimed

        public Instant getClaimed()
        Description copied from interface: TaskSummary
        Gets the time when the task was claimed.
        Specified by:
        getClaimed in interface TaskSummary
        Returns:
        the claimed Instant
      • setClaimed

        public void setClaimed​(Instant claimed)
      • getCompleted

        public Instant getCompleted()
        Description copied from interface: TaskSummary
        Gets the time when the task was completed.
        Specified by:
        getCompleted in interface TaskSummary
        Returns:
        the completed Instant
      • setCompleted

        public void setCompleted​(Instant completed)
      • getModified

        public Instant getModified()
        Description copied from interface: TaskSummary
        Gets the time when the task was last modified.
        Specified by:
        getModified in interface TaskSummary
        Returns:
        the last modified Instant
      • setModified

        public void setModified​(Instant modified)
      • getPlanned

        public Instant getPlanned()
        Description copied from interface: TaskSummary
        Gets the time when the task is planned to be executed.
        Specified by:
        getPlanned in interface TaskSummary
        Returns:
        the planned Instant
      • setPlanned

        public void setPlanned​(Instant planned)
      • getDue

        public Instant getDue()
        Description copied from interface: TaskSummary
        Gets the time when the task is due.
        Specified by:
        getDue in interface TaskSummary
        Returns:
        the due Instant
      • 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)
      • 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)
      • 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)
      • 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

        public String getCustomAttribute​(TaskCustomField customField)
        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
      • 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)
      • 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