Differences between revisions 2 and 3
Revision 2 as of 2008-11-28 13:26:24
Size: 1227
Editor: kfc
Comment:
Revision 3 as of 2008-11-28 13:28:57
Size: 1260
Editor: kfc
Comment:
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
 * {{{String filePath]]] Path to the file to add to the object
 * {{{org.apache.axis.types.URI templatePID}}} DOMS PID of the object to add file to
 * {{{String filePath}}} Path to the file to add to the object
 * {{{org.apache.axis.types.URI domsObjectPID}}} DOMS PID of the object to add file to
Line 33: Line 33:
 * {{{org.apache.axis.types.URI templatePID}}} DOMS PID of the object to add file to  * {{{String md5CheckSum}}}
* {{{org.apache.axis.types.URI domsObjectPID}}} DOMS PID of the object to add file to

Object manipulation API

A webservice for manipulating object, specifically adding files

Object creation API

WSDL: attachment:DomsGUIObjectManipulation.xml

The following describes those methods of the Object creation API that may be called by the GUI.

addFileToObjectNoMD5

Add a file to an object

Input parameters:

  • String user Username for the user creating a new object

  • String pass Password for the user creating a new object

  • String filePath Path to the file to add to the object

  • org.apache.axis.types.URI domsObjectPID DOMS PID of the object to add file to

Returns:

  • Nothing

Throws:

  • Exception If an internal error occurred.

addFileToObject

Add a file to an object, with MD5 already known. Preferred and more efficient method.

Input parameters:

  • String user Username for the user creating a new object

  • String pass Password for the user creating a new object

  • {{{String filePath]]] Path to the file to add to the object
  • String md5CheckSum

  • org.apache.axis.types.URI domsObjectPID DOMS PID of the object to add file to

Returns:

  • Nothing

Throws:

  • Exception If an internal error occurred.

Object manipulation API (last edited 2010-03-17 13:09:18 by localhost)