public class IntegrationService extends AppService implements IntegrationServiceRemote
For a detailed description of how Process Control IDs work, see Process Control IDs.
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Hashtable |
mxc
Hashtable for maintaining local cache
|
currentState, dbManager, INIT, liveObjCount, load, LOAD, mxServer, name, RUN, running, stateCmdList, stateList, STOP, urlAPPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix| Constructor and Description |
|---|
IntegrationService() |
IntegrationService(MXServer mxServer) |
| Modifier and Type | Method and Description |
|---|---|
MboSetRemote |
copySystem(java.lang.String fromSysID,
java.lang.String toSysID,
UserInfo userInfo)
Used to add mxcollab data for a new system.
|
MboSetRemote |
deleteSystem(java.lang.String sysID,
java.lang.String indicator,
UserInfo userInfo)
Used to delete mxcollab data for a system.
|
boolean |
getDefaultPCValue(java.lang.String owner1sysid,
java.lang.String owner2sysid,
java.lang.String pcid,
UserInfo userInfo)
Get the default value from the mxcollab table for a specified
owner1sysid, owner2sysid, and pcid.
|
java.lang.String |
getMxSysID(UserInfo userInfo)
get the MXSYSID from MAXVARS
|
boolean |
isPCIDValid(java.lang.String pcid,
UserInfo userInfo)
validates pcid on mxcollabref table
|
java.lang.Object |
put(java.lang.String owner1sysid,
java.lang.String owner2sysid,
java.lang.String pcid,
boolean newvalue)
call this after updating the database to put new mxcollab in hashtable.
|
java.lang.Object |
remove(java.lang.String owner1sysid,
java.lang.String owner2sysid,
java.lang.String pcid)
call this after deleting a record from database to remove entry from hashtable.
|
void |
restart()
Flushes old values out of internal cache
|
boolean |
useIntegrationRules(java.lang.String owner1sysid,
java.lang.String owner2sysid,
java.lang.String pcid,
UserInfo userInfo)
Answers the question "Should I use integration rules?"
|
checkSecurity, configure, destroy, freeDBConnection, freeMboSet, getCriteria, getCriteriaList, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, init, initCriteriaList, isAppService, isRunning, isSingletonService, setName, setProxy, setRunning, setURL, verifyUser, verifyUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUserisAppService, isSingletonServicepublic IntegrationService()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic IntegrationService(MXServer mxServer) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void restart()
throws java.rmi.RemoteException
restart in interface ServiceRemoterestart in class AppServicejava.rmi.RemoteExceptionpublic boolean useIntegrationRules(java.lang.String owner1sysid,
java.lang.String owner2sysid,
java.lang.String pcid,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
False = do normal processing
boolean useIt = useIntegrationRules(owner1sysid, owner2sysid, pcid);
See Process Control IDs.
There is no pcvalue for EXT THISMX PRPAB and people should not be seeking it.
THISMX, THISMX always returns false.
useIntegrationRules in interface IntegrationServiceRemoteowner1sysid - Which table this is derived
from is different for each pcid.owner2sysid - Which table this is derived
from is different for each pcid.pcid - Identifier for the affected process (see
mxcollabref table)userInfo - The UserInfo making the request.MXExceptionjava.rmi.RemoteExceptionIntegrationService.useIntegrationRules(java.lang.String, java.lang.String, java.lang.String, psdi.security.UserInfo)public java.lang.Object put(java.lang.String owner1sysid,
java.lang.String owner2sysid,
java.lang.String pcid,
boolean newvalue)
throws MXException,
java.rmi.RemoteException
put in interface IntegrationServiceRemotenewvalue - owner1sysid - owner2sysid - pcid - MXExceptionjava.rmi.RemoteExceptionIntegrationService.put(java.lang.String, java.lang.String, java.lang.String, boolean)public java.lang.Object remove(java.lang.String owner1sysid,
java.lang.String owner2sysid,
java.lang.String pcid)
throws MXException,
java.rmi.RemoteException
remove in interface IntegrationServiceRemoteowner1sysid - owner2sysid - pcid - MXExceptionjava.rmi.RemoteExceptionIntegrationService.remove(java.lang.String, java.lang.String, java.lang.String)public MboSetRemote copySystem(java.lang.String fromSysID, java.lang.String toSysID, UserInfo userInfo) throws MXException, java.rmi.RemoteException
copySystem in interface IntegrationServiceRemotetoSysID - The new system being copied to.fromSysID - The system being copied from.userInfo - The UserInfo making the request.MXExceptionjava.rmi.RemoteExceptionIntegrationService.copySystem(java.lang.String, java.lang.String, psdi.security.UserInfo)public MboSetRemote deleteSystem(java.lang.String sysID, java.lang.String indicator, UserInfo userInfo) throws MXException, java.rmi.RemoteException
deleteSystem in interface IntegrationServiceRemoteindicator - "OWNER1", "OWNER2", or "BOTH"sysID - userInfo - The UserInfo making the request.MXExceptionjava.rmi.RemoteExceptionIntegrationService.deleteSystem(java.lang.String, java.lang.String, psdi.security.UserInfo)public java.lang.String getMxSysID(UserInfo userInfo) throws MXException, java.rmi.RemoteException
getMxSysID in interface IntegrationServiceRemoteMXExceptionjava.rmi.RemoteExceptionIntegrationService.getMxSysID(psdi.security.UserInfo)public boolean isPCIDValid(java.lang.String pcid,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
isPCIDValid in interface IntegrationServiceRemotepcid - userInfo - The UserInfo making the request.MXExceptionjava.rmi.RemoteExceptionIntegrationService.isPCIDValid(java.lang.String, psdi.security.UserInfo)public boolean getDefaultPCValue(java.lang.String owner1sysid,
java.lang.String owner2sysid,
java.lang.String pcid,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
getDefaultPCValue in interface IntegrationServiceRemoteowner1sysid - owner2sysid - pcid - userInfo - The UserInfo making the request.MXExceptionjava.rmi.RemoteExceptionIntegrationService.getDefaultPCValue(java.lang.String, java.lang.String, java.lang.String, psdi.security.UserInfo)