public class XMLDBClusterStorage extends ClusterStorage
| Modifier and Type | Field and Description |
|---|---|
protected org.xmldb.api.base.Database |
database |
protected org.xmldb.api.base.Collection |
root |
static String |
XMLDB_PASSWORD |
static String |
XMLDB_ROOT |
static String |
XMLDB_URI |
static String |
XMLDB_USER |
allClusterTypes, COLLECTION, HISTORY, JOB, LIFECYCLE, NONE, OUTCOME, PATH, PROPERTY, READ, READWRITE, ROOT, VIEWPOINT, WRITE| Constructor and Description |
|---|
XMLDBClusterStorage() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkQuerySupport(String language) |
void |
close() |
void |
delete(ItemPath itemPath,
String path) |
String |
executeQuery(Query query) |
C2KLocalObject |
get(ItemPath itemPath,
String path) |
String[] |
getClusterContents(ItemPath itemPath,
String path) |
String |
getId() |
protected org.xmldb.api.base.Collection |
getItemCollection(ItemPath itemPath,
boolean create)
Retrieves the collection from the root created for each Item (UUID)
|
String |
getName() |
void |
open(Authenticator auth) |
void |
postBoostrap() |
void |
postConnect() |
void |
postStartServer() |
void |
put(ItemPath itemPath,
C2KLocalObject obj) |
short |
queryClusterSupport(String clusterType) |
protected static org.xmldb.api.base.Collection |
verifyCollection(org.xmldb.api.base.Collection parent,
String name,
boolean create)
Retrieves the collection from the given parent collection
|
getClusterContents, getClusters, getClusterType, getPath, queryClusterSupportpublic static final String XMLDB_URI
public static final String XMLDB_USER
public static final String XMLDB_PASSWORD
public static final String XMLDB_ROOT
protected org.xmldb.api.base.Database database
protected org.xmldb.api.base.Collection root
protected org.xmldb.api.base.Collection getItemCollection(ItemPath itemPath, boolean create) throws PersistencyException
itemPath - the Path representing the Itemcreate - whether to create the missing collection or notPersistencyExceptionprotected static org.xmldb.api.base.Collection verifyCollection(org.xmldb.api.base.Collection parent,
String name,
boolean create)
throws PersistencyException
parent - the parent collectionname - name of the child collectioncreate - whether to create the missing collection or notPersistencyExceptionpublic void open(Authenticator auth) throws PersistencyException
open in class ClusterStoragePersistencyExceptionpublic void close()
throws PersistencyException
close in class ClusterStoragePersistencyExceptionpublic void postBoostrap()
postBoostrap in class ClusterStoragepublic void postStartServer()
postStartServer in class ClusterStoragepublic void postConnect()
postConnect in class ClusterStoragepublic short queryClusterSupport(String clusterType)
queryClusterSupport in class ClusterStoragepublic boolean checkQuerySupport(String language)
checkQuerySupport in class ClusterStoragepublic String getName()
getName in class ClusterStoragepublic String getId()
getId in class ClusterStoragepublic String executeQuery(Query query) throws PersistencyException
executeQuery in class ClusterStoragePersistencyExceptionpublic C2KLocalObject get(ItemPath itemPath, String path) throws PersistencyException
get in class ClusterStoragePersistencyExceptionpublic void put(ItemPath itemPath, C2KLocalObject obj) throws PersistencyException
put in class ClusterStoragePersistencyExceptionpublic void delete(ItemPath itemPath, String path) throws PersistencyException
delete in class ClusterStoragePersistencyExceptionpublic String[] getClusterContents(ItemPath itemPath, String path) throws PersistencyException
getClusterContents in class ClusterStoragePersistencyExceptionCopyright © 1997–2019 CRISTAL-iSE. All rights reserved.