|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ozoneDB.xml.cli.services.CollectionManagementServiceImpl
Constructor Summary | |
CollectionManagementServiceImpl()
Creates new CollectionManagementServiceImpl |
Method Summary | |
Collection |
createCollection(java.lang.String name)
Create a new child collection |
java.lang.String |
getName()
Returns the name associated with the Configurable object. |
java.lang.String |
getProperty(java.lang.String name)
Returns the value of the property identified by name . |
java.lang.String |
getVersion()
Gets the Version attribute of the Service object |
void |
removeCollection(java.lang.String name)
Remove the named collection |
void |
setCollection(Collection col)
Sets the Collection attribute of the Service object |
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets the property name to have the value provided in
value . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CollectionManagementServiceImpl()
Method Detail |
public Collection createCollection(java.lang.String name) throws XMLDBException
createCollection
in interface CollectionManagementService
XMLDBException
public void removeCollection(java.lang.String name) throws XMLDBException
removeCollection
in interface CollectionManagementService
XMLDBException
public java.lang.String getVersion() throws XMLDBException
getVersion
in interface Service
XMLDBException
- with expected error codes.ErrorCodes.VENDOR_ERROR
for any vendor
specific errors that occur.public java.lang.String getName() throws XMLDBException
getName
in interface Configurable
XMLDBException
- with expected error codes.ErrorCodes.VENDOR_ERROR
for any vendor
specific errors that occur.public void setProperty(java.lang.String name, java.lang.String value) throws XMLDBException
name
to have the value provided in
value
.
setProperty
in interface Configurable
name
- the name of the property to set.value
- the value to set for the property.
XMLDBException
- with expected error codes.ErrorCodes.VENDOR_ERROR
for any vendor
specific errors that occur.public void setCollection(Collection col) throws XMLDBException
setCollection
in interface Service
col
- The new Collection value
XMLDBException
- with expected error codes.ErrorCodes.VENDOR_ERROR
for any vendor
specific errors that occur.public java.lang.String getProperty(java.lang.String name) throws XMLDBException
name
.
getProperty
in interface Configurable
name
- the name of the property to retrieve.
XMLDBException
- with expected error codes.ErrorCodes.VENDOR_ERROR
for any vendor
specific errors that occur.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |