public class JSONSystemResourceGenerator
extends java.lang.Object
Constructor and Description |
---|
JSONSystemResourceGenerator(OslcRequest request) |
Modifier and Type | Method and Description |
---|---|
com.ibm.json.java.JSONArray |
addNPSInfo(UserInfo userInfo) |
byte[] |
generateResource() |
com.ibm.json.java.JSONObject |
personUser(java.lang.String osName) |
byte[] |
personUser(UserInfo userInfo) |
com.ibm.json.java.JSONArray |
tenantUsage(UserInfo userInfo) |
com.ibm.json.java.JSONObject |
whoami(UserInfo userInfo) |
public JSONSystemResourceGenerator(OslcRequest request)
public byte[] generateResource() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public com.ibm.json.java.JSONArray tenantUsage(UserInfo userInfo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public com.ibm.json.java.JSONObject whoami(UserInfo userInfo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public com.ibm.json.java.JSONArray addNPSInfo(UserInfo userInfo) throws java.rmi.RemoteException, java.sql.SQLException
java.rmi.RemoteException
java.sql.SQLException
public com.ibm.json.java.JSONObject personUser(java.lang.String osName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public byte[] personUser(UserInfo userInfo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException