Class InboxItem


  • public class InboxItem
    extends Object
    Simple wrapper for the return JSON representing a work item in a users inbox.
    • Constructor Detail

      • InboxItem

        public InboxItem​(com.fasterxml.jackson.databind.JsonNode rootNode)
        The only Constructor.
        Parameters:
        rootNode - the JSON node containing the data.
    • Method Detail

      • getUri

        public String getUri()
        returns the URI of this work item
        Returns:
        the URI of the work item
      • getCurrentAssignee

        public String getCurrentAssignee()
        returns the current assignee for this work item.
        Returns:
        current assignee
      • getStartTime

        public Date getStartTime()
        The start date when this work item was started
        Returns:
        the start date
      • getEndTime

        public Date getEndTime()
        the end date when this work item was completed
        Returns:
        the end date
      • getPayloadType

        public String getPayloadType()
        the payload type, either URL or JCR_PATH.
        Returns:
        the type of payload reference
      • getPayload

        public String getPayload()
        the reference to the payload
        Returns:
        payload reference
      • getComment

        public String getComment()
        the comment set for this work item
        Returns:
        the comment