Operation |
Details |
public checkCollection( String collection, AccountUserVO user):boolean |
Sequential Notes: | Checks if a user has depositing rights for a collection. @return true if the user has depositing rights, else false | |
public checkUser( ServiceDocumentRequest sdr):AccountUserVO |
Sequential Notes: | Logs in a user. @return AccountUserVO | |
private convertToFile( byte[] file, String name, AccountUserVO user):FileVO |
Sequential Notes: | Converts a byte[] into a FileVO. @return FileVO | |
public createResponseAtom( PubItemVO item, Deposit deposit, boolean valid):SWORDEntry |
Sequential |
public doDeposit( AccountUserVO user, PubItemVO item):PubItemVO |
Sequential Tags: | throws=ItemInvalidException,PubItemStatusInvalidException,Exception
| Notes: | @return Saved pubItem | |
public getAcceptedFormat():String |
Sequential |
public getAccountUser( String user, String pwd):AccountUserVO |
Sequential Notes: | Creates a Account User. @return AccountUserVO | |
public getFileNames():Vector |
Sequential |
protected getItemControllerSessionBean():de.mpg.escidoc.pubman.ItemControllerSessionBean |
Sequential Notes: | Returns a reference to the scoped data bean (the ItemControllerSessionBean). @return a reference to the scoped data bean | |
public getMethod( PubItemVO item):String |
Sequential |
public getTreatmentText():String |
Sequential |
public getValidationPoint():String |
Sequential |
public getWorkflow():PublicationAdminDescriptorVO.Workflow |
Sequential Notes: | Returns the Workflow of the current context. | |
public getWorkflowAsString( PubContextVOPresentation pubContext):String |
Sequential Notes: | Returns the Workflow for a given context. @return workflow type as string | |
public init():void |
Sequential |
public loginUser( String userid, String password):String |
Sequential Tags: | throws=HttpException,IOException,ServiceException,URISyntaxException
| Notes: | Logs in the given user with the given password. @return The handle for the logged in user. | |
public logoutUser():void |
Sequential Tags: | throws=IOException,ServiceException,URISyntaxException
| |
private processFiles( String item, Vector files, Vector names, AccountUserVO user):PubItemVO |
Sequential Tags: | throws=ItemInvalidException,ContentStreamNotFoundException,Exception
| |
public readZipFile( InputStream in, AccountUserVO user):PubItemVO |
Sequential Tags: | throws=ItemInvalidException,ContentStreamNotFoundException,Exception
| Notes: | This method takes a zip file and reads out the entries. | |
public setValidationPoint( String validationPoint):void |
Sequential |
public SwordUtil(): |
Sequential Notes: | Public constructor | |
protected uploadFile( InputStream in, String mimetype, String userHandle):URL |
Sequential Notes: | Uploads a file to the staging servlet and returns the corresponding URL. @param InputStream to upload @return The URL of the uploaded file. | |
public validateItem( PubItemVO item):ValidationReportVO |
Sequential Tags: | throws=NamingException
| |