org.alfresco.web.evaluator
Class PropertyNotNullEvaluator

java.lang.Object
  extended by org.alfresco.web.evaluator.BaseEvaluator
      extended by org.alfresco.web.evaluator.PropertyNotNullEvaluator
All Implemented Interfaces:
Evaluator

public class PropertyNotNullEvaluator
extends BaseEvaluator

Checks that a property value on a node is not null (and exists)


Field Summary
 
Fields inherited from class org.alfresco.web.evaluator.BaseEvaluator
args, metadata, negateOutput
 
Constructor Summary
PropertyNotNullEvaluator()
           
 
Method Summary
 boolean evaluate(org.json.simple.JSONObject jsonObject)
          Checks that a property value exists and is not null
 void setProperty(java.lang.String name)
          Property name
 
Methods inherited from class org.alfresco.web.evaluator.BaseEvaluator
evaluate, evaluate, evaluate, getArg, getArgs, getContainerType, getHeader, getIsLocked, getIsPortlet, 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

PropertyNotNullEvaluator

public PropertyNotNullEvaluator()
Method Detail

setProperty

public void setProperty(java.lang.String name)
Property name

Parameters:
name -

evaluate

public boolean evaluate(org.json.simple.JSONObject jsonObject)
Checks that a property value exists and is not null

Specified by:
evaluate in interface Evaluator
Specified by:
evaluate in class BaseEvaluator
Parameters:
jsonObject - The object the action is for
Returns:


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.