|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAppointmentDayDAO
Interface of DAO for days
| Method Summary | |
|---|---|
void |
create(AppointmentDay day,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creates a new day in the database |
AppointmentDay |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a day whose identifier is specified in parameter |
List<AppointmentDay> |
getAppointmentDayListByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of days associated with a form. |
List<AppointmentDay> |
getDaysBetween(int nIdForm,
Date dateMin,
Date dateMax,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of days associated with a form and which date are between 2 given dates. |
void |
remove(int nIdDay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a day from the database |
void |
removeByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove days from the database that are associated with a given form |
void |
removeLonelyDays(Date dateMonday,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete days which date is before a given date and that are not associated with any slot |
void |
update(AppointmentDay day,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a day |
| Method Detail |
|---|
void create(AppointmentDay day,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
day - The day to createplugin - The plugin
void update(AppointmentDay day,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
day - The day to createplugin - The plugin
void remove(int nIdDay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDay - The id of the day to removeplugin - The plugin
void removeByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - The id of the formplugin - The plugin
void removeLonelyDays(Date dateMonday,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
dateMonday - The date of daysplugin - The plugin
AppointmentDay findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The appointmentDay primary keyplugin - The plugin
List<AppointmentDay> getAppointmentDayListByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - The id of the formplugin - The plugin
List<AppointmentDay> getDaysBetween(int nIdForm,
Date dateMin,
Date dateMax,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - The id of the formdateMin - The minimum datedateMax - The maximum dateplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||