org.figure8.join.services.scripting.persistence
Class HibernateScriptLogInfoDao
java.lang.Object
org.springframework.orm.hibernate.support.HibernateDaoSupport
org.figure8.join.core.persistence.HibernateObjectDao
org.figure8.join.services.scripting.persistence.HibernateScriptLogInfoDao
- All Implemented Interfaces:
- ObjectDao, ScriptLogInfoDao, org.springframework.beans.factory.InitializingBean
public class HibernateScriptLogInfoDao
- extends HibernateObjectDao
- implements ScriptLogInfoDao
Implementation of ScriptLogInfoDao using Hibernate ORM system.
- Version:
- $Revision: 1.2 $
- Author:
- Laurent Broudoux
Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
logger |
Method Summary |
java.lang.Class |
getPersistentClass()
Get the persistent class associated to this Dao. |
java.util.List |
getScriptLogInfos(java.lang.String scriptName)
Retrieve all the info beans on available script logs for script having this name |
java.util.List |
getScriptLogInfos(java.lang.String scriptName,
java.lang.String scriptCategory)
Retrieve all the info beans on available script logs for script having this name and category |
java.util.List |
getScriptLogInfosForEntity(EntityObject entity)
Retrieve all the info beans on available script logs for given entity |
java.util.List |
getScriptLogInfosForEntity(long entityId,
java.lang.String entityClass)
Retrieve all the info beans on available script logs for given entity |
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 |
HibernateScriptLogInfoDao
public HibernateScriptLogInfoDao()
getScriptLogInfos
public java.util.List getScriptLogInfos(java.lang.String scriptName)
- Retrieve all the info beans on available script logs for script having this name
- Specified by:
getScriptLogInfos
in interface ScriptLogInfoDao
- Parameters:
scriptName
- The name of the script to retrieve log for
- Returns:
- A list of
ScriptLogInfo
available for script
getScriptLogInfos
public java.util.List getScriptLogInfos(java.lang.String scriptName,
java.lang.String scriptCategory)
- Retrieve all the info beans on available script logs for script having this name and category
- Specified by:
getScriptLogInfos
in interface ScriptLogInfoDao
- Parameters:
scriptName
- The name of the script to retrieve log forscriptCategory
- The category of the script to retrive log for
- Returns:
- A list of
ScriptLogInfo
available for script
getScriptLogInfosForEntity
public java.util.List getScriptLogInfosForEntity(EntityObject entity)
- Retrieve all the info beans on available script logs for given entity
- Specified by:
getScriptLogInfosForEntity
in interface ScriptLogInfoDao
- Parameters:
entity
- The entity to retrieve ScriptLogInfo objects for
- Returns:
- A list of
ScriptLogInfo
available for entity
getScriptLogInfosForEntity
public java.util.List getScriptLogInfosForEntity(long entityId,
java.lang.String entityClass)
- Retrieve all the info beans on available script logs for given entity
- Specified by:
getScriptLogInfosForEntity
in interface ScriptLogInfoDao
- Parameters:
entityId
- The id of entity to retrieve ScriptLogInfo objects forentityClass
- The class of entity to retrieve ScriptLogInfo objects for
- Returns:
- A list of
ScriptLogInfo
available for entity
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.services.scripting.ScriptLogInfo class
Copyright © 2005-2008 Join. All Rights Reserved.