public abstract class BaseExit
extends java.lang.Object
Constructor and Description |
---|
BaseExit()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkStatus(StructureData irData,
java.lang.String sendListName,
java.lang.String orgId,
java.lang.String siteId)
Deprecated.
|
StructureData |
cloneData(StructureData strucData,
java.lang.String namespacePrefix,
java.lang.String namespaceURI,
boolean isIR)
This method clones the given StructureData object and places
the entire document in the given new namespace.
|
java.lang.String |
findMaxVar(java.lang.String varName,
java.lang.String orgId,
java.lang.String siteId)
Get value for a MAXVAR
|
java.lang.String |
findValueList(java.lang.String listName,
java.lang.String maxValue)
Deprecated.
please use the ones which take site org id as parameters.
|
java.lang.String |
findValueList(java.lang.String listName,
java.lang.String maxValue,
java.lang.String siteid,
java.lang.String orgid)
Get value for a MAXVALUE in value list
|
java.lang.String |
getAdapterType()
Deprecated.
|
java.sql.Connection |
getConnection()
Return Connection
|
java.lang.String |
getExtSystem()
Return External System Name
|
java.lang.String |
getIfaceName()
Return a external interface name.
|
ControlsCache |
getMaxIfaceControl()
Return Information about the MicSetUtil
|
MboSetRemote |
getMboSet(java.lang.String name)
Creates MboSet from MXSERVER based on table name
|
java.lang.String |
getMessageType()
Get Message Type.
|
java.lang.String |
getMosName()
Return a MAXIMO integration point name.
|
MXTransaction |
getMXTransaction()
Return a MAXIMO interface name.
|
UserInfo |
getNewUserInfo()
Return new user info of current instance
|
UserInfo |
getUserInfo()
Return user info of current instance
|
void |
initExitsIn(java.lang.String extSystem,
MXTransaction mxTrans,
UserInfo userInfo,
java.lang.String ifaceName,
java.lang.String ifaceType,
java.lang.String intPointName,
java.lang.String messageType) |
void |
initExitsOut(java.lang.String extSystem,
java.lang.String mosName,
java.lang.String ifaceName,
MXTransaction mxTrans,
UserInfo userInfo,
java.lang.String messageType) |
public void initExitsOut(java.lang.String extSystem, java.lang.String mosName, java.lang.String ifaceName, MXTransaction mxTrans, UserInfo userInfo, java.lang.String messageType) throws MXException
MXException
public void initExitsIn(java.lang.String extSystem, MXTransaction mxTrans, UserInfo userInfo, java.lang.String ifaceName, java.lang.String ifaceType, java.lang.String intPointName, java.lang.String messageType)
public java.lang.String getMosName()
MXException
- - MAXIMO exceptionjava.rmi.RemoteException
- - Remote exceptionpublic MXTransaction getMXTransaction()
MXException
- - MAXIMO exceptionjava.rmi.RemoteException
- - Remote exceptionpublic java.lang.String getAdapterType()
MXException
- - MAXIMO exceptionjava.rmi.RemoteException
- - Remote exceptionpublic java.lang.String getIfaceName()
MXException
- - MAXIMO exceptionjava.rmi.RemoteException
- - Remote exceptionpublic java.lang.String getMessageType()
MXException
- - MAXIMO exceptionjava.rmi.RemoteException
- - Remote exceptionpublic UserInfo getUserInfo()
MXException
- - MAXIMO exceptionjava.rmi.RemoteException
- - Remote exceptionpublic UserInfo getNewUserInfo() throws MXException, java.rmi.RemoteException
MXException
- - MAXIMO exceptionjava.rmi.RemoteException
- - Remote exceptionpublic java.lang.String getExtSystem()
public java.sql.Connection getConnection()
public java.lang.String findValueList(java.lang.String listName, java.lang.String maxValue) throws MXException, java.rmi.RemoteException
listName
- - list to searchmaxValue
- - value to search forMXException
- - MAXIMO exceptionjava.rmi.RemoteException
- - Remote exceptionpublic java.lang.String findValueList(java.lang.String listName, java.lang.String maxValue, java.lang.String siteid, java.lang.String orgid) throws MXException, java.rmi.RemoteException
listName
- - list to searchmaxValue
- - value to search forMXException
- - MAXIMO exceptionjava.rmi.RemoteException
- - Remote exceptionpublic java.lang.String findMaxVar(java.lang.String varName, java.lang.String orgId, java.lang.String siteId) throws MXException, java.rmi.RemoteException
varName
- - maxvar to search forMXException
- - MAXIMO exceptionjava.rmi.RemoteException
- - Remote exceptionpublic ControlsCache getMaxIfaceControl() throws MXException
MXException
public MboSetRemote getMboSet(java.lang.String name) throws MXException, java.rmi.RemoteException
name
- - Give name of MboSet (name of underling table).MXException
- - MAXIMO exceptionjava.rmi.RemoteException
- - Remote exceptionpublic boolean checkStatus(StructureData irData, java.lang.String sendListName, java.lang.String orgId, java.lang.String siteId) throws MXException, java.rmi.RemoteException
irData
- StructureData for IR.sendListName
- Name of the XXSEND list.orgId
- orgId for the list controlsiteId
- siteId for the list controlMXException
java.rmi.RemoteException
public StructureData cloneData(StructureData strucData, java.lang.String namespacePrefix, java.lang.String namespaceURI, boolean isIR) throws MXException, java.rmi.RemoteException
1)If you want the new Document to be in the default namespace (i.e., no namespace prefix), then pass in "" (empty string) for the namespace prefix parameter. 2) If you want the document to be in no namespace, then pass in null or "" (empty string) for the namespaceURI parameter. 3) If the new Document (after the namespace switch) is expected to be IR, then pass in true for the isIR parameter, otherwise pass in false. This method always returns a new (cloned) StructureData object.
strucData
- StructureData objectnamespacePrefix
- new namespace prefixnamespaceURI
- new namespace uriisIR
- boolean parameter - true means that the new structure (after
namespace switch) is expected to be IRMXException
java.rmi.RemoteException