Interface Workbasket

    • Method Detail

      • setName

        void setName​(String workbasketName)
        Sets the name of the workbasket.
        Parameters:
        workbasketName - the name of the workbasket
      • setDescription

        void setDescription​(String description)
        Sets the workbasket-descriptions.
        Parameters:
        description - the description of the workbasket
      • setType

        void setType​(WorkbasketType type)
        Sets the type of the workbasket.
        Parameters:
        type - the type of the workbasket
      • setCustomField

        void setCustomField​(WorkbasketCustomField customField,
                            String value)
        Sets the value for custom field.
        Parameters:
        customField - identifies which custom field is to be set.
        value - the value of the custom field to be set
      • setOrgLevel1

        void setOrgLevel1​(String orgLevel1)
        Sets the value for orgLevel1 attribute.
        Parameters:
        orgLevel1 - the orgLevel1 property of the workbasket
      • setOrgLevel2

        void setOrgLevel2​(String orgLevel2)
        Sets the value for orgLevel2 attribute.
        Parameters:
        orgLevel2 - the orgLevel2 property of the workbasket
      • setOrgLevel3

        void setOrgLevel3​(String orgLevel3)
        Sets the value for orgLevel3 attribute.
        Parameters:
        orgLevel3 - the orgLevel3 property of the workbasket
      • setOrgLevel4

        void setOrgLevel4​(String orgLevel4)
        Sets the value for orgLevel4 attribute.
        Parameters:
        orgLevel4 - the orgLevel4 property of the workbasket
      • isMarkedForDeletion

        boolean isMarkedForDeletion()
        Return the value for the markedForDeletion attribute.
        Specified by:
        isMarkedForDeletion in interface WorkbasketSummary
        Returns:
        markedForDeletion
      • setMarkedForDeletion

        void setMarkedForDeletion​(boolean markedForDeletion)
        Sets the value for markedForDeletion attribute.
        Parameters:
        markedForDeletion - the markedForDeletion property of the workbasket
      • copy

        Workbasket copy​(String key)
        Duplicates this Workbasket without the id.
        Parameters:
        key - for the new Workbasket
        Returns:
        a copy of this Workbasket
      • setOwner

        void setOwner​(String owner)
        Sets the owner-ID of the workbasket.
        Parameters:
        owner - of the current workbasket
      • getCreated

        Instant getCreated()
        Returns the date when the workbasket was created.
        Returns:
        created as Instant
      • getModified

        Instant getModified()
        Returns the date when the workbasket was modified the last time.
        Returns:
        modified as Instant
      • asSummary

        WorkbasketSummary asSummary()
        Return a summary of the current workbasket.
        Returns:
        the WorkbasketSummary object for the current work basket