OpenCMIS server refactoring

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29544 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Florian Mü
2011-08-04 08:50:53 +00:00
parent 7ceaf0a9b0
commit 4b507ee7d8
48 changed files with 2024 additions and 1996 deletions

View File

@@ -18,16 +18,17 @@
*/
package org.alfresco.opencmis.mapping;
import org.alfresco.opencmis.dictionary.CMISNodeInfo;
import org.alfresco.service.ServiceRegistry;
import org.apache.chemistry.opencmis.commons.enums.Action;
/**
* Action Evaluator whose evaluation is fixed
*
* @author davidc
* @author florian.mueller
*
*/
public class FixedValueActionEvaluator<T> extends AbstractActionEvaluator<T>
public class FixedValueActionEvaluator extends AbstractActionEvaluator
{
private boolean allowed;
@@ -43,7 +44,7 @@ public class FixedValueActionEvaluator<T> extends AbstractActionEvaluator<T>
this.allowed = allowed;
}
public boolean isAllowed(T object)
public boolean isAllowed(CMISNodeInfo nodeInfo)
{
return allowed;
}