public class AbstractResourceDataManager extends AbstractDataManager implements ResourceDataManager
Constructor and Description |
---|
AbstractResourceDataManager() |
Modifier and Type | Method and Description |
---|---|
void |
applyResourceChange(MboRemote resourceMboRemote,
MXTransaction txn)
Apply resource change to the database
|
void |
initializeResource(MXResource resource,
java.lang.String objectName,
MboRemote mboObject)
Initialize resource
|
void |
loadResource(MXResource resource,
java.lang.String objectName,
MboRemote mboObject)
Load resources from database
|
void |
loadResource(MXResource resource,
java.lang.String objectName,
MXGanttModel model)
Load resource 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 resource children and return a list
|
getDataManagerContext, getLogger, getObjectName, getProjectMbo, getSKDDD, getSqlLogger, getUserInfo, setDataManagerContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setDataManagerContext
public void applyResourceChange(MboRemote resourceMboRemote, MXTransaction txn) throws SchedulerException
applyResourceChange
in interface ResourceDataManager
resource
- mbotransaction
- SchedulerException
public void initializeResource(MXResource resource, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
initializeResource
in interface ResourceDataManager
resource
- object
- namembo
- objectSchedulerException
public void loadResource(MXResource resource, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
loadResource
in interface ResourceDataManager
resource
- object
- namembo
- objectSchedulerException
public void loadResource(MXResource resource, java.lang.String objectName, MXGanttModel model) throws SchedulerException
resource
- object
- namemodel
- SchedulerException
public void populateResourcePropertyDetails() throws SchedulerException
populateResourcePropertyDetails
in interface ResourceDataManager
SchedulerException
public void populateResources(java.util.ArrayList<java.lang.String> queries) throws SchedulerException
populateResources
in interface ResourceDataManager
ArrayList
- queriesSchedulerException
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
resource
- object
- namemodel
- SchedulerException
public int resourceRecordCount(java.util.ArrayList<java.lang.String> queries) throws SchedulerException
resourceRecordCount
in interface ResourceDataManager
ArrayList
- queriesSchedulerException