Class BasicWorkflowItem

    • Method Detail

      • getOwner

        public EPerson getOwner()
        get owner of WorkflowItem
        Returns:
        EPerson owner
      • setOwner

        public void setOwner​(EPerson ep)
        set owner of WorkflowItem
        Parameters:
        ep - owner
      • getState

        public int getState()
        Get state of WorkflowItem
        Specified by:
        getState in interface WorkflowItem
        Returns:
        state
      • setState

        public void setState​(int newstate)
        Set state of WorkflowItem
        Parameters:
        newstate - new state (from WorkflowManager)
      • setCollection

        public void setCollection​(Collection collection)
      • hasMultipleFiles

        public boolean hasMultipleFiles()
        Description copied from interface: InProgressSubmission
        Find out if the submission has (or is intended to have) more than one associated bitstream.
        Specified by:
        hasMultipleFiles in interface InProgressSubmission
        Returns:
        true if there is to be more than one file.
      • setMultipleFiles

        public void setMultipleFiles​(boolean b)
        Description copied from interface: InProgressSubmission
        Indicate whether the submission is intended to have more than one file.
        Specified by:
        setMultipleFiles in interface InProgressSubmission
        Parameters:
        b - if true, submission may have more than one file.
      • hasMultipleTitles

        public boolean hasMultipleTitles()
        Description copied from interface: InProgressSubmission
        Find out if the submission has (or is intended to have) more than one title.
        Specified by:
        hasMultipleTitles in interface InProgressSubmission
        Returns:
        true if there is to be more than one file.
      • setMultipleTitles

        public void setMultipleTitles​(boolean b)
        Description copied from interface: InProgressSubmission
        Indicate whether the submission is intended to have more than one title.
        Specified by:
        setMultipleTitles in interface InProgressSubmission
        Parameters:
        b - if true, submission may have more than one title.
      • isPublishedBefore

        public boolean isPublishedBefore()
        Description copied from interface: InProgressSubmission
        Find out if the submission has been published or publicly distributed before
        Specified by:
        isPublishedBefore in interface InProgressSubmission
        Returns:
        true if it has been published before
      • setPublishedBefore

        public void setPublishedBefore​(boolean b)
        Description copied from interface: InProgressSubmission
        Indicate whether the submission has been published or publicly distributed before
        Specified by:
        setPublishedBefore in interface InProgressSubmission
        Parameters:
        b - true if it has been published before