public class OSOslcJsonSerializer extends OSOslcSerializer implements MosConstants
DROPNULLS, RETAINMBOS
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 |
---|
OSOslcJsonSerializer(java.lang.String osName,
OslcRequest oslcRequest,
boolean leanJson) |
OSOslcJsonSerializer(java.lang.String osName,
OslcRequest oslcRequest,
java.util.Map<java.lang.String,com.ibm.json.java.JSONObject> linkedResourceCache) |
deriveCollectionURIFromMemberURI, getETag, getQueryLimit, isAllowSkipRows, setAddAction, setAddRowStamp, setAllowSkipRows, setIgnoreKeyRef, setInlineAttachment
public OSOslcJsonSerializer(java.lang.String osName, OslcRequest oslcRequest, java.util.Map<java.lang.String,com.ibm.json.java.JSONObject> linkedResourceCache) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public OSOslcJsonSerializer(java.lang.String osName, OslcRequest oslcRequest, boolean leanJson) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setNewMboAction(boolean newMboAction)
public java.lang.String getContentType()
getContentType
in class OSOslcSerializer
public void setIgnoreCollectionRefs(boolean ignoreCollectionRefs)
public void setIgnorePrefixMeta(boolean ignorePrefixMeta)
public OslcResourceResponse serializeWalkUpChildMbo(MboRemote mr) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public OslcResourceResponse serializeResolvedResource(LocalURIResolver.ResolvedResource rr) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setObjectID(com.ibm.json.java.JSONObject mboOjo, MboRemote mbo, MosDetailInfo oslcResInfo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public com.ibm.json.java.JSONObject serializeResourceAsObject(MboIterator mboSet) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public OslcResourceResponse serializeResource(MboIterator mboSet) throws MXException, java.rmi.RemoteException
serializeResource
in class OSOslcSerializer
MXException
java.rmi.RemoteException
public com.ibm.json.java.JSONObject serializeResourceAsObject(Mbo mbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void useThisResourceProperties(java.util.Map<java.lang.String,OslcResourceProperty> resourceProperties)
public OslcResourceResponse serializeAttachment(MboSetRemote attachments, OslcResourceDetailInfo resDetInfo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public OslcResourceResponse serializeAttachment(MboRemote attachment, OslcResourceDetailInfo resDetInfo, boolean meta, boolean thumbNail) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void overrideResourceURI(java.lang.String resURI)
public OslcResourceResponse serializeResource(Mbo mbo) throws MXException, java.rmi.RemoteException
serializeResource
in class OSOslcSerializer
MXException
java.rmi.RemoteException
public boolean isBranchFilterOn()
public boolean isAllowedBranchObject(MboRemote mbo) throws java.rmi.RemoteException
java.rmi.RemoteException
public boolean isAllowedBranchObjectType(java.lang.String mboName) throws java.rmi.RemoteException
java.rmi.RemoteException