@Entity public class XmlWorkflowItem extends Object implements WorkflowItem, ReloadableEntity<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
|
EPerson |
getSubmitter()
Get the submitter
|
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
|
protected XmlWorkflowItem()
WorkflowItemService.create(Context, Item, Collection)public Integer getID()
getID in interface InProgressSubmissiongetID in interface ReloadableEntity<Integer>public Collection getCollection()
InProgressSubmissiongetCollection in interface InProgressSubmissionpublic void setCollection(Collection collection)
public Item getItem()
InProgressSubmissiongetItem in interface InProgressSubmissionpublic void setItem(Item item)
public EPerson getSubmitter() throws SQLException
InProgressSubmissiongetSubmitter in interface InProgressSubmissionSQLException - if database errorpublic boolean hasMultipleFiles()
InProgressSubmissionhasMultipleFiles in interface InProgressSubmissiontrue if there is to be more than one file.public void setMultipleFiles(boolean b)
InProgressSubmissionsetMultipleFiles in interface InProgressSubmissionb - if true, submission may have more than one
file.public boolean hasMultipleTitles()
InProgressSubmissionhasMultipleTitles in interface InProgressSubmissiontrue if there is to be more than one file.public void setMultipleTitles(boolean b)
InProgressSubmissionsetMultipleTitles in interface InProgressSubmissionb - if true, submission may have more than one
title.public boolean isPublishedBefore()
InProgressSubmissionisPublishedBefore in interface InProgressSubmissiontrue if it has been published beforepublic void setPublishedBefore(boolean b)
InProgressSubmissionsetPublishedBefore in interface InProgressSubmissionb - true if it has been published beforeCopyright © 2016 DuraSpace. All rights reserved.