public interface ResourceDataManager extends DataManager
Modifier and Type | Method and Description |
---|---|
void |
applyResourceChange(MboRemote resourceMboRemote,
MXTransaction txn)
Apply resource changes to the database
|
void |
initializeResource(MXResource resource,
java.lang.String objectName,
MboRemote mboObject)
Initialize resource after it is populated
|
void |
loadResource(MXResource resource,
java.lang.String objectName,
MboRemote mboObject)
Load resources from database.
|
void |
populateResourcePropertyDetails()
Populate resource with resource property details.
|
void |
populateResources(java.util.ArrayList<java.lang.String> queries)
Populate resource records in skdresource table
|
int |
resourceRecordCount(java.util.ArrayList<java.lang.String> queries)
Get the resource records for a list of queries
|
java.util.List<ilog.views.gantt.IlvResource> |
sortResourceChildren(ilog.views.gantt.IlvResource resource,
java.lang.String objectName,
MXGanttModel model)
Sort resources and return a list.
|
setDataManagerContext
void initializeResource(MXResource resource, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
resource
- object
- namembo
- objectSchedulerException
void loadResource(MXResource resource, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
resource
- object
- namembo
- objectSchedulerException
void populateResources(java.util.ArrayList<java.lang.String> queries) throws SchedulerException
HashMap
SchedulerException
void populateResourcePropertyDetails() throws SchedulerException
SchedulerException
void applyResourceChange(MboRemote resourceMboRemote, MXTransaction txn) throws SchedulerException
resourceMboRemote
- txn
- SchedulerException
java.util.List<ilog.views.gantt.IlvResource> sortResourceChildren(ilog.views.gantt.IlvResource resource, java.lang.String objectName, MXGanttModel model) throws SchedulerException
resource
- - ResourceobjectName
- - object namemodel
- SchedulerException
int resourceRecordCount(java.util.ArrayList<java.lang.String> queries) throws SchedulerException
HashMap
SchedulerException