public class RMEventBase
extends org.springframework.extensions.webscripts.DeclarativeWebScript
| Constructor and Description |
|---|
RMEventBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCheck(String key,
String msg)
Helper method for checking the key (e.g.
|
protected String |
getValue(org.json.JSONObject json,
String key)
Helper method for getting the value for a key from a JSON object
|
execute, executeFinallyImpl, executeImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateaddModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toStringprotected String getValue(org.json.JSONObject json, String key) throws org.json.JSONException
json - The request content as JSON objectkey - The key for which the value should be retrieved (e.g. "eventName")org.json.JSONException - If there is no string value for the keyCopyright © 2005–2018 Alfresco Software. All rights reserved.