public interface ReservationDataManager extends DataManager
Modifier and Type | Method and Description |
---|---|
void |
applyReservationChange(MboRemote reservationMboRemote,
MXTransaction txn)
Apply reservation changes to the database
|
void |
initializeReservation(MXReservation reservation,
java.lang.String objectName,
MboRemote mboObject)
Initialize reservation after it is populated
|
void |
loadAdditionalReservations(MXGanttModel model,
SKDAppService.ActivityData activityData,
SKDAppService.ResourceData resourceData,
SKDAppService.ReservationData reservationData) |
void |
loadReservation(MXReservation reservation,
java.lang.String objectName,
MboRemote mboObject)
Load activities from database
initialize the activity during the time when the model is loaded for display
by the gantt viewer.
|
void |
populateReservationPropertyDetails()
Populate reservation with reservation property details.
|
void |
populateReservations(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> refObjActQueryList,
java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> refObjResQueryList)
Populate reservation records in skdreservation table
|
int |
reservationRecordCount(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> refObjActQueryList,
java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> refObjResQueryList)
Get the reservation records for a list of queries
|
setDataManagerContext
void initializeReservation(MXReservation reservation, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
reservation
- object
- namembo
- objectSchedulerException
void loadReservation(MXReservation reservation, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
activity
- object
- namembo
- objectSchedulerException
void populateReservations(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> refObjActQueryList, java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> refObjResQueryList) throws SchedulerException
HashMap
HashMap
SchedulerException
void populateReservationPropertyDetails() throws SchedulerException
SchedulerException
void applyReservationChange(MboRemote reservationMboRemote, MXTransaction txn) throws SchedulerException
reservation
- MboRemotetxn
- SchedulerException
int reservationRecordCount(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> refObjActQueryList, java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> refObjResQueryList) throws SchedulerException
HashMap
HashMap
SchedulerException
void loadAdditionalReservations(MXGanttModel model, SKDAppService.ActivityData activityData, SKDAppService.ResourceData resourceData, SKDAppService.ReservationData reservationData) throws SchedulerException
SchedulerException