public class CustomPropertyDefinitionPost extends BaseCustomPropertyWebScript
| Modifier and Type | Field and Description |
|---|---|
protected RecordsManagementAdminService |
rmAdminService |
ID, INVERT, PATH_SEPARATOR, STORE_ID, STORE_TYPE, SUCCESS| Constructor and Description |
|---|
CustomPropertyDefinitionPost() |
| Modifier and Type | Method and Description |
|---|---|
protected org.alfresco.service.namespace.QName |
createNewPropertyDefinition(Map<String,Serializable> params)
Create a property definition based on the parameter values provided
|
protected Map<String,Object> |
createPropertyDefinition(org.springframework.extensions.webscripts.WebScriptRequest req,
org.json.JSONObject json)
Applies custom properties.
|
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) |
void |
setRecordsManagementAdminService(RecordsManagementAdminService rmAdminService) |
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, toStringprotected RecordsManagementAdminService rmAdminService
public 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> createPropertyDefinition(org.springframework.extensions.webscripts.WebScriptRequest req, org.json.JSONObject json) throws org.json.JSONException, CustomMetadataException
CustomMetadataExceptionorg.json.JSONExceptionprotected Map<String,Serializable> getParamsFromUrlAndJson(org.springframework.extensions.webscripts.WebScriptRequest req, org.json.JSONObject json) throws org.json.JSONException
org.json.JSONExceptionprotected org.alfresco.service.namespace.QName createNewPropertyDefinition(Map<String,Serializable> params) throws CustomMetadataException
params - parameter valuesQName qname of the newly created custom propertyCustomMetadataExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.