Class CustomReferenceDefinitionBase
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.module.org_alfresco_module_rm.script.AbstractRmWebScript
org.alfresco.module.org_alfresco_module_rm.script.CustomReferenceDefinitionBase
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
- Direct Known Subclasses:
CustomReferenceDefinitionPost,CustomReferenceDefinitionPut,CustomReferenceDefinitionsGet
Base class for custom reference definition classes
- Since:
- 2.3
- Author:
- Tuna Aksoy
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringConstants for the custom reference definition classesprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class org.alfresco.module.org_alfresco_module_rm.script.AbstractRmWebScript
ID, INVERT, PATH_SEPARATOR, STORE_ID, STORE_TYPE, SUCCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RelationshipDisplayNamecreateDisplayName(org.json.JSONObject requestContent) Creates the relationship display name from request contentprotected RelationshipServiceGets the relationship service instancevoidsetRelationshipService(RelationshipService relationshipService) Sets the relationship service instanceMethods inherited from class org.alfresco.module.org_alfresco_module_rm.script.AbstractRmWebScript
getDispositionService, getNamespaceService, getNodeService, parseRequestForNodeRef, setDispositionService, setNamespaceService, setNodeServiceMethods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateMethods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
-
Field Details
-
REFERENCE_TYPE
Constants for the custom reference definition classes- See Also:
-
REF_ID
- See Also:
-
LABEL
- See Also:
-
SOURCE
- See Also:
-
TARGET
- See Also:
-
CUSTOM_REFS
- See Also:
-
URL
- See Also:
-
-
Constructor Details
-
CustomReferenceDefinitionBase
public CustomReferenceDefinitionBase()
-
-
Method Details
-
getRelationshipService
Gets the relationship service instance- Returns:
- The relationship service instance
-
setRelationshipService
Sets the relationship service instance- Parameters:
relationshipService- The relationship service instance
-
createDisplayName
Creates the relationship display name from request content- Parameters:
requestContent- The request content as json object- Returns:
- The relationship display name
-