public class WDALImpl extends WDALBaseImpl
dalImpl, logger| Constructor and Description |
|---|
WDALImpl(java.lang.String[] args,
org.omg.CORBA.ORB orb,
org.omg.PortableServer.POA poa,
java.util.logging.Logger logger)
Constructor as it is for DAL
|
| Modifier and Type | Method and Description |
|---|---|
void |
add_node(java.lang.String curl,
java.lang.String xml)
Adds a new node specified by curl to the CDB initially filed with
|
WDAO |
get_WDAO_Servant(java.lang.String curl) |
java.io.File |
getNodeFile(java.lang.String curl)
Returns File object for given curl
|
boolean |
nodeExists(java.lang.String curl)
Returns true if node specified with curl exists
|
void |
remove_node(java.lang.String curl)
Removes node identified by curl by deleting its file and directory if
empty.
|
void |
saveChanges(java.lang.String curl,
java.util.Map propertyMap)
Save changes given by map to the node identified by curl
|
void |
set_DAO(java.lang.String curl,
java.lang.String xml)
Change content of a node identified by curl so given xml is scanned for
differences which are applied.
|
void |
validateXML(java.lang.String xml)
Check that everything conforms to the schema in given xml.
|
add_change_listener, clear_cache_all, clear_cache, configuration_name, get_DAO_Servant, get_DAO, get_default_logLevels, get_logger_names, get_logLevels, list_daos, list_nodes, listen_for_changes, recoverClients, refresh_logging_config, remove_change_listener, set_default_logLevels, set_logLevels, shutdown, shutdownEmbeddedWDALImplpublic WDALImpl(java.lang.String[] args,
org.omg.CORBA.ORB orb,
org.omg.PortableServer.POA poa,
java.util.logging.Logger logger)
args - orb - poa - public WDAO get_WDAO_Servant(java.lang.String curl)
throws CDBXMLErrorEx
CDBXMLErrorExpublic void add_node(java.lang.String curl,
java.lang.String xml)
throws CDBRecordAlreadyExistsEx,
CDBXMLErrorEx,
CDBExceptionEx
curl - uri for the CDB nodexml - CDBRecordAlreadyExistsExCDBXMLErrorExCDBExceptionExpublic void remove_node(java.lang.String curl)
throws CDBRecordDoesNotExistEx,
CDBRecordIsReadOnlyEx
curl - uri for the CDB nodeCDBRecordDoesNotExistExCDBRecordIsReadOnlyExpublic void set_DAO(java.lang.String curl,
java.lang.String xml)
throws CDBRecordDoesNotExistEx,
CDBFieldDoesNotExistEx,
CDBRecordIsReadOnlyEx,
CDBXMLErrorEx,
CDBExceptionEx
and new value will be saved in the xml file.curl - uri for the CDB nodexml - CDBRecordDoesNotExistExCDBFieldDoesNotExistExCDBRecordIsReadOnlyExCDBXMLErrorExCDBExceptionExpublic boolean nodeExists(java.lang.String curl)
curl - uri of the CDB nodepublic java.io.File getNodeFile(java.lang.String curl)
curl - uri of the CDB nodepublic void saveChanges(java.lang.String curl,
java.util.Map propertyMap)
throws AcsJCDBXMLErrorEx,
AcsJCDBExceptionEx,
AcsJCDBFieldDoesNotExistEx
curl - propertyMap - CDBXMLErrorExCDBExceptionExCDBFieldDoesNotExistExAcsJCDBXMLErrorExAcsJCDBExceptionExAcsJCDBFieldDoesNotExistExpublic void validateXML(java.lang.String xml)
throws AcsJCDBXMLErrorEx
xml - AcsJCDBXMLErrorEx