|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Defines Dao for managing and obtaining information (not querying) collections
| Method Summary | |
void |
addCollection(java.lang.String existingCollectionPath,
java.lang.String newCollectionName)
Add a new child collection to an underlying existing collection |
void |
addCollectionPath(java.lang.String collectionPath)
Add a new collection path to the XML database. |
boolean |
doesCollectionExist(java.lang.String collectionPath)
Evaluate if a specific collection exists at a collection path in the database |
java.util.Collection |
getCollectionCollectionInfo(java.lang.String collectionPath)
Get the information on all child collections of a collection given its collection path This method should return a collection (in the java.util sense) of XMLDBCollectionInfo
objects |
java.util.Collection |
getCollectionResourceInfo(java.lang.String collectionPath)
Get the information on all the resources in a collection given the collection path This method should return a collection (in the java.util sense) of XMLDBResourceInfo
objects |
void |
removeCollection(java.lang.String collectionPath)
Remove a collection from the XML datbase given the full collection path |
| Method Detail |
public void addCollection(java.lang.String existingCollectionPath,
java.lang.String newCollectionName)
throws XMLDBDataAccessException
existingCollectionPath - The full collection path of the existing collection i.e. /db/test/contentnewCollectionName - The single name of the collection to create i.e. newcol
XMLDBDataAccessException - problems accessing the XML database
public void addCollectionPath(java.lang.String collectionPath)
throws XMLDBDataAccessException
collectionPath - the full path of the collection to create i.e. /db/testcontent/newcol
XMLDBDataAccessException - problems accessing the XML database
public void removeCollection(java.lang.String collectionPath)
throws XMLDBDataAccessException
collectionPath - the full path of the collection to remove i.e. /db/testcontent/newcol
XMLDBDataAccessException - problems accessing the XML database
public java.util.Collection getCollectionResourceInfo(java.lang.String collectionPath)
throws XMLDBDataAccessException
XMLDBResourceInfo
objects
collectionPath - the collection path to retrieve infomation on
XMLDBDataAccessException - problems accessing the XML database
public boolean doesCollectionExist(java.lang.String collectionPath)
throws XMLDBDataAccessException
collectionPath - The collection path to check
XMLDBDataAccessException - problems accessing the XML database
public java.util.Collection getCollectionCollectionInfo(java.lang.String collectionPath)
throws XMLDBDataAccessException
XMLDBCollectionInfo
objects
collectionPath - the collection path to retrieve infomation on
XMLDBDataAccessException - problems accessing the XML database
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||