public class CustomPropertyDefinitionPut extends BaseCustomPropertyWebScript
ID, INVERT, PATH_SEPARATOR, STORE_ID, STORE_TYPE, SUCCESS| Constructor and Description |
|---|
CustomPropertyDefinitionPut() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected Map<String,Serializable> |
getParamsFromUrlAndJson(org.springframework.extensions.webscripts.WebScriptRequest req,
org.json.JSONObject json) |
protected Map<String,Object> |
handlePropertyDefinitionUpdate(org.springframework.extensions.webscripts.WebScriptRequest req,
org.json.JSONObject json)
Applies custom properties.
|
void |
setRecordsManagementAdminService(RecordsManagementAdminService rmAdminService) |
protected org.alfresco.service.namespace.QName |
updatePropertyDefinition(Map<String,Serializable> params)
If label has a non-null value, it is set on the property def.
|
mapToTypeQNamegetDispositionService, getNamespaceService, getNodeService, parseRequestForNodeRef, setDispositionService, setNamespaceService, setNodeServiceexecute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateaddModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toStringpublic void setRecordsManagementAdminService(RecordsManagementAdminService rmAdminService)
protected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
executeImpl in class org.springframework.extensions.webscripts.DeclarativeWebScriptprotected Map<String,Object> handlePropertyDefinitionUpdate(org.springframework.extensions.webscripts.WebScriptRequest req, org.json.JSONObject json) throws org.json.JSONException, CustomMetadataException
CustomMetadataExceptionorg.json.JSONExceptionprotected org.alfresco.service.namespace.QName updatePropertyDefinition(Map<String,Serializable> params) throws CustomMetadataException
params - CustomMetadataExceptionprotected Map<String,Serializable> getParamsFromUrlAndJson(org.springframework.extensions.webscripts.WebScriptRequest req, org.json.JSONObject json) throws org.json.JSONException
org.json.JSONExceptionCopyright © 2005–2017 Alfresco Software. All rights reserved.