org.alfresco.repo.action.constraint
Class PropertyParameterConstraint

java.lang.Object
  extended by org.alfresco.repo.action.constraint.BaseParameterConstraint
      extended by org.alfresco.repo.action.constraint.PropertyParameterConstraint
All Implemented Interfaces:
ParameterConstraint, org.springframework.beans.factory.BeanNameAware

public class PropertyParameterConstraint
extends BaseParameterConstraint

Type parameter constraint


Field Summary
static java.lang.String NAME
          Name constant
 
Fields inherited from class org.alfresco.repo.action.constraint.BaseParameterConstraint
actionService, allowableValues, cache, name
 
Constructor Summary
PropertyParameterConstraint()
           
 
Method Summary
protected  java.util.Map getAllowableValuesImpl()
          Gets the list of allowable values, calculating them every time it is called.
 void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
           
 
Methods inherited from class org.alfresco.repo.action.constraint.BaseParameterConstraint
getAllowableValues, getI18NLabel, getName, getValueDisplayLabel, init, isValidValue, setActionService, setBeanName, setCacheAllowableValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
Name constant

See Also:
Constant Field Values
Constructor Detail

PropertyParameterConstraint

public PropertyParameterConstraint()
Method Detail

setDictionaryService

public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)

getAllowableValuesImpl

protected java.util.Map getAllowableValuesImpl()
Description copied from class: BaseParameterConstraint
Gets the list of allowable values, calculating them every time it is called.

Specified by:
getAllowableValuesImpl in class BaseParameterConstraint
Returns:
Map map of allowable values
See Also:
ParameterConstraint.getAllowableValues()


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