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.
|
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, unexportObject
public SKDAppServiceBean() throws java.rmi.RemoteException
java.rmi.RemoteException
public void init() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public 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.RemoteException
public MboSetInfo getMboSetInfo(java.lang.String mboName) throws MXException, java.rmi.RemoteException
mboName
- MAXIMO Business Object nameMXException
- if fails to obtain the reference.java.rmi.RemoteException
public void addModelChanges(GanttModelChanges newModelChanges) throws MXException, java.rmi.RemoteException
addModelChanges
in interface SKDAppServiceBeanRemote
-
- GanttModelChanges-
- MXException-
- RemoteExceptionMXException
java.rmi.RemoteException
public void clearModelChanges() throws MXException, java.rmi.RemoteException
clearModelChanges
in interface SKDAppServiceBeanRemote
MXException
java.rmi.RemoteException
public boolean hasModelChanges() throws MXException, java.rmi.RemoteException
hasModelChanges
in interface SKDAppServiceBeanRemote
MXException
java.rmi.RemoteException
public java.lang.String getCurrentProjectid() throws MXException, java.rmi.RemoteException
getCurrentProjectid
in interface SKDAppServiceBeanRemote
MXException
java.rmi.RemoteException
public java.lang.String scenarioProjectidandname() throws MXException, java.rmi.RemoteException
scenarioProjectidandname
in interface SKDAppServiceBeanRemote
MXException
java.rmi.RemoteException
public void saveModelChanges() throws MXException, java.rmi.RemoteException
saveModelChanges
in interface SKDAppServiceBeanRemote
MXException
java.rmi.RemoteException
public void saveModelChangesFromAction(boolean saveBeforeAction) throws MXException, java.rmi.RemoteException
saveBeforeAction
- - true if method is called from action else falseMXException
java.rmi.RemoteException
public void setConfigChanges(GanttConfigChanges newGanttConfigChanges) throws MXException, java.rmi.RemoteException
setConfigChanges
in interface SKDAppServiceBeanRemote
newGanttConfigChanges
- - new config changesMXException
java.rmi.RemoteException
public void clearConfigChanges() throws MXException, java.rmi.RemoteException
clearConfigChanges
in interface SKDAppServiceBeanRemote
MXException
java.rmi.RemoteException
public void saveConfigChanges() throws MXException, java.rmi.RemoteException
saveConfigChanges
in interface SKDAppServiceBeanRemote
MXException
java.rmi.RemoteException
public java.lang.String getProjectName(java.lang.String projectId) throws MXException, java.rmi.RemoteException
projectId
- MXException
java.rmi.RemoteException
public java.lang.String getProjectScenarioName(java.lang.String projectId) throws MXException, java.rmi.RemoteException
projectId
- MXException
java.rmi.RemoteException
public void saveActivities(UserInfo userInfo, MboRemote projectMbo, ilog.views.gantt.model.general.IlvGeneralActivity activity) throws MXException, java.rmi.RemoteException
-
- userinfo-
- Project Mbo-
- Activity-
- MXException-
- RemoteExceptionMXException
java.rmi.RemoteException
public 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-
- RemoteExceptionMXException
java.rmi.RemoteException
public void saveConstraints(UserInfo userInfo, MboRemote projectMbo, ilog.views.gantt.model.general.IlvGeneralConstraint constraint) throws MXException, java.rmi.RemoteException
-
- userinfo-
- Project Mbo-
- Constraint-
- MXException-
- RemoteExceptionMXException
java.rmi.RemoteException
public void saveUserPropertyChanges(UserPropertyChanges propertyChanges) throws MXException, java.rmi.RemoteException
saveUserPropertyChanges
in interface SKDAppServiceBeanRemote
MXException
java.rmi.RemoteException