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, setCacheAllowableValuespublic static final String NAME
public void setMimetypeMap(org.alfresco.repo.content.MimetypeMap mimetypeMap)
mimetypeMap - MimetypeMapprotected Map<String,String> getAllowableValuesImpl()
BaseParameterConstraintgetAllowableValuesImpl in class BaseParameterConstraintParameterConstraint.getAllowableValues()Copyright © 2005–2018 Alfresco Software. All rights reserved.