@Entity public class BasicWorkflowItem extends Object implements WorkflowItem
| Modifier | Constructor and Description |
|---|---|
protected |
BasicWorkflowItem()
Protected constructor, create object using:
WorkflowItemService.create(Context, Item, Collection) |
| Modifier and Type | Method and Description |
|---|---|
Collection |
getCollection()
Get the collection being submitted to
|
int |
getID()
Get the internal ID of this workflow item
|
Item |
getItem()
Get the incomplete item object
|
EPerson |
getOwner()
get owner of WorkflowItem
|
int |
getState()
Get state of WorkflowItem
|
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 |
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 |
setOwner(EPerson ep)
set owner of WorkflowItem
|
void |
setPublishedBefore(boolean b)
Indicate whether the submission has been published or publicly
distributed before
|
void |
setState(int newstate)
Set state of WorkflowItem
|
protected BasicWorkflowItem()
WorkflowItemService.create(Context, Item, Collection)public int getID()
getID in interface InProgressSubmissionpublic EPerson getOwner()
public void setOwner(EPerson ep)
ep - ownerpublic int getState()
public void setState(int newstate)
newstate - new state (from WorkflowManager)public Item getItem()
InProgressSubmissiongetItem in interface InProgressSubmissionpublic Collection getCollection()
InProgressSubmissiongetCollection in interface InProgressSubmissionpublic EPerson getSubmitter() throws SQLException
InProgressSubmissiongetSubmitter in interface InProgressSubmissionSQLExceptionpublic 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.