au.edu.archer.services.icat.impl
Class ExtendedDataWsClientImpl

java.lang.Object
  extended by au.edu.archer.services.icat.impl.ExtendedDataWsClientImpl
All Implemented Interfaces:
ExtendedData

public class ExtendedDataWsClientImpl
extends java.lang.Object
implements ExtendedData


Field Summary
protected  org.apache.log4j.Logger logger
           
 
Constructor Summary
ExtendedDataWsClientImpl(java.lang.String address)
           
ExtendedDataWsClientImpl(java.lang.String address, org.globus.gsi.GlobusCredential cred)
           
 
Method Summary
 org.w3c.dom.Document getExtendedData(BaseDomain object, java.lang.String name)
          Gets the extended data document for the given object with the given document name.
 java.util.List<java.lang.String> listExtendedData(BaseDomain object)
          List the documents available (by name) for the given object.
 void removeExtendedData(BaseDomain object, java.lang.String name)
          Remove the document stored under the given object and document name.
 void updateExtendedData(BaseDomain object, java.lang.String name, org.w3c.dom.Document data)
          Update the document stored under the given object and name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected org.apache.log4j.Logger logger
Constructor Detail

ExtendedDataWsClientImpl

public ExtendedDataWsClientImpl(java.lang.String address)

ExtendedDataWsClientImpl

public ExtendedDataWsClientImpl(java.lang.String address,
                                org.globus.gsi.GlobusCredential cred)
                         throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getExtendedData

public org.w3c.dom.Document getExtendedData(BaseDomain object,
                                            java.lang.String name)
                                     throws ICATServiceException
Description copied from interface: ExtendedData
Gets the extended data document for the given object with the given document name.

Specified by:
getExtendedData in interface ExtendedData
Returns:
Throws:
ICATServiceException

listExtendedData

public java.util.List<java.lang.String> listExtendedData(BaseDomain object)
                                                  throws ICATServiceException
List the documents available (by name) for the given object.

Specified by:
listExtendedData in interface ExtendedData
Returns:
Throws:
ICATServiceException

removeExtendedData

public void removeExtendedData(BaseDomain object,
                               java.lang.String name)
                        throws ICATServiceException
Remove the document stored under the given object and document name.

Specified by:
removeExtendedData in interface ExtendedData
Throws:
ICATServiceException

updateExtendedData

public void updateExtendedData(BaseDomain object,
                               java.lang.String name,
                               org.w3c.dom.Document data)
                        throws ICATServiceException
Update the document stored under the given object and name.

Specified by:
updateExtendedData in interface ExtendedData
Throws:
ICATServiceException


Copyright © 2008 ARCHER - James Cook University. All Rights Reserved.