public class MosProcess extends java.lang.Object implements MosConstants
Modifier and Type | Field and Description |
---|---|
static MXLogger |
INTEGRATIONLOGGER
Integration logger for logging messages related to MAXIMO startup.
|
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 |
---|
MosProcess()
Construct the set
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDBName()
Return Database Name
|
ObjectStructureCache |
getInterDD()
Return ObjectStructureCache reference
|
OslcRequest |
getJsonRequest() |
java.lang.String[] |
getKeyArray(MicSetInfo info)
Deprecated.
use getKeyArray(MosDetailInfo info)
|
java.lang.String[] |
getKeyArray(java.lang.String name)
Create array of keys from data dictionary
|
java.lang.String |
getMosName()
Return Object Structure name.
|
MboRemote |
getPrimaryMbo()
Return primary mbo for outbound transactions
|
MXTransaction |
getTransaction()
Retern reference to transaction object
|
java.lang.String |
getTransactionAction()
Return action of the transaction
|
UserInfo |
getUserInfo()
Return user info of current instance
|
boolean |
hasInvokedScript(java.util.Map<java.lang.String,java.lang.Object> context) |
boolean |
hasScript() |
boolean |
isMaxVarEQ(java.lang.String maxvarName,
java.lang.String inValue,
java.lang.String orgId,
java.lang.String siteId)
Checks if the passed value in indeed a value of the given maxvar in the
maxvar table or not
|
boolean |
isValueEQ(java.lang.String listName,
java.lang.String inMaxValue,
java.lang.String inValue)
Checks if the passed value in indeed a value of the given listname and
maxvalue combination in valuelist table or not.
|
void |
setJsonRequest(OslcRequest jsonRequest) |
void |
setMosName(java.lang.String mosName)
Set object structure name
|
void |
setOSName(java.lang.String osName) |
void |
setOSPrimaryMbo(MboRemote mbo) |
void |
setUserInfo(UserInfo info)
Set user info of current instance
|
public static final MXLogger INTEGRATIONLOGGER
public MosProcess() throws MXException, java.rmi.RemoteException
MXException
- MAXIMO exceptionjava.rmi.RemoteException
public OslcRequest getJsonRequest()
public void setJsonRequest(OslcRequest jsonRequest)
public void setMosName(java.lang.String mosName)
mosName
- Object Structure NameMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic void setOSName(java.lang.String osName)
public final boolean hasScript()
public final boolean hasInvokedScript(java.util.Map<java.lang.String,java.lang.Object> context)
public void setOSPrimaryMbo(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getMosName() throws MXException
MXException
- MAXIMO exceptionpublic UserInfo getUserInfo() throws MXException, java.rmi.RemoteException
MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic void setUserInfo(UserInfo info) throws MXException, java.rmi.RemoteException
info
- UserInfo ObjectMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic boolean isValueEQ(java.lang.String listName, java.lang.String inMaxValue, java.lang.String inValue) throws MXException, java.rmi.RemoteException
listName
- Give the list name.inMaxValue
- Give the max value value.inValue
- Give the value that you are trying to verify.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic boolean isMaxVarEQ(java.lang.String maxvarName, java.lang.String inValue, java.lang.String orgId, java.lang.String siteId) throws MXException, java.rmi.RemoteException
maxvarName
- Give the max var name whose value is in question.inValue
- Give the max var value that you are trying to verify.orgId
- Organization Id.siteId
- Site Id.MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic ObjectStructureCache getInterDD()
public java.lang.String getDBName() throws MXException, java.rmi.RemoteException
MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic MboRemote getPrimaryMbo() throws MXException, java.rmi.RemoteException
MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic MXTransaction getTransaction() throws MXException, java.rmi.RemoteException
MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic java.lang.String getTransactionAction()
MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic java.lang.String[] getKeyArray(MicSetInfo info) throws MXException, java.rmi.RemoteException
info
- MicSet InfoMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic java.lang.String[] getKeyArray(java.lang.String name) throws MXException, java.rmi.RemoteException
name
- Object nameMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exception