public class IntegrationService extends AppService implements IntegrationServiceRemote
For a detailed description of how Process Control IDs work, see Process Control IDs.
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, 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, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, init, initCriteriaList, isAppService, isRunning, isSingletonService, setProxy, setRunning, setURL, verifyUser, verifyUser
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUser
isAppService, isSingletonService
public IntegrationService() throws java.rmi.RemoteException
java.rmi.RemoteException
public IntegrationService(MXServer mxServer) throws java.rmi.RemoteException
java.rmi.RemoteException
public void restart() throws java.rmi.RemoteException
restart
in interface ServiceRemote
restart
in class AppService
java.rmi.RemoteException
public 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 IntegrationServiceRemote
owner1sysid
- 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.MXException
java.rmi.RemoteException
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 IntegrationServiceRemote
newvalue
- owner1sysid
- owner2sysid
- pcid
- MXException
java.rmi.RemoteException
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 IntegrationServiceRemote
owner1sysid
- owner2sysid
- pcid
- MXException
java.rmi.RemoteException
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 IntegrationServiceRemote
toSysID
- The new system being copied to.fromSysID
- The system being copied from.userInfo
- The UserInfo making the request.MXException
java.rmi.RemoteException
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 IntegrationServiceRemote
indicator
- "OWNER1", "OWNER2", or "BOTH"sysID
- userInfo
- The UserInfo making the request.MXException
java.rmi.RemoteException
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 IntegrationServiceRemote
MXException
java.rmi.RemoteException
getMxSysID(psdi.security.UserInfo)
public boolean isPCIDValid(java.lang.String pcid, UserInfo userInfo) throws MXException, java.rmi.RemoteException
isPCIDValid
in interface IntegrationServiceRemote
pcid
- userInfo
- The UserInfo making the request.MXException
java.rmi.RemoteException
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 IntegrationServiceRemote
owner1sysid
- owner2sysid
- pcid
- userInfo
- The UserInfo making the request.MXException
java.rmi.RemoteException
getDefaultPCValue(java.lang.String, java.lang.String, java.lang.String, psdi.security.UserInfo)