org.globus.ogsa.impl.base.cas.server.databaseAccess.accessors
Class NamespaceDataHandler

java.lang.Object
  extended byorg.globus.ogsa.impl.base.cas.server.databaseAccess.accessors.NamespaceDataHandler

public class NamespaceDataHandler
extends java.lang.Object

Used to manipulate NamespaceData in database


Constructor Summary
NamespaceDataHandler()
           
 
Method Summary
static void deleteObject(java.lang.String nickname)
          Remove namespace entry from database Manipulates only namespace table
static java.lang.String[] list()
          List of all Namespace
static CasObjectData retrieveObject(java.lang.String nickname)
           
static java.lang.String storeObject(NamespaceData dataObject)
          Store the name space object Manipulates only the namespace_table in the daabase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamespaceDataHandler

public NamespaceDataHandler()
Method Detail

storeObject

public static java.lang.String storeObject(NamespaceData dataObject)
                                    throws CasDBException
Store the name space object Manipulates only the namespace_table in the daabase

Throws:
CasDBException

list

public static java.lang.String[] list()
                               throws CasDBException
List of all Namespace

Throws:
CasDBException

retrieveObject

public static CasObjectData retrieveObject(java.lang.String nickname)
                                    throws CasDBException
Throws:
CasDBException

deleteObject

public static void deleteObject(java.lang.String nickname)
                         throws CasDBException
Remove namespace entry from database Manipulates only namespace table

Throws:
CasDBException