public class MimetypeParameterConstraint extends BaseParameterConstraint
Modifier and Type | Field and Description |
---|---|
static String |
NAME
Name constant
|
actionService, allowableValues, cache, name
Constructor and Description |
---|
MimetypeParameterConstraint() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,String> |
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
|
getAllowableValues, getI18NLabel, getName, getValueDisplayLabel, init, isValidValue, setActionService, setBeanName, setCacheAllowableValues
public static final String NAME
public void setMimetypeMap(org.alfresco.repo.content.MimetypeMap mimetypeMap)
mimetypeMap
- MimetypeMapprotected Map<String,String> getAllowableValuesImpl()
BaseParameterConstraint
getAllowableValuesImpl
in class BaseParameterConstraint
ParameterConstraint.getAllowableValues()
Copyright © 2005–2017 Alfresco Software. All rights reserved.