public class SKDAppServiceBean extends java.rmi.server.UnicastRemoteObject implements SKDAppServiceBeanRemote
| Constructor and Description |
|---|
SKDAppServiceBean()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addModelChanges(GanttModelChanges newModelChanges)
Add model changes to the list
|
void |
clearConfigChanges()
Clears the config changes
|
void |
clearModelChanges()
Clear model changes.
|
java.lang.String |
getCurrentProjectid() |
MboSetRemote |
getMboSet(java.lang.String mboObjectName)
Returns the standard MAXIMO Business Object set based on the mbo name.
|
MboSetInfo |
getMboSetInfo(java.lang.String mboName)
Returns information about standard MAXIMO Business Object.
|
java.lang.String |
getProjectName(java.lang.String projectId)
Get the project name for the project id
|
java.lang.String |
getProjectScenarioName(java.lang.String projectId)
Get the project scenario name for the project id
|
SKDAppService |
getSKDAppService()
Returns the SKD Application Service.
|
UserInfo |
getUserInfo()
Returns the user information.
|
boolean |
hasModelChanges()
Get the flag to find out if model is changed or not
|
void |
init()
Called by the framework to initialize the bean.
|
void |
saveActivities(UserInfo userInfo,
MboRemote projectMbo,
ilog.views.gantt.model.general.IlvGeneralActivity activity)
Save activities related data for data source.
|
void |
saveActivities(UserInfo userInfo,
MboRemote projectMbo,
ilog.views.gantt.model.general.IlvGeneralActivity activity,
MXTransaction txn)
Save activities related data for data source.
|
void |
saveConfigChanges()
Saves the config changes to the database
|
void |
saveConstraints(UserInfo userInfo,
MboRemote projectMbo,
ilog.views.gantt.model.general.IlvGeneralConstraint constraint)
Save constraint related data for data source.
|
void |
saveModelChanges()
Save model changes to the database.
|
void |
saveModelChangesFromAction(boolean saveBeforeAction)
Save model changes to the database.
|
protected void |
saveUserPropertyChanges(java.lang.String projectId,
java.lang.String objectName,
java.lang.String columnName,
java.util.Map properties)
Saves the given user property changes for the given projectid, object name, and table column.
|
void |
saveUserPropertyChanges(UserPropertyChanges propertyChanges)
Save the user property changes to the database
|
java.lang.String |
scenarioProjectidandname() |
void |
setConfigChanges(GanttConfigChanges newGanttConfigChanges)
Sets the config changes to the ganttConfigChanges
|
void |
setSKDAppService(SKDAppService skdAppService)
Sets the SKD Application Service.
|
clone, exportObject, exportObject, exportObject, unexportObjectpublic SKDAppServiceBean()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void init()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic UserInfo getUserInfo()
public SKDAppService getSKDAppService()
public void setSKDAppService(SKDAppService skdAppService)
skdAppService - SKD Application Servicepublic MboSetRemote getMboSet(java.lang.String mboObjectName) throws MXException, java.rmi.RemoteException
mboObjectName - MAXIMO Business Object nameMXException - if fails to obtain the reference.java.rmi.RemoteExceptionpublic MboSetInfo getMboSetInfo(java.lang.String mboName) throws MXException, java.rmi.RemoteException
mboName - MAXIMO Business Object nameMXException - if fails to obtain the reference.java.rmi.RemoteExceptionpublic void addModelChanges(GanttModelChanges newModelChanges) throws MXException, java.rmi.RemoteException
addModelChanges in interface SKDAppServiceBeanRemote- - GanttModelChanges- - MXException- - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionpublic void clearModelChanges()
throws MXException,
java.rmi.RemoteException
clearModelChanges in interface SKDAppServiceBeanRemoteMXExceptionjava.rmi.RemoteExceptionpublic boolean hasModelChanges()
throws MXException,
java.rmi.RemoteException
hasModelChanges in interface SKDAppServiceBeanRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getCurrentProjectid()
throws MXException,
java.rmi.RemoteException
getCurrentProjectid in interface SKDAppServiceBeanRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String scenarioProjectidandname()
throws MXException,
java.rmi.RemoteException
scenarioProjectidandname in interface SKDAppServiceBeanRemoteMXExceptionjava.rmi.RemoteExceptionpublic void saveModelChanges()
throws MXException,
java.rmi.RemoteException
saveModelChanges in interface SKDAppServiceBeanRemoteMXExceptionjava.rmi.RemoteExceptionpublic void saveModelChangesFromAction(boolean saveBeforeAction)
throws MXException,
java.rmi.RemoteException
saveBeforeAction - - true if method is called from action else falseMXExceptionjava.rmi.RemoteExceptionpublic void setConfigChanges(GanttConfigChanges newGanttConfigChanges) throws MXException, java.rmi.RemoteException
setConfigChanges in interface SKDAppServiceBeanRemotenewGanttConfigChanges - - new config changesMXExceptionjava.rmi.RemoteExceptionpublic void clearConfigChanges()
throws MXException,
java.rmi.RemoteException
clearConfigChanges in interface SKDAppServiceBeanRemoteMXExceptionjava.rmi.RemoteExceptionpublic void saveConfigChanges()
throws MXException,
java.rmi.RemoteException
saveConfigChanges in interface SKDAppServiceBeanRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getProjectName(java.lang.String projectId)
throws MXException,
java.rmi.RemoteException
projectId - MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getProjectScenarioName(java.lang.String projectId)
throws MXException,
java.rmi.RemoteException
projectId - MXExceptionjava.rmi.RemoteExceptionpublic void saveActivities(UserInfo userInfo, MboRemote projectMbo, ilog.views.gantt.model.general.IlvGeneralActivity activity) throws MXException, java.rmi.RemoteException
- - userinfo- - Project Mbo- - Activity- - MXException- - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionpublic void saveActivities(UserInfo userInfo, MboRemote projectMbo, ilog.views.gantt.model.general.IlvGeneralActivity activity, MXTransaction txn) throws MXException, java.rmi.RemoteException
- - userinfo- - Project Mbo- - Activity- - MXException- - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionpublic void saveConstraints(UserInfo userInfo, MboRemote projectMbo, ilog.views.gantt.model.general.IlvGeneralConstraint constraint) throws MXException, java.rmi.RemoteException
- - userinfo- - Project Mbo- - Constraint- - MXException- - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionpublic void saveUserPropertyChanges(UserPropertyChanges propertyChanges) throws MXException, java.rmi.RemoteException
saveUserPropertyChanges in interface SKDAppServiceBeanRemoteMXExceptionjava.rmi.RemoteExceptionprotected void saveUserPropertyChanges(java.lang.String projectId,
java.lang.String objectName,
java.lang.String columnName,
java.util.Map properties)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException