public class OslcSerializationUtil
extends java.lang.Object
Constructor and Description |
---|
OslcSerializationUtil() |
Modifier and Type | Method and Description |
---|---|
static com.ibm.json.java.JSONObject |
createResource(java.lang.String resourceURI,
boolean leanJson) |
static com.ibm.json.java.JSONObject |
createResourceRef(java.lang.String resourceURI,
boolean leanJson) |
static void |
createResponseInfo(OslcRequest oslcRequest,
com.ibm.json.java.JSONObject rootOjo,
int rsTotal,
boolean nextPage,
boolean leanJson,
boolean bcollectionTotalCount,
boolean hasBookmark,
int pageSize) |
static java.lang.String |
getNextPageURI(OslcRequest oslcRequest,
com.ibm.json.java.JSONObject jo,
int pageSize) |
static java.lang.String |
getPrevPageURI(OslcRequest oslcRequest,
int pageSize) |
static java.lang.String |
resPathToURI(java.util.List<java.lang.String> resPath) |
static void |
serializeAllMboAttributes(com.ibm.json.java.JSONObject mboOjo,
MboRemote mbo,
java.lang.String uri,
boolean dropNulls,
boolean showHidden,
OslcRequest oslcRequest,
boolean setLocalizedRep,
boolean addLocalizedRep) |
static void |
setMboColumnValue(com.ibm.json.java.JSONObject mboOjo,
MboValueInfo mbv,
MboRemote mbo,
java.lang.String alias,
OslcRequest oslcRequest,
boolean setLocalizedRep,
boolean addLocalizedRep) |
public static java.lang.String resPathToURI(java.util.List<java.lang.String> resPath) throws MXException
MXException
public static com.ibm.json.java.JSONObject createResourceRef(java.lang.String resourceURI, boolean leanJson)
public static com.ibm.json.java.JSONObject createResource(java.lang.String resourceURI, boolean leanJson)
public static void createResponseInfo(OslcRequest oslcRequest, com.ibm.json.java.JSONObject rootOjo, int rsTotal, boolean nextPage, boolean leanJson, boolean bcollectionTotalCount, boolean hasBookmark, int pageSize) throws MXException
MXException
public static java.lang.String getNextPageURI(OslcRequest oslcRequest, com.ibm.json.java.JSONObject jo, int pageSize) throws MXException
MXException
public static java.lang.String getPrevPageURI(OslcRequest oslcRequest, int pageSize) throws MXException
MXException
public static void serializeAllMboAttributes(com.ibm.json.java.JSONObject mboOjo, MboRemote mbo, java.lang.String uri, boolean dropNulls, boolean showHidden, OslcRequest oslcRequest, boolean setLocalizedRep, boolean addLocalizedRep) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static void setMboColumnValue(com.ibm.json.java.JSONObject mboOjo, MboValueInfo mbv, MboRemote mbo, java.lang.String alias, OslcRequest oslcRequest, boolean setLocalizedRep, boolean addLocalizedRep) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException