Interface InProgressSubmission

All Superinterfaces:
ReloadableEntity<Integer>
All Known Subinterfaces:
WorkflowItem
All Known Implementing Classes:
WorkspaceItem, XmlWorkflowItem

public interface InProgressSubmission extends ReloadableEntity<Integer>
Interface for manipulating in-progress submissions, without having to know at which stage of submission they are (in workspace or workflow system)
Author:
Robert Tansley
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the collection being submitted to
    Get the internal ID of this submission
    Get the incomplete item object
    Get the submitter
    boolean
    Find out if the submission has (or is intended to have) more than one associated bitstream.
    boolean
    Find out if the submission has (or is intended to have) more than one title.
    boolean
    Find out if the submission has been published or publicly distributed before
    void
    setMultipleFiles(boolean b)
    Indicate whether the submission is intended to have more than one file.
    void
    setMultipleTitles(boolean b)
    Indicate whether the submission is intended to have more than one title.
    void
    setPublishedBefore(boolean b)
    Indicate whether the submission has been published or publicly distributed before
  • Method Details

    • getID

      Integer getID()
      Get the internal ID of this submission
      Specified by:
      getID in interface ReloadableEntity<Integer>
      Returns:
      the internal identifier
    • getItem

      Item getItem()
      Get the incomplete item object
      Returns:
      the item
    • getCollection

      Collection getCollection()
      Get the collection being submitted to
      Returns:
      the collection
    • getSubmitter

      EPerson getSubmitter()
      Get the submitter
      Returns:
      the submitting e-person
      Throws:
      SQLException - if database error
    • hasMultipleFiles

      boolean hasMultipleFiles()
      Find out if the submission has (or is intended to have) more than one associated bitstream.
      Returns:
      true if there is to be more than one file.
    • setMultipleFiles

      void setMultipleFiles(boolean b)
      Indicate whether the submission is intended to have more than one file.
      Parameters:
      b - if true, submission may have more than one file.
    • hasMultipleTitles

      boolean hasMultipleTitles()
      Find out if the submission has (or is intended to have) more than one title.
      Returns:
      true if there is to be more than one file.
    • setMultipleTitles

      void setMultipleTitles(boolean b)
      Indicate whether the submission is intended to have more than one title.
      Parameters:
      b - if true, submission may have more than one title.
    • isPublishedBefore

      boolean isPublishedBefore()
      Find out if the submission has been published or publicly distributed before
      Returns:
      true if it has been published before
    • setPublishedBefore

      void setPublishedBefore(boolean b)
      Indicate whether the submission has been published or publicly distributed before
      Parameters:
      b - true if it has been published before