public class WOReservationDataManager extends AbstractReservationDataManager
Constructor and Description |
---|
WOReservationDataManager() |
Modifier and Type | Method and Description |
---|---|
void |
applyReservationChange(MboRemote reservationMboRemote,
MXTransaction txn)
Apply changes to reservation
|
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)
Load additional reservation
|
void |
loadOtherAssignmentReservations(MXGanttModel model,
SKDAppService.ActivityData activityData,
SKDAppService.ResourceData resourceData,
SKDAppService.ReservationData reservationData)
Load other assignments for labor
|
void |
loadReservation(MXReservation reservation,
java.lang.String objectName,
MboRemote mboObject)
Load reservation related information
|
void |
loadWorkAndNonWorkReservations(MXGanttModel model,
SKDAppService.ActivityData activityData,
SKDAppService.ResourceData resourceData,
SKDAppService.ReservationData reservationData)
Load working and non working reservations
|
void |
populateReservationPropertyDetails()
Populate reservation with propert 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 the reservation.
|
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 count .
|
getDataManagerContext, getLogger, getObjectName, getProjectMbo, getSqlLogger, getUserInfo, setDataManagerContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setDataManagerContext
public void initializeReservation(MXReservation reservation, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
initializeReservation
in interface ReservationDataManager
initializeReservation
in class AbstractReservationDataManager
reservation
- objectName
- mboObject
- 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
reservationRecordCount
in class AbstractReservationDataManager
HashMap - ArrayList> refObjActQueryList - Hashmap of activity object name and queries
HashMap - ArrayList> refObjResQueryList - Hashmap of resource object name and queries
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
populateReservations
in class AbstractReservationDataManager
HashMap - ArrayList> refObjActQueryList - Hashmap of activity object name and queries
HashMap - ArrayList> refObjResQueryList - Hashmap of resource object name and queries
SchedulerException
public void populateReservationPropertyDetails() throws SchedulerException
populateReservationPropertyDetails
in interface ReservationDataManager
populateReservationPropertyDetails
in class AbstractReservationDataManager
SchedulerException
public void applyReservationChange(MboRemote reservationMboRemote, MXTransaction txn) throws SchedulerException
applyReservationChange
in interface ReservationDataManager
applyReservationChange
in class AbstractReservationDataManager
reservation
- mbotransaction
- SchedulerException
public void loadReservation(MXReservation reservation, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
loadReservation
in interface ReservationDataManager
loadReservation
in class AbstractReservationDataManager
reservation
- object
- namembo
- objectSchedulerException
public void loadAdditionalReservations(MXGanttModel model, SKDAppService.ActivityData activityData, SKDAppService.ResourceData resourceData, SKDAppService.ReservationData reservationData) throws SchedulerException
loadAdditionalReservations
in interface ReservationDataManager
loadAdditionalReservations
in class AbstractReservationDataManager
mode
- activity
- dataresource
- datareservation
- dataSchedulerException
public void loadWorkAndNonWorkReservations(MXGanttModel model, SKDAppService.ActivityData activityData, SKDAppService.ResourceData resourceData, SKDAppService.ReservationData reservationData) throws SchedulerException
model
- activityData
- resourceData
- reservationData
- SchedulerException
public void loadOtherAssignmentReservations(MXGanttModel model, SKDAppService.ActivityData activityData, SKDAppService.ResourceData resourceData, SKDAppService.ReservationData reservationData) throws SchedulerException
model
- activityData
- resourceData
- reservationData
- SchedulerException