public class CrewReservationDataManager extends AbstractReservationDataManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GRAPHASSIGN |
Constructor and Description |
---|
CrewReservationDataManager() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAmcrewLaborExcludeQuery(int dbType)
get Org query string
|
java.lang.String[] |
getDateDBSqlString(int dbType)
get db datetime string
|
void |
loadAdditionalReservations(MXGanttModel model,
SKDAppService.ActivityData activityData,
SKDAppService.ResourceData resourceData,
SKDAppService.ReservationData reservationData) |
void |
loadOtherAssignmentReservations(MXGanttModel model,
SKDAppService.ActivityData activityData,
SKDAppService.ResourceData resourceData,
SKDAppService.ReservationData reservationData)
Load other assignments for labor
|
void |
loadOtherCrewAssignmentReservations(MXGanttModel model,
SKDAppService.ActivityData activityData,
SKDAppService.ResourceData resourceData,
SKDAppService.ReservationData reservationData)
Load other assignments for crew labor
|
void |
loadWorkAndNonWorkReservations(MXGanttModel model,
SKDAppService.ActivityData activityData,
SKDAppService.ResourceData resourceData,
SKDAppService.ReservationData reservationData)
Load working and non working reservations
|
void |
populateAssignedReservations(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.
|
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.
|
void |
populateUnassignedReservations(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 unassigned amcrewlabpos requirements as the reservation.
|
applyReservationChange, initializeReservation, loadReservation, populateReservationPropertyDetails, reservationRecordCount
getDataManagerContext, getLogger, getObjectName, getProjectMbo, getSKDDD, getSqlLogger, getUserInfo, setDataManagerContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setDataManagerContext
public static final java.lang.String GRAPHASSIGN
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 populateAssignedReservations(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 - ArrayList> refObjActQueryList - Hashmap of activity object name and queries
HashMap - ArrayList> refObjResQueryList - Hashmap of resource object name and queries
SchedulerException
public void populateUnassignedReservations(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 - ArrayList> refObjActQueryList - Hashmap of activity object name and queries
HashMap - ArrayList> refObjResQueryList - Hashmap of resource object name and queries
SchedulerException
public void loadAdditionalReservations(MXGanttModel model, SKDAppService.ActivityData activityData, SKDAppService.ResourceData resourceData, SKDAppService.ReservationData reservationData) throws SchedulerException
loadAdditionalReservations
in interface ReservationDataManager
loadAdditionalReservations
in class AbstractReservationDataManager
SchedulerException
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
public void loadOtherCrewAssignmentReservations(MXGanttModel model, SKDAppService.ActivityData activityData, SKDAppService.ResourceData resourceData, SKDAppService.ReservationData reservationData) throws SchedulerException
model
- activityData
- resourceData
- reservationData
- SchedulerException
public java.lang.String getAmcrewLaborExcludeQuery(int dbType) throws SchedulerException
SchedulerException
public java.lang.String[] getDateDBSqlString(int dbType) throws SchedulerException
SchedulerException