Interface IWorkgroupConfigDAO
- All Known Implementing Classes:
WorkgroupConfigDAO
public interface IWorkgroupConfigDAO
IWorkgroupConfigDAO
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByTask(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 workgroupload a workgroup by primarey keyselectByConfig(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select the workgroups associated to the configuration
-
Method Details
-
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
Insert a new workgroup- Parameters:
workgroupConf- workgroupConfig Objectplugin- the plugin
-