public class WMActivityDataManager extends AbstractActivityDataManager
| Constructor and Description |
|---|
WMActivityDataManager(MXServer mxServer) |
| Modifier and Type | Method and Description |
|---|---|
int |
activityNullRecordCount(java.util.HashMap queryMap)
Get the actvity records counts for a list of queries
|
int |
activityRecordCount(java.util.HashMap queryMap)
Get the actvity records for a list of queries
|
void |
applyActivityChange(MboRemote activityMboRemote,
MXTransaction txn)
Apply activity change to the database
|
void |
applyActivityChange(MboRemote activityMboRemote,
java.lang.String ids,
MXTransaction txn)
Apply activity changes to the database
|
protected java.lang.String |
getCompleteQueryWhere(MboRemote projectMbo,
UserInfo userInfo,
java.lang.String objectName,
java.util.Map queryMap,
java.lang.Boolean forNullDates)
Get the complete where clause
|
protected java.lang.String |
getDefaultRestriction(MboRemote projectMbo,
java.lang.String objectName,
boolean forNullDates)
Get default restriction for object
|
protected java.lang.String |
getDefaultStatusRestriction()
Get the default restriction where clause
|
java.lang.String |
getPopulateDataObjectsWhere() |
protected java.lang.String |
getStartEndDateRestriction(MboRemote projectMbo)
Get the default restriction where clause
|
com.ibm.json.java.JSONArray |
loadActivities(GWASchedule schedule) |
void |
loadActivity(IMXActivity activity,
java.lang.String objectName,
IMXGanttModel model) |
void |
loadActivity(IMXActivity activity,
java.lang.String objectName,
MboRemote mboObject) |
java.lang.String |
populateDataObjectsWhere(MboRemote projectMbo,
java.util.Map queryMap)
get where using the values obtained by the execution of the Work Queries.
|
java.lang.String |
populateDataObjectsWhere(MboRemote projectMbo,
java.util.Map queryMap,
boolean forNullDates)
get where using the values obtained by the execution of the Work Queries.
|
void |
processChanges(MboRemote projectMbo,
java.util.List activityChanges)
Processes a set of changes for the activities associated with the selected Schedule.
|
void |
saveActivities(IMXActivity activity) |
void |
saveActivities(IMXActivity activity,
MXTransaction txn) |
void |
setPopulateObjectsWhere(java.lang.String populateObjectsWhere) |
int |
setWOScheduleStartDateForNullDates(java.util.HashMap queryMap)
Get the actvity records for a list of queries
|
applyScenarioChange, applyScenarioChange, deleteProjectData, duplicateProjectData, getAsyncCount, getModifiedActivityChildren, initializeActivity, initializeActivity, initializeActivityChildren, linkChildDummyNode, loadActivity, loadActivity, loadAdditionalActivities, populateActivities, populateActivityPropertyDetails, saveActivities, saveActivities, sortActivityChildrenaddObjectToModel, addToUnjoinedNodes, getDataManagerContext, getLogger, getObjectName, getProjectMbo, getSKDDD, getSqlLogger, getUserInfo, populateNode, populateNode, removeUnnecessaryNodes, setDataManagerContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetDataManagerContextpublic WMActivityDataManager(MXServer mxServer)
public void applyActivityChange(MboRemote activityMboRemote, java.lang.String ids, MXTransaction txn) throws SchedulerException
ActivityDataManagerapplyActivityChange in interface ActivityDataManagerapplyActivityChange in class AbstractActivityDataManagerSchedulerExceptionpublic void applyActivityChange(MboRemote activityMboRemote, MXTransaction txn) throws SchedulerException
AbstractActivityDataManagerapplyActivityChange in interface ActivityDataManagerapplyActivityChange in class AbstractActivityDataManagerSchedulerExceptionpublic com.ibm.json.java.JSONArray loadActivities(GWASchedule schedule) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void loadActivity(IMXActivity activity, java.lang.String objectName, MboRemote mboObject) throws MXException
MXExceptionpublic void loadActivity(IMXActivity activity, java.lang.String objectName, IMXGanttModel model) throws MXException
MXExceptionpublic void saveActivities(IMXActivity activity) throws MXException
MXExceptionpublic void saveActivities(IMXActivity activity, MXTransaction txn) throws MXException
MXExceptionpublic java.lang.String getPopulateDataObjectsWhere()
public int activityRecordCount(java.util.HashMap queryMap)
throws SchedulerException
activityRecordCount in interface ActivityDataManageractivityRecordCount in class AbstractActivityDataManagerHashMapSchedulerExceptionpublic void setPopulateObjectsWhere(java.lang.String populateObjectsWhere)
public java.lang.String populateDataObjectsWhere(MboRemote projectMbo, java.util.Map queryMap) throws java.rmi.RemoteException, MXException
queryMap - - A Map of Work Queries to be used as input for this process.java.rmi.RemoteExceptionMXExceptionpublic java.lang.String populateDataObjectsWhere(MboRemote projectMbo, java.util.Map queryMap, boolean forNullDates) throws java.rmi.RemoteException, MXException
queryMap - - A Map of Work Queries to be used as input for this process.java.rmi.RemoteExceptionMXExceptionprotected java.lang.String getCompleteQueryWhere(MboRemote projectMbo, UserInfo userInfo, java.lang.String objectName, java.util.Map queryMap, java.lang.Boolean forNullDates) throws MXException, java.rmi.RemoteException
objectName - queryMap - MXExceptionjava.rmi.RemoteExceptionprotected java.lang.String getDefaultRestriction(MboRemote projectMbo, java.lang.String objectName, boolean forNullDates) throws SchedulerException
objectName - SchedulerExceptionprotected java.lang.String getDefaultStatusRestriction()
throws SchedulerException
SchedulerExceptionprotected java.lang.String getStartEndDateRestriction(MboRemote projectMbo) throws SchedulerException
SchedulerExceptionpublic void processChanges(MboRemote projectMbo, java.util.List activityChanges) throws java.rmi.RemoteException, MXException
schedule - - Schedule model object.activityChanges - - Set of changes made in the Gantt view.java.rmi.RemoteExceptionMXExceptionpublic int activityNullRecordCount(java.util.HashMap queryMap)
throws SchedulerException
HashMapSchedulerExceptionpublic int setWOScheduleStartDateForNullDates(java.util.HashMap queryMap)
throws SchedulerException
HashMapSchedulerException