public class RotatingToolResourceDataManager extends AbstractResourceDataManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CACHEKEY_RESOURCETOOLDATA |
static java.lang.String |
CACHEKEY_RESOURCETOOLDATA_LOADED |
Constructor and Description |
---|
RotatingToolResourceDataManager() |
Modifier and Type | Method and Description |
---|---|
void |
applyResourceChange(MboRemote resourceMboRemote,
MXTransaction txn)
Apply resource change to the database
|
void |
getToolResourceAvailableData(java.lang.String objectName,
java.lang.String projectId)
get resource availability data.
|
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
|
sortResourceChildren
getDataManagerContext, getLogger, getObjectName, getProjectMbo, getSKDDD, getSqlLogger, getUserInfo, setDataManagerContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setDataManagerContext
public static final java.lang.String CACHEKEY_RESOURCETOOLDATA_LOADED
public static final java.lang.String CACHEKEY_RESOURCETOOLDATA
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 int resourceRecordCount(java.util.ArrayList<java.lang.String> queries) throws SchedulerException
resourceRecordCount
in interface ResourceDataManager
resourceRecordCount
in class AbstractResourceDataManager
ArrayList
- queriesSchedulerException
public void getToolResourceAvailableData(java.lang.String objectName, java.lang.String projectId) throws SchedulerException
objectName
- projectId
- SchedulerException