public class AssetActivityDataManager extends AbstractActivityDataManager
Constructor and Description |
---|
AssetActivityDataManager() |
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
|
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[] |
getDateDBSqlString(int dbType)
get db datetime string
|
java.lang.String |
getDefaultRestriction(java.lang.String objectName)
Get the default restriction for the object
|
java.lang.String |
getOrgQuery()
getOrg query string
|
void |
loadActivity(MXActivity activity,
java.lang.String objectName,
MXGanttModel model)
Load activity information for the model
|
boolean |
populate() |
void |
populateActivities(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> queryMap)
Populate scheduler intermediate table with asset data.
|
void |
populateActivityDatesFromSkdproject()
Update asset activity parentid from asset.
|
void |
populateActivityParentFromAsset(java.lang.String uniqueidname)
Update asset activity parentid from asset.
|
void |
populateActivityPropertyDetails()
Update activity properties.
|
void |
saveActivities(ilog.views.gantt.model.general.IlvGeneralActivity activity)
Save all the information related to the activity
|
applyScenarioChange, applyScenarioChange, deleteProjectData, duplicateProjectData, getAsyncCount, getModifiedActivityChildren, initializeActivity, initializeActivity, initializeActivityChildren, linkChildDummyNode, loadActivity, loadAdditionalActivities, saveActivities, sortActivityChildren
getDataManagerContext, getLogger, getObjectName, getProjectMbo, getSKDDD, getSqlLogger, getUserInfo, setDataManagerContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setDataManagerContext
public boolean populate()
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 java.lang.String[] getDateDBSqlString(int dbType) throws SchedulerException
SchedulerException
public java.lang.String getOrgQuery() throws SchedulerException
SchedulerException
public void populateActivityPropertyDetails() throws SchedulerException
populateActivityPropertyDetails
in interface ActivityDataManager
populateActivityPropertyDetails
in class AbstractActivityDataManager
SchedulerException
public void populateActivityParentFromAsset(java.lang.String uniqueidname) throws SchedulerException
SchedulerException
public void populateActivityDatesFromSkdproject() throws SchedulerException
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, 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 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