public abstract class BaseExit
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.sql.Connection |
conn |
protected java.lang.String |
dbName |
protected java.lang.String |
errData |
protected java.lang.String |
extSystem |
protected java.lang.String |
ifaceName |
protected java.lang.String |
ifaceType |
protected static MXLogger |
integrationLogger
Integration Logger
|
protected java.lang.String |
messageType |
protected java.lang.String |
mosName |
protected MXTransaction |
mxTrans |
protected boolean |
primarySystem |
protected UserInfo |
userInfo |
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
|
protected java.lang.String |
getEndPoint()
Gets the end point for Invoke Channel.
|
java.lang.String |
getExtSystem()
Return External System Name
|
java.lang.String |
getIfaceName()
Return a external interface name.
|
ControlsCache |
getMaxIfaceControl()
Return Information about the MicSetUtil
|
protected MboServerInterface |
getMboServer()
Return a reference to the server.
|
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
|
protected byte[] |
getUserResponse()
Gets User response.
|
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) |
protected void |
setEndPoint(java.lang.String endPointName)
Sets end point for Invoke Channel.
|
protected void |
setUserResponse(byte[] resp)
Set User response.
|
protected void |
skipIntegrationObject(StructureData sdata)
Creates MboSet from MXSERVER based on table name
|
protected java.lang.String dbName
protected MXTransaction mxTrans
protected java.lang.String extSystem
protected boolean primarySystem
protected java.sql.Connection conn
protected UserInfo userInfo
protected java.lang.String errData
protected java.lang.String ifaceName
protected java.lang.String ifaceType
protected java.lang.String mosName
protected java.lang.String messageType
protected static final MXLogger integrationLogger
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 exceptionprotected MboServerInterface getMboServer() throws MXException, java.rmi.RemoteException
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 exceptionprotected void skipIntegrationObject(StructureData sdata) throws MXException
sdata
- - Give reference to Structure Data.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
protected void setEndPoint(java.lang.String endPointName)
endPointName
- - Name of teh end pointprotected void setUserResponse(byte[] resp)
resp
- - Propertly fornmatted responseprotected java.lang.String getEndPoint() throws MXException
MXException
protected byte[] getUserResponse() throws MXException
MXException