mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user