public class WMActivityDataManager extends AbstractActivityDataManager
Constructor and Description |
---|
WMActivityDataManager(MXServer mxServer) |
Modifier and Type | Method and Description |
---|---|
int |
activityRecordCount(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> 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
|
java.lang.String |
getPopulateDataObjectsWhere() |
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<java.lang.String,java.util.ArrayList<java.lang.String>> queryMap)
get where using the values obtained by the execution of the Work Queries.
|
java.lang.String |
populateDataObjectsWhere(MboRemote projectMbo,
java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> queryMap,
boolean forNullDates)
get where using the values obtained by the execution of the Work Queries.
|
void |
processChanges(MboRemote projectMbo,
java.util.List<Activity> 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<java.lang.String,java.util.ArrayList<java.lang.String>> 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, sortActivityChildren
getDataManagerContext, getLogger, getObjectName, getProjectMbo, getSKDDD, getSqlLogger, getUserInfo, setDataManagerContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setDataManagerContext
public WMActivityDataManager(MXServer mxServer)
public void applyActivityChange(MboRemote activityMboRemote, java.lang.String ids, MXTransaction txn) throws SchedulerException
ActivityDataManager
applyActivityChange
in interface ActivityDataManager
applyActivityChange
in class AbstractActivityDataManager
SchedulerException
public void applyActivityChange(MboRemote activityMboRemote, MXTransaction txn) throws SchedulerException
AbstractActivityDataManager
applyActivityChange
in interface ActivityDataManager
applyActivityChange
in class AbstractActivityDataManager
SchedulerException
public com.ibm.json.java.JSONArray loadActivities(GWASchedule schedule) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void loadActivity(IMXActivity activity, java.lang.String objectName, MboRemote mboObject) throws MXException
MXException
public void loadActivity(IMXActivity activity, java.lang.String objectName, IMXGanttModel model) throws MXException
MXException
public void saveActivities(IMXActivity activity) throws MXException
MXException
public void saveActivities(IMXActivity activity, MXTransaction txn) throws MXException
MXException
public java.lang.String getPopulateDataObjectsWhere()
public int activityRecordCount(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> queryMap) throws SchedulerException
activityRecordCount
in interface ActivityDataManager
activityRecordCount
in class AbstractActivityDataManager
HashMap
SchedulerException
public void setPopulateObjectsWhere(java.lang.String populateObjectsWhere)
public java.lang.String populateDataObjectsWhere(MboRemote projectMbo, java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> queryMap) throws java.rmi.RemoteException, MXException
queryMap
- - A Map of Work Queries to be used as input for this process.java.rmi.RemoteException
MXException
public java.lang.String populateDataObjectsWhere(MboRemote projectMbo, java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> queryMap, boolean forNullDates) throws java.rmi.RemoteException, MXException
queryMap
- - A Map of Work Queries to be used as input for this process.java.rmi.RemoteException
MXException
public void processChanges(MboRemote projectMbo, java.util.List<Activity> activityChanges) throws java.rmi.RemoteException, MXException
schedule
- - Schedule model object.activityChanges
- - Set of changes made in the Gantt view.java.rmi.RemoteException
MXException
public int setWOScheduleStartDateForNullDates(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> queryMap) throws SchedulerException
HashMap
SchedulerException