public class XMLDBClusterStorage
extends org.cristalise.kernel.persistency.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 |
| Constructor and Description |
|---|
XMLDBClusterStorage() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkQuerySupport(String language) |
void |
close() |
void |
delete(org.cristalise.kernel.lookup.ItemPath itemPath,
String path) |
String |
executeQuery(org.cristalise.kernel.querying.Query query) |
org.cristalise.kernel.entity.C2KLocalObject |
get(org.cristalise.kernel.lookup.ItemPath itemPath,
String path) |
String[] |
getClusterContents(org.cristalise.kernel.lookup.ItemPath itemPath,
String path) |
String |
getId() |
protected org.xmldb.api.base.Collection |
getItemCollection(org.cristalise.kernel.lookup.ItemPath itemPath,
boolean create)
Retrieves the collection from the root created for each Item (UUID)
|
String |
getName() |
void |
open(org.cristalise.kernel.process.auth.Authenticator auth) |
void |
put(org.cristalise.kernel.lookup.ItemPath itemPath,
org.cristalise.kernel.entity.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
|
public 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(org.cristalise.kernel.lookup.ItemPath itemPath,
boolean create)
throws org.cristalise.kernel.common.PersistencyException
itemPath - the Path representing the Itemcreate - whether to create the missing collection or notorg.cristalise.kernel.common.PersistencyExceptionprotected static org.xmldb.api.base.Collection verifyCollection(org.xmldb.api.base.Collection parent,
String name,
boolean create)
throws org.cristalise.kernel.common.PersistencyException
parent - the parent collectionname - name of the child collectioncreate - whether to create the missing collection or notorg.cristalise.kernel.common.PersistencyExceptionpublic void open(org.cristalise.kernel.process.auth.Authenticator auth)
throws org.cristalise.kernel.common.PersistencyException
open in class org.cristalise.kernel.persistency.ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void close()
throws org.cristalise.kernel.common.PersistencyException
close in class org.cristalise.kernel.persistency.ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic short queryClusterSupport(String clusterType)
queryClusterSupport in class org.cristalise.kernel.persistency.ClusterStoragepublic boolean checkQuerySupport(String language)
checkQuerySupport in class org.cristalise.kernel.persistency.ClusterStoragepublic String getName()
getName in class org.cristalise.kernel.persistency.ClusterStoragepublic String getId()
getId in class org.cristalise.kernel.persistency.ClusterStoragepublic String executeQuery(org.cristalise.kernel.querying.Query query) throws org.cristalise.kernel.common.PersistencyException
executeQuery in class org.cristalise.kernel.persistency.ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic org.cristalise.kernel.entity.C2KLocalObject get(org.cristalise.kernel.lookup.ItemPath itemPath,
String path)
throws org.cristalise.kernel.common.PersistencyException
get in class org.cristalise.kernel.persistency.ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void put(org.cristalise.kernel.lookup.ItemPath itemPath,
org.cristalise.kernel.entity.C2KLocalObject obj)
throws org.cristalise.kernel.common.PersistencyException
put in class org.cristalise.kernel.persistency.ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic void delete(org.cristalise.kernel.lookup.ItemPath itemPath,
String path)
throws org.cristalise.kernel.common.PersistencyException
delete in class org.cristalise.kernel.persistency.ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionpublic String[] getClusterContents(org.cristalise.kernel.lookup.ItemPath itemPath, String path) throws org.cristalise.kernel.common.PersistencyException
getClusterContents in class org.cristalise.kernel.persistency.ClusterStorageorg.cristalise.kernel.common.PersistencyExceptionCopyright © 2018 CRISTAL-iSE. All rights reserved.