public class RMListOfValuesConstraint
extends org.alfresco.repo.dictionary.constraint.ListOfValuesConstraint
setAllowedValues(List),
ListOfValuesConstraint.setCaseSensitive(boolean)| Modifier and Type | Class and Description |
|---|---|
static class |
RMListOfValuesConstraint.MatchLogic |
| Constructor and Description |
|---|
RMListOfValuesConstraint() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
evaluateSingleValue(Object value) |
String |
getDisplayLabel(String constraintAllowableValue,
org.alfresco.service.cmr.i18n.MessageLookup messageLookup) |
String |
getMatchLogic() |
RMListOfValuesConstraint.MatchLogic |
getMatchLogicEnum() |
Map<String,Object> |
getParameters() |
List<String> |
getRawAllowedValues()
Get the allowed values.
|
void |
initialize() |
void |
setAllowedValues(List allowedValues)
Set the values that are allowed by the constraint.
|
void |
setCaveatConfigService(RMCaveatConfigService caveatConfigService) |
void |
setMatchLogic(String matchLogicStr) |
String |
toString() |
getAllowedValues, getType, isCaseSensitive, isSorted, setCaseSensitive, setSortedpublic void setCaveatConfigService(RMCaveatConfigService caveatConfigService)
public String toString()
toString in class org.alfresco.repo.dictionary.constraint.ListOfValuesConstraintpublic List<String> getRawAllowedValues()
getRawAllowedValues in class org.alfresco.repo.dictionary.constraint.ListOfValuesConstraintpublic String getDisplayLabel(String constraintAllowableValue, org.alfresco.service.cmr.i18n.MessageLookup messageLookup)
getDisplayLabel in class org.alfresco.repo.dictionary.constraint.ListOfValuesConstraintpublic void setAllowedValues(List allowedValues)
setAllowedValues in class org.alfresco.repo.dictionary.constraint.ListOfValuesConstraintvalues - a list of allowed valuespublic void initialize()
initialize in interface org.alfresco.service.cmr.dictionary.Constraintinitialize in class org.alfresco.repo.dictionary.constraint.ListOfValuesConstraintpublic Map<String,Object> getParameters()
getParameters in interface org.alfresco.service.cmr.dictionary.ConstraintgetParameters in class org.alfresco.repo.dictionary.constraint.ListOfValuesConstraintpublic RMListOfValuesConstraint.MatchLogic getMatchLogicEnum()
public String getMatchLogic()
public void setMatchLogic(String matchLogicStr)
protected void evaluateSingleValue(Object value)
evaluateSingleValue in class org.alfresco.repo.dictionary.constraint.ListOfValuesConstraintCopyright © 2005–2016 Alfresco Software. All rights reserved.