Class NodeTypeUtility
java.lang.Object
org.alfresco.module.org_alfresco_module_rm.util.NodeTypeUtility
Utility class to check if a node type is instance of another type
- Since:
- 3.2
- Author:
- Claudia Agache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
instanceOf
(QName className, QName ofClassName) Utility method to quickly determine whether one class is equal to or sub of another.void
setDictionaryService
(DictionaryService dictionaryService)
-
Constructor Details
-
NodeTypeUtility
public NodeTypeUtility()
-
-
Method Details
-
setDictionaryService
- Parameters:
dictionaryService
- dictionary service
-
instanceOf
Utility method to quickly determine whether one class is equal to or sub of another.- Parameters:
className
- class nameofClassName
- class name to check against- Returns:
- boolean true if equal to or sub, false otherwise
-