@Entity public class TagsValue extends CustomFieldValue implements MultiValuedCustomFieldValue, CustomFieldVisitor
binding, boundEntityId, boundEntityType, MAX_SIZE, value| Constructor and Description |
|---|
TagsValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCUFieldValueOption(CustomFieldValueOption cufVO) |
RawValue |
asRawValue()
Returns the value as a RawValue.
|
CustomFieldValue |
copy() |
List<CustomFieldValueOption> |
getSelectedOptions()
Returns the selected options as a collection.
|
String |
getValue()
Returns the list of selected options as one concatenated string with ' ' as separator.
|
List<String> |
getValues()
Returns the selected options as String
|
void |
removeCUFValueOption(CustomFieldValueOption cufVO) |
void |
setSelectedOptions(List<CustomFieldValueOption> options)
Sets the value as a list of CustomFieldValueOption
|
void |
setValue(String value)
Deprecated.
|
void |
setValues(List<String> values)
Sets the value as a list of String.
|
void |
visit(CustomField standardValue) |
void |
visit(MultiSelectField multiselect) |
void |
visit(RichTextField richField) |
void |
visit(SingleSelectField selectField) |
getBinding, getBoundEntityId, getBoundEntityType, getCustomField, getId, getValueAsDate, representsSameBinding, representsSameCustomField, setBinding, setBoundEntity, setIdpublic List<CustomFieldValueOption> getSelectedOptions()
MultiValuedCustomFieldValuegetSelectedOptions in interface MultiValuedCustomFieldValuepublic void addCUFieldValueOption(CustomFieldValueOption cufVO)
public void removeCUFValueOption(CustomFieldValueOption cufVO)
public void setValues(List<String> values)
MultiValuedCustomFieldValuesetValues in interface MultiValuedCustomFieldValuepublic List<String> getValues()
MultiValuedCustomFieldValuegetValues in interface MultiValuedCustomFieldValuepublic String getValue()
MultiValuedCustomFieldValuegetValue in interface MultiValuedCustomFieldValuegetValue in interface SingleValuedCustomFieldValuegetValue in class CustomFieldValue@Deprecated public void setValue(String value)
setValue in interface SingleValuedCustomFieldValuesetValue in class CustomFieldValuepublic CustomFieldValue copy()
copy in class CustomFieldValuepublic RawValue asRawValue()
MultiValuedCustomFieldValueasRawValue in interface MultiValuedCustomFieldValueasRawValue in interface SingleValuedCustomFieldValueasRawValue in class CustomFieldValuepublic void setSelectedOptions(List<CustomFieldValueOption> options)
MultiValuedCustomFieldValuesetSelectedOptions in interface MultiValuedCustomFieldValuepublic void visit(SingleSelectField selectField)
visit in interface CustomFieldVisitorpublic void visit(CustomField standardValue)
visit in interface CustomFieldVisitorpublic void visit(RichTextField richField)
visit in interface CustomFieldVisitorpublic void visit(MultiSelectField multiselect)
visit in interface CustomFieldVisitorCopyright © 2010-2015 Henix, henix.fr. All Rights Reserved.