Interface IWorkgroupConfigDAO
-
- All Known Implementing Classes:
WorkgroupConfigDAO
public interface IWorkgroupConfigDAOIWorkgroupConfigDAO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete all workgroups associated to the configurationvoidinsert(WorkgroupConfig workgroupConf, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new workgroupWorkgroupConfigload(int nIdTask, String strWorkgroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)load a workgroup by primarey keyList<WorkgroupConfig>selectByConfig(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Select the workgroups associated to the configuration
-
-
-
Method Detail
-
load
WorkgroupConfig load(int nIdTask, String strWorkgroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load a workgroup by primarey key- Parameters:
nIdTask- the task idstrWorkgroupKey- the workgroup keyplugin- the plugin- Returns:
- a workgroupConfig object
-
selectByConfig
List<WorkgroupConfig> selectByConfig(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select the workgroups associated to the configuration- Parameters:
nIdTask- the task idplugin- the plugin- Returns:
- a list of EntityOwner Object
-
deleteByTask
void deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete all workgroups associated to the configuration- Parameters:
nIdTask- the task idplugin- the plugin
-
insert
void insert(WorkgroupConfig workgroupConf, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new workgroup- Parameters:
workgroupConf- workgroupConfig Objectplugin- the plugin
-
-