org.dspace.content
Interface InProgressSubmission

All Known Implementing Classes:
SupervisedItem, WorkflowItem, WorkspaceItem

public interface InProgressSubmission

Interface for manipulating in-progress submissions, without having to know at which stage of submission they are (in workspace or workflow system)

Version:
$Revision: 3761 $
Author:
Robert Tansley

Method Summary
 void deleteWrapper()
          Deletes submission wrapper, doesn't delete item contents
 Collection getCollection()
          Get the collection being submitted to
 int getID()
          Get the internal ID of this submission
 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 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
 void update()
          Update the submission, including the unarchived item.
 

Method Detail

getID

int getID()
Get the internal ID of this submission

Returns:
the internal identifier

deleteWrapper

void deleteWrapper()
                   throws SQLException,
                          IOException,
                          AuthorizeException
Deletes submission wrapper, doesn't delete item contents

Throws:
SQLException
IOException
AuthorizeException

update

void update()
            throws SQLException,
                   IOException,
                   AuthorizeException
Update the submission, including the unarchived item.

Throws:
SQLException
IOException
AuthorizeException

getItem

Item getItem()
Get the incomplete item object

Returns:
the item

getCollection

Collection getCollection()
Get the collection being submitted to

Returns:
the collection

getSubmitter

EPerson getSubmitter()
                     throws SQLException
Get the submitter

Returns:
the submitting e-person
Throws:
SQLException

hasMultipleFiles

boolean hasMultipleFiles()
Find out if the submission has (or is intended to have) more than one associated bitstream.

Returns:
true if there is to be more than one file.

setMultipleFiles

void setMultipleFiles(boolean b)
Indicate whether the submission is intended to have more than one file.

Parameters:
b - if true, submission may have more than one file.

hasMultipleTitles

boolean hasMultipleTitles()
Find out if the submission has (or is intended to have) more than one title.

Returns:
true if there is to be more than one file.

setMultipleTitles

void setMultipleTitles(boolean b)
Indicate whether the submission is intended to have more than one title.

Parameters:
b - if true, submission may have more than one title.

isPublishedBefore

boolean isPublishedBefore()
Find out if the submission has been published or publicly distributed before

Returns:
true if it has been published before

setPublishedBefore

void setPublishedBefore(boolean b)
Indicate whether the submission has been published or publicly distributed before

Parameters:
b - true if it has been published before


Copyright © 2010 DuraSpace. All Rights Reserved.