public class ActivityMaxDataManager extends java.lang.Object implements IMaxDataManager<Activity>
| Modifier and Type | Field and Description | 
|---|---|
| static java.util.HashMap<java.lang.String,java.lang.String> | woClassMap | 
| Constructor and Description | 
|---|
| ActivityMaxDataManager(MXServer mxServer) | 
| Modifier and Type | Method and Description | 
|---|---|
| com.ibm.json.java.JSONArray | bulkLoadDataObjects(Schedule schedule,
                   DataSpec dataSpec,
                   java.lang.Long offsetRecord)Loads a list of activity records according to the parameters used as input. | 
| void | commitChanges(MboRemote projectMbo,
             MboSetRemote activitySet,
             java.lang.String selectedIDs)Commits any changes that have been saved for the activities of a given Project (Schedule). | 
| com.ibm.json.java.JSONArray | fetchChildren(Schedule schedule,
             DataSpec dataSpec,
             java.lang.String workOrderNumber,
             java.lang.Long offsetRecord,
             java.lang.Integer level) | 
| Activity | findById(Schedule schedule,
        java.lang.String id,
        DataSpec dataSpec) | 
| int | getCompareRowCount(Schedule leftModel,
                  long rightModelId,
                  DataSpec dataSpec) | 
| int | getPageCount(Schedule schedule,
            DataSpec dataSpec,
            boolean parentOnly) | 
| int | getRowCount(Schedule schedule,
           DataSpec dataSpec,
           boolean parentOnly) | 
| com.ibm.json.java.JSONArray | loadDataObjects(Schedule schedule,
               DataSpec dataSpec,
               java.util.List<java.lang.String> activityIDs)Loads a list of activity records according to the parameters used as input. | 
| com.ibm.json.java.JSONArray | loadDataObjects(Schedule schedule,
               DataSpec dataSpec,
               java.lang.Long offsetRecord,
               boolean parentOnly)Loads a list of activity records according to the parameters used as input. | 
| com.ibm.json.java.JSONArray | loadDiffDataObjects(Schedule leftSchedule,
                   long otherProjectID,
                   DataSpec dataSpec,
                   java.lang.Long offsetRecord)Loads a list of activity records according to the parameters used as input. | 
| com.ibm.json.java.JSONArray | loadMissingDataObjects(Schedule leftSchedule,
                      long otherProjectID,
                      DataSpec dataSpec)Loads a list of activity records according to the parameters used as input. | 
| void | populateDataObjects(MboRemote projectMbo,
                   java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> queryMap)Populates the SKDACTIVITY table 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. | 
public static java.util.HashMap<java.lang.String,java.lang.String> woClassMap
public ActivityMaxDataManager(MXServer mxServer)
public void populateDataObjects(MboRemote projectMbo, java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> queryMap) throws java.rmi.RemoteException, MXException
populateDataObjects in interface IMaxDataManager<Activity>queryMap - - A Map of Work Queries to be used as input for this process.java.rmi.RemoteExceptionMXExceptionpublic Activity findById(Schedule schedule, java.lang.String id, DataSpec dataSpec) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic com.ibm.json.java.JSONArray loadDataObjects(Schedule schedule, DataSpec dataSpec, java.lang.Long offsetRecord, boolean parentOnly) throws java.rmi.RemoteException, MXException
loadDataObjects in interface IMaxDataManager<Activity>schedule - project schedule (contains access to the schedule information)dataSpec - data spec details: pageSize, fields, sorts, etcoffsetRecord - - The ID of the last object previously retrieved.java.rmi.RemoteExceptionMXExceptionpublic void processChanges(MboRemote projectMbo, java.util.List<Activity> activityChanges) throws java.rmi.RemoteException, MXException
processChanges in interface IMaxDataManager<Activity>schedule - - Schedule model object.activityChanges - - Set of changes made in the Gantt view.java.rmi.RemoteExceptionMXExceptionpublic void commitChanges(MboRemote projectMbo, MboSetRemote activitySet, java.lang.String selectedIDs) throws java.rmi.RemoteException, MXException
commitChanges in interface IMaxDataManager<Activity>projectMbo - activitySet - selectedIDs - java.rmi.RemoteExceptionMXExceptionpublic int getPageCount(Schedule schedule, DataSpec dataSpec, boolean parentOnly) throws java.rmi.RemoteException, MXException
getPageCount in interface IMaxDataManager<Activity>java.rmi.RemoteExceptionMXExceptionpublic int getRowCount(Schedule schedule, DataSpec dataSpec, boolean parentOnly) throws java.rmi.RemoteException, MXException
getRowCount in interface IMaxDataManager<Activity>schedule - dataSpec - MXExceptionjava.rmi.RemoteExceptionpublic int getCompareRowCount(Schedule leftModel, long rightModelId, DataSpec dataSpec) throws java.rmi.RemoteException, MXException
schedule - dataSpec - MXExceptionjava.rmi.RemoteExceptionpublic com.ibm.json.java.JSONArray fetchChildren(Schedule schedule, DataSpec dataSpec, java.lang.String workOrderNumber, java.lang.Long offsetRecord, java.lang.Integer level) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic com.ibm.json.java.JSONArray loadDiffDataObjects(Schedule leftSchedule, long otherProjectID, DataSpec dataSpec, java.lang.Long offsetRecord) throws java.rmi.RemoteException, MXException
schedule - project schedule (contains access to the schedule information)dataSpec - data spec details: pageSize, fields, sorts, etcjava.rmi.RemoteExceptionMXExceptionpublic com.ibm.json.java.JSONArray bulkLoadDataObjects(Schedule schedule, DataSpec dataSpec, java.lang.Long offsetRecord) throws java.rmi.RemoteException, MXException
bulkLoadDataObjects in interface IMaxDataManager<Activity>schedule - project schedule (contains access to the schedule information)dataSpec - data spec details: pageSize, fields, sorts, etcjava.rmi.RemoteExceptionMXExceptionpublic com.ibm.json.java.JSONArray loadDataObjects(Schedule schedule, DataSpec dataSpec, java.util.List<java.lang.String> activityIDs) throws java.rmi.RemoteException, MXException
loadDataObjects in interface IMaxDataManager<Activity>schedule - project schedule (contains access to the schedule information)dataSpec - data spec details: pageSize, fields, sorts, etcoffsetRecord - - The ID of the last object previously retrieved.java.rmi.RemoteExceptionMXExceptionpublic com.ibm.json.java.JSONArray loadMissingDataObjects(Schedule leftSchedule, long otherProjectID, DataSpec dataSpec) throws java.rmi.RemoteException, MXException
schedule - project schedule (contains access to the schedule information)dataSpec - data spec details: pageSize, fields, sorts, etcjava.rmi.RemoteExceptionMXException