public class MOSStAXStructure extends StAXStructure
| Modifier and Type | Field and Description |
|---|---|
static int |
WRITE_ALL |
static int |
WRITE_KEYS |
static int |
WRITE_SKIP |
binaryText, bo, dropNullCols, externalWriter, integrationLogger, INTEGRATIONLOGGER, localizedRep, oslcRequest, outputFactory, retainMbos, userInfo, useRowStamp, useScientificNotation, validateXMLText, writerACTION, 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 |
|---|
MOSStAXStructure(java.util.Map defnMetaData,
java.lang.String mosName,
boolean retainMbos,
boolean updatesOnly) |
MOSStAXStructure(java.util.Map defnMetaData,
java.lang.String mosName,
boolean event,
boolean retainMbos,
java.lang.String operationName,
boolean response,
boolean updatesOnly) |
MOSStAXStructure(java.util.Map defnMetaData,
java.lang.String mosName,
boolean event,
java.lang.String operationName,
boolean response) |
MOSStAXStructure(java.lang.String defClassName,
java.util.Map defnMetaData,
java.lang.String mosName,
boolean event,
boolean retainMbos,
boolean ignoreActions,
java.lang.String operationName,
boolean response,
boolean updatesOnly) |
MOSStAXStructure(java.lang.String defClassName,
java.util.Map defnMetaData,
java.lang.String mosName,
boolean event,
boolean retainMbos,
boolean ignoreActions,
java.lang.String operationName,
boolean response,
boolean updatesOnly,
java.lang.String inputAction) |
MOSStAXStructure(java.lang.String defClassName,
java.util.Map defnMetaData,
java.lang.String mosName,
boolean event,
boolean retainMbos,
boolean ignoreActions,
java.lang.String operationName,
boolean response,
boolean updatesOnly,
java.lang.String inputAction,
boolean dropNullCols) |
MOSStAXStructure(java.lang.String defClassName,
java.util.Map defnMetaData,
java.lang.String mosName,
boolean event,
boolean retainMbos,
java.lang.String operationName,
boolean response,
boolean updatesOnly) |
MOSStAXStructure(java.lang.String defClassName,
java.util.Map defnMetaData,
java.lang.String mosName,
boolean event,
java.lang.String operationName,
boolean response) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addObjectExtensibilityAttributes(MboRemote mbo) |
protected void |
applyFilterMbosetExpr(MboSetRemote childMboSet) |
protected int |
createStructure(MboRemote mbo,
MosDetailInfo info,
boolean headerObject,
java.util.Map resourceProperties) |
protected byte[] |
createXML(MboIterator mboSet,
int startIndex,
int maxCount)
Create the outbound XML.
|
protected byte[] |
createXML(MboRemote mbo,
boolean asSet) |
boolean |
evaluateMboXmlType() |
protected java.lang.String |
getAction(MboRemote mbo,
boolean headerObject)
This will return the action indicator depending on mbo action and
updatesonly flag for the integration point
|
protected java.util.Map |
getDefinitionMetadata(java.util.Map defnMetaData)
Get definition meta data
|
protected int |
getMboXmlType(MboRemote mbo,
MosDetailInfo info,
boolean evaluateXmlType) |
MosDefinitionImpl |
getMosDefinitionImpl() |
int |
getSerializedMboCount() |
java.util.List |
getUsedMboList() |
protected void |
init(MboRemote mbo,
javax.xml.stream.XMLStreamWriter writer,
java.util.Map externalPrefixNSMap) |
protected void |
initSerialization(MboSetRemote mboOrSet) |
protected boolean |
isActionDelete(MboRemote mbo)
Check if the action is delete
|
protected boolean |
isActionInsert(MboRemote mbo)
Check if the action is add/insert
|
protected boolean |
isActionUpdate(MboRemote mbo)
Check if the action is update
|
boolean |
isAllowSkipRows() |
void |
setAllowEmptyXML(boolean emptyXML) |
void |
setAllowSkipRows(boolean allowSkipRows) |
void |
setEvaluateMboXmlType(boolean evaluateXMLType) |
void |
setInitialResolvedCount(int initialResolvedCount) |
protected void |
setMboActionAttribute(MboRemote mbo,
boolean headerObject) |
void |
setProcessAsSelfRefRelName(java.lang.String relName,
boolean allowSelfRefDup) |
void |
setResolvedStartCount(int resolvedStartCount) |
void |
setResolvedTotalCount(int resolvedTotalCount) |
void |
setResourceProperties(java.util.Map resourceProperties) |
void |
setTotalCount(java.lang.Integer totCount) |
addExtensibilityAttributes, init, isGLCompRequired, isMaxValueRequired, isRequiresChangeIndicator, isUseRowStamp, isUseTotalCount, isValidateXMLText, serializeMbo, serializeMbo, serializeMboArray, serializeMboArray, serializeMboArray, serializeMboAsSet, serializeMboAsSet, serializeMboIterator, serializeMboIterator, serializeMboIterator, serializeMboList, serializeMboList, serializeMboList, serializeMboSet, serializeMboSet, serializeMboSet, setAllowBinaryText, setDefaultNS, setJsonRequest, setLocalizedRep, setMboColumnElement, setUseRowStamp, setXSINS, useMboValueForSendersysid, writeCharacters, writeDefaultNS, writeXSINSpublic static final int WRITE_ALL
public static final int WRITE_SKIP
public static final int WRITE_KEYS
public MOSStAXStructure(java.util.Map defnMetaData,
java.lang.String mosName,
boolean event,
boolean retainMbos,
java.lang.String operationName,
boolean response,
boolean updatesOnly)
throws MXException
defnMetaData - the Metadata for serializationmosName - the object structure nameevent - true implies that this request for serialization is based on an Mbo eventretainMbos - if set to true will not discard the Mbos that are being serialized.operationName - the operation nameresponse - true if serilization needs to be done for response of the operationupdatesOnly - send only updated fields out if set to true.MXExceptionpublic MOSStAXStructure(java.lang.String defClassName,
java.util.Map defnMetaData,
java.lang.String mosName,
boolean event,
boolean retainMbos,
java.lang.String operationName,
boolean response,
boolean updatesOnly)
throws MXException
defClassName - the object structure defintion class name. This is the call back class for OS xml creation.defnMetaData - the Metadata for serializationmosName - the object structure nameevent - true implies that this request for serialization is based on an Mbo eventretainMbos - if set to true will not discard the Mbos that are being serialized.operationName - the operation nameresponse - true if serilization needs to be done for response of the operationupdatesOnly - send only updated fields out if set to true.MXExceptionpublic MOSStAXStructure(java.lang.String defClassName,
java.util.Map defnMetaData,
java.lang.String mosName,
boolean event,
boolean retainMbos,
boolean ignoreActions,
java.lang.String operationName,
boolean response,
boolean updatesOnly)
throws MXException
defClassName - the object structure defintion class name. This is the call back class for OS xml creation.defnMetaData - the Metadata for serializationmosName - the object structure nameevent - true implies that this request for serialization is based on an Mbo eventretainMbos - if set to true will not discard the Mbos that are being serialized.operationName - the operation nameresponse - true if serilization needs to be done for response of the operationupdatesOnly - send only updated fields out if set to true.MXExceptionpublic MOSStAXStructure(java.lang.String defClassName,
java.util.Map defnMetaData,
java.lang.String mosName,
boolean event,
boolean retainMbos,
boolean ignoreActions,
java.lang.String operationName,
boolean response,
boolean updatesOnly,
java.lang.String inputAction)
throws MXException
defClassName - the object structure defintion class name. This is the call back class for OS xml creation.defnMetaData - the Metadata for serializationmosName - the object structure nameevent - true implies that this request for serialization is based on an Mbo eventretainMbos - if set to true will not discard the Mbos that are being serialized.operationName - the operation nameresponse - true if serilization needs to be done for response of the operationupdatesOnly - send only updated fields out if set to true.MXExceptionpublic MOSStAXStructure(java.lang.String defClassName,
java.util.Map defnMetaData,
java.lang.String mosName,
boolean event,
boolean retainMbos,
boolean ignoreActions,
java.lang.String operationName,
boolean response,
boolean updatesOnly,
java.lang.String inputAction,
boolean dropNullCols)
throws MXException
defClassName - the object structure defintion class name. This is the call back class for OS xml creation.defnMetaData - the Metadata for serializationmosName - the object structure nameevent - true implies that this request for serialization is based on an Mbo eventignoreActions - true implies that this request for serialization will ignore all Mbo actions even if the Mbos are modifiedretainMbos - if set to true will not discard the Mbos that are being serialized.operationName - the operation nameresponse - true if serilization needs to be done for response of the operationupdatesOnly - send only updated fields out if set to true.dropNullCols - drops null value clumns from xml if this is set to true.MXExceptionpublic MOSStAXStructure(java.util.Map defnMetaData,
java.lang.String mosName,
boolean retainMbos,
boolean updatesOnly)
throws MXException
defnMetaData - the Metadata for serializationmosName - the object structure nameretainMbos - if set to true will not discard the Mbos that are being serialized.updatesOnly - send only updated fields out if set to true.MXExceptionpublic MOSStAXStructure(java.lang.String defClassName,
java.util.Map defnMetaData,
java.lang.String mosName,
boolean event,
java.lang.String operationName,
boolean response)
throws MXException
defClassName - the object structure defintion class name. This is the call back class for OS xml creation.defnMetaData - the Metadata for serializationmosName - the object structure nameevent - true implies that this request for serialization is based on an Mbo eventoperationName - the operation nameresponse - true if serilization needs to be done for response of the operationMXExceptionpublic MOSStAXStructure(java.util.Map defnMetaData,
java.lang.String mosName,
boolean event,
java.lang.String operationName,
boolean response)
throws MXException
defnMetaData - the Metadata for serializationmosName - the object structure nameevent - true implies that this request for serialization is based on an Mbo eventoperationName - the operation nameresponse - true if serilization needs to be done for response of the operationMXExceptionpublic void setProcessAsSelfRefRelName(java.lang.String relName,
boolean allowSelfRefDup)
public void setResourceProperties(java.util.Map resourceProperties)
public void setAllowEmptyXML(boolean emptyXML)
public void setEvaluateMboXmlType(boolean evaluateXMLType)
public boolean evaluateMboXmlType()
public void setAllowSkipRows(boolean allowSkipRows)
public boolean isAllowSkipRows()
public MosDefinitionImpl getMosDefinitionImpl()
public java.util.List getUsedMboList()
public int getSerializedMboCount()
protected void init(MboRemote mbo, javax.xml.stream.XMLStreamWriter writer, java.util.Map externalPrefixNSMap) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void setMboActionAttribute(MboRemote mbo, boolean headerObject) throws java.rmi.RemoteException, javax.xml.stream.XMLStreamException
java.rmi.RemoteExceptionjavax.xml.stream.XMLStreamExceptionprotected void applyFilterMbosetExpr(MboSetRemote childMboSet) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionprotected int getMboXmlType(MboRemote mbo, MosDetailInfo info, boolean evaluateXmlType) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionprotected int createStructure(MboRemote mbo, MosDetailInfo info, boolean headerObject, java.util.Map resourceProperties) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected void addObjectExtensibilityAttributes(MboRemote mbo) throws java.rmi.RemoteException, MXException, javax.xml.stream.XMLStreamException
java.rmi.RemoteExceptionMXExceptionjavax.xml.stream.XMLStreamExceptionprotected byte[] createXML(MboRemote mbo, boolean asSet) throws MXException, java.rmi.RemoteException
createXML in class StAXStructurembo - the Mbo to serializeasSet - if set to true will serialize this Mbo as a MboSet with one Mbo.MXExceptionjava.rmi.RemoteExceptionpublic void setTotalCount(java.lang.Integer totCount)
protected byte[] createXML(MboIterator mboSet, int startIndex, int maxCount) throws MXException, java.rmi.RemoteException
createXML in class StAXStructuremboSet - mboSetstartIndex - the start index of the mboSetmaxCount - the maximum number of records to be sent outMXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionprotected java.lang.String getAction(MboRemote mbo, boolean headerObject) throws java.rmi.RemoteException
mbo - the mboheaderObject - true if its the root objectMXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionprotected boolean isActionInsert(MboRemote mbo) throws java.rmi.RemoteException
java.rmi.RemoteExceptionprotected boolean isActionUpdate(MboRemote mbo) throws java.rmi.RemoteException
java.rmi.RemoteExceptionprotected boolean isActionDelete(MboRemote mbo) throws java.rmi.RemoteException
java.rmi.RemoteExceptionprotected java.util.Map getDefinitionMetadata(java.util.Map defnMetaData)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void setResolvedTotalCount(int resolvedTotalCount)
public void setInitialResolvedCount(int initialResolvedCount)
public void setResolvedStartCount(int resolvedStartCount)
protected void initSerialization(MboSetRemote mboOrSet) throws java.rmi.RemoteException, MXException
initSerialization in class StAXStructurejava.rmi.RemoteExceptionMXException