@Entity public class XmlWorkflowItem extends Object implements WorkflowItem, ReloadableEntity<Integer>, IndexableObject<Integer>
| Modifier | Constructor and Description |
|---|---|
protected |
XmlWorkflowItem()
Protected constructor, create object using:
WorkflowItemService.create(Context, Item, Collection) |
| Modifier and Type | Method and Description |
|---|---|
Collection |
getCollection()
Get the collection being submitted to
|
Integer |
getID()
Get the internal ID of this workflow item
|
Item |
getItem()
Get the incomplete item object
|
int |
getState() |
EPerson |
getSubmitter()
Get the submitter
|
int |
getType() |
boolean |
hasMultipleFiles()
Find out if the submission has (or is intended to have) more than one
associated bitstream.
|
boolean |
hasMultipleTitles()
Find out if the submission has (or is intended to have) more than one
title.
|
boolean |
isPublishedBefore()
Find out if the submission has been published or publicly distributed
before
|
void |
setCollection(Collection collection) |
void |
setItem(Item item) |
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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypeText, getUniqueIndexIDprotected XmlWorkflowItem()
WorkflowItemService.create(Context, Item, Collection)public Integer getID()
getID in interface InProgressSubmission<Integer>getID in interface ReloadableEntity<Integer>public Collection getCollection()
InProgressSubmissiongetCollection in interface InProgressSubmission<Integer>public void setCollection(Collection collection)
public Item getItem()
InProgressSubmissiongetItem in interface InProgressSubmission<Integer>public void setItem(Item item)
public EPerson getSubmitter() throws SQLException
InProgressSubmissiongetSubmitter in interface InProgressSubmission<Integer>SQLException - if database errorpublic boolean hasMultipleFiles()
InProgressSubmissionhasMultipleFiles in interface InProgressSubmission<Integer>true if there is to be more than one file.public void setMultipleFiles(boolean b)
InProgressSubmissionsetMultipleFiles in interface InProgressSubmission<Integer>b - if true, submission may have more than one
file.public boolean hasMultipleTitles()
InProgressSubmissionhasMultipleTitles in interface InProgressSubmission<Integer>true if there is to be more than one file.public void setMultipleTitles(boolean b)
InProgressSubmissionsetMultipleTitles in interface InProgressSubmission<Integer>b - if true, submission may have more than one
title.public boolean isPublishedBefore()
InProgressSubmissionisPublishedBefore in interface InProgressSubmission<Integer>true if it has been published beforepublic void setPublishedBefore(boolean b)
InProgressSubmissionsetPublishedBefore in interface InProgressSubmission<Integer>b - true if it has been published beforepublic int getState()
getState in interface WorkflowItempublic int getType()
getType in interface IndexableObject<Integer>ConstantsCopyright © 2019 DuraSpace. All rights reserved.