|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.workflow.business.ResourceWorkflowDAO
public class ResourceWorkflowDAO
class ResourceWorkflowDAO
Constructor Summary | |
---|---|
ResourceWorkflowDAO()
|
Method Summary | |
---|---|
void |
delete(ResourceWorkflow resourceWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete resourceWorkflow Object |
void |
deleteWorkgroups(ResourceWorkflow resourceWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete all resource entities owner |
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 |
java.util.List<ResourceWorkflow> |
getListResourceWorkflowByFilter(ResourceWorkflowFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select ResourceWorkflow by filter |
java.util.List<java.lang.Integer> |
getListResourceWorkflowIdByFilter(ResourceWorkflowFilter filter,
java.util.List<java.lang.Integer> lListIdWorkflowState,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select ResourceWorkflow by filter |
java.util.List<java.lang.Integer> |
getListResourceWorkflowIdByFilter(ResourceWorkflowFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select ResourceWorkflow id by filter |
void |
insert(ResourceWorkflow resourceWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
void |
insertWorkgroup(ResourceWorkflow resourceWorkflow,
java.lang.String strWorkgroup,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert a new entities owner |
ResourceWorkflow |
load(int nIdResource,
java.lang.String strResourceType,
int nIdWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the Resource workflow Object |
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 resource list by list of id resource |
void |
removeWorkgroupsByListIdResource(java.util.List<java.lang.Integer> listIdResource,
java.lang.String strResourceType,
java.lang.Integer nIdWorflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete Workgroups list by list of id resource |
java.util.List<java.lang.Integer> |
selectResourceIdByWorkflow(int nIdWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select All resourceWorkflow associated to the workflow |
java.util.List<ResourceWorkflow> |
selectResourceWorkflowByState(int nIdState,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select All resourceWorkflow associated to the state |
java.util.List<ResourceWorkflow> |
selectResourceWorkflowByWorkflow(int nIdWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select All resourceWorkflow associated to the workflow |
java.util.List<java.lang.String> |
selectWorkgroups(ResourceWorkflow resourceWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
select the resource entity owner |
void |
store(ResourceWorkflow resourceWorkflow,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
update record in the table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceWorkflowDAO()
Method Detail |
---|
public void insert(ResourceWorkflow resourceWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceWorkflowDAO
insert
in interface IResourceWorkflowDAO
resourceWorkflow
- instance of the ResourceWorkflow object to insertplugin
- the pluginpublic void store(ResourceWorkflow resourceWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceWorkflowDAO
store
in interface IResourceWorkflowDAO
resourceWorkflow
- instance of the ResourceWorkflow object to updateplugin
- the pluginpublic ResourceWorkflow load(int nIdResource, java.lang.String strResourceType, int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceWorkflowDAO
load
in interface IResourceWorkflowDAO
nIdResource
- the resource IdstrResourceType
- the resource typenIdWorkflow
- the workflow idplugin
- the plugin
public java.util.List<ResourceWorkflow> selectResourceWorkflowByWorkflow(int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceWorkflowDAO
selectResourceWorkflowByWorkflow
in interface IResourceWorkflowDAO
nIdWorkflow
- workflow idplugin
- the plugin
public java.util.List<ResourceWorkflow> selectResourceWorkflowByState(int nIdState, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceWorkflowDAO
selectResourceWorkflowByState
in interface IResourceWorkflowDAO
nIdState
- workflow stateplugin
- the plugin
public void delete(ResourceWorkflow resourceWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceWorkflowDAO
delete
in interface IResourceWorkflowDAO
resourceWorkflow
- resourceWorkflow objectplugin
- the pluginpublic java.util.List<java.lang.String> selectWorkgroups(ResourceWorkflow resourceWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceWorkflowDAO
selectWorkgroups
in interface IResourceWorkflowDAO
resourceWorkflow
- the resourceplugin
- the plugin
public void deleteWorkgroups(ResourceWorkflow resourceWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceWorkflowDAO
deleteWorkgroups
in interface IResourceWorkflowDAO
resourceWorkflow
- the resourceplugin
- the pluginpublic void removeWorkgroupsByListIdResource(java.util.List<java.lang.Integer> listIdResource, java.lang.String strResourceType, java.lang.Integer nIdWorflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceWorkflowDAO
removeWorkgroupsByListIdResource
in interface IResourceWorkflowDAO
listIdResource
- the resource list idstrResourceType
- the resource typenIdWorflow
- the workflow idplugin
- the pluginpublic 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)
IResourceWorkflowDAO
removeByListIdResource
in interface IResourceWorkflowDAO
listIdResource
- the resource list idstrResourceType
- the resource typenIdWorflow
- the workflow idplugin
- the pluginpublic void insertWorkgroup(ResourceWorkflow resourceWorkflow, java.lang.String strWorkgroup, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceWorkflowDAO
insertWorkgroup
in interface IResourceWorkflowDAO
resourceWorkflow
- the resourcestrWorkgroup
- the workgroupkeyplugin
- the pluginpublic java.util.List<ResourceWorkflow> getListResourceWorkflowByFilter(ResourceWorkflowFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceWorkflowDAO
getListResourceWorkflowByFilter
in interface IResourceWorkflowDAO
filter
- the ResourceWorkflow filterplugin
- the plugin
public java.util.List<java.lang.Integer> selectResourceIdByWorkflow(int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectResourceIdByWorkflow
in interface IResourceWorkflowDAO
nIdWorkflow
- workflow idplugin
- the plugin
public java.util.List<java.lang.Integer> getListResourceWorkflowIdByFilter(ResourceWorkflowFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceWorkflowDAO
getListResourceWorkflowIdByFilter
in interface IResourceWorkflowDAO
filter
- the ResourceWorkflow filterplugin
- the plugin
public java.util.List<java.lang.Integer> getListResourceWorkflowIdByFilter(ResourceWorkflowFilter filter, java.util.List<java.lang.Integer> lListIdWorkflowState, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IResourceWorkflowDAO
getListResourceWorkflowIdByFilter
in interface IResourceWorkflowDAO
filter
- the ResourceWorkflow filterplugin
- the plugin
public 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)
IResourceWorkflowDAO
getListIdStateByListId
in interface IResourceWorkflowDAO
lListIdRessource
- 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 |