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>
-
-
Constructor Summary
Constructors Constructor Description FieldsMeta(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConcreteFilterValue(DtoField<? super T,?> field, org.cxbox.api.data.dictionary.SimpleDictionary dictDTO)Adds a value to the existing list of filterable valuesvoidenableFilter(DtoField<? super T,?>... fields)voidsetAllFilterValuesByLovType(DtoField<? super T,?> field, org.cxbox.api.data.dictionary.IDictionaryType type)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)voidsetEphemeral(DtoField<? super T,?>... fields)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)voidsetForceActive(DtoField<? super T,?>... fields)voidsetHidden(DtoField<? super T,?>... fields)-
Methods 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, setRequired
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
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
@SafeVarargs public final void enableFilter(DtoField<? super T,?>... fields)
-
setAllFilterValuesByLovType
public final void setAllFilterValuesByLovType(DtoField<? super T,?> field, org.cxbox.api.data.dictionary.IDictionaryType type)
-
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
@SafeVarargs public final void setForceActive(DtoField<? super T,?>... fields)
-
setEphemeral
@SafeVarargs public final void setEphemeral(DtoField<? super T,?>... fields)
-
setHidden
@SafeVarargs public final void setHidden(DtoField<? super T,?>... fields)
-
-