public class RESTUtil extends java.lang.Object implements RestConstants
COMPACT, DROPNULLS, ENDSWITH, EQUALS, EXACTMATCH, EXCLUDECOLS, FILTERDOMAIN, FILTERDOMAIN_ORG, FILTERDOMAIN_SITE, FORM_PARAM_ROWSTAMP, GENERIC, GLCOMP, GRATERTHAN, GRATERTHANEQUALS, INCLUDECOLS, KEYS, LANGCODE, LESSTHAN, LESSTHANEQUALS, LOCALE, LOGINID, LOGINPASSWORD, MAXAUTHTOKEN, MAXITEMS, MAXUSER, METADATA, MXRESTSESSION, NOTEQUALS, OPERATION_PARAM_NS, OPMODEOR, ORDERBY, ORDERBYASC, ORDERBYDESC, PAGE, QUERY_OPERATION, REFRESH_LOCALE, RELATED_ATTRBUTE, RELEASE_RESOURCE_REQUEST, RESOURCE_LOCATOR_ID, REST_LOGGER, RESTSESSION, RETAINMBOS, ROOTONLY, RSSTART, SESSION_OSMSGTYPE, STARTSSWITH, TENANTCODE, TIMEZONE, USE_LOCATION_FOR_CREATE, USE_SESSION_FOR_COLLECTION, USE_TOTAL_COUNT, USER_WHERE, USER_WHERE_POLICY_ALLOW, USER_WHERE_POLICY_BLOCK, USER_WHERE_POLICY_PARSE, USEROWSTAMP, VALIDATE_XML_TEXT, VERBOSE
Constructor and Description |
---|
RESTUtil(ResourceRequest req) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
generateUniqueID() |
static boolean |
getBooleanProperty(java.lang.String propName,
boolean dflt) |
DomainInfo |
getDomainInfo(java.lang.String objectName,
java.lang.String domainName,
java.lang.String siteid,
java.lang.String orgid) |
static int |
getIntegerProperty(java.lang.String propName,
int dflt) |
MboRemote |
getMboForQbe(MboSetRemote mboSet,
java.util.Map<java.lang.String,java.lang.String[]> qbeMap) |
static java.lang.String |
getProperty(java.lang.String propName) |
static java.util.Set<java.lang.String> |
getPropertyValues(java.lang.String propName,
java.lang.String delimiter,
boolean caseSensitive) |
java.util.Date |
interpreteDateExpression(java.lang.String value) |
java.lang.Object |
invokeMethod(AppService maxService,
MethodInfo methodInfo,
java.util.Map<java.lang.String,java.lang.String[]> queryParams,
java.util.Map<java.lang.String,java.lang.String> paramsDescriptorMap,
Resource resource) |
boolean |
isNull(java.lang.String value) |
void |
setQbe(MboSetRemote mboset,
java.util.Map<java.lang.String,java.lang.String[]> map) |
public RESTUtil(ResourceRequest req)
public DomainInfo getDomainInfo(java.lang.String objectName, java.lang.String domainName, java.lang.String siteid, java.lang.String orgid) throws java.rmi.RemoteException
java.rmi.RemoteException
public static java.lang.String generateUniqueID()
public void setQbe(MboSetRemote mboset, java.util.Map<java.lang.String,java.lang.String[]> map) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getMboForQbe(MboSetRemote mboSet, java.util.Map<java.lang.String,java.lang.String[]> qbeMap) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean isNull(java.lang.String value)
public java.lang.Object invokeMethod(AppService maxService, MethodInfo methodInfo, java.util.Map<java.lang.String,java.lang.String[]> queryParams, java.util.Map<java.lang.String,java.lang.String> paramsDescriptorMap, Resource resource) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.util.Date interpreteDateExpression(java.lang.String value) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public static java.util.Set<java.lang.String> getPropertyValues(java.lang.String propName, java.lang.String delimiter, boolean caseSensitive)
public static java.lang.String getProperty(java.lang.String propName)
public static boolean getBooleanProperty(java.lang.String propName, boolean dflt) throws MXApplicationException
MXApplicationException
public static int getIntegerProperty(java.lang.String propName, int dflt) throws MXApplicationException
MXApplicationException