Package org.alfresco.repo.virtual.model
Class SystemTemplateLocationsConstraint
java.lang.Object
org.alfresco.repo.dictionary.constraint.AbstractConstraint
org.alfresco.repo.dictionary.constraint.ListOfValuesConstraint
org.alfresco.repo.virtual.model.SystemTemplateLocationsConstraint
- All Implemented Interfaces:
Constraint
A system paths string values constraint to be used in conjunction with
SystemVirtualizationMethods to provide available system paths by exploring a predefined location in the java classpath ad a predefined repository location.- Author:
- Silviu Dinuta
-
Field Summary
FieldsFields inherited from class org.alfresco.repo.dictionary.constraint.ListOfValuesConstraint
ALLOWED_VALUES_PARAM, CASE_SENSITIVE_PARAM, caseSensitive, CONSTRAINT_TYPE, sorted, SORTED_PARAMFields inherited from class org.alfresco.repo.dictionary.constraint.AbstractConstraint
ERR_EVALUATE_EXCEPTION, ERR_PROP_NOT_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidevaluateSingleValue(Object value) getDisplayLabel(String constraintAllowableValue, MessageLookup messageLookup) voidsetNamespacePrefixResolver(NamespacePrefixResolver namespacePrefixResolver) voidsetNodeService(NodeService nodeService) voidsetRepositoryTemplateTypeName(String repositoryTemplateTypeName) voidsetTemplatesParentClasspath(String templatesParentClasspath) voidsetTemplatesParentRepositoryPath(NodeRefExpression templatesParentRepositoryPath) Methods inherited from class org.alfresco.repo.dictionary.constraint.ListOfValuesConstraint
getParameters, getType, initialize, isCaseSensitive, isSorted, setAllowedValues, setCaseSensitive, setSorted, toStringMethods inherited from class org.alfresco.repo.dictionary.constraint.AbstractConstraint
checkPropertyNotNull, evaluate, evaluateCollection, getShortName, getTitle, set_shortName, setRegistry, setShortName, setTitle
-
Field Details
-
NULL_SYSTEM_TEMPLATE
- See Also:
-
NULL_SYSTEM_TEMPLATE_MESSAGE
- See Also:
-
-
Constructor Details
-
SystemTemplateLocationsConstraint
public SystemTemplateLocationsConstraint()
-
-
Method Details
-
setNodeService
-
setTemplatesParentClasspath
-
getTemplatesParentClasspath
-
getTemplatesParentRepositoryPath
-
setTemplatesParentRepositoryPath
-
setNamespacePrefixResolver
-
setRepositoryTemplateTypeName
-
getRawAllowedValues
- Overrides:
getRawAllowedValuesin classListOfValuesConstraint
-
getAllowedValues
- Overrides:
getAllowedValuesin classListOfValuesConstraint
-
getDisplayLabel
- Overrides:
getDisplayLabelin classListOfValuesConstraint
-
evaluateSingleValue
- Overrides:
evaluateSingleValuein classListOfValuesConstraint
-