@Entity public class WorkspaceItem extends Object implements InProgressSubmission, Serializable, ReloadableEntity<Integer>
| Modifier | Constructor and Description |
|---|---|
protected |
WorkspaceItem()
Protected constructor, create object using:
WorkspaceItemService.create(Context, Collection, boolean)
or
WorkspaceItemService.create(Context, WorkflowItem) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Decide if this WorkspaceItem is equal to another
|
Collection |
getCollection()
Get the collection being submitted to
|
Integer |
getID()
Get the internal ID of this workspace item
|
Item |
getItem()
Get the incomplete item object
|
int |
getPageReached()
Get the value of the page reached column (which represents the page
reached within a stage/step)
|
int |
getStageReached()
Get the value of the stage reached column
|
EPerson |
getSubmitter()
Get the submitter
|
List<Group> |
getSupervisorGroups() |
int |
hashCode() |
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 |
setPageReached(int v)
Set the value of the page reached column (which represents the page
reached within a stage/step)
|
void |
setPublishedBefore(boolean b)
Indicate whether the submission has been published or publicly
distributed before
|
void |
setStageReached(int v)
Set the value of the stage reached column
|
protected WorkspaceItem()
WorkspaceItemService.create(Context, Collection, boolean)
or
WorkspaceItemService.create(Context, WorkflowItem)public Integer getID()
getID in interface InProgressSubmissiongetID in interface ReloadableEntity<Integer>public int getStageReached()
public void setStageReached(int v)
v - the value of the stage reached columnpublic int getPageReached()
public void setPageReached(int v)
v - the value of the page reached columnpublic boolean equals(Object o)
public Item getItem()
InProgressSubmissiongetItem in interface InProgressSubmissionpublic Collection getCollection()
InProgressSubmissiongetCollection in interface InProgressSubmissionpublic 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 © 2017 DuraSpace. All rights reserved.