public interface MicServiceRemote extends AppServiceRemote
Modifier and Type | Method and Description |
---|---|
int |
deleteQueueData(java.lang.String queueName,
java.lang.String selector,
int count,
UserInfo userInfo)
This method will be called from outside to view the messages in a JMS
Queue
|
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) |
MosInfo |
getObjectStructureInfo(java.lang.String objectStructureName)
Get MosInfo for a given Object Structure name.
|
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 from external system.
|
byte[] |
processExternalData(byte[] data,
java.lang.String sender,
java.lang.String serviceName,
UserInfo info,
MXTransaction trans)
Process data comimg from external system.
|
void |
processJMSRecovery(java.lang.String queueName,
UserInfo userInfo) |
byte[] |
processObjectStructureService(byte[] in,
java.lang.String mosName,
java.lang.String messageType,
UserInfo info,
MXTransaction trans)
This method will be called for every MOS to process
External data.
|
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.
|
void |
restart()
This method will be called from outside to reload some objects
|
byte[] |
routeData(byte[] data,
java.lang.String endPointName,
java.util.Map<java.lang.String,?> metaData)
Deplyment manager API to Route Data.
|
void |
tryObjectStructure(java.lang.String mosName,
java.lang.String where) |
void |
viewQueueData(java.lang.String queueName,
java.lang.String selector,
int count,
UserInfo userInfo)
This method will be called from outside to view the messages in a JMS
Queue
|
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<java.lang.String> viewFilesList) |
checkSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUser
isAppService, isSingletonService
int viewQueueData(java.lang.String queueName, java.lang.String selector, int count, UserInfo userInfo, boolean countOnly, java.util.List<java.lang.String> viewFilesList) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
int viewQueueData(java.lang.String queueName, java.lang.String selector, int count, UserInfo userInfo, boolean countOnly) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
int deleteQueueData(java.lang.String queueName, java.lang.String selector, int count, UserInfo userInfo) throws java.rmi.RemoteException, MXException
queueName
- -the JNDI name of the Queueselector
- -the selector for the Queuecount
- -the count of messages to be deleted.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionvoid viewQueueData(java.lang.String queueName, java.lang.String selector, int count, UserInfo userInfo) throws java.rmi.RemoteException, MXException
queueName
- -the JNDI name of the Queueselector
- -the selector for the Queuecount
- -the count of messages to be viewed.userInfo
- -the User Info object.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionvoid restart() throws java.rmi.RemoteException
restart
in interface ServiceRemote
MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionvoid tryObjectStructure(java.lang.String mosName, java.lang.String where) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
byte[] routeData(byte[] data, java.lang.String endPointName, java.util.Map<java.lang.String,?> metaData) throws MXException, java.rmi.RemoteException
data
- byte repersentataion of the dataendPointName
- name of the end pointmetaData
- Map of parametersjava.rmi.RemoteException
MXException
byte[] processObjectStructureService(byte[] in, java.lang.String mosName, java.lang.String messageType, UserInfo info, MXTransaction trans) throws MXException, java.rmi.RemoteException
in
- Give byteArraymosName
- Give name of MOS.messageType
- Give name of operation.info
- Give reference to UserInfo object.trans
- Give MXTransaction object.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionvoid loadSystemData(java.lang.String directory, java.lang.String intLevel, UserInfo userInfo) throws MXException, java.rmi.RemoteException
directory
- Give directory where load files areintLevel
- Lervel of processing.userInfo
- the user details for security validationMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionbyte[] loadData(byte[] in, UserInfo info, MXTransaction trans, java.util.Map defaults) throws MXException, java.rmi.RemoteException
in
- 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 exceptionbyte[] processExternalData(byte[] data, java.lang.String sender, java.lang.String serviceName, 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 exceptionvoid exportData(java.lang.String interfaceName, java.lang.String sender, java.lang.String where, UserInfo userInfo, int maxcount) throws MXException, java.rmi.RemoteException
interfaceName
- Give name of interface.sender
- Give external system name.where
- Give where clause.userInfo
- Give reference to UserInfo object.maxcount
- maximum count to get.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionbyte[] query(byte[] queryXml, java.lang.String serviceName, java.lang.String extSystem, UserInfo userInfo) throws MXException, java.rmi.RemoteException
queryXml
- the query xml in byte[] formatserviceName
- name of the serviceextSystem
- name of the external systemuserInfo
- the UserInfo for user detailsjava.rmi.RemoteException
MXException
byte[] query(byte[] 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.RemoteException
MXException
void processJMSRecovery(java.lang.String queueName, UserInfo userInfo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
void generateMOSServiceSchema(java.lang.String mosName, boolean forceGenerate) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
MosInfo getObjectStructureInfo(java.lang.String objectStructureName) throws java.rmi.RemoteException
java.rmi.RemoteException