|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.workflow.business.ResourceWorkflowHome
public final class ResourceWorkflowHome
This class provides instances management methods (create, find, ...) for DocumentWorkflowHome objects
Method Summary | |
---|---|
static void |
create(ResourceWorkflow resourceWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of resoureceWorkflow |
static ResourceWorkflow |
findByPrimaryKey(int nIdResource,
java.lang.String strResourceType,
int nIdWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the resourceWorkflow Object |
static java.util.List<java.lang.Integer> |
getAllResourceIdByWorkflow(int nIdWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select All resourceWorkflow Object associated to the workflow |
static java.util.List<ResourceWorkflow> |
getAllResourceWorkflowByState(int nIdState,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select All resourceWorkflow Object associated to the state |
static java.util.List<ResourceWorkflow> |
getAllResourceWorkflowByWorkflow(int nIdWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select All resourceWorkflow Object associated to the workflow |
static java.util.HashMap<java.lang.Integer,java.lang.Integer> |
getListIdStateByListId(java.util.List<java.lang.Integer> lListIdRessource,
int nIdWorflow,
java.lang.String strResourceType,
java.lang.Integer nIdExternalParentId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select id state by list id resource |
static java.util.List<java.lang.Integer> |
getListResourceIdWorkflowByFilter(ResourceWorkflowFilter resourceWorkflowFilter,
java.util.List<java.lang.Integer> lListIdWorkflowState,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select Resource Workflow id by filter |
static java.util.List<java.lang.Integer> |
getListResourceIdWorkflowByFilter(ResourceWorkflowFilter resourceWorkflowFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select ResourceWorkflow ID by filter |
static java.util.List<ResourceWorkflow> |
getListResourceWorkflowByFilter(ResourceWorkflowFilter resourceWorkflowFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select ResourceWorkflow by filter |
static void |
remove(ResourceWorkflow resourceWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove resourceWorkflow 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 record and workflow list by list id resource |
static void |
update(ResourceWorkflow resourceWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of resourceWorkflow which is specified in parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void create(ResourceWorkflow resourceWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
resourceWorkflow
- The instance of resourceWorkflow which contains the informations to storeplugin
- the pluginpublic static void update(ResourceWorkflow resourceWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
resourceWorkflow
- The instance of resourceWorkflow which contains the informations to updateplugin
- the Pluginpublic static void remove(ResourceWorkflow resourceWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
resourceWorkflow
- The instance of resourceWorkflow which contains the informations 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
- list of resource idstrResourceType
- the resource typenIdWorflow
- the worflow idplugin
- the pluginpublic static ResourceWorkflow findByPrimaryKey(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<ResourceWorkflow> getAllResourceWorkflowByWorkflow(int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdWorkflow
- workflow idplugin
- the plugin
public static java.util.List<java.lang.Integer> getAllResourceIdByWorkflow(int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdWorkflow
- workflow idplugin
- the plugin
public static java.util.List<ResourceWorkflow> getAllResourceWorkflowByState(int nIdState, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdState
- stateplugin
- the plugin
public static java.util.List<ResourceWorkflow> getListResourceWorkflowByFilter(ResourceWorkflowFilter resourceWorkflowFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
resourceWorkflowFilter
- the filterplugin
- the plugin
public static java.util.List<java.lang.Integer> getListResourceIdWorkflowByFilter(ResourceWorkflowFilter resourceWorkflowFilter, java.util.List<java.lang.Integer> lListIdWorkflowState, fr.paris.lutece.portal.service.plugin.Plugin plugin)
resourceWorkflowFilter
- the filterlListIdWorkflowState
- list of workflow stateplugin
- the plugin
public static java.util.List<java.lang.Integer> getListResourceIdWorkflowByFilter(ResourceWorkflowFilter resourceWorkflowFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
resourceWorkflowFilter
- the filterplugin
- the plugin
public static java.util.HashMap<java.lang.Integer,java.lang.Integer> getListIdStateByListId(java.util.List<java.lang.Integer> lListIdRessource, int nIdWorflow, java.lang.String strResourceType, java.lang.Integer nIdExternalParentId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
lListIdResource
- the resource list idnIdWorflow
- The worflow idstrResourceType
- the ressource typenIdExternalParentId
- the external parent idplugin
- the plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |