org.osmius.service.impl.BaseManager Class Reference

Inheritance diagram for org.osmius.service.impl.BaseManager:

Inheritance graph
[legend]
Collaboration diagram for org.osmius.service.impl.BaseManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Protected Attributes

final Log log = LogFactory.getLog(getClass())
Dao dao = null

Detailed Description

This and others classes of the web console are based on Appfuse (v1.9.4), a tool from Matt Raible to facilitate the web application development. Thanks for his great effort.

Base class for Business Services - use this class for utility methods and generic CRUD methods.

Definition at line 37 of file BaseManager.java.


Member Function Documentation

void org.osmius.service.impl.BaseManager.setDao ( Dao  dao  ) 

See also:
org.osmius.service.Manager.setDao(org.osmius.dao.Dao)

Implements org.osmius.service.Manager.

Definition at line 44 of file BaseManager.java.

References org.osmius.service.impl.BaseManager.dao.

Object org.osmius.service.impl.BaseManager.getObject ( Class  clazz,
Serializable  id 
)

See also:
org.osmius.service.Manager.getObject(Class,java.io.Serializable)

Implements org.osmius.service.Manager.

Definition at line 51 of file BaseManager.java.

References org.osmius.service.impl.BaseManager.dao, and org.osmius.dao.Dao.getObject().

Here is the call graph for this function:

List org.osmius.service.impl.BaseManager.getObjects ( Class  clazz  ) 

See also:
org.osmius.service.Manager.getObjects(Class)

Implements org.osmius.service.Manager.

Definition at line 58 of file BaseManager.java.

References org.osmius.service.impl.BaseManager.dao, and org.osmius.dao.Dao.getObjects().

Here is the call graph for this function:

void org.osmius.service.impl.BaseManager.removeObject ( Class  clazz,
Serializable  id 
)

See also:
org.osmius.service.Manager.removeObject(Class,java.io.Serializable)

Implements org.osmius.service.Manager.

Definition at line 65 of file BaseManager.java.

References org.osmius.service.impl.BaseManager.dao, and org.osmius.dao.Dao.removeObject().

Here is the call graph for this function:

void org.osmius.service.impl.BaseManager.saveObject ( Object  o  ) 

See also:
org.osmius.service.Manager.saveObject(Object)

Implements org.osmius.service.Manager.

Definition at line 73 of file BaseManager.java.

References org.osmius.service.impl.BaseManager.dao, and org.osmius.dao.Dao.saveObject().

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:43:25 2007 for Osmius_Console by  doxygen 1.5.1