public class MosDefinitionImpl extends MosProcess
INTEGRATIONLOGGER
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 |
---|
MosDefinitionImpl() |
Modifier and Type | Method and Description |
---|---|
int |
checkBusinessRules(MboRemote mbo,
MosDetailInfo mosDetInfo,
java.util.Map<java.lang.String,java.lang.Object> ovrdColValueMap)
Default method to call back and find out can we process data from
specific table.
|
boolean |
forceDiscardChildMboSet(boolean event,
MboSetRemote mboSet,
MosDetailInfo msd)
This will give developers a chance to discard child mbosets in a os graph selctively when
the publish channel using this os has retainmbos set to true.
|
java.util.Set<java.lang.String> |
getColumnsToSkip(MboRemote mbo) |
void |
postSerializationRules(MboRemote mbo,
MosDetailInfo mosDetInfo)
Override this method for doing custom rules after the
mbo has be serialized. |
void |
scriptOverrideRules(MboRemote mbo,
MosDetailInfo mosDetInfo,
java.util.Map<java.lang.String,java.lang.Object> ovrdColValueMap) |
java.util.Set<java.lang.String> |
scriptSkipColRules(MboRemote mbo,
MosDetailInfo mosDetInfo,
java.util.Set<java.lang.String> skipCols) |
int |
scriptSkipMboRules(MboRemote mbo,
MosDetailInfo mosDetInfo) |
byte[] |
serializationEnd(byte[] serializedData) |
void |
setDefinitionMetaData(java.util.Map<java.lang.String,?> defnMetaData) |
getDBName, getInterDD, getKeyArray, getKeyArray, getMosName, getPrimaryMbo, getTransaction, getTransactionAction, getUserInfo, hasInvokedScript, hasScript, isMaxVarEQ, isValueEQ, setOSName, setOSPrimaryMbo, setUserInfo
public MosDefinitionImpl() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setDefinitionMetaData(java.util.Map<java.lang.String,?> defnMetaData)
defnMetaData
- the metaData for creating xmlpublic boolean forceDiscardChildMboSet(boolean event, MboSetRemote mboSet, MosDetailInfo msd)
event
- whether its an event based serializationmboSet
- the child mboset to be force discardedmsd
- the os config object represneting the child mbosetpublic final int scriptSkipMboRules(MboRemote mbo, MosDetailInfo mosDetInfo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public final void scriptOverrideRules(MboRemote mbo, MosDetailInfo mosDetInfo, java.util.Map<java.lang.String,java.lang.Object> ovrdColValueMap) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public final java.util.Set<java.lang.String> scriptSkipColRules(MboRemote mbo, MosDetailInfo mosDetInfo, java.util.Set<java.lang.String> skipCols) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int checkBusinessRules(MboRemote mbo, MosDetailInfo mosDetInfo, java.util.Map<java.lang.String,java.lang.Object> ovrdColValueMap) throws MXException, java.rmi.RemoteException
mbo
- the current processing mboMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic void postSerializationRules(MboRemote mbo, MosDetailInfo mosDetInfo) throws MXException, java.rmi.RemoteException
mbo
has be serialized.mbo
- the mbo that has just been serialized.mosDetInfo
- the MosDetailInfo corresponding to that mbo
.MXException
java.rmi.RemoteException
public java.util.Set<java.lang.String> getColumnsToSkip(MboRemote mbo) throws MXException, java.rmi.RemoteException
mbo
- the Mbo that will be serialized to xmlMXException
java.rmi.RemoteException
public byte[] serializationEnd(byte[] serializedData) throws MXException
MXException