org.figure8.join.services.scripting
Interface ScriptLogAccessor

All Known Implementing Classes:
DefaultScriptLogAccessor

public interface ScriptLogAccessor

This is the interface definition of an accessor to script execution logs.

Version:
$Revision: 1.2 $
Author:
Laurent Broudoux

Method Summary
 java.util.List getScriptLogInfos(long entityId, java.lang.String entityClass)
          Retrieve all the info beans on available script logs for given entity
 java.util.List getScriptLogInfos(java.lang.String scriptName, java.lang.String scriptCategory)
          Get all the info beans on available script logs for script having this name and category
 void saveScriptLogInfo(ScriptLogInfo logInfo)
          Save a ScriptLogInfo (indeed a create or update method)
 

Method Detail

saveScriptLogInfo

void saveScriptLogInfo(ScriptLogInfo logInfo)
Save a ScriptLogInfo (indeed a create or update method)

Parameters:
logInfo - The ScriptLogInfo object to save

getScriptLogInfos

java.util.List getScriptLogInfos(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

getScriptLogInfos

java.util.List getScriptLogInfos(java.lang.String scriptName,
                                 java.lang.String scriptCategory)
Get 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


Copyright © 2005-2008 Join. All Rights Reserved.