public class ResourceWebScriptPut extends AbstractResourceWebScript implements ParamsExtractor, RecognizedParamsExtractor, RequestReader
helper, locator
assistant, encryptTempFiles, maxContentSize, memoryThreshold, streamFactory, tempDirectoryName, transactionService
KNOWN_PARAMS, PARAM_FILTER_FIELDS, PARAM_FILTER_PROPERTIES, PARAM_INCLUDE, PARAM_INCLUDE_SOURCE_ENTITY, PARAM_ORDERBY, PARAM_PAGING_MAX, PARAM_PAGING_SKIP, PARAM_RELATIONS, PARAM_SELECT, PARAM_WHERE
CACHE_NEVER, DEFAULT_JSON_CONTENT, DEFAULT_SUCCESS, UTF8
Constructor and Description |
---|
ResourceWebScriptPut() |
Modifier and Type | Method and Description |
---|---|
Object |
executeAction(ResourceWithMetadata resource,
Params params,
WithResponse withResponse)
Executes the action on the resource
|
Params |
extractParams(ResourceMetadata resourceMeta,
org.springframework.extensions.webscripts.WebScriptRequest req) |
execute, execute, getHttpMethod, setHelper, setHttpMethod, setLocator, setParamsExtractor, setStreamer, streamResponse
execute, getRequest, getResponse, init, setAssistant, setEncryptTempFiles, setMaxContentSize, setMemoryThreshold, setStreamFactory, setTempDirectoryName, setTransactionService
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getHttpMethod
findPaging, getClause, getFilter, getFilter, getIncludeClause, getPaging, getRecognizedParams, getRelationFilter, getRequestParameters, getSelectClause, getSort, getWhereClause, rpeLogger
extractJsonContent, extractJsonContentAsList, rrLogger
renderErrorResponse, renderException, renderJsonResponse, resWriterLogger, setContentInfoOnResponse, setResponse, setResponse
public Params extractParams(ResourceMetadata resourceMeta, org.springframework.extensions.webscripts.WebScriptRequest req)
extractParams
in interface ParamsExtractor
public Object executeAction(ResourceWithMetadata resource, Params params, WithResponse withResponse) throws Throwable
executeAction
in interface ActionExecutor
resource
- ResourceWithMetadataparams
- parameters to useThrowable
Copyright © 2005–2017 Alfresco Software. All rights reserved.