interface: PubItemDepositing

public abstract <<interface>> interface: PubItemDepositing
Author: $Author: mfranke $
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 1850 $ $LastChangedDate: 2008-12-17 13:; Complexity: 1
Dates: Created: 16.07.2009 15:31:25; Modified: 16.07.2009 15:31:25;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {4C6862F1-C947-45fc-851A-808F661DD331}
Depositing service interface for Publication Items.
@created 31-Jan-2007 17:26:09
 

Goto: Fields, Methods

See also: PubItemDepositingBean, PubItemDepositingTest, PubItemPublishingTest, AdvancedSearchTest, SearchAndOutputTest, SearchPubItemsByAffiliationTest, SearchTest, DeleteProcess, ImportProcess, SubmitProcess, ViewItemFull, ItemControllerSessionBean

Appears in: pubman

Connections
 
PubItemDepositing Attributes
Attribute Details
public static const String
  SERVICE_NAME
Initial: "ejb/de/mpg/escidoc/services/pubman/PubItemDepositing"
Notes: The service name.
public static const String
  WORKFLOW_SIMPLE
Initial: "simple"
public static const String
  WORKFLOW_STANDARD
Initial: "standard"
 
PubItemDepositing Methods
Operation Details
public
acceptPubItem(
   PubItemVO pubItem,
   String acceptComment,
   AccountUserVO user):PubItemVO
Sequential
Tags: throws=TechnicalException,SecurityException,DepositingException,PubItemNotFoundException,PubManException,ItemInvalidException
Notes: Accepts the given pubItem. A save operation is done before the accept operation: Afterwards it is released.
public
createPubItem(
   ContextRO collectionRef,
   AccountUserVO user):PubItemVO
Sequential
Tags: throws=TechnicalException,SecurityException,PubCollectionNotFoundException
Notes: Creates an new PubItemVO object with the default metadata of the given Collection. The PubItem is not made persistent.
public
createRevisionOfItem(
   PubItemVO pubItem,
   String relationComment,
   ContextRO pubCollection,
   AccountUserVO user):PubItemVO
Sequential
Tags: throws=SecurityException,PubItemMandatoryAttributesMissingException,PubItemLockedException,PubCollectionNotFoundException,PubItemNotFoundException,PubItemStatusInvalidException,PubItemAlreadyReleasedException,TechnicalException
Notes: Creates a new PubItem as a revision of the given one. Also a content relation of type isRevisionOf is created.
@param owner
public
deletePubItem(
   ItemRO itemRef,
   AccountUserVO user):void
Sequential
Tags: throws=TechnicalException,SecurityException,PubItemNotFoundException,PubItemLockedException,PubItemStatusInvalidException
Notes: Deletes the PubItem identified by the given reference.
public
getPubCollectionListForDepositing(
   AccountUserVO user):java.util.List
Sequential
Tags: throws=TechnicalException,SecurityException
Notes: Returns all open PubCollections for which the given user is in the role "Depositor".
public
savePubItem(
   PubItemVO item,
   AccountUserVO user):PubItemVO
Sequential
Tags: throws=TechnicalException,SecurityException,PubItemMandatoryAttributesMissingException,PubCollectionNotFoundException,PubItemLockedException,PubItemNotFoundException,PubItemStatusInvalidException,PubItemAlreadyReleasedException,URISyntaxException,AuthorizationEx
Notes: Saves the given pubItem (i.e. creates a new version). If the pubItem already exists an update is executed, otherwise the item is created. If the given item is in state released, the item is submitted at the end.
public
submitAndReleasePubItem(
   PubItemVO pubItem,
   String submissionComment,
   AccountUserVO user):PubItemVO
Sequential
Tags: throws=DepositingException,TechnicalException,PubItemNotFoundException,SecurityException,PubManException,ItemInvalidException
Notes: Submits and releases the given pubItem. As on submit, a new version must be created (which is not done by the framework), a save operation is done before the submit operation: If the pubItem already exists an update is executed, otherwise the item is created. Afterwards it is submitted and released.
@param item
public
submitPubItem(
   PubItemVO item,
   String submissionComment,
   AccountUserVO user):PubItemVO
Sequential
Tags: throws=TechnicalException,SecurityException,DepositingException,PubItemNotFoundException,PubManException,ItemInvalidException,URISyntaxException,AuthorizationException
Notes: Submits the given pubItem. As on submit, a new version must be created (which is not done by the framework), a save operation is done before the submit operation: If the pubItem already exists an update is executed, otherwise the item is created. Afterwards it is submitted.