org.osmius.dao.hibernate.BaseDaoHibernate Class Reference

Inheritance diagram for org.osmius.dao.hibernate.BaseDaoHibernate:

Inheritance graph
[legend]
Collaboration diagram for org.osmius.dao.hibernate.BaseDaoHibernate:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void saveObject (Object o)
Object getObject (Class clazz, Serializable id)
List getObjects (Class clazz)
void removeObject (Class clazz, Serializable id)

Protected Attributes

final Log log = LogFactory.getLog(getClass())

Detailed Description

Generic object to database access.

Definition at line 34 of file BaseDaoHibernate.java.


Member Function Documentation

void org.osmius.dao.hibernate.BaseDaoHibernate.saveObject ( Object  o  ) 

Save an object on the database

Parameters:
o The object to be save

Implements org.osmius.dao.Dao.

Definition at line 42 of file BaseDaoHibernate.java.

Object org.osmius.dao.hibernate.BaseDaoHibernate.getObject ( Class  clazz,
Serializable  id 
)

Gets the object of a class from the database

Parameters:
clazz The class to be loaded
id The serializable ID
Returns:
A list with the database information of the class

Implements org.osmius.dao.Dao.

Definition at line 53 of file BaseDaoHibernate.java.

Referenced by org.osmius.dao.hibernate.BaseDaoHibernate.removeObject().

List org.osmius.dao.hibernate.BaseDaoHibernate.getObjects ( Class  clazz  ) 

Gets a list with the database information of a class

Parameters:
clazz The class to be loaded
Returns:
A list with the database information of the class

Implements org.osmius.dao.Dao.

Definition at line 69 of file BaseDaoHibernate.java.

void org.osmius.dao.hibernate.BaseDaoHibernate.removeObject ( Class  clazz,
Serializable  id 
)

Remove an object from the database

Parameters:
clazz The object to be remove
id The serializable ID

Implements org.osmius.dao.Dao.

Definition at line 79 of file BaseDaoHibernate.java.

References org.osmius.dao.hibernate.BaseDaoHibernate.getObject().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Mon Sep 17 11:42:29 2007 for Osmius_Console by  doxygen 1.5.1