@Entity public class WorkspaceItem extends Object implements InProgressSubmission<Integer>, Serializable, ReloadableEntity<Integer>, IndexableObject<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 |
getType() |
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
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetTypeText, getUniqueIndexIDprotected WorkspaceItem()
WorkspaceItemService.create(Context, Collection, boolean)
or
WorkspaceItemService.create(Context, WorkflowItem)public Integer getID()
getID in interface InProgressSubmission<Integer>getID 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 InProgressSubmission<Integer>public Collection getCollection()
InProgressSubmissiongetCollection in interface InProgressSubmission<Integer>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 getType()
getType in interface IndexableObject<Integer>ConstantsCopyright © 2019 DuraSpace. All rights reserved.