public interface ActivityDataManager extends DataManager
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 changes to the database
|
void |
applyActivityChange(MboRemote activityMboRemote,
java.lang.String ids,
MXTransaction txn)
Apply activity changes to the database
|
void |
applyScenarioChange(MboRemote activityMboRemote,
MboRemote ParentActMboRemote,
MXTransaction txn)
qiuping scheduler752
Apply Scenario changes to the database
|
void |
applyScenarioChange(MboRemote activityMboRemote,
MboRemote ParentActMboRemote,
java.lang.String ids,
MXTransaction txn)
qiuping scheduler752
Apply Scenario changes to the database
|
void |
deleteProjectData()
Delete project activity data
|
void |
duplicateProjectData(java.lang.String originalProjectId)
Duplicate project activity data
|
int |
getAsyncCount()
Get the count for async process in commit.
|
java.util.List<ilog.views.gantt.IlvActivity> |
getModifiedActivityChildren(MXActivity activity,
java.lang.String objectName,
MboRemote mboObject,
MXGanttModel model)
Get modified children activities for a parent activity
|
void |
initializeActivity(MXActivity activity,
java.lang.String objectName,
MboRemote mboObject)
Initialize activity after it is populated.
|
void |
initializeActivity(MXActivity activity,
java.lang.String objectName,
MboRemote mboObject,
MXGanttModel model)
Initialize activity after it is populated.
|
void |
initializeActivityChildren(MXActivity activity,
java.lang.String objectName,
MboRemote mboObject,
MXGanttModel model)
Initialize children activities for an initialized parent activity.
|
java.util.List<ilog.views.gantt.IlvActivity> |
linkChildDummyNode(MXActivity activity,
MXGanttModel mxganttmodel,
SKDAppService.ActivityData activityData)
Add dummy child node for an activity node.
|
void |
loadActivity(MXActivity activity,
java.lang.String objectName,
MboRemote mboObject)
Load activities from database
initialize the activity during the time when the model is loaded for display
by the gantt viewer.
|
void |
loadActivity(MXActivity activity,
java.lang.String objectName,
MXGanttModel model)
Load activities from database
|
void |
loadAdditionalActivities(MXGanttModel mxganttmodel,
SKDAppService.ActivityData activitydata)
Load additional activities
|
void |
populateActivities(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> queriesMap)
Populate activity records in skdactivity table
|
void |
populateActivityPropertyDetails()
Populate activity with activity property details.
|
void |
saveActivities(ilog.views.gantt.model.general.IlvGeneralActivity activity)
Save activities to the database
|
void |
saveActivities(ilog.views.gantt.model.general.IlvGeneralActivity activity,
MXTransaction txn)
Save activities to the database
|
java.util.List<ilog.views.gantt.IlvActivity> |
sortActivityChildren(ilog.views.gantt.IlvActivity activity,
java.lang.String objectName,
MXGanttModel model)
Sort activities and return a list.
|
setDataManagerContext
void initializeActivity(MXActivity activity, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
activity
- object
- namembo
- objectSchedulerException
void initializeActivity(MXActivity activity, java.lang.String objectName, MboRemote mboObject, MXGanttModel model) throws SchedulerException
activity
- object
- namembo
- objectSchedulerException
void initializeActivityChildren(MXActivity activity, java.lang.String objectName, MboRemote mboObject, MXGanttModel model) throws SchedulerException
activity
- object
- namembo
- objectSchedulerException
java.util.List<ilog.views.gantt.IlvActivity> getModifiedActivityChildren(MXActivity activity, java.lang.String objectName, MboRemote mboObject, MXGanttModel model) throws SchedulerException
activity
- object
- Namembo
- Model
- SchedulerException
void loadActivity(MXActivity activity, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
activity
- object
- namembo
- objectSchedulerException
void loadActivity(MXActivity activity, java.lang.String objectName, MXGanttModel model) throws SchedulerException
activity
- object
- namemodel
- SchedulerException
void populateActivities(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> queriesMap) throws SchedulerException
HashMap
SchedulerException
void populateActivityPropertyDetails() throws SchedulerException
SchedulerException
void applyActivityChange(MboRemote activityMboRemote, MXTransaction txn) throws SchedulerException
activityMboRemote
- txn
- SchedulerException
void applyActivityChange(MboRemote activityMboRemote, java.lang.String ids, MXTransaction txn) throws SchedulerException
activityMboRemote
- txn
- SchedulerException
void applyScenarioChange(MboRemote activityMboRemote, MboRemote ParentActMboRemote, MXTransaction txn) throws SchedulerException
activityMboRemote
- txn
- SchedulerException
void applyScenarioChange(MboRemote activityMboRemote, MboRemote ParentActMboRemote, java.lang.String ids, MXTransaction txn) throws SchedulerException
activityMboRemote
- txn
- SchedulerException
java.util.List<ilog.views.gantt.IlvActivity> sortActivityChildren(ilog.views.gantt.IlvActivity activity, java.lang.String objectName, MXGanttModel model) throws SchedulerException
activity
- - ActivityobjectName
- - object namemodel
- SchedulerException
int activityRecordCount(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> queryMap) throws SchedulerException
HashMap
SchedulerException
void saveActivities(ilog.views.gantt.model.general.IlvGeneralActivity activity) throws SchedulerException
activity
- SchedulerException
void saveActivities(ilog.views.gantt.model.general.IlvGeneralActivity activity, MXTransaction txn) throws SchedulerException
activity
- transaction
- SchedulerException
void duplicateProjectData(java.lang.String originalProjectId) throws SchedulerException
original
- project unique idSchedulerException
void deleteProjectData() throws SchedulerException
SchedulerException
int getAsyncCount() throws SchedulerException
projectMbo
- activitySet
- SchedulerException
void loadAdditionalActivities(MXGanttModel mxganttmodel, SKDAppService.ActivityData activitydata) throws SchedulerException
mxganttmodel
- activitydata
- SchedulerException
java.util.List<ilog.views.gantt.IlvActivity> linkChildDummyNode(MXActivity activity, MXGanttModel mxganttmodel, SKDAppService.ActivityData activityData) throws SchedulerException
activity
- mxganttmodel
- activityData
- SchedulerException