org.alfresco.cmis.mapping
Class AbstractActionEvaluator

java.lang.Object
  extended by org.alfresco.cmis.mapping.AbstractActionEvaluator
All Implemented Interfaces:
CMISActionEvaluator
Direct Known Subclasses:
CanCheckOutActionEvaluator, FixedValueActionEvaluator, ParentActionEvaluator, PermissionActionEvaluator, RootActionEvaluator

public abstract class AbstractActionEvaluator
extends java.lang.Object
implements CMISActionEvaluator

Base class for all action evaluators


Constructor Summary
protected AbstractActionEvaluator(ServiceRegistry serviceRegistry, CMISAllowedActionEnum action)
          Construct
 
Method Summary
 CMISAllowedActionEnum getAction()
          Gets the CMIS Allowed Action
protected  ServiceRegistry getServiceRegistry()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.alfresco.cmis.CMISActionEvaluator
isAllowed
 

Constructor Detail

AbstractActionEvaluator

protected AbstractActionEvaluator(ServiceRegistry serviceRegistry,
                                  CMISAllowedActionEnum action)
Construct

Parameters:
serviceRegistry -
action -
Method Detail

getServiceRegistry

protected ServiceRegistry getServiceRegistry()
Returns:
service registry

getAction

public CMISAllowedActionEnum getAction()
Description copied from interface: CMISActionEvaluator
Gets the CMIS Allowed Action

Specified by:
getAction in interface CMISActionEvaluator
Returns:


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