org.alfresco.repo.action.constraint
Class MimetypeParameterConstraint

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

public class MimetypeParameterConstraint
extends BaseParameterConstraint

Mimetype 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
MimetypeParameterConstraint()
           
 
Method Summary
protected  java.util.Map getAllowableValuesImpl()
          Gets the list of allowable values, calculating them every time it is called.
 void setMimetypeMap(org.alfresco.repo.content.MimetypeMap mimetypeMap)
          Sets the mimetype map
 
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

MimetypeParameterConstraint

public MimetypeParameterConstraint()
Method Detail

setMimetypeMap

public void setMimetypeMap(org.alfresco.repo.content.MimetypeMap mimetypeMap)
Sets the mimetype map

Parameters:
mimetypeMap -

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.