public interface OptimizationServiceRemote extends AppServiceRemote
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ABORTED |
static java.lang.String |
FAILED |
static java.lang.String |
PROCESSED |
static java.lang.String |
PROCESSING |
| Modifier and Type | Method and Description |
|---|---|
void |
deployOptimizationApp(java.lang.String odmApplicationName,
ODMAppDeployInfo appDeployInfo,
UserInfo userInfo)
Takes the application package from the Java EE EAR (i.e from build) and then applies
the deployment configuration to it and then deploys the application.
|
void |
finishSKDODMERUN(long skdProjectId,
java.lang.String status)
Delete "optimization running" for the passed in scenario
|
void |
listenToODMERun(MboRemote listenerMbo,
boolean listen,
long skdProjectId)
Register another listener for ODME scenario run
|
void |
ODMEaddRunMsg(long skdProjectId,
UserInfo userInfo,
java.lang.String message,
boolean key)
Allow sender to add a message to our map.
|
void |
ODMEclearCompleted()
Allow sender to clear completed tasks of our map.
|
void |
ODMEclearRunMsg(long skdProjectId)
Allow sender to clear messages of our map.
|
boolean |
ODMEIsRunning(long skdProjectId)
Return true if ODME is in progress for the scenario
|
boolean |
runOptimization(UserInfo userInfo,
java.lang.String odmApplicationName,
OptimizationInputProcessParameters inputProcessParameters,
OptimizationOutputProcessParameters outputProcessParameters) |
void |
startSKDODMERUN(long skdProjectId,
java.lang.String user,
java.lang.String status)
Add "optimization running" for the passed in scenario
|
checkSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUserisAppService, isSingletonService, restartstatic final java.lang.String PROCESSING
static final java.lang.String PROCESSED
static final java.lang.String FAILED
static final java.lang.String ABORTED
void deployOptimizationApp(java.lang.String odmApplicationName,
ODMAppDeployInfo appDeployInfo,
UserInfo userInfo)
throws java.rmi.RemoteException,
MXException
odmApplicationName - appDeployInfo - userInfo - java.rmi.RemoteExceptionMXExceptionboolean runOptimization(UserInfo userInfo, java.lang.String odmApplicationName, OptimizationInputProcessParameters inputProcessParameters, OptimizationOutputProcessParameters outputProcessParameters) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionvoid listenToODMERun(MboRemote listenerMbo, boolean listen, long skdProjectId) throws MXException, java.rmi.RemoteException
listenerMbo - ProcessMonitor mbo.listen - True to start listening, False to stop listeningskdProjectId - skdproject unique idMXExceptionjava.rmi.RemoteExceptionboolean ODMEIsRunning(long skdProjectId)
throws MXException,
java.rmi.RemoteException
skdProjectId - skdproject unique idMXExceptionjava.rmi.RemoteExceptionvoid startSKDODMERUN(long skdProjectId,
java.lang.String user,
java.lang.String status)
throws MXException,
java.rmi.RemoteException
skdProjectId - skdproject unique idMXExceptionjava.rmi.RemoteExceptionvoid finishSKDODMERUN(long skdProjectId,
java.lang.String status)
throws MXException,
java.rmi.RemoteException
skdProjectId - skdproject unique idMXExceptionjava.rmi.RemoteExceptionvoid ODMEaddRunMsg(long skdProjectId,
UserInfo userInfo,
java.lang.String message,
boolean key)
throws MXException,
java.rmi.RemoteException
skdProjectId - skdproject unique idmsg - MXExceptionjava.rmi.RemoteExceptionvoid ODMEclearRunMsg(long skdProjectId)
throws MXException,
java.rmi.RemoteException
skdProjectId - skdproject unique idMXExceptionjava.rmi.RemoteExceptionvoid ODMEclearCompleted()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException