Interface IAppointmentFormResourceTypeDAO
- All Known Implementing Classes:
AppointmentFormResourceTypeDAO
public interface IAppointmentFormResourceTypeDAO
Interface for appointment form resource type DAO
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfindByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Find an appointment form resource type from its primary keyfindResourceTypesListFromIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get the list of resource types associated with a given formvoidinsert(AppointmentFormResourceType formResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Create an association between an appointment form and a resource typevoidremove(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove an association between an appointment form and a resource typevoidremoveFromIdAppointmentForm(int nIdAppointmentForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove every associations between an appointment form and resource typesvoidresetAppAdminUser(int nIdAppointmentForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Reset the form resource type that was declared as containing the admin user of appointmentsvoidresetLocalization(int nIdAppointmentForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Reset the form resource type that was declared as containing the localization of appointmentsvoidupdate(AppointmentFormResourceType formResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update an existing appointment form resource type
-
Field Details
-
BEAN_NAME
Name of the bean of the implementation of the DAO- See Also:
-
-
Method Details
-
insert
void insert(AppointmentFormResourceType formResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Create an association between an appointment form and a resource type- Parameters:
formResourceType- The appointment form resource typeplugin- the plugin
-
update
void update(AppointmentFormResourceType formResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update an existing appointment form resource type- Parameters:
formResourceType- the form resource typeplugin- the plugin
-
remove
void remove(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove an association between an appointment form and a resource type- Parameters:
nId- The id of the appointment form resource type to removeplugin- the plugin
-
removeFromIdAppointmentForm
void removeFromIdAppointmentForm(int nIdAppointmentForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove every associations between an appointment form and resource types- Parameters:
nIdAppointmentForm- The id of the appointment formplugin- The plugin
-
findByPrimaryKey
AppointmentFormResourceType findByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Find an appointment form resource type from its primary key- Parameters:
nId- the id of the appointment form resource type to getplugin- The plugin- Returns:
- The appointment form resource type, or null if no appointment form with the given id was found
-
findResourceTypesListFromIdForm
List<AppointmentFormResourceType> findResourceTypesListFromIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get the list of resource types associated with a given form- Parameters:
nIdForm- The id of the formplugin- The plugin- Returns:
- The list of resources associated with the given form, or an empty list if no resource is associated with this form
-
resetAppAdminUser
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- Parameters:
nIdAppointmentForm- The id of the appointment formplugin- The plugin
-
resetLocalization
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- Parameters:
nIdAppointmentForm- The id of the appointment formplugin- The plugin
-