public final class TimeSlotHome extends Object
Modifier and Type | Method and Description |
---|---|
static TimeSlot |
create(TimeSlot timeSlot)
Create an instance of the TimeSlot class
|
static void |
delete(int nKey)
Delete the TimeSlot whose identifier is specified in parameter
|
static List<TimeSlot> |
findByIdWorkingDay(int nIdWorkingDay)
Get all the time slots of the working day given
|
static TimeSlot |
findByPrimaryKey(int nKey)
Returns an instance of the TimeSlot whose identifier is specified in parameter
|
static TimeSlot |
update(TimeSlot timeSlot)
Update of the TimeSlot which is specified in parameter
|
public static TimeSlot create(TimeSlot timeSlot)
timeSlot
- The instance of the TimeSlot which contains the informations to storepublic static TimeSlot update(TimeSlot timeSlot)
timeSlot
- The instance of the TimeSlot which contains the data to storepublic static void delete(int nKey)
nKey
- The TimeSlot Idpublic static TimeSlot findByPrimaryKey(int nKey)
nKey
- The TimeSlot primary keyCopyright © 2018 City of Paris. All rights reserved.