Package org.cxbox.core.dto.rowmeta
Class FieldsMeta<T extends org.cxbox.api.data.dto.DataResponseDTO>
java.lang.Object
org.cxbox.api.data.dto.rowmeta.FieldsDTO
org.cxbox.core.dto.rowmeta.RowDependentFieldsMeta<T>
org.cxbox.core.dto.rowmeta.FieldsMeta<T>
- All Implemented Interfaces:
Iterable<org.cxbox.api.data.dto.rowmeta.FieldDTO>
- Direct Known Subclasses:
EngineFieldsMeta
public class FieldsMeta<T extends org.cxbox.api.data.dto.DataResponseDTO>
extends RowDependentFieldsMeta<T>
-
Field Summary
Fields inherited from class org.cxbox.api.data.dto.rowmeta.FieldsDTO
fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddConcreteFilterValue(DtoField<? super T, ?> field, org.cxbox.api.data.dictionary.SimpleDictionary dictDTO) Adds a value to the existing list of filterable valuesfinal voidenableFilter(DtoField<? super T, ?>... fields) final voidsetAllFilterValuesByLovType(DtoField<? super T, ?> field, org.cxbox.api.data.dictionary.IDictionaryType type) final voidsetConcreteFilterValues(DtoField<? super T, ?> field, Collection<org.cxbox.api.data.dictionary.SimpleDictionary> dictDtoList) <T extends org.cxbox.api.data.dto.DataResponseDTO,E extends Enum>
voidsetEnumFilterValues(@NonNull FieldsMeta<T> fieldsMeta, DtoField<? super T, E> field, @NonNull E... values) final voidsetEphemeral(DtoField<? super T, ?>... fields) final voidsetFilterValuesWithIcons(DtoField<? super T, ?> field, org.cxbox.api.data.dictionary.IDictionaryType type, Map<org.cxbox.api.data.dictionary.LOV, org.cxbox.api.data.dto.rowmeta.IconCode> valueIconMap) final voidsetForceActive(DtoField<? super T, ?>... fields) final voidMethods inherited from class org.cxbox.core.dto.rowmeta.RowDependentFieldsMeta
addConcreteValue, disable, disableFields, get, required, setConcreteValues, setCurrentValue, setDictionaryTypeWithAllValues, setDictionaryTypeWithAllValues, setDictionaryTypeWithConcreteValues, setDictionaryTypeWithConcreteValues, setDictionaryTypeWithConcreteValues, setDictionaryTypeWithConcreteValuesFromList, setDictionaryTypeWithCustomValues, setDictionaryValuesWithIcons, setDictionaryValuesWithIcons, setDisabled, setDisabled, setDrilldown, setDrilldowns, setEnabled, setEnumValues, setNotRequired, setPlaceholder, setRequiredMethods inherited from class org.cxbox.api.data.dto.rowmeta.FieldsDTO
add, get, iterator, ofMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
FieldsMeta
public FieldsMeta(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
addConcreteFilterValue
public final void addConcreteFilterValue(DtoField<? super T, ?> field, org.cxbox.api.data.dictionary.SimpleDictionary dictDTO) Adds a value to the existing list of filterable values- Parameters:
field- widget field with type dictionarydictDTO- DTO with dictionary value
-
enableFilter
-
setAllFilterValuesByLovType
-
setConcreteFilterValues
public final void setConcreteFilterValues(DtoField<? super T, ?> field, Collection<org.cxbox.api.data.dictionary.SimpleDictionary> dictDtoList) -
setEnumFilterValues
public <T extends org.cxbox.api.data.dto.DataResponseDTO,E extends Enum> void setEnumFilterValues(@NonNull @NonNull FieldsMeta<T> fieldsMeta, @Nullable DtoField<? super T, E> field, @NonNull @NonNull E... values) -
setForceActive
-
setEphemeral
-
setHidden
-
setFilterValuesWithIcons
-