com::cosylab::cdb::client::DAOProxy Class Reference

Inheritance diagram for com::cosylab::cdb::client::DAOProxy:
Inheritance graph
[legend]
Collaboration diagram for com::cosylab::cdb::client::DAOProxy:
Collaboration graph
[legend]

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()

Private Attributes

String elementName = null

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 
) [inline]

Constructor for DAOProxy.

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

Constructor for DAOProxy.

Parameters:
curl CDB CURL of the DAO

Member Function Documentation

void com::cosylab::cdb::client::DAOProxy::addConnectionListener ( DAOProxyConnectionListener  listener  )  [inline]

Register new connection listener.

Parameters:
listener listener to register.

References listeners.

Referenced by com::cosylab::acs::maci::manager::ManagerImpl::getComponentsDAOProxy().

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

References dao, and com::cosylab::CDB::DAOOperations::get_double_seq().

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

References dao, and com::cosylab::CDB::DAOOperations::get_long_seq().

String com::cosylab::cdb::client::DAOProxy::get_string ( String  propertyName  )  throws WrongCDBDataTypeEx, CDBFieldDoesNotExistEx [inline]
String [] com::cosylab::cdb::client::DAOProxy::get_string_seq ( String  propertyName  )  throws WrongCDBDataTypeEx, CDBFieldDoesNotExistEx [inline]
String com::cosylab::cdb::client::DAOProxy::getCURL (  )  [inline]

Returns the CDB CURL of the DAO.

Returns:
CDB CURL of the DAO

References curl.

Referenced by com::cosylab::cdb::client::CDBAccess::internalConnect().

DAOOperations com::cosylab::cdb::client::DAOProxy::getDAO (  )  [inline]

Returns the CORBA reference of the DAO.

Returns:
CORBA reference of the DAO

References dao.

String com::cosylab::cdb::client::DAOProxy::getElementName (  )  [inline]
Returns:
the elementName

References elementName.

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

void com::cosylab::cdb::client::DAOProxy::initialize ( DAOOperations  dao  )  [inline]

Initializer of DAOProxy.

Parameters:
dao CORBA reference of the DAO

References destroy(), and listeners.

Referenced by com::cosylab::cdb::client::CDBAccess::internalConnect(), and com::cosylab::cdb::client::CDBAccess::internalDisconnect().

void com::cosylab::cdb::client::DAOProxy::removeConnectionListener ( DAOProxyConnectionListener  listener  )  [inline]

Unregister new connection listener.

Parameters:
listener listener to unregister.

References listeners.

void com::cosylab::cdb::client::DAOProxy::setElementName ( String  elementName  )  [inline]
Parameters:
elementName the elementName to set

Referenced by com::cosylab::cdb::client::CDBAccess::internalConnect().

String com::cosylab::cdb::client::DAOProxy::toString (  )  [inline]
See also:
java.lang.Object::toString()

References 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 getCURL(), and toString().

Referenced by getElementName().

LinkedList com::cosylab::cdb::client::DAOProxy::listeners = new LinkedList() [protected]

Connection listeners.

Referenced by addConnectionListener(), destroy(), initialize(), and removeConnectionListener().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2