uk.org.ogsadai.activity.xmldb
Class XMLCollectionManagementActivity

java.lang.Object
  |
  +--uk.org.ogsadai.activity.Activity
        |
        +--uk.org.ogsadai.activity.xmldb.XMLDBActivity
              |
              +--uk.org.ogsadai.activity.xmldb.XMLDBCommandActivity
                    |
                    +--uk.org.ogsadai.activity.xmldb.XMLCollectionManagementActivity

public class XMLCollectionManagementActivity
extends XMLDBCommandActivity

An activity for performing XMLDB collection management operations such as creating, removing and listing collections.

For information on this activity see the OGSA-DAI user doc: OGSA-DAI/doc/interaction/activities/xml/xmlCollectionManagement.html

Author:
The OGSA-DAI Project Team

Field Summary
private static java.util.Properties COMMANDS
          Stores the command properties where the key is the command element name and the value the command class name.
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
 
Fields inherited from class uk.org.ogsadai.activity.xmldb.XMLDBCommandActivity
 
Fields inherited from class uk.org.ogsadai.activity.xmldb.XMLDBActivity
mDataResource, mOutput, mSubCollectionName, mUserCredentials
 
Fields inherited from class uk.org.ogsadai.activity.Activity
mContext, mExternalInputs, mExternalOutputs, mInternalInputs, mInternalOutputs
 
Constructor Summary
XMLCollectionManagementActivity(org.w3c.dom.Element element)
          Constructs an XML collection management activity using the specified XML element.
 
Methods inherited from class uk.org.ogsadai.activity.xmldb.XMLDBCommandActivity
processBlock
 
Methods inherited from class uk.org.ogsadai.activity.xmldb.XMLDBActivity
initialise
 
Methods inherited from class uk.org.ogsadai.activity.Activity
cleanUp, connectsTo, createOutputPipe, getActivityConfiguration, getActivityName, getCause, getName, getObservableStatus, getProperties, getSession, getStatus, hasActivityConfiguration, hasProperties, process, processFirst, setActivityName, setCompleted, setError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values

COMMANDS

private static final java.util.Properties COMMANDS
Stores the command properties where the key is the command element name and the value the command class name.

Constructor Detail

XMLCollectionManagementActivity

public XMLCollectionManagementActivity(org.w3c.dom.Element element)
                                throws ActivitySpecificationException,
                                       ActivityCreationException
Constructs an XML collection management activity using the specified XML element.

Parameters:
element - Element to configure the activity with - from a perform document.
Throws:
ActivityCreationException - If there is a problem constructing the activity due to an implementation error or OGSA-DAI confguration problem.
ActivitySpecificationException - If there is a problem constructing the activity due to an invalid setting in element. mistake such as an invalid setting.