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 String
protected static final String
protected static final String
protected static final String
Constants for the custom reference definition classesprotected static final String
protected static final String
protected static final String
Fields 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 RelationshipDisplayName
createDisplayName
(org.json.JSONObject requestContent) Creates the relationship display name from request contentprotected RelationshipService
Gets the relationship service instancevoid
setRelationshipService
(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, setNodeService
Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
Methods 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
-