Class NameChecker
- java.lang.Object
-
- org.alfresco.repo.dictionary.constraint.NameChecker
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class NameChecker extends Object implements org.springframework.beans.factory.InitializingBean
Loads cm:filename constraint from dictionary to use it during batch jobs- Author:
- Viachaslau Tsikhanovich *
- See Also:
- MNT-9414
-
-
Constructor Summary
Constructors Constructor Description NameChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()Loads filename constraint from dictionaryvoidevaluate(Object value)DictionaryServicegetDictionaryService()voidsetConstraintLocalName(String constraintLocalName)voidsetDictionaryService(DictionaryService dictionaryService)voidsetNamespaceURI(String namespaceURI)
-
-
-
Method Detail
-
setNamespaceURI
public void setNamespaceURI(String namespaceURI)
-
setConstraintLocalName
public void setConstraintLocalName(String constraintLocalName)
-
getDictionaryService
public DictionaryService getDictionaryService()
-
setDictionaryService
public void setDictionaryService(DictionaryService dictionaryService)
-
afterPropertiesSet
public void afterPropertiesSet() throws ExceptionLoads filename constraint from dictionary- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
evaluate
public void evaluate(Object value)
-
-