|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.web.evaluator.BaseEvaluator
org.alfresco.web.evaluator.doclib.action.EditableByCurrentUser
public class EditableByCurrentUser
"Current user can edit document" action evaluator. Checks if in such a state that the current user can't edit the document:
If node is locked it must be locked by the current user
If node is a working copy the current user must be the owner
| Field Summary |
|---|
| Fields inherited from class org.alfresco.web.evaluator.BaseEvaluator |
|---|
args, metadata, negateOutput |
| Constructor Summary | |
|---|---|
EditableByCurrentUser()
|
|
| Method Summary | |
|---|---|
boolean |
evaluate(org.json.simple.JSONObject jsonObject)
Evaluator implementations abstract method. |
| Methods inherited from class org.alfresco.web.evaluator.BaseEvaluator |
|---|
evaluate, evaluate, evaluate, getArg, getArgs, getContainerType, getHeader, getIsLocked, getIsPortlet, getIsWorkingCopy, getJSONValue, getMatchesCurrentUser, getMetadata, getNodeAspects, getNodeType, getProperty, getSiteId, getSitePreset, getUserId, setNegateOutput |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EditableByCurrentUser()
| Method Detail |
|---|
public boolean evaluate(org.json.simple.JSONObject jsonObject)
BaseEvaluator
evaluate in interface Evaluatorevaluate in class BaseEvaluatorjsonObject - The object the evaluation is for
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||