public class AppointmentFormResourceTypeDAO extends Object implements IAppointmentFormResourceTypeDAO
BEAN_NAME
Constructor and Description |
---|
AppointmentFormResourceTypeDAO() |
Modifier and Type | Method and Description |
---|---|
AppointmentFormResourceType |
findByPrimaryKey(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find an appointment form resource type from its primary key
|
List<AppointmentFormResourceType> |
findResourceTypesListFromIdForm(int nIdAppointmentForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of resource types associated with a given form
|
void |
insert(AppointmentFormResourceType formResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an association between an appointment form and a resource type
|
void |
remove(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove an association between an appointment form and a resource type
|
void |
removeFromIdAppointmentForm(int nIdAppointmentForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove every associations between an appointment form and resource types
|
void |
resetAppAdminUser(int nIdAppointmentForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Reset the form resource type that was declared as containing the admin user of appointments
|
void |
resetLocalization(int nIdAppointmentForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Reset the form resource type that was declared as containing the localization of appointments
|
void |
update(AppointmentFormResourceType formResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update an existing appointment form resource type
|
public void insert(AppointmentFormResourceType formResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IAppointmentFormResourceTypeDAO
formResourceType
- The appointment form resource typeplugin
- the pluginpublic void update(AppointmentFormResourceType formResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
update
in interface IAppointmentFormResourceTypeDAO
formResourceType
- the form resource typeplugin
- the pluginpublic void remove(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove
in interface IAppointmentFormResourceTypeDAO
nId
- The id of the appointment form resource type to removeplugin
- the pluginpublic void removeFromIdAppointmentForm(int nIdAppointmentForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
removeFromIdAppointmentForm
in interface IAppointmentFormResourceTypeDAO
nIdAppointmentForm
- The id of the appointment formplugin
- The pluginpublic AppointmentFormResourceType findByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByPrimaryKey
in interface IAppointmentFormResourceTypeDAO
nId
- the id of the appointment form resource type to getplugin
- The pluginpublic List<AppointmentFormResourceType> findResourceTypesListFromIdForm(int nIdAppointmentForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findResourceTypesListFromIdForm
in interface IAppointmentFormResourceTypeDAO
nIdAppointmentForm
- The id of the formplugin
- The pluginpublic void resetAppAdminUser(int nIdAppointmentForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
resetAppAdminUser
in interface IAppointmentFormResourceTypeDAO
nIdAppointmentForm
- The id of the appointment formplugin
- The pluginpublic void resetLocalization(int nIdAppointmentForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
resetLocalization
in interface IAppointmentFormResourceTypeDAO
nIdAppointmentForm
- The id of the appointment formplugin
- The pluginCopyright © 2019 City of Paris. All rights reserved.