Package org.dspace.content
Interface InProgressSubmission
- All Superinterfaces:
ReloadableEntity<Integer>
- All Known Subinterfaces:
WorkflowItem
- All Known Implementing Classes:
WorkspaceItem,XmlWorkflowItem
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 TypeMethodDescriptionGet the collection being submitted togetID()Get the internal ID of this submissiongetItem()Get the incomplete item objectGet the submitterbooleanFind out if the submission has (or is intended to have) more than one associated bitstream.booleanFind out if the submission has (or is intended to have) more than one title.booleanFind out if the submission has been published or publicly distributed beforevoidsetMultipleFiles(boolean b) Indicate whether the submission is intended to have more than one file.voidsetMultipleTitles(boolean b) Indicate whether the submission is intended to have more than one title.voidsetPublishedBefore(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:
getIDin interfaceReloadableEntity<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:
trueif 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- iftrue, 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:
trueif 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- iftrue, submission may have more than one title.
-
isPublishedBefore
boolean isPublishedBefore()Find out if the submission has been published or publicly distributed before- Returns:
trueif it has been published before
-
setPublishedBefore
void setPublishedBefore(boolean b) Indicate whether the submission has been published or publicly distributed before- Parameters:
b-trueif it has been published before
-