public class WOResourceDataManager extends AbstractResourceDataManager
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | CACHEKEY_RESOURCECRAFTDATA | 
| static java.lang.String | CACHEKEY_RESOURCECRAFTDATA_LOADED | 
| static java.lang.String | CACHEKEY_RESOURCENONWORKDATA | 
| static java.lang.String | CACHEKEY_RESOURCENONWORKDATA_LOADED | 
| static java.lang.String | CACHEKEY_RESOURCEWORKDATA | 
| static java.lang.String | CACHEKEY_RESOURCEWORKDATA_LOADED | 
| static java.lang.String | GRAPHASSIGN | 
| protected static java.lang.String | QBE_SEPARATOR_TOKEN | 
| Constructor and Description | 
|---|
| WOResourceDataManager() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | addObjectToModel(ilog.views.gantt.IlvGanttModel model,
                java.lang.Object object,
                java.lang.Object parentObject)Add resource object to the model | 
| void | applyResourceChange(MboRemote resourceMboRemote,
                   MXTransaction txn)Apply resource changes to the database | 
| protected java.lang.String | getRepairFacilityRestriction()Get the default restriction where clause | 
| protected java.lang.String | getResourceBaseQuery(int dbType,
                    java.lang.String projectId,
                    java.lang.String workType) | 
| void | getResourceNonWorkData(java.lang.String objectName,
                      java.lang.String projectId)get resource availability data. | 
| void | getResourceShiftAvailableData(java.lang.String objectName,
                             java.lang.String projectId)get resource availability data. | 
| void | getResourceWorkData(java.lang.String objectName,
                   java.lang.String projectId)get resource availability data. | 
| void | initializeResource(MXResource resource,
                  java.lang.String objectName,
                  MboRemote mboObject)Initialize the resource after it is populated | 
| void | loadResource(MXResource resource,
            java.lang.String objectName,
            MboRemote mboObject)Load resource | 
| void | loadResource(MXResource resource,
            java.lang.String objectName,
            MXGanttModel model)Load resource | 
| void | populateResourcePropertyDetails()Populate resource related properties | 
| void | populateResources(java.util.ArrayList queries)Populate resources with queries provided | 
| int | resourceRecordCount(java.util.ArrayList queries)Get the resource count of queries | 
| java.util.List | sortResourceChildren(ilog.views.gantt.IlvResource resource,
                    java.lang.String objectName,
                    MXGanttModel model)Sort resource children | 
addToUnjoinedNodes, getDataManagerContext, getLogger, getObjectName, getProjectMbo, getSKDDD, getSqlLogger, getUserInfo, populateNode, populateNode, removeUnnecessaryNodes, setDataManagerContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetDataManagerContextpublic static final java.lang.String GRAPHASSIGN
protected static final java.lang.String QBE_SEPARATOR_TOKEN
public static final java.lang.String CACHEKEY_RESOURCECRAFTDATA_LOADED
public static final java.lang.String CACHEKEY_RESOURCECRAFTDATA
public static final java.lang.String CACHEKEY_RESOURCENONWORKDATA_LOADED
public static final java.lang.String CACHEKEY_RESOURCENONWORKDATA
public static final java.lang.String CACHEKEY_RESOURCEWORKDATA_LOADED
public static final java.lang.String CACHEKEY_RESOURCEWORKDATA
public void initializeResource(MXResource resource, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
initializeResource in interface ResourceDataManagerinitializeResource in class AbstractResourceDataManagerresource - object - namembo - objectSchedulerExceptionpublic int resourceRecordCount(java.util.ArrayList queries)
                        throws SchedulerException
resourceRecordCount in interface ResourceDataManagerresourceRecordCount in class AbstractResourceDataManagerArrayList - queriesSchedulerExceptionprotected void addObjectToModel(ilog.views.gantt.IlvGanttModel model,
                                java.lang.Object object,
                                java.lang.Object parentObject)
addObjectToModel in class AbstractDataManagermodel - resource - objectparent - resourcepublic void populateResources(java.util.ArrayList queries)
                       throws SchedulerException
populateResources in interface ResourceDataManagerpopulateResources in class AbstractResourceDataManagerArrayList - queriesSchedulerExceptionpublic void populateResourcePropertyDetails()
                                     throws SchedulerException
populateResourcePropertyDetails in interface ResourceDataManagerpopulateResourcePropertyDetails in class AbstractResourceDataManagerSchedulerExceptionpublic void applyResourceChange(MboRemote resourceMboRemote, MXTransaction txn) throws SchedulerException
applyResourceChange in interface ResourceDataManagerapplyResourceChange in class AbstractResourceDataManagerresource - mbotransaction - SchedulerExceptionpublic void loadResource(MXResource resource, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
loadResource in interface ResourceDataManagerloadResource in class AbstractResourceDataManagerresource - object - namembo - objectSchedulerExceptionpublic void loadResource(MXResource resource, java.lang.String objectName, MXGanttModel model) throws SchedulerException
loadResource in class AbstractResourceDataManagerresource - object - namemodel - SchedulerExceptionpublic java.util.List sortResourceChildren(ilog.views.gantt.IlvResource resource,
                                           java.lang.String objectName,
                                           MXGanttModel model)
                                    throws SchedulerException
sortResourceChildren in interface ResourceDataManagersortResourceChildren in class AbstractResourceDataManagerresource - object - namemodel - SchedulerExceptionpublic void getResourceShiftAvailableData(java.lang.String objectName,
                                          java.lang.String projectId)
                                   throws SchedulerException
objectName - projectId - SchedulerExceptionpublic void getResourceNonWorkData(java.lang.String objectName,
                                   java.lang.String projectId)
                            throws SchedulerException
objectName - projectId - SchedulerExceptionprotected java.lang.String getResourceBaseQuery(int dbType,
                                                java.lang.String projectId,
                                                java.lang.String workType)
public void getResourceWorkData(java.lang.String objectName,
                                java.lang.String projectId)
                         throws SchedulerException
objectName - projectId - SchedulerExceptionprotected java.lang.String getRepairFacilityRestriction()
                                                 throws SchedulerException
SchedulerException