Package org.alfresco.opencmis.mapping
Class CurrentVersionEvaluator
- java.lang.Object
-
- org.alfresco.opencmis.mapping.AbstractActionEvaluator
-
- org.alfresco.opencmis.mapping.CurrentVersionEvaluator
-
- All Implemented Interfaces:
CMISActionEvaluator
public class CurrentVersionEvaluator extends AbstractActionEvaluator
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCurrentVersionEvaluator(ServiceRegistry serviceRegistry, CMISActionEvaluator currentVersionEvaluator, boolean nonCurrentVersionValue)ConstructprotectedCurrentVersionEvaluator(ServiceRegistry serviceRegistry, org.apache.chemistry.opencmis.commons.enums.Action action, boolean currentVersionValue, boolean nonCurrentVersionValue)Construct
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAllowed(CMISNodeInfo nodeInfo)-
Methods inherited from class org.alfresco.opencmis.mapping.AbstractActionEvaluator
getAction, getServiceRegistry
-
-
-
-
Constructor Detail
-
CurrentVersionEvaluator
protected CurrentVersionEvaluator(ServiceRegistry serviceRegistry, org.apache.chemistry.opencmis.commons.enums.Action action, boolean currentVersionValue, boolean nonCurrentVersionValue)
Construct- Parameters:
serviceRegistry- ServiceRegistryaction- ActioncurrentVersionValue- booleannonCurrentVersionValue- boolean
-
CurrentVersionEvaluator
protected CurrentVersionEvaluator(ServiceRegistry serviceRegistry, CMISActionEvaluator currentVersionEvaluator, boolean nonCurrentVersionValue)
Construct- Parameters:
serviceRegistry-
-
-
Method Detail
-
isAllowed
public boolean isAllowed(CMISNodeInfo nodeInfo)
-
-