public class PMActivityDataManager extends AbstractActivityDataManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CACHEKEY_PMACTIVITY_ANCESTORINFO |
static java.lang.String |
CACHEKEY_PMACTIVITY_FORECAST |
static java.lang.String |
CACHEKEY_PMACTIVITY_FORECASTDATALOADED |
static java.lang.String |
CACHEKEY_PMACTIVITY_FORECASTJP |
Constructor and Description |
---|
PMActivityDataManager() |
Modifier and Type | Method and Description |
---|---|
int |
activityRecordCount(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> queryMap)
Count activities records before adding it to skdactivity table.
|
void |
applyActivityChange(MboRemote activityMboRemote,
MXTransaction txn)
Apply activity change to the database
|
void |
applyActivityChange(MboRemote activityMboRemote,
java.lang.String ids,
MXTransaction txn)
Update PM related information during commit
|
void |
deleteProjectData()
Delete all the information related to the project.
|
void |
duplicateProjectData(java.lang.String originalProjectId)
Duplicate all the information related to the project
|
int |
getAsyncCount()
Get the count for async process in commit.
|
java.lang.String |
getCompleteQueryWhere(java.lang.String objectName,
java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> queryMap)
Get the sql where clause for the list in querymap
|
java.lang.String |
getDefaultRestriction(java.lang.String objectName)
Get the default restriction for the object
|
void |
loadActivity(MXActivity activity,
java.lang.String objectName,
MboRemote mboObject)
Load the activity data
|
void |
loadActivity(MXActivity activity,
java.lang.String objectName,
MXGanttModel model)
Load activity information for the model
|
void |
populateActivities(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> queryMap)
Populate scheduler intermediate table with pm data.
|
void |
populateActivityPropertyDetails()
Update activity properties.
|
void |
saveActivities(ilog.views.gantt.model.general.IlvGeneralActivity activity)
Save all the information related to the activity
|
applyScenarioChange, applyScenarioChange, getModifiedActivityChildren, initializeActivity, initializeActivity, initializeActivityChildren, linkChildDummyNode, loadAdditionalActivities, saveActivities, sortActivityChildren
getDataManagerContext, getLogger, getObjectName, getProjectMbo, getSqlLogger, getUserInfo, setDataManagerContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setDataManagerContext
public static final java.lang.String CACHEKEY_PMACTIVITY_FORECASTDATALOADED
public static final java.lang.String CACHEKEY_PMACTIVITY_ANCESTORINFO
public static final java.lang.String CACHEKEY_PMACTIVITY_FORECAST
public static final java.lang.String CACHEKEY_PMACTIVITY_FORECASTJP
public void populateActivities(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> queryMap) throws SchedulerException
populateActivities
in interface ActivityDataManager
populateActivities
in class AbstractActivityDataManager
-
- SchedulerException
public void populateActivityPropertyDetails() throws SchedulerException
populateActivityPropertyDetails
in interface ActivityDataManager
populateActivityPropertyDetails
in class AbstractActivityDataManager
SchedulerException
public java.lang.String getCompleteQueryWhere(java.lang.String objectName, java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> queryMap) throws MXException, java.rmi.RemoteException
objectName
- queryMap
- MXException
java.rmi.RemoteException
public java.lang.String getDefaultRestriction(java.lang.String objectName) throws SchedulerException
objectName
- SchedulerException
public void loadActivity(MXActivity activity, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
loadActivity
in interface ActivityDataManager
loadActivity
in class AbstractActivityDataManager
-
- Activity row-
- object name-
- PM objectSchedulerException
public void loadActivity(MXActivity activity, java.lang.String objectName, MXGanttModel model) throws SchedulerException
loadActivity
in interface ActivityDataManager
loadActivity
in class AbstractActivityDataManager
-
- activity-
- Object name-
- Gantt model-
- SchedulerExceptionSchedulerException
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-
- SchedulerExceptionSchedulerException
public void saveActivities(ilog.views.gantt.model.general.IlvGeneralActivity activity) throws SchedulerException
saveActivities
in interface ActivityDataManager
saveActivities
in class AbstractActivityDataManager
-
- MXActivity-
- SchedulerExceptionSchedulerException
public void duplicateProjectData(java.lang.String originalProjectId) throws SchedulerException
duplicateProjectData
in interface ActivityDataManager
duplicateProjectData
in class AbstractActivityDataManager
-
- originalProjectId - Original project id-
- SchedulerExceptionSchedulerException
public void deleteProjectData() throws SchedulerException
deleteProjectData
in interface ActivityDataManager
deleteProjectData
in class AbstractActivityDataManager
-
- SchedulerExceptionSchedulerException
public void applyActivityChange(MboRemote activityMboRemote, MXTransaction txn) throws SchedulerException
AbstractActivityDataManager
applyActivityChange
in interface ActivityDataManager
applyActivityChange
in class AbstractActivityDataManager
SchedulerException
public void applyActivityChange(MboRemote activityMboRemote, java.lang.String ids, MXTransaction txn) throws SchedulerException
applyActivityChange
in interface ActivityDataManager
applyActivityChange
in class AbstractActivityDataManager
-
- skdactivity mbo-
- MXTransaction-
- SchedulerExceptionSchedulerException
public int getAsyncCount() throws SchedulerException
getAsyncCount
in interface ActivityDataManager
getAsyncCount
in class AbstractActivityDataManager
projectMbo
- activitySet
- SchedulerException