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. | |
|