public class MicSetIn extends MosProcessImpl implements MicConstants
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
controlName
Control Name
|
protected java.lang.String |
interfaceName
Service Name
|
protected PreRulesProcessor |
rulesProcessor |
accessModifier, action, actionInd, byteOutputStream, messageType, metaData, processTable, replyRequired, responseMbos, selfRef, struc, targetMbo, targetMbos, targetMboSet, toBeSaved, updatedSet, validOrgSite, writer
apiContext, dbName, hr, INTEGRATIONLOGGER, interDD, mbo, mdi, micsetrel, mosInfo, mosName, mxServer, mxTrans, primaryMbo, primaryMboName, primaryMboSet, scriptName, userInfo
ACTION, ACTION_EJB_LOCAL_REF_KEY, ACTION_EJB_REF_KEY, ACTIONADD, ACTIONADDUPDATE, ACTIONDELETE, ACTIONREPLACE, ACTIONUPDATE, ADD, APPEXPORT, AXISDIR, BYPASS, COMMA_CHAR, COMPLETE, DATATYPE, DELETED, EJB_JNDI_KEY, ENABLEPOLLING, ENTERPRISE_EJB_LOCAL_REF_KEY, ENTERPRISE_EJB_REF_KEY, ERREXTRACT, ERROR, ERRORED, ERRORMESSAGETAG, ERTAG, EXCLUDE, EXTRACT, FILEDIR, FILEEXTENSION, FILENAME, FLAT_DATA, FLAT_ROW, FLATFILESEP, FLATFILETYPE, IFACEDRIVER, IFACEEPDESC, IFACEISREMOTE, IFACEPASSWORD, IFACETABLE, IFACEURL, IFACEUSERNAME, INCLUDE, INTEGRATION_LOGGER, IRTAG, ISCONTINUOUS, JMSRECOVERYDIR, JMSRECOVERYMSGDATAELEMENT, JMSRECOVERYMSGPROPELEMENT, JMSRECOVERYTOPELEMENT, JSONFILETYPE, LOADFLAT, LOADXML, LONGDESCRIPTIONCOLNAME, MAX_AUTH_HEADER, MAX_POST_SIZE, MAXIMO_TYPE, MEA_PROCESS_FLAG, MEAAPPNAME, MESSAGE_DESTINATION, MESSAGE_INTERFACE, MESSAGE_INTERFACE_TABLE, MESSAGE_INTERFACE_TYPE, MESSAGE_OS_NAME, MESSAGE_POLL_TABLE, MESSAGE_SENDER, MOS_EJB_LOCAL_REF_KEY, MOS_EJB_REF_KEY, MSG_ERR_MSG, MSG_KEY_VAL, MSG_OP_MODE, MSG_OPERATION, MSG_STATUS, MSG_TRK_ENABLED, MSG_TRK_EXTSYS, MSG_TRK_STORE_MSG, MXJMS, NONPERSISTENT, NONRESTRICTSETTING, NULL, POLLINGFREQUENCY, PROCESS, PROCESSED, QUEUE_NAME, QUEUECONTEXT, RECEIVED, REJECTED, RESTRICTSETTING, RESTRICTSTRUCTURE, ROOT_NODE, ROUTER_JNDI_NAME, SEARCH_FIELD_VAL, SKIP, SKIPMBO, sNo, sYes, TENANTID, TEXTQUALIFIER, TOPTAGFORERR, TOTAL_GL_COMPS_ALLOWED, TRANSIDSEQ, TXNDATA, UPDATE, USER, USERCOLUMN, VIEW, XML_DATA, XMLFILETYPE, XMLTYPE
ACTION, ACTIONADD, ACTIONADDUPDATE, ACTIONDELETE, ACTIONREPLACE, ACTIONUPDATE, ADAPTER_INSTALL, ADD, ADDATEND, BASELANGUAGE, BYPASS, COMPANYSETID_NAME, COMPLETE, CONFIGFILENAME, CREATIONDATETIME, DELETEFORINSERT, DEPLOYMENT_MANAGER, ENTERPRISE_SERVICE, ERRORTAG, ESCAPECHAR, EVENT, FILTERMBOKEY, INVOKE_CHANNEL, ITEMSETID_NAME, MAXIMO_NS_PREFIX, MAXIMOVERSION, MESSAGEID, MESSAGETYPE_CREATE, MESSAGETYPE_DELETE, MESSAGETYPE_INITIATE, MESSAGETYPE_INVOKE, MESSAGETYPE_MERGE, MESSAGETYPE_PATCH, MESSAGETYPE_PROCESS, MESSAGETYPE_PUBLISH, MESSAGETYPE_QUERY, MESSAGETYPE_RESPONSE, MESSAGETYPE_SYNC, MESSAGETYPE_UPDATE, MESSAGETYPE_WAKEUP, OBJECT_STRUCTURE_SERVICE, ORGID_NAME, OVERRIDEALWAYS, OVERRIDENULLONLY, PROCESS, SITEID_NAME, SKIP, SKIPMBO, SKIPMBOKEY, STANDARD_SERVICE, TRANSLANGUAGE, UPDATE, XSI_NS, XSI_NS_PREFIX
Constructor and Description |
---|
MicSetIn()
Construct the set
|
Modifier and Type | Method and Description |
---|---|
protected void |
applyDMRules(StructureData data,
UserInfo info)
Default method to apply XML rules.
|
protected int |
applyMboRules(MboRemote ruleMbo,
java.lang.String hPath)
Apply Mbo rules for inbound processing
|
protected void |
applyXMLRules()
Apply OS rules for inbound processing
|
protected void |
callMboExit()
Calls Mbo User exits
|
java.lang.String |
getSender()
This method will return Senderid
|
protected byte[] |
processExternalData(StructureData data,
EnterpriseServiceInfo detailInfo,
UserInfo info,
MXTransaction trans,
java.lang.String sender)
Process data coming from external systems.
|
protected byte[] |
processResponse()
Process response for type Create
|
void |
processResponse(StructureData data,
java.lang.String ifaceName,
java.lang.Object target,
int action,
UserInfo info,
MXTransaction mxTrans,
java.util.Map md)
Process response for Invokation Channel.
|
addMbo, afterProcess, afterReplace, buildResponse, buildResponseEnd, checkAdditionalRules, checkBusinessRules, checkBusinessRules, checkDocumnetMaxSize, checkForEsig, checkForUpdate, checkValidateErrors, cleanup, compareMboKeyValues, compareMboKeyValues, copyParentKey, createMboSet, createMboSet, createScriptContext, delete, deleteAll, findOrCreateFauxMboFromRequest, findTargetMbo, getAccessModifier, getAttachmentFileName, getCompanySet, getItemSet, getLanguage, getOrg, getOrgSiteColumn, getSite, isBranchFilterOn, presetMboRules, processExternalData, processMboSet, processObjectStructureService, resetMboSet, save, setAccessModifier, setAdditionalData, setAttachments, setAutokeyFlag, setClassStructureId, setSkipSetFields, setValidOrgSite, skipSelfreferencing, writeAttachments
getDBName, getInterDD, getJsonRequest, getKeyArray, getKeyArray, getMboServer, getMosName, getPrimaryMbo, getTransaction, getTransactionAction, getTranslator, getUserInfo, hasInvokedScript, hasScript, isMaxVarEQ, isRESTEditMode, isSetValueMode, isValueEQ, setJsonRequest, setMosName, setOSName, setOSPrimaryMbo, setUserInfo
protected java.lang.String interfaceName
protected java.lang.String controlName
protected PreRulesProcessor rulesProcessor
public MicSetIn() throws MXException, java.rmi.RemoteException
MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionprotected byte[] processExternalData(StructureData data, EnterpriseServiceInfo detailInfo, UserInfo info, MXTransaction trans, java.lang.String sender) throws MXException, java.rmi.RemoteException
data
- Give refrence to StructureData class with data from external
system.detailInfo
- Give information about service.info
- Give User Info reference.trans
- Give refrence to MAXIMO Transaction object.sender
- Give sender.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic void processResponse(StructureData data, java.lang.String ifaceName, java.lang.Object target, int action, UserInfo info, MXTransaction mxTrans, java.util.Map md) throws MXException, java.rmi.RemoteException
data
- Give refrence to StructureData class.ifaceName
- Give channel name.target
- Give target Mbo or MboSet.action
- Give response action (ADD or UPDATE).info
- Give User Info reference.mxTrans
- Give refrence to MAXIMO Transaction object.md
- Give meta data reference.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionprotected void applyXMLRules() throws MXException, java.rmi.RemoteException
applyXMLRules
in class MosProcessImpl
MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionprotected void applyDMRules(StructureData data, UserInfo info) throws MXException, java.rmi.RemoteException
applyDMRules
in class MosProcessImpl
MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionprotected int applyMboRules(MboRemote ruleMbo, java.lang.String hPath) throws MXException, java.rmi.RemoteException
applyMboRules
in class MosProcessImpl
ruleMbo
- Give Mbo for the current level.hPath
- Give location path.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic java.lang.String getSender()
protected void callMboExit() throws MXException, java.rmi.RemoteException
callMboExit
in class MosProcessImpl
MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionprotected byte[] processResponse() throws MXException, java.rmi.RemoteException
processResponse
in class MosProcessImpl
MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exception