|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.workflow.business.ResourceHistoryHome
public final class ResourceHistoryHome
This class provides instances management methods (create, find, ...) for ResourceHistoryHome objects
Method Summary | |
---|---|
static void |
create(ResourceHistory resourceHistory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of resoureceHistory |
static ResourceHistory |
findByPrimaryKey(int nIdHistory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the resource history Object |
static java.util.List<ResourceHistory> |
getAllHistoryByAction(int nIdAction,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all ResourceHistory Object for a given resource |
static java.util.List<ResourceHistory> |
getAllHistoryByResource(int nIdResource,
java.lang.String strResourceType,
int nIdWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all ResourceHistory Object for a given resource |
static ResourceHistory |
getLastHistoryResource(int nIdResource,
java.lang.String strResourceType,
int nIdWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the last resource history depending creation date |
static 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 |
static void |
remove(int nIdHistory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove resourceHistory which is specified in parameter |
static void |
removeByListIdResource(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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void create(ResourceHistory resourceHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
resourceHistory
- The instance of resourceHistory which contains the informations to storeplugin
- the pluginpublic static void remove(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdHistory
- History id to removeplugin
- the Pluginpublic static void removeByListIdResource(java.util.List<java.lang.Integer> listIdResource, java.lang.String strResourceType, java.lang.Integer nIdWorflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
listIdResource
- the resource list idstrResourceType
- the resource typenIdWorflow
- the workflow idplugin
- the pluginpublic static 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)
listIdResource
- the resource list idstrResourceType
- the resource typenIdWorflow
- the workflow idplugin
- the plugin
public static ResourceHistory findByPrimaryKey(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdHistory
- the resource history keyplugin
- the plugin
public static java.util.List<ResourceHistory> getAllHistoryByResource(int nIdResource, java.lang.String strResourceType, int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdResource
- the resource idstrResourceType
- the resource typenIdWorkflow
- the workflow idplugin
- the plugin
public static java.util.List<ResourceHistory> getAllHistoryByAction(int nIdAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAction
- the action idplugin
- the plugin
public static ResourceHistory getLastHistoryResource(int nIdResource, java.lang.String strResourceType, int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdResource
- the resource idstrResourceType
- the resource typenIdWorkflow
- the workflow idplugin
- the plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |