public class CostTypeResourceDataManager extends AbstractResourceDataManager
Constructor and Description |
---|
CostTypeResourceDataManager() |
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, 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
applyResourceChange
in class AbstractResourceDataManager
resource
- mbotransaction
- SchedulerException
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 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 void populateResourcePropertyDetails() throws SchedulerException
populateResourcePropertyDetails
in interface ResourceDataManager
populateResourcePropertyDetails
in class AbstractResourceDataManager
SchedulerException
public void populateResources(java.util.ArrayList<java.lang.String> queries) throws SchedulerException
populateResources
in interface ResourceDataManager
populateResources
in class AbstractResourceDataManager
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
sortResourceChildren
in class AbstractResourceDataManager
resource
- object
- namemodel
- SchedulerException
public int resourceRecordCount(java.util.ArrayList<java.lang.String> queries) throws SchedulerException
resourceRecordCount
in interface ResourceDataManager
resourceRecordCount
in class AbstractResourceDataManager
ArrayList
- queriesSchedulerException