public abstract class MboSerializer extends java.lang.Object implements ResourceSerializer
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 |
---|
MboSerializer() |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getLastModified(Resource res) |
int |
getMaxAge(Resource res) |
boolean |
isRequestNoCache(ResourceRequest req) |
boolean |
isResourceCollectionModified(Resource res,
ResourceRequest request) |
boolean |
isUseCache(Resource res,
ResourceRequest req) |
ResourceResponse |
serialize(Resource res,
ResourceRequest req) |
public java.util.Date getLastModified(Resource res) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean isRequestNoCache(ResourceRequest req)
public int getMaxAge(Resource res) throws MXException
MXException
public boolean isUseCache(Resource res, ResourceRequest req) throws MXApplicationException
MXApplicationException
public boolean isResourceCollectionModified(Resource res, ResourceRequest request)
public ResourceResponse serialize(Resource res, ResourceRequest req) throws java.rmi.RemoteException, MXException
serialize
in interface ResourceSerializer
res
- the resource to be serializedreq
- the REST requestjava.rmi.RemoteException
MXException