public class MicService extends AppService implements MicServiceRemote, MicConstants
| Modifier and Type | Field and Description |
|---|---|
protected static MXLogger |
integrationLogger
Describes Integration Loger
|
ObjectStructureCache |
interDD
Describes Integration Data Dictinary
|
protected static boolean |
micServiceInitDone
Shows if Integration Initilization is done
|
protected java.util.Map |
rowstampMap |
protected java.util.Set |
validUseWithForREST |
currentState, dbManager, INIT, liveObjCount, load, LOAD, mxServer, name, RUN, running, stateCmdList, stateList, STOP, urlACTION, 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, XMLTYPEAPPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, 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 |
|---|
MicService()
Construct the service
|
MicService(MXServer mxServer) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
bidiTransformData(java.util.Map metaData,
byte[] data)
Return data using bidi conversion
|
void |
callIntegrityChecker(java.util.Map options) |
boolean |
checkStatus(StructureData irData,
java.lang.String extSystem,
java.lang.String sendListName,
java.lang.String orgId,
java.lang.String siteId,
boolean sendUpdates)
This method checks status and does the following.
|
void |
configure(java.util.Properties configData)
Configure the AppService.
|
void |
deleteErrorFileAndTableRow(java.util.Map propMap,
boolean inbound,
java.lang.String queueName,
UserInfo userInfo)
Delete the message entry in the error tracking tables.
|
int |
deleteQueueData(java.lang.String queueName,
java.lang.String selector,
int count,
UserInfo userInfo)
Delete the messages in a JMS queue based on selectors and the count
|
void |
exportData(java.lang.String ifaceName,
java.lang.String sender,
java.lang.String where,
java.lang.String orderBy,
int batchSize,
UserInfo userInfo,
int maxcount)
This method will be called from GUI for bulk data loading from MAXIMO to
external system
|
void |
exportData(java.lang.String interfaceName,
java.lang.String sender,
java.lang.String where,
UserInfo userInfo,
int maxcount)
This method will be called from GUI for bulk data loading from MAXIMO to
external system
|
void |
generateMOSServiceSchema(java.lang.String mosName,
boolean forceGenerate)
generates the Object Structure schema
|
byte[] |
getBidiData(byte[] responseBody,
java.lang.String bidiFormat)
Return data using bidi conversion
|
java.lang.String |
getEndPointName(java.lang.String extSysName,
java.lang.String pubChannelName)
Get end point name for external system and publish channel.
|
ObjectStructureCache |
getIntegrationDD()
Get reference to Integration DD.
|
java.lang.String |
getLaunchURL(java.lang.String launchEntryName,
MboRemote mainMbo)
Get Object Structure name base on entity name of the interface table.
|
java.lang.String |
getMEAProperty(java.lang.String propertyName)
Utility method to get a MEA property
|
static boolean |
getMicServiceInitDone() |
MicSetInfo |
getMicSetInfo(java.lang.String mosName,
java.lang.String objname)
Deprecated.
|
UserInfo |
getMonitorUserInfo()
Create new instance of user info for Integration User
|
java.lang.String |
getMosNameForPubChannel(java.lang.String channelName)
Get object structure name for publish channel.
|
UserInfo |
getNewUserInfo()
Create new instance of user info for Integration User
|
java.lang.String |
getNormalizedName(java.lang.String queueName)
Get normalized queue name.
|
MosInfo |
getObjectStructureInfo(java.lang.String objectStructureName)
Get MosInfo for a given Object Structure name.
|
java.lang.String |
getOSNameForIfaceTable(java.lang.String entityName)
Get Object Structure name base on entity name of the interface table.
|
MosDetailInfo |
getPrimaryInfo(java.lang.String mosName)
Get the primary MosDetailInfo
|
java.lang.String |
getQueueToWrite()
Get notification queue name.
|
java.util.Map |
getRowStampMap()
Get row stamps.
|
java.lang.String[] |
getTargetWindow(java.lang.String launchEntryName,
MboRemote mainMbo)
Get Target Window.
|
void |
init()
Init method
|
byte[] |
internalProcessData(byte[] in,
UserInfo info,
MXTransaction trans)
Internal method for Unit Test
This method will be called for every object structure service to process
incoming transactions.
|
byte[] |
internalProcessExternalData(byte[] data,
java.lang.String sender,
java.lang.String ifaceName,
UserInfo info,
MXTransaction trans)
Internal method for Unit Test.
|
void |
invokeChannel(java.lang.String channelName,
MboRemote mbo)
Invoke Invocation Channel.
|
boolean |
isValidUseWith(java.lang.String useWith) |
byte[] |
loadData(byte[] in,
UserInfo info,
MXTransaction trans,
java.util.Map defaults)
This method will be called to load object structure XML data.
|
void |
loadSystemData(java.lang.String directory,
java.lang.String intLevel,
UserInfo userInfo)
Process system data comimg in Maximo format.
|
java.util.List |
populateQueueList(java.util.HashSet validateAgainst,
java.lang.String nqDescription)
Populate JMS queues entries.
|
byte[] |
processExternalData(byte[] data,
java.lang.String sender,
java.lang.String serviceName,
UserInfo info,
MXTransaction trans)
Process data comimg from external system.
|
byte[] |
processExternalData(byte[] data,
java.lang.String sender,
java.lang.String serviceName,
UserInfo info,
MXTransaction trans,
boolean fromQueue)
Process data comimg from external system.
|
void |
processJMSRecovery(java.lang.String queueName,
UserInfo userInfo)
JMS recovery logic
|
protected byte[] |
processObjectStructureData(java.lang.Object docData,
java.lang.String mosName,
java.lang.String messageType,
UserInfo info,
MXTransaction trans)
This method will be called for object structure XML.
|
byte[] |
processObjectStructureService(byte[] in,
java.lang.String mosName,
java.lang.String messageType,
UserInfo info,
MXTransaction trans)
This method will be called for every object structure service to process
incoming transactions.
|
byte[] |
processObjectStructureService(org.jdom2.Document doc,
java.lang.String mosName,
java.lang.String messageType,
UserInfo info,
MXTransaction trans)
This method will be called for every object structure service to process
incoming transactions.
|
long |
processOSLC(byte[] in,
java.lang.String mosName,
java.lang.String messageType,
UserInfo info,
MXTransaction trans,
MboRemote mbo,
java.lang.String format)
Deprecated.
|
long |
processOSLCAsJSON(com.ibm.json.java.JSONArtifact jsonData,
java.lang.String mosName,
java.lang.String messageType,
UserInfo info,
MXTransaction trans,
MboRemote mbo,
java.lang.String format) |
long |
processOSLCAsJSON(com.ibm.json.java.JSONArtifact jsonData,
java.lang.String mosName,
java.lang.String messageType,
UserInfo info,
MXTransaction trans,
MboRemote mbo,
java.lang.String format,
OslcRequest oslcRequest) |
long |
processOSLCJSON(byte[] in,
java.lang.String mosName,
java.lang.String messageType,
UserInfo info,
MXTransaction trans,
MboRemote mbo)
This method will be called for every object structure service to process
incoming transactions.
|
byte[] |
query(byte[] queryXml,
java.lang.String serviceName,
java.lang.String extSystem,
UserInfo userInfo)
Query maximo via query query services.
|
byte[] |
query(byte[] queryXml,
java.lang.String mosName,
UserInfo userInfo)
Query maximo via query objec structure service.
|
byte[] |
query(org.jdom2.Document data,
java.lang.String serviceName,
java.lang.String extSystem,
UserInfo userInfo)
Query maximo via query query services.
|
byte[] |
query(org.jdom2.Document queryXml,
java.lang.String mosName,
UserInfo userInfo)
Query maximo via query objec structure service.
|
void |
refreshIntegrationDD()
Refresh ObjectStructureCache.
|
void |
resetIssuerFlag(UserInfo userInfo,
java.lang.String selector) |
void |
resetWorkscapelayoutCards(UserInfo info) |
byte[] |
routeData(byte[] data,
java.lang.String endPointName,
java.util.Map metaData)
Deplyment manager API to Route Data.
|
void |
syncUsersToMAS(java.lang.String owner,
java.lang.String issuer,
java.lang.String selector)
Sync all users which were not marked as synced in to MAS from manage
|
void |
tryObjectStructure(java.lang.String mosName,
java.lang.String where,
UserInfo userInfo) |
void |
validateFormula(java.lang.String objectName,
UserInfo info,
java.lang.String formula) |
int |
viewKafkaQueueData(QueueConfig config,
java.lang.String selector,
int count,
int start,
UserInfo userInfo,
int partition,
boolean countOnly,
boolean activeOnly,
java.util.List viewFilesList) |
void |
viewQueueData(java.lang.String queueName,
java.lang.String selector,
int count,
UserInfo userInfo)
Dumps all the messages in the JMS queue into a preconfigured folder.
|
int |
viewQueueData(java.lang.String queueName,
java.lang.String selector,
int count,
UserInfo userInfo,
boolean countOnly) |
int |
viewQueueData(java.lang.String queueName,
java.lang.String selector,
int count,
UserInfo userInfo,
boolean countOnly,
java.util.List viewFilesList) |
void |
writeDataToNotificationQueue(MXTransaction mxtran,
java.lang.String eventForUser,
java.util.Map properties,
UserInfo userInfo,
byte[] queueData,
java.lang.String textData,
boolean syntheticEvent)
Write notification to the queue.
|
void |
wsinteraction(java.lang.String interactionName,
MboRemote mbo)
Process Web Service Interaction.
|
checkSecurity, destroy, freeDBConnection, freeMboSet, getCriteria, getCriteriaList, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setName, setProxy, setRunning, setURL, verifyUser, verifyUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrestartcheckSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUserisAppService, isSingletonServicepublic ObjectStructureCache interDD
protected static boolean micServiceInitDone
protected static final MXLogger integrationLogger
protected java.util.Map rowstampMap
protected java.util.Set validUseWithForREST
public MicService()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic MicService(MXServer mxServer) throws java.rmi.RemoteException
mxServer - The "Server Environment" this Service is being created in.java.rmi.RemoteExceptionpublic void configure(java.util.Properties configData)
configure in interface Serviceconfigure in class AppServiceServicepublic void init()
init in interface Serviceinit in class AppServiceServicepublic MosDetailInfo getPrimaryInfo(java.lang.String mosName) throws java.rmi.RemoteException, MXException
mosName - the name of the object structurejava.rmi.RemoteExceptionMXExceptionpublic MicSetInfo getMicSetInfo(java.lang.String mosName, java.lang.String objname) throws java.rmi.RemoteException, MXException
mosName - the name of the integration objectobjname - the name of the objectjava.rmi.RemoteExceptionMXExceptionpublic byte[] routeData(byte[] data,
java.lang.String endPointName,
java.util.Map metaData)
throws MXException,
java.rmi.RemoteException
routeData in interface MicServiceRemotedata - byte repersentataion of the dataendPointName - name of the end pointmetaData - Map of parametersjava.rmi.RemoteExceptionMXExceptionpublic void callIntegrityChecker(java.util.Map options)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void validateFormula(java.lang.String objectName,
UserInfo info,
java.lang.String formula)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void tryObjectStructure(java.lang.String mosName,
java.lang.String where,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
tryObjectStructure in interface MicServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic UserInfo getNewUserInfo() throws MXException, java.rmi.RemoteException
MXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionpublic UserInfo getMonitorUserInfo() throws MXException, java.rmi.RemoteException
MXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionpublic ObjectStructureCache getIntegrationDD()
public byte[] processObjectStructureService(byte[] in,
java.lang.String mosName,
java.lang.String messageType,
UserInfo info,
MXTransaction trans)
throws MXException,
java.rmi.RemoteException
processObjectStructureService in interface MicServiceRemotein - Give byteArraymosName - Give name of object structure.messageType - Give name of operation.info - Give reference to UserInfo object.trans - Give MXTransaction object.MXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionpublic long processOSLCJSON(byte[] in,
java.lang.String mosName,
java.lang.String messageType,
UserInfo info,
MXTransaction trans,
MboRemote mbo)
throws MXException,
java.rmi.RemoteException
in - Give byteArraymosName - Give name of object structure.messageType - Give name of operation.info - Give reference to UserInfo object.trans - Give MXTransaction object.MXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exception@Deprecated
public long processOSLC(byte[] in,
java.lang.String mosName,
java.lang.String messageType,
UserInfo info,
MXTransaction trans,
MboRemote mbo,
java.lang.String format)
throws MXException,
java.rmi.RemoteException
in - Give byteArraymosName - Give name of object structure.messageType - Give name of operation.info - Give reference to UserInfo object.trans - Give MXTransaction object.MXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionpublic boolean isValidUseWith(java.lang.String useWith)
public long processOSLCAsJSON(com.ibm.json.java.JSONArtifact jsonData,
java.lang.String mosName,
java.lang.String messageType,
UserInfo info,
MXTransaction trans,
MboRemote mbo,
java.lang.String format,
OslcRequest oslcRequest)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic long processOSLCAsJSON(com.ibm.json.java.JSONArtifact jsonData,
java.lang.String mosName,
java.lang.String messageType,
UserInfo info,
MXTransaction trans,
MboRemote mbo,
java.lang.String format)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic byte[] processObjectStructureService(org.jdom2.Document doc,
java.lang.String mosName,
java.lang.String messageType,
UserInfo info,
MXTransaction trans)
throws MXException,
java.rmi.RemoteException
doc - Give byteArraymosName - Give name of object structure.messageType - Give name of operation.info - Give reference to UserInfo object.trans - Give MXTransaction object.MXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionpublic byte[] loadData(byte[] in,
UserInfo info,
MXTransaction trans,
java.util.Map defaults)
throws MXException,
java.rmi.RemoteException
loadData in interface MicServiceRemotein - Give byteArrayinfo - Give reference to UserInfo object.trans - Give MXTransaction object.defaults - Map of defult values to skip setting data to Mbo from XML.MXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionpublic byte[] internalProcessData(byte[] in,
UserInfo info,
MXTransaction trans)
throws MXException,
java.rmi.RemoteException
in - Give byteArrayinfo - Give reference to UserInfo object.trans - Give MXTransaction object.MXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionprotected byte[] processObjectStructureData(java.lang.Object docData,
java.lang.String mosName,
java.lang.String messageType,
UserInfo info,
MXTransaction trans)
throws MXException,
java.rmi.RemoteException
docData - Give reference to Jdom documentmosName - Give name of MOS.messageType - Give name of operation.info - Give reference to UserInfo object.mxTrans - Give MXTransaction object.MXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionpublic void refreshIntegrationDD()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic static boolean getMicServiceInitDone()
public java.lang.String getMEAProperty(java.lang.String propertyName)
throws java.rmi.RemoteException
propertyName - the property namejava.rmi.RemoteException - Remote exceptionpublic void generateMOSServiceSchema(java.lang.String mosName,
boolean forceGenerate)
throws java.rmi.RemoteException,
MXException
generateMOSServiceSchema in interface MicServiceRemotemosName - the Object Structure namejava.rmi.RemoteExceptionMXExceptionpublic MosInfo getObjectStructureInfo(java.lang.String objectStructureName) throws java.rmi.RemoteException
getObjectStructureInfo in interface MicServiceRemotejava.rmi.RemoteExceptionpublic void resetWorkscapelayoutCards(UserInfo info) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int viewQueueData(java.lang.String queueName,
java.lang.String selector,
int count,
UserInfo userInfo,
boolean countOnly,
java.util.List viewFilesList)
throws java.rmi.RemoteException,
MXException
viewQueueData in interface MicServiceRemotequeueName - the name of the queueselector - the selector clausecount - the max number of rows to be vieweduserInfo - the authenticated userInfocountOnly - true implies the viewd messages would not be written to a
folder and false otherwise. Note in either case all the messages would be viewed
from the queue - so in case the number of viewed messages is large it will effect the
performance in either case.viewFilesList - List of file names [absolute location] of messages that were viewed.java.rmi.RemoteExceptionMXExceptionpublic int viewQueueData(java.lang.String queueName,
java.lang.String selector,
int count,
UserInfo userInfo,
boolean countOnly)
throws java.rmi.RemoteException,
MXException
viewQueueData in interface MicServiceRemotequeueName - the name of the queueselector - the selector clausecount - the max number of rows to be vieweduserInfo - the authenticated userInfocountOnly - true implies the viewd messages would not be written to a
folder and false otherwise. Note in either case all the messages would be viewed
from the queue - so in case the number of viewed messages is large it will effect the
performance in either case.java.rmi.RemoteExceptionMXExceptionpublic int deleteQueueData(java.lang.String queueName,
java.lang.String selector,
int count,
UserInfo userInfo)
throws java.rmi.RemoteException,
MXException
deleteQueueData in interface MicServiceRemotequeueName - the JNDI name of the queueselector - the messages selector [where clause].count - the count of messages to be deleted. A value of -1 indicates
delete all messages.userInfo - the user details for security validationjava.rmi.RemoteException - Remote exceptionMXException - MAXIMO exceptionpublic void viewQueueData(java.lang.String queueName,
java.lang.String selector,
int count,
UserInfo userInfo)
throws java.rmi.RemoteException,
MXException
viewQueueData in interface MicServiceRemotequeueName - the JNDI name of the queueselector - the messages selector [where clause].count - the count of messages to be viewed. A value of -1 indicates
delete all messages.userInfo - the user details for security validationjava.rmi.RemoteException - Remote exceptionMXException - MAXIMO exceptionpublic int viewKafkaQueueData(QueueConfig config, java.lang.String selector, int count, int start, UserInfo userInfo, int partition, boolean countOnly, boolean activeOnly, java.util.List viewFilesList) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic void loadSystemData(java.lang.String directory,
java.lang.String intLevel,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
loadSystemData in interface MicServiceRemotedirectory - Give directory where load files areintLevel - Lervel of processing.userInfo - the user details for security validationMXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionpublic byte[] processExternalData(byte[] data,
java.lang.String sender,
java.lang.String serviceName,
UserInfo info,
MXTransaction trans)
throws MXException,
java.rmi.RemoteException
processExternalData in interface MicServiceRemotedata - Give data as byte arraysender - Give sender name.ifaceName - Give name of interface.info - Give reference to UserInfo object.trans - Give MXTransaction object.MXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionpublic byte[] processExternalData(byte[] data,
java.lang.String sender,
java.lang.String serviceName,
UserInfo info,
MXTransaction trans,
boolean fromQueue)
throws MXException,
java.rmi.RemoteException
data - Give data as byte arraysender - Give sender name.ifaceName - Give name of service.userInfo - Give reference to UserInfo object.trans - Give MXTransaction object.fromQueue - Give indicator for data coming from queue.MXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionpublic void deleteErrorFileAndTableRow(java.util.Map propMap,
boolean inbound,
java.lang.String queueName,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
propMap - the message propertiesinbound - true for inbound and false for outbound queuesqueueName - the jndi name of the queueuserInfo - the authenticated userMXExceptionjava.rmi.RemoteExceptionpublic byte[] internalProcessExternalData(byte[] data,
java.lang.String sender,
java.lang.String ifaceName,
UserInfo info,
MXTransaction trans)
throws MXException,
java.rmi.RemoteException
data - Give data as byte arraysender - Give sender name.ifaceName - Give name of interface.info - Give reference to UserInfo object.trans - Give MXTransaction object.MXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionpublic void exportData(java.lang.String interfaceName,
java.lang.String sender,
java.lang.String where,
UserInfo userInfo,
int maxcount)
throws MXException,
java.rmi.RemoteException
exportData in interface MicServiceRemoteifaceName - Give name of channel.sender - Give external system name.where - Give where clause.userInfo - Give reference to UserInfo object.MXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionpublic void exportData(java.lang.String ifaceName,
java.lang.String sender,
java.lang.String where,
java.lang.String orderBy,
int batchSize,
UserInfo userInfo,
int maxcount)
throws MXException,
java.rmi.RemoteException
ifaceName - Give name of channel.sender - Give external system name.where - Give where clause.userInfo - Give reference to UserInfo object.MXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionpublic byte[] query(byte[] queryXml,
java.lang.String serviceName,
java.lang.String extSystem,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
query in interface MicServiceRemotedata - the query xml in byte[] formatserviceName - name of the serviceextSystem - name of the external systemuserInfo - the UserInfo for user detailsjava.rmi.RemoteExceptionMXExceptionpublic byte[] query(org.jdom2.Document data,
java.lang.String serviceName,
java.lang.String extSystem,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
data - the query xml in byte[] formatserviceName - name of the serviceextSystem - name of the external systemuserInfo - the UserInfo for user detailsjava.rmi.RemoteExceptionMXExceptionpublic byte[] query(byte[] queryXml,
java.lang.String mosName,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
query in interface MicServiceRemotequeryXml - the query xmlmosName - the object structure nameuserInfo - the UserInfo for user detailsjava.rmi.RemoteExceptionMXExceptionpublic byte[] query(org.jdom2.Document queryXml,
java.lang.String mosName,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
queryXml - the query xmlmosName - the object structure nameuserInfo - the UserInfo for user detailsjava.rmi.RemoteExceptionMXExceptionpublic void processJMSRecovery(java.lang.String queueName,
UserInfo userInfo)
throws java.rmi.RemoteException,
MXException
processJMSRecovery in interface MicServiceRemotequeueName - the JNDI name of the queueuserInfo - the user details for security validationjava.rmi.RemoteExceptionMXExceptionpublic java.lang.String getOSNameForIfaceTable(java.lang.String entityName)
throws java.rmi.RemoteException,
MXException
entityName - entity namejava.rmi.RemoteExceptionMXExceptionpublic java.util.List populateQueueList(java.util.HashSet validateAgainst,
java.lang.String nqDescription)
throws java.rmi.RemoteException
validateAgainst - set of valuesnqDescription - queue descriptionjava.rmi.RemoteExceptionpublic java.lang.String[] getTargetWindow(java.lang.String launchEntryName,
MboRemote mainMbo)
throws java.rmi.RemoteException,
MXApplicationException,
MXException
launchEntryName - launch entry namemainMbo - main mbo referenceMXExceptionjava.rmi.RemoteExceptionMXApplicationExceptionpublic void invokeChannel(java.lang.String channelName,
MboRemote mbo)
throws MXException,
java.rmi.RemoteException
channelName - invoke channel namembo - mbo referenceMXExceptionjava.rmi.RemoteExceptionpublic void wsinteraction(java.lang.String interactionName,
MboRemote mbo)
throws java.rmi.RemoteException,
MXException
interactionName - interaction namembo - mbo referenceMXExceptionjava.rmi.RemoteExceptionpublic byte[] bidiTransformData(java.util.Map metaData,
byte[] data)
throws MXException
MXExceptionpublic byte[] getBidiData(byte[] responseBody,
java.lang.String bidiFormat)
throws MXException
MXExceptionpublic java.lang.String getEndPointName(java.lang.String extSysName,
java.lang.String pubChannelName)
throws java.rmi.RemoteException,
MXException
extSysName - external system namepubChannelName - publish channel nameMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getQueueToWrite()
throws MXException
MXExceptionpublic void writeDataToNotificationQueue(MXTransaction mxtran, java.lang.String eventForUser, java.util.Map properties, UserInfo userInfo, byte[] queueData, java.lang.String textData, boolean syntheticEvent) throws MXException
mxtran - Maximo transactioneventForUser - user nameproperties - map of queue propertiesuserInfo - user infoqueueData - queue datatextData - text datasyntheticEvent - synthetic eventMXExceptionpublic java.lang.String getNormalizedName(java.lang.String queueName)
throws MXException
queueName - queue nameMXExceptionpublic java.lang.String getMosNameForPubChannel(java.lang.String channelName)
throws MXException
channelName - publish channel nameMXExceptionpublic java.lang.String getLaunchURL(java.lang.String launchEntryName,
MboRemote mainMbo)
throws java.rmi.RemoteException,
MXException
entityName - entity nameMXExceptionjava.rmi.RemoteExceptionpublic boolean checkStatus(StructureData irData, java.lang.String extSystem, java.lang.String sendListName, java.lang.String orgId, java.lang.String siteId, boolean sendUpdates) throws MXException, java.rmi.RemoteException
irData - StructureData for IR.extSystem - Name of the External System.sendListName - Name of the XXSEND list.orgId - orgId for the list controlsiteId - siteId for the list controlsendUpdates - indicator to send updatesMXExceptionjava.rmi.RemoteExceptionpublic java.util.Map getRowStampMap()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void syncUsersToMAS(java.lang.String owner,
java.lang.String issuer,
java.lang.String selector)
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic void resetIssuerFlag(UserInfo userInfo, java.lang.String selector) throws MXException
MXException