org.figure8.join.services.scripting.persistence
Interface ScriptLogInfoDao

All Superinterfaces:
ObjectDao
All Known Implementing Classes:
HibernateScriptLogInfoDao

public interface ScriptLogInfoDao
extends ObjectDao

Data Access interface for ScriptLogInfo objects.

Version:
$Revision: 1.2 $
Author:
Laurent Broudoux

Method Summary
 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 interface org.figure8.join.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, initialize, initializeAssociation, isInitialized, refresh, remove, replicate, save
 

Method Detail

getScriptLogInfos

java.util.List getScriptLogInfos(java.lang.String scriptName)
Retrieve all the info beans on available script logs for script having this name

Parameters:
scriptName - The name of the script to retrieve log for
Returns:
A list of ScriptLogInfo available for script

getScriptLogInfos

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

Parameters:
scriptName - The name of the script to retrieve log for
scriptCategory - The category of the script to retrive log for
Returns:
A list of ScriptLogInfo available for script

getScriptLogInfosForEntity

java.util.List getScriptLogInfosForEntity(EntityObject entity)
Retrieve all the info beans on available script logs for given entity

Parameters:
entity - The entity to retrieve ScriptLogInfo objects for
Returns:
A list of ScriptLogInfo available for entity

getScriptLogInfosForEntity

java.util.List getScriptLogInfosForEntity(long entityId,
                                          java.lang.String entityClass)
Retrieve all the info beans on available script logs for given entity

Parameters:
entityId - The id of entity to retrieve ScriptLogInfo objects for
entityClass - The class of entity to retrieve ScriptLogInfo objects for
Returns:
A list of ScriptLogInfo available for entity


Copyright © 2005-2008 Join. All Rights Reserved.