Public Member Functions | |
WDALImpl (String[] args, ORB orb, POA poa) | |
WDAO | get_WDAO_Servant (String curl) throws CDBXMLErrorEx, CDBRecordDoesNotExistEx, CDBRecordIsReadOnlyEx |
void | add_node (String curl, String xml) throws CDBRecordAlreadyExistsEx, CDBXMLErrorEx, CDBExceptionEx |
void | remove_node (String curl) throws CDBRecordDoesNotExistEx, CDBRecordIsReadOnlyEx |
void | set_DAO (String curl, String xml) throws CDBRecordDoesNotExistEx, CDBFieldDoesNotExistEx, CDBRecordIsReadOnlyEx, CDBXMLErrorEx, CDBExceptionEx |
boolean | nodeExists (String curl) |
File | getNodeFile (String curl) |
void | saveChanges (String curl, Map propertyMap) throws AcsJCDBXMLErrorEx, AcsJCDBExceptionEx, AcsJCDBFieldDoesNotExistEx |
void | validateXML (String xml) throws AcsJCDBXMLErrorEx |
Logger | getLogger () |
Package Attributes | |
Logger | m_logger |
Private Member Functions | |
void | parseXML (String xml, XMLHandler xmlSolver) throws CDBXMLErrorEx |
synchronized void | writeXmlData (String curl, String xmlData) throws AcsJCDBExceptionEx |
void | checkforChanges (String name, XMLTreeNode node, Map map, DAOImpl dao) throws AcsJCDBFieldDoesNotExistEx, AcsJCDBXMLErrorEx |
Private Attributes | |
POA | poa = null |
HashMap | wdaoMap = new HashMap() |
|
Constructor as it is for DAL
|
|
Adds a new node specified by curl to the CDB initaly filed with
|
|
Recursively scans nodes and check every property with current xml
|
|
|
|
|
|
Returns File object for given curl
|
|
Returns true if node specified with curl exists
|
|
|
|
Removes node identified by curl by deleting its file and directory if empty.
|
|
Save changes given by map to the node identified by curl
|
|
Change content of a node identified by curl so given xml is scanned for differences which are applied. This function can be invoked with full expanded version of the existing xml with some changes or it can be invoked by small xml with only changes to be applied. For example to change parameter 'Timeot' in Manager we can pass as xml
and new value will be saved in the xml file.
|
|
Check that everything conforms to the schema in given xml. This check will be done by parser used in DAL.
|
|
Writes given xml to disk overwriting eventualy existing file
|
|
|
|
|
|
|