public class MaxAPProcess extends StatefulMicSetIn
set
INTEGRATIONLOGGER
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, INTEGRATION_LOGGER, IRTAG, ISCONTINUOUS, JMSRECOVERYDIR, JMSRECOVERYMSGDATAELEMENT, JMSRECOVERYMSGPROPELEMENT, JMSRECOVERYTOPELEMENT, 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 |
---|
MaxAPProcess()
Construct the set
|
Modifier and Type | Method and Description |
---|---|
void |
changeStatus(MboRemote setMbo,
java.lang.String stat,
java.lang.String memo)
Call actual ctatus change in Mbo.
|
int |
checkBusinessRules()
For reversal type invoices there should always be a reversal reason, if not throw exception.
|
int |
checkBusinessRules(MboSetRemote mboSet,
java.lang.String tableName)
Method to call back and find out can we process
data from specific table.
|
void |
checkValidateErrors()
Default method to check all validation errors
and try to fix it
|
boolean |
compareMboKeyValues(MboSetRemote mboSet,
MosDetailInfo mdi,
java.lang.String[] keys)
Default method to try to find in memory MBO with the keys matched
with XML data for the currebt level
|
void |
deleteAll(MboRemote owner,
MboSetRemote mboSet)
Default method to call back delete all Mbo's in MboSet
|
int |
presetMboRules()
Default method to call back and find out do we need to set data.
|
void |
setAdditionalData(MboSetRemote mboSet,
java.lang.String tableName)
Call back method to set all values which was not set.
|
afterProcess, checkAdditionalRules, checkForUpdate, processStatefulSet, unapprove
getSender, processResponse
addMbo, afterReplace, checkDocumnetMaxSize, cleanup, compareMboKeyValues, createMboSet, createMboSet, delete, findTargetMbo, getAccessModifier, getAttachmentFileName, getCompanySet, getItemSet, getLanguage, getOrg, getSite, processExternalData, processMboSet, processObjectStructureService, resetMboSet, save, setAccessModifier, setAttachments, setAutokeyFlag, setValidOrgSite, writeAttachments
getDBName, getInterDD, getKeyArray, getKeyArray, getMosName, getPrimaryMbo, getTransaction, getTransactionAction, getUserInfo, hasInvokedScript, hasScript, isMaxVarEQ, isValueEQ, setOSName, setOSPrimaryMbo, setUserInfo
public MaxAPProcess() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int checkBusinessRules(MboSetRemote mboSet, java.lang.String tableName) throws MXException, java.rmi.RemoteException
checkBusinessRules
in class MosProcessImpl
mboSet
- - The MboSet for the current processing tabletableName
- - Give name of process MAXIMO tableMXException
- - MAXIMO exceptionjava.rmi.RemoteException
- - Remote exceptionpublic void deleteAll(MboRemote owner, MboSetRemote mboSet) throws MXException, java.rmi.RemoteException
MosProcessImpl
deleteAll
in class MosProcessImpl
owner
- Give reference to parent Mbo.mboSet
- Give MboSet for the current level.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic int presetMboRules() throws MXException, java.rmi.RemoteException
MosProcessImpl
presetMboRules
in class MosProcessImpl
MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic boolean compareMboKeyValues(MboSetRemote mboSet, MosDetailInfo mdi, java.lang.String[] keys) throws MXException, java.rmi.RemoteException
compareMboKeyValues
in class MosProcessImpl
mboSet
- Give reverence to current MboSetmicInfo
- The integration object infokeys
- Keys of the objectMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic void checkValidateErrors() throws MXException, java.rmi.RemoteException
checkValidateErrors
in class MosProcessImpl
errors
- Give Hastable with all errorsMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic void setAdditionalData(MboSetRemote mboSet, java.lang.String tableName) throws MXException, java.rmi.RemoteException
setAdditionalData
in class MosProcessImpl
mboSet
- The MboSet of the currently processed mbo.objectName
- the name of the currently processed mbo.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic void changeStatus(MboRemote setMbo, java.lang.String stat, java.lang.String memo) throws MXException, java.rmi.RemoteException
changeStatus
in class StatefulMicSetIn
setMbo
- Mbo to change statusstat
- new statusmemo
- status change memoMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic int checkBusinessRules() throws MXException, java.rmi.RemoteException
checkBusinessRules
in class MosProcessImpl
MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exception