Package org.alfresco.util
Class PolicyIgnoreUtil
java.lang.Object
org.alfresco.util.PolicyIgnoreUtil
Utility class which checks whether a node is in a store on which policies should not be applied(e.g. archive://SpacesStore)
- Author:
- cpopa
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanignorePolicy(NodeRef nodeRef) Checks whether the node is in a store on which policies should not be applied.voidsetStoresToIgnorePolicies(Set<String> storesToIgnorePolicies) voidsetTenantService(TenantService tenantService)
-
Constructor Details
-
PolicyIgnoreUtil
public PolicyIgnoreUtil()
-
-
Method Details
-
setStoresToIgnorePolicies
-
setTenantService
-
ignorePolicy
Checks whether the node is in a store on which policies should not be applied.- Parameters:
nodeRef- node to check if the policy can be run or not- Returns:
- true if the nodeRef is part of a store which should be ignored when invoking policies(e.g. archive://SpacesStore)
-