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:
  • Constructor Details

    • NameChecker

      public NameChecker()
  • Method Details

    • 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 Exception
      Loads filename constraint from dictionary
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • evaluate

      public void evaluate(Object value)