|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.workflow.business.ResourceHistoryDAO
public class ResourceHistoryDAO
class ResourceHistoryDAO
Constructor Summary | |
---|---|
ResourceHistoryDAO()
|
Method Summary | |
---|---|
void |
delete(int nIdHistory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the ResourceHistory Object |
void |
deleteByListIdResource(java.util.List<java.lang.Integer> listIdResource,
java.lang.String strResourceType,
java.lang.Integer nIdWorflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete ResourceHistory list by list of id resource |
java.util.List<java.lang.Integer> |
getListHistoryIdByListIdResourceId(java.util.List<java.lang.Integer> listIdResource,
java.lang.String strResourceType,
java.lang.Integer nIdWorflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get list history id by list of id resource |
void |
insert(ResourceHistory resourceHistory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
ResourceHistory |
load(int nIdHistory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the Resource History Object |
java.util.List<ResourceHistory> |
selectByAction(int nIdAction,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all ResourceHistory Object for a given resource |
java.util.List<ResourceHistory> |
selectByResource(int nIdResource,
java.lang.String strResourceType,
int nIdWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all ResourceHistory Object for a given resource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceHistoryDAO()
Method Detail |
---|
public void insert(ResourceHistory resourceHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceHistoryDAO
insert
in interface IResourceHistoryDAO
resourceHistory
- instance of the ResourceHistory object to insertplugin
- the pluginpublic ResourceHistory load(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceHistoryDAO
load
in interface IResourceHistoryDAO
nIdHistory
- the history idplugin
- the plugin
public java.util.List<ResourceHistory> selectByResource(int nIdResource, java.lang.String strResourceType, int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceHistoryDAO
selectByResource
in interface IResourceHistoryDAO
nIdResource
- the resource idstrResourceType
- the resource typenIdWorkflow
- the workflow idplugin
- the plugin
public java.util.List<ResourceHistory> selectByAction(int nIdAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceHistoryDAO
selectByAction
in interface IResourceHistoryDAO
nIdAction
- the action idplugin
- the plugin
public void delete(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceHistoryDAO
delete
in interface IResourceHistoryDAO
nIdHistory
- the history idplugin
- the pluginpublic void deleteByListIdResource(java.util.List<java.lang.Integer> listIdResource, java.lang.String strResourceType, java.lang.Integer nIdWorflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceHistoryDAO
deleteByListIdResource
in interface IResourceHistoryDAO
listIdResource
- the resource list idstrResourceType
- the resource typenIdWorflow
- the workflow idplugin
- the pluginpublic java.util.List<java.lang.Integer> getListHistoryIdByListIdResourceId(java.util.List<java.lang.Integer> listIdResource, java.lang.String strResourceType, java.lang.Integer nIdWorflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceHistoryDAO
getListHistoryIdByListIdResourceId
in interface IResourceHistoryDAO
listIdResource
- the resource list idstrResourceType
- the resource typenIdWorflow
- the workflow idplugin
- the plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |