Register all CMIS Action Evaluators as per spec.

- add ParentActionEvaluator
- add logging of registration

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13824 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2009-04-03 12:02:25 +00:00
parent 1f78e6b28c
commit 681c220229
4 changed files with 169 additions and 18 deletions

View File

@@ -29,7 +29,7 @@ import org.alfresco.service.ServiceRegistry;
import org.alfresco.service.cmr.repository.NodeRef;
/**
* Alfresco Permission based Action Evaluator
* Action Evaluator whose evaluation is fixed
*
* @author davidc
*
@@ -58,4 +58,13 @@ public class FixedValueActionEvaluator extends AbstractActionEvaluator
{
return allowed;
}
@Override
public String toString()
{
StringBuilder builder = new StringBuilder();
builder.append("FixedValueActionEvaluator[action=").append(getAction());
builder.append(", allowed=").append(allowed).append("]");
return builder.toString();
}
}