public interface OptimizationServiceRemote extends AppServiceRemote
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ABORTED |
static java.lang.String |
ABORTING |
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 |
finishSKDODMERUN(long skdProjectId,
java.lang.String status,
long skdOdmeRunId)
Delete "optimization running" for the passed in scenario
|
java.lang.String |
getOptimizationMosAPIBaseURL(UserInfo userInfo) |
java.lang.String |
getOptimizationMosAPIKey(UserInfo userInfo) |
boolean |
getUseCPS(UserInfo userInfo)
Returns true if the CPS system property is set to true
|
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 |
setJobIDSKDODMERUN(long skdOdmeRunId,
java.lang.String mosJobId)
Updates the SKDODMERUN.MOSJOBID for the passed in parameters.
|
long |
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, verifyUser
isAppService, isSingletonService, restart
static final java.lang.String PROCESSING
static final java.lang.String PROCESSED
static final java.lang.String FAILED
static final java.lang.String ABORTING
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.RemoteException
MXException
boolean runOptimization(UserInfo userInfo, java.lang.String odmApplicationName, OptimizationInputProcessParameters inputProcessParameters, OptimizationOutputProcessParameters outputProcessParameters) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
void 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 idMXException
java.rmi.RemoteException
boolean ODMEIsRunning(long skdProjectId) throws MXException, java.rmi.RemoteException
skdProjectId
- skdproject unique idMXException
java.rmi.RemoteException
long startSKDODMERUN(long skdProjectId, java.lang.String user, java.lang.String status) throws MXException, java.rmi.RemoteException
skdProjectId
- skdproject unique idMXException
java.rmi.RemoteException
void finishSKDODMERUN(long skdProjectId, java.lang.String status) throws MXException, java.rmi.RemoteException
skdProjectId
- skdproject unique idMXException
java.rmi.RemoteException
void finishSKDODMERUN(long skdProjectId, java.lang.String status, long skdOdmeRunId) throws MXException, java.rmi.RemoteException
skdProjectId
- skdproject unique idMXException
java.rmi.RemoteException
void ODMEaddRunMsg(long skdProjectId, UserInfo userInfo, java.lang.String message, boolean key) throws MXException, java.rmi.RemoteException
skdProjectId
- skdproject unique idmsg
- MXException
java.rmi.RemoteException
void ODMEclearRunMsg(long skdProjectId) throws MXException, java.rmi.RemoteException
skdProjectId
- skdproject unique idMXException
java.rmi.RemoteException
void ODMEclearCompleted() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
void setJobIDSKDODMERUN(long skdOdmeRunId, java.lang.String mosJobId) throws MXException, java.rmi.RemoteException
skdOdmeRunId
- unique id of SKDODMERUN recordmosJobId
- unique mos job idMXException
java.rmi.RemoteException
boolean getUseCPS(UserInfo userInfo) throws java.rmi.RemoteException
userInfo
- java.rmi.RemoteException
java.lang.String getOptimizationMosAPIBaseURL(UserInfo userInfo) throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getOptimizationMosAPIKey(UserInfo userInfo) throws java.rmi.RemoteException
java.rmi.RemoteException