Class WorkingDayHome
java.lang.Object
fr.paris.lutece.plugins.appointment.business.planning.WorkingDayHome
This class provides instances management methods for Working Day objects
- Author:
- Laurent Payen
-
Method Summary
Modifier and TypeMethodDescriptionstatic WorkingDaycreate(WorkingDay workingDay) Create an instance of the WorkingDay classstatic voiddelete(int nKey) Delete the WorkingDay whose identifier is specified in parameterstatic voiddeleteByIdReservationRule(int nIdReservationRule) Delete the working day whose id reservation rule is specified in parameterstatic List<WorkingDay>findByIdReservationRule(int nIdReservationRule) Find the Working Day of the Reservation Rulestatic WorkingDayfindByPrimaryKey(int nKey) Returns an instance of the WorkingDay whose identifier is specified in parameterstatic WorkingDayupdate(WorkingDay workingDay) Update of the WorkingDay which is specified in parameter
-
Method Details
-
create
Create an instance of the WorkingDay class- Parameters:
workingDay- The instance of the WorkingDay which contains the informations to store- Returns:
- The instance of the WorkingDay which has been created with its primary key.
-
update
Update of the WorkingDay which is specified in parameter- Parameters:
workingDay- The instance of the WorkingDay which contains the data to store- Returns:
- The instance of the WorkingDay which has been updated
-
delete
public static void delete(int nKey) Delete the WorkingDay whose identifier is specified in parameter- Parameters:
nKey- The WorkingDay Id
-
deleteByIdReservationRule
public static void deleteByIdReservationRule(int nIdReservationRule) Delete the working day whose id reservation rule is specified in parameter- Parameters:
nIdReservationRule- the reservation rule id
-
findByPrimaryKey
Returns an instance of the WorkingDay whose identifier is specified in parameter- Parameters:
nKey- The WorkingDay primary key- Returns:
- an instance of the WorkingDay
-
findByIdReservationRule
Find the Working Day of the Reservation Rule- Parameters:
nIdReservationRule- the Reservation Id Rule- Returns:
- a list of the workingDay defined rule
-