org.alfresco.opencmis.mapping
Class CurrentVersionEvaluator

java.lang.Object
  extended by org.alfresco.opencmis.mapping.AbstractActionEvaluator
      extended by org.alfresco.opencmis.mapping.CurrentVersionEvaluator
All Implemented Interfaces:
org.alfresco.opencmis.dictionary.CMISActionEvaluator

public class CurrentVersionEvaluator
extends AbstractActionEvaluator


Constructor Summary
protected CurrentVersionEvaluator(ServiceRegistry serviceRegistry, org.apache.chemistry.opencmis.commons.enums.Action action, boolean currentVersionValue, boolean nonCurrentVersionValue)
          Construct
protected CurrentVersionEvaluator(ServiceRegistry serviceRegistry, org.alfresco.opencmis.dictionary.CMISActionEvaluator currentVersionEvaluator, boolean nonCurrentVersionValue)
          Construct
 
Method Summary
 boolean isAllowed(org.alfresco.opencmis.dictionary.CMISNodeInfo nodeInfo)
           
 
Methods inherited from class org.alfresco.opencmis.mapping.AbstractActionEvaluator
getAction, getServiceRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentVersionEvaluator

protected CurrentVersionEvaluator(ServiceRegistry serviceRegistry,
                                  org.apache.chemistry.opencmis.commons.enums.Action action,
                                  boolean currentVersionValue,
                                  boolean nonCurrentVersionValue)
Construct

Parameters:
serviceRegistry -

CurrentVersionEvaluator

protected CurrentVersionEvaluator(ServiceRegistry serviceRegistry,
                                  org.alfresco.opencmis.dictionary.CMISActionEvaluator currentVersionEvaluator,
                                  boolean nonCurrentVersionValue)
Construct

Parameters:
serviceRegistry -
Method Detail

isAllowed

public boolean isAllowed(org.alfresco.opencmis.dictionary.CMISNodeInfo nodeInfo)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.