Public Member Functions | Protected Attributes

com.cosylab.cdb.client.DAOProxy Class Reference

Inherits com::cosylab::CDB::DAOOperations.

List of all members.

Public Member Functions

 DAOProxy (String curl, DAOOperations dao)
 DAOProxy (String curl)
void initialize (DAOOperations dao)
String getCURL ()
DAOOperations getDAO ()
double[] get_double_seq (String propertyName) throws WrongCDBDataTypeEx, CDBFieldDoesNotExistEx
double get_double (String propertyName) throws WrongCDBDataTypeEx, CDBFieldDoesNotExistEx
String get_field_data (String propertyName) throws WrongCDBDataTypeEx, CDBFieldDoesNotExistEx
int[] get_long_seq (String propertyName) throws WrongCDBDataTypeEx, CDBFieldDoesNotExistEx
int get_long (String propertyName) throws WrongCDBDataTypeEx, CDBFieldDoesNotExistEx
String[] get_string_seq (String propertyName) throws WrongCDBDataTypeEx, CDBFieldDoesNotExistEx
String get_string (String propertyName) throws WrongCDBDataTypeEx, CDBFieldDoesNotExistEx
void destroy ()
void addConnectionListener (DAOProxyConnectionListener listener)
void removeConnectionListener (DAOProxyConnectionListener listener)
String toString ()
String getElementName ()
void setElementName (String elementName)

Protected Attributes

String curl = null
DAOOperations dao = null
LinkedList listeners = new LinkedList()

Detailed Description

CDB DAO proxy.

Author:
Matej Sekoranja (matej.sekoranja@cosylab.com)
Version:
@VERSION@

Constructor & Destructor Documentation

com.cosylab.cdb.client.DAOProxy.DAOProxy ( String  curl,
DAOOperations  dao 
)

Constructor for DAOProxy.

Parameters:
curl CDB CURL of the DAO
dao CORBA reference of the DAO
com.cosylab.cdb.client.DAOProxy.DAOProxy ( String  curl  ) 

Constructor for DAOProxy.

Parameters:
curl CDB CURL of the DAO

Member Function Documentation

void com.cosylab.cdb.client.DAOProxy.addConnectionListener ( DAOProxyConnectionListener  listener  ) 

Register new connection listener.

Parameters:
listener listener to register.

References com.cosylab.cdb.client.DAOProxy.listeners.

void com.cosylab.cdb.client.DAOProxy.destroy (  ) 
See also:
com.cosylab.CDB.DAOOperations.destroy()

References com.cosylab.cdb.client.DAOProxy.dao, and com.cosylab.cdb.client.DAOProxy.listeners.

Referenced by com.cosylab.cdb.client.DAOProxy.initialize().

double com.cosylab.cdb.client.DAOProxy.get_double ( String  propertyName  )  throws WrongCDBDataTypeEx, CDBFieldDoesNotExistEx
See also:
com.cosylab.CDB.DAOOperations.get_double(String)

References com.cosylab.cdb.client.DAOProxy.dao.

Referenced by com.cosylab.cdb.jdal.HibernateWDALImpl.loadXMLCDB().

double [] com.cosylab.cdb.client.DAOProxy.get_double_seq ( String  propertyName  )  throws WrongCDBDataTypeEx, CDBFieldDoesNotExistEx
See also:
com.cosylab.CDB.DAOOperations.get_double_seq(String)

References com.cosylab.cdb.client.DAOProxy.dao.

String com.cosylab.cdb.client.DAOProxy.get_field_data ( String  propertyName  )  throws WrongCDBDataTypeEx, CDBFieldDoesNotExistEx
See also:
com.cosylab.CDB.DAOOperations.get_field_data(String)

References com.cosylab.cdb.client.DAOProxy.dao.

Referenced by com.cosylab.acs.maci.manager.ManagerImpl.getComponentInfo(), and com.cosylab.cdb.jdal.HibernateWDALImpl.loadXMLCDB().

int com.cosylab.cdb.client.DAOProxy.get_long ( String  propertyName  )  throws WrongCDBDataTypeEx, CDBFieldDoesNotExistEx
See also:
com.cosylab.CDB.DAOOperations.get_long(String)

References com.cosylab.cdb.client.DAOProxy.dao.

Referenced by com.cosylab.cdb.jdal.HibernateWDALImpl.loadXMLCDB().

int [] com.cosylab.cdb.client.DAOProxy.get_long_seq ( String  propertyName  )  throws WrongCDBDataTypeEx, CDBFieldDoesNotExistEx
See also:
com.cosylab.CDB.DAOOperations.get_long_seq(String)

References com.cosylab.cdb.client.DAOProxy.dao.

String com.cosylab.cdb.client.DAOProxy.get_string ( String  propertyName  )  throws WrongCDBDataTypeEx, CDBFieldDoesNotExistEx
See also:
com.cosylab.CDB.DAOOperations.get_string(String)

References com.cosylab.cdb.client.DAOProxy.dao.

Referenced by com.cosylab.cdb.jdal.HibernateWDALImpl.loadXMLCDB().

String [] com.cosylab.cdb.client.DAOProxy.get_string_seq ( String  propertyName  )  throws WrongCDBDataTypeEx, CDBFieldDoesNotExistEx
See also:
com.cosylab.CDB.DAOOperations.get_string_seq(String)

References com.cosylab.cdb.client.DAOProxy.dao.

Referenced by com.cosylab.acs.maci.manager.ManagerImpl.isServiceComponent(), and com.cosylab.cdb.jdal.HibernateWDALImpl.loadXMLCDB().

String com.cosylab.cdb.client.DAOProxy.getCURL (  ) 

Returns the CDB CURL of the DAO.

Returns:
CDB CURL of the DAO

References com.cosylab.cdb.client.DAOProxy.curl.

DAOOperations com.cosylab.cdb.client.DAOProxy.getDAO (  ) 

Returns the CORBA reference of the DAO.

Returns:
CORBA reference of the DAO

References com.cosylab.cdb.client.DAOProxy.dao.

String com.cosylab.cdb.client.DAOProxy.getElementName (  ) 
Returns:
the elementName

Referenced by com.cosylab.cdb.jdal.HibernateWDALImpl.loadXMLCDB().

void com.cosylab.cdb.client.DAOProxy.initialize ( DAOOperations  dao  ) 

Initializer of DAOProxy.

Parameters:
dao CORBA reference of the DAO

References com.cosylab.cdb.client.DAOProxy.destroy(), and com.cosylab.cdb.client.DAOProxy.listeners.

void com.cosylab.cdb.client.DAOProxy.removeConnectionListener ( DAOProxyConnectionListener  listener  ) 

Unregister new connection listener.

Parameters:
listener listener to unregister.

References com.cosylab.cdb.client.DAOProxy.listeners.

void com.cosylab.cdb.client.DAOProxy.setElementName ( String  elementName  ) 
Parameters:
elementName the elementName to set
String com.cosylab.cdb.client.DAOProxy.toString (  ) 
See also:
java.lang.Object.toString()

References com.cosylab.cdb.client.DAOProxy.curl.


Member Data Documentation

String com.cosylab.cdb.client.DAOProxy.curl = null [protected]

Path part of the URI reference directly mapping to CDB CURL

Referenced by com.cosylab.cdb.client.DAOProxy.getCURL(), and com.cosylab.cdb.client.DAOProxy.toString().

DAOOperations com.cosylab.cdb.client.DAOProxy.dao = null [protected]
LinkedList com.cosylab.cdb.client.DAOProxy.listeners = new LinkedList() [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties