org.osmius.service.OsmAgentFieldManager Interface Reference

Inheritance diagram for org.osmius.service.OsmAgentFieldManager:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

List getOsmAgentFields (OsmAgentField osmAgentField)
OsmAgentField getOsmAgentField (final String idnAgtfield)
void saveOsmAgentField (OsmAgentField osmAgentField)
void removeOsmAgentField (final String idnAgtfield)
List findByOsmAgent (final OsmAgent osmAgent)
void setDao (Dao dao)
List getObjects (Class clazz)
Object getObject (Class clazz, Serializable id)
void saveObject (Object o)
void removeObject (Class clazz, Serializable id)

Detailed Description

Business Service Interface to handle communication between web and persistence layer. Exposes the neccessary methods to handle an agent field

Definition at line 31 of file OsmAgentFieldManager.java.


Member Function Documentation

List org.osmius.service.OsmAgentFieldManager.getOsmAgentFields ( OsmAgentField  osmAgentField  ) 

Gets all the agent fields

Parameters:
osmAgentField The agent field to retrieve the information, can be null
Returns:
A list with the osmAgentField information

OsmAgentField org.osmius.service.OsmAgentFieldManager.getOsmAgentField ( final String  idnAgtfield  ) 

Gets an agent field information

Parameters:
idnAgtfield The agent field ID
Returns:
The agent field information

Implemented in org.osmius.service.impl.OsmAgentFieldManagerImpl.

void org.osmius.service.OsmAgentFieldManager.saveOsmAgentField ( OsmAgentField  osmAgentField  ) 

Saves the fields of a new agent to the database

Parameters:
osmAgentField The agent fields to be save

Implemented in org.osmius.service.impl.OsmAgentFieldManagerImpl.

void org.osmius.service.OsmAgentFieldManager.removeOsmAgentField ( final String  idnAgtfield  ) 

remove the fields of an agent from the database

Parameters:
idnAgtfield The agent field ID to be remove

Implemented in org.osmius.service.impl.OsmAgentFieldManagerImpl.

List org.osmius.service.OsmAgentFieldManager.findByOsmAgent ( final OsmAgent  osmAgent  ) 

Gets the agent field information for a given agent

Parameters:
osmAgent The agent to get the fields
See also:
OsmAgent

Implemented in org.osmius.service.impl.OsmAgentFieldManagerImpl.

void org.osmius.service.Manager.setDao ( Dao  dao  )  [inherited]

Expose the setDao method for testing purposes

Parameters:
dao 

Implemented in org.osmius.service.impl.BaseManager.

List org.osmius.service.Manager.getObjects ( Class  clazz  )  [inherited]

Generic method used to get a all objects of a particular type.

Parameters:
clazz the type of objects
Returns:
List of populated objects

Implemented in org.osmius.service.impl.BaseManager.

Object org.osmius.service.Manager.getObject ( Class  clazz,
Serializable  id 
) [inherited]

Generic method to get an object based on class and identifier.

Parameters:
clazz model class to lookup
id the identifier (primary key) of the class
Returns:
a populated object
See also:
org.springframework.orm.ObjectRetrievalFailureException

Implemented in org.osmius.service.impl.BaseManager.

void org.osmius.service.Manager.saveObject ( Object  o  )  [inherited]

Generic method to save an object.

Parameters:
o the object to save

Implemented in org.osmius.service.impl.BaseManager.

void org.osmius.service.Manager.removeObject ( Class  clazz,
Serializable  id 
) [inherited]

Generic method to delete an object based on class and id

Parameters:
clazz model class to lookup
id the identifier of the class

Implemented in org.osmius.service.impl.BaseManager.


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