public class AbstractReservationDataManager extends AbstractDataManager implements ReservationDataManager
Constructor and Description |
---|
AbstractReservationDataManager() |
Modifier and Type | Method and Description |
---|---|
void |
applyReservationChange(MboRemote reservationMboRemote,
MXTransaction txn)
Apply reservation change to the database
|
void |
initializeReservation(MXReservation reservation,
java.lang.String objectName,
MboRemote mboObject)
Initialize reservation
|
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
|
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 provided queries
|
getDataManagerContext, getLogger, getObjectName, getProjectMbo, getSqlLogger, getUserInfo, setDataManagerContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setDataManagerContext
public void applyReservationChange(MboRemote reservationMboRemote, MXTransaction txn) throws SchedulerException
applyReservationChange
in interface ReservationDataManager
reservation
- mbotransaction
- SchedulerException
public void initializeReservation(MXReservation reservation, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
initializeReservation
in interface ReservationDataManager
reservation
- object
- namembo
- objectSchedulerException
public void loadReservation(MXReservation reservation, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
loadReservation
in interface ReservationDataManager
reservation
- object
- namembo
- objectSchedulerException
public void populateReservationPropertyDetails() throws SchedulerException
populateReservationPropertyDetails
in interface ReservationDataManager
SchedulerException
public 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
populateReservations
in interface ReservationDataManager
HashMap
HashMap
SchedulerException
public 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
reservationRecordCount
in interface ReservationDataManager
HashMap
HashMap
SchedulerException
public void loadAdditionalReservations(MXGanttModel model, SKDAppService.ActivityData activityData, SKDAppService.ResourceData resourceData, SKDAppService.ReservationData reservationData) throws SchedulerException
loadAdditionalReservations
in interface ReservationDataManager
SchedulerException