org.figure8.join.businessobjects.environment.persistence
Class HibernateEISMappingDao
java.lang.Object
org.springframework.orm.hibernate.support.HibernateDaoSupport
org.figure8.join.core.persistence.HibernateObjectDao
org.figure8.join.businessobjects.environment.persistence.HibernateEISMappingDao
- All Implemented Interfaces:
- EISMappingDao, ObjectDao, org.springframework.beans.factory.InitializingBean
public class HibernateEISMappingDao
- extends HibernateObjectDao
- implements EISMappingDao
Implementation of EISMappingDao using Hibernate ORM system.
- Version:
- $Revision: 1.1 $
- Author:
- Laurent Broudoux
Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
logger |
Method Summary |
EISMapping |
getEISMapping(long id)
Retrieve the resource mapping having this identifier |
java.util.List |
getEISMappingsForEIS(EIS eis,
java.util.Date startDate,
java.util.Date endDate)
Retrieve a list of eis mappings done onto a resource during a specified interval |
java.util.List |
getEISMappingsForGateway(Gateway gateway,
java.util.Date startDate,
java.util.Date endDate)
Retrieve a list of eis mappings done onto an environment during a specified interval. |
java.lang.Class |
getPersistentClass()
Get the persistent class associated to this Dao. |
Methods inherited from class org.figure8.join.core.persistence.HibernateObjectDao |
findAll, findAllSorted, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getById, initialize, initializeAssociation, isInitialized, refresh, remove, replicate, save |
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
afterPropertiesSet, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, initDao, setHibernateTemplate, setSessionFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateEISMappingDao
public HibernateEISMappingDao()
- Creates a new HibernateEISMappingDao
getEISMapping
public EISMapping getEISMapping(long id)
- Retrieve the resource mapping having this identifier
- Specified by:
getEISMapping
in interface EISMappingDao
- Parameters:
id
- The unique identifier of mapping to retrieve
- Returns:
- The ResourceMapping having this identifier or null if no one match
getEISMappingsForEIS
public java.util.List getEISMappingsForEIS(EIS eis,
java.util.Date startDate,
java.util.Date endDate)
- Retrieve a list of eis mappings done onto a resource during a specified interval
- Specified by:
getEISMappingsForEIS
in interface EISMappingDao
- Parameters:
eis
- The EIS to retrieve mappings forstartDate
- The starting date of time interval to searchendDate
- The ending date of time interval to search
- Returns:
- A list of
org.figure8.join.businessobjects.environment.EISMapping
objects
getEISMappingsForGateway
public java.util.List getEISMappingsForGateway(Gateway gateway,
java.util.Date startDate,
java.util.Date endDate)
- Retrieve a list of eis mappings done onto an environment during a specified interval.
- Specified by:
getEISMappingsForGateway
in interface EISMappingDao
- Parameters:
gateway
- The gateway to retrieve mappings forstartDate
- The starting date of time interval to searchendDate
- The ending date of time interval to search
- Returns:
- A list of
org.figure8.join.businessobjects.environment.EISMapping
objects
getPersistentClass
public java.lang.Class getPersistentClass()
- Description copied from interface:
ObjectDao
- Get the persistent class associated to this Dao.
- Specified by:
getPersistentClass
in interface ObjectDao
- Returns:
- The org.figure8.join.businessobjects.environment.EISMapping class
Copyright © 2005-2008 Join. All Rights Reserved.