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 |
GRAPHASSIGN |
Constructor and Description |
---|
WOResourceDataManager() |
Modifier and Type | Method and Description |
---|---|
void |
applyResourceChange(MboRemote resourceMboRemote,
MXTransaction txn)
Apply resource changes to the database
|
void |
getResourceShiftAvailableData(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<java.lang.String> queries)
Populate resources with queries provided
|
int |
resourceRecordCount(java.util.ArrayList<java.lang.String> queries)
Get the resource count of queries
|
java.util.List<ilog.views.gantt.IlvResource> |
sortResourceChildren(ilog.views.gantt.IlvResource resource,
java.lang.String objectName,
MXGanttModel model)
Sort resource children
|
getDataManagerContext, getLogger, getObjectName, getProjectMbo, getSqlLogger, getUserInfo, setDataManagerContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setDataManagerContext
public static final java.lang.String GRAPHASSIGN
public static final java.lang.String CACHEKEY_RESOURCECRAFTDATA_LOADED
public static final java.lang.String CACHEKEY_RESOURCECRAFTDATA
public void initializeResource(MXResource resource, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
initializeResource
in interface ResourceDataManager
initializeResource
in class AbstractResourceDataManager
resource
- object
- namembo
- objectSchedulerException
public int resourceRecordCount(java.util.ArrayList<java.lang.String> queries) throws SchedulerException
resourceRecordCount
in interface ResourceDataManager
resourceRecordCount
in class AbstractResourceDataManager
ArrayList
- queriesSchedulerException
public void populateResources(java.util.ArrayList<java.lang.String> queries) throws SchedulerException
populateResources
in interface ResourceDataManager
populateResources
in class AbstractResourceDataManager
ArrayList
- queriesSchedulerException
public void populateResourcePropertyDetails() throws SchedulerException
populateResourcePropertyDetails
in interface ResourceDataManager
populateResourcePropertyDetails
in class AbstractResourceDataManager
SchedulerException
public void applyResourceChange(MboRemote resourceMboRemote, MXTransaction txn) throws SchedulerException
applyResourceChange
in interface ResourceDataManager
applyResourceChange
in class AbstractResourceDataManager
resource
- mbotransaction
- SchedulerException
public void loadResource(MXResource resource, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
loadResource
in interface ResourceDataManager
loadResource
in class AbstractResourceDataManager
resource
- object
- namembo
- objectSchedulerException
public void loadResource(MXResource resource, java.lang.String objectName, MXGanttModel model) throws SchedulerException
loadResource
in class AbstractResourceDataManager
resource
- object
- namemodel
- SchedulerException
public java.util.List<ilog.views.gantt.IlvResource> sortResourceChildren(ilog.views.gantt.IlvResource resource, java.lang.String objectName, MXGanttModel model) throws SchedulerException
sortResourceChildren
in interface ResourceDataManager
sortResourceChildren
in class AbstractResourceDataManager
resource
- object
- namemodel
- SchedulerException
public void getResourceShiftAvailableData(java.lang.String objectName, java.lang.String projectId) throws SchedulerException
objectName
- projectId
- SchedulerException