Class NodeTypeUtility

java.lang.Object
org.alfresco.module.org_alfresco_module_rm.util.NodeTypeUtility

public class NodeTypeUtility extends Object
Utility class to check if a node type is instance of another type
Since:
3.2
Author:
Claudia Agache
  • Constructor Details

    • NodeTypeUtility

      public NodeTypeUtility()
  • Method Details

    • setDictionaryService

      public void setDictionaryService(DictionaryService dictionaryService)
      Parameters:
      dictionaryService - dictionary service
    • instanceOf

      public boolean instanceOf(QName className, QName ofClassName)
      Utility method to quickly determine whether one class is equal to or sub of another.
      Parameters:
      className - class name
      ofClassName - class name to check against
      Returns:
      boolean true if equal to or sub, false otherwise