org.osmius.dao.OsmAgentDao Interface Reference

Inheritance diagram for org.osmius.dao.OsmAgentDao:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

List getOsmAgents (OsmAgent osmAgent)
OsmAgent getOsmAgent (final String idnAgent)
void saveOsmAgent (OsmAgent osmAgent)
void removeOsmAgent (final String idnAgent)
void removeOsmAgents (final String[] idnAgents)
void updateOsmAgent (final OsmAgent osmAgent)
List getObjects (Class clazz)
Object getObject (Class clazz, Serializable id)
void saveObject (Object o)
void removeObject (Class clazz, Serializable id)

Detailed Description

Agents installed in the system and controlled by a Master Agent.

Definition at line 29 of file OsmAgentDao.java.


Member Function Documentation

List org.osmius.dao.OsmAgentDao.getOsmAgents ( OsmAgent  osmAgent  ) 

Gets all the agents or an agent passed by parameter

Parameters:
osmAgent The agent to retrieve the information, can be null
Returns:
A list with the agent/agents information

Referenced by org.osmius.service.impl.OsmAgentManagerImpl.getOsmAgents().

OsmAgent org.osmius.dao.OsmAgentDao.getOsmAgent ( final String  idnAgent  ) 

Gets an agent information

Parameters:
idnAgent,the agent ID
Returns:
The agent information

Implemented in org.osmius.dao.hibernate.OsmAgentDaoHibernate.

Referenced by org.osmius.service.impl.OsmInstanceManagerImpl.findOsmInstancesByOsmAgent(), and org.osmius.service.impl.OsmAgentManagerImpl.getOsmAgent().

void org.osmius.dao.OsmAgentDao.saveOsmAgent ( OsmAgent  osmAgent  ) 

Saves a new agent to the database

Parameters:
osmAgent,the agent to be save

Referenced by org.osmius.service.impl.OsmAgentManagerImpl.saveOsmAgent(), and org.osmius.service.impl.OsmAgentManagerImpl.saveOsmAgentAnDependencies().

void org.osmius.dao.OsmAgentDao.removeOsmAgent ( final String  idnAgent  ) 

remove an agent from the database

Parameters:
idnAgent,the agent ID to be remove

Implemented in org.osmius.dao.hibernate.OsmAgentDaoHibernate.

Referenced by org.osmius.service.impl.OsmAgentManagerImpl.removeOsmAgent().

void org.osmius.dao.OsmAgentDao.removeOsmAgents ( final String[]  idnAgents  ) 

remove some agents from the database

Parameters:
idnAgents,the agents ID to be remove

Implemented in org.osmius.dao.hibernate.OsmAgentDaoHibernate.

Referenced by org.osmius.service.impl.OsmAgentManagerImpl.removeOsmAgents().

void org.osmius.dao.OsmAgentDao.updateOsmAgent ( final OsmAgent  osmAgent  ) 

Update an agent information in the database

Parameters:
osmAgent,the agent to be update

Implemented in org.osmius.dao.hibernate.OsmAgentDaoHibernate.

Referenced by org.osmius.service.impl.OsmAgentManagerImpl.updateOsmAgent(), and org.osmius.service.impl.OsmAgentManagerImpl.updateOsmAgentAndDependencies().

List org.osmius.dao.Dao.getObjects ( Class  clazz  )  [inherited]

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

Implemented in org.osmius.dao.hibernate.BaseDaoHibernate.

Referenced by org.osmius.service.impl.BaseManager.getObjects().

Object org.osmius.dao.Dao.getObject ( Class  clazz,
Serializable  id 
) [inherited]

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

Implemented in org.osmius.dao.hibernate.BaseDaoHibernate.

Referenced by org.osmius.service.impl.BaseManager.getObject().

void org.osmius.dao.Dao.saveObject ( Object  o  )  [inherited]

Save an object on the database

Parameters:
o The object to be save

Implemented in org.osmius.dao.hibernate.BaseDaoHibernate.

Referenced by org.osmius.service.impl.BaseManager.saveObject().

void org.osmius.dao.Dao.removeObject ( Class  clazz,
Serializable  id 
) [inherited]

Remove an object from the database

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

Implemented in org.osmius.dao.hibernate.BaseDaoHibernate.

Referenced by org.osmius.service.impl.BaseManager.removeObject().


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