public class GoogleDocsLockedEvaluator extends BaseEvaluator
hasAspect("gd:googleResource")
--AND--
hasAspect("cm:workingcopy")
property "cm:workingCopyOwner" != (currentUser)
-OR-
node is locked
NOT hasAspect("trx:transferred")
property "cm:lockOwner" != (currentUser)
args, metadata, negateOutput| Constructor and Description |
|---|
GoogleDocsLockedEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(org.json.simple.JSONObject jsonObject)
Evaluator implementations abstract method.
|
evaluate, evaluate, evaluate, getArg, getArgs, getContainerType, getHeader, getIsLocked, getIsPortlet, getIsWorkingCopy, getJSONValue, getMatchesCurrentUser, getMetadata, getNodeAspects, getNodeType, getProperty, getSiteId, getSitePreset, getUserId, setNegateOutputpublic boolean evaluate(org.json.simple.JSONObject jsonObject)
BaseEvaluatorevaluate in interface Evaluatorevaluate in class BaseEvaluatorjsonObject - The object the evaluation is forCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.