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

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

public class ExistExtendedDataImpl
extends java.lang.Object
implements ExtendedData

Connects to Exist to provided extended data to the ICAT client.

Author:
Nigel Sim

Field Summary
protected static java.lang.String driver
           
 
Constructor Summary
ExistExtendedDataImpl()
           
 
Method Summary
 java.lang.String getConnection()
          Get the eXist connection prefix.
 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.lang.String getPassword()
          Get the eXist connection password.
 java.lang.String getRootPath()
           
 ICATSecurityManager getSecurityManager()
           
 java.lang.String getUsername()
          Get the eXist connection username.
 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 setConnection(java.lang.String connection)
          Set the eXist connection prefix.
 void setPassword(java.lang.String password)
          Set the eXist connection password.
 void setRootPath(java.lang.String rootPath)
           
 void setSecurityManager(ICATSecurityManager securityManager)
           
 void setUsername(java.lang.String username)
          Set the eXist connection username.
 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

driver

protected static java.lang.String driver
Constructor Detail

ExistExtendedDataImpl

public ExistExtendedDataImpl()
                      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
Description copied from interface: ExtendedData
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
Description copied from interface: ExtendedData
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
Description copied from interface: ExtendedData
Update the document stored under the given object and name.

Specified by:
updateExtendedData in interface ExtendedData
Throws:
ICATServiceException

getSecurityManager

public ICATSecurityManager getSecurityManager()

setSecurityManager

public void setSecurityManager(ICATSecurityManager securityManager)

getConnection

public java.lang.String getConnection()
Get the eXist connection prefix.

Returns:

setConnection

public void setConnection(java.lang.String connection)
Set the eXist connection prefix.

Parameters:
connection -

getUsername

public java.lang.String getUsername()
Get the eXist connection username.

Returns:

setUsername

public void setUsername(java.lang.String username)
Set the eXist connection username.

Parameters:
username -

getPassword

public java.lang.String getPassword()
Get the eXist connection password.

Returns:

setPassword

public void setPassword(java.lang.String password)
Set the eXist connection password.

Parameters:
password -

getRootPath

public java.lang.String getRootPath()

setRootPath

public void setRootPath(java.lang.String rootPath)


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