Package org.cxbox.core.dto.rowmeta
Class FieldsCommonMeta<T extends org.cxbox.api.data.dto.DataResponseDTO>
java.lang.Object
org.cxbox.api.data.dto.rowmeta.FieldsDTO
org.cxbox.core.dto.rowmeta.RowDependentFieldsCommonMeta<T>
org.cxbox.core.dto.rowmeta.RowDependentFieldsDictionaryDeprecatedMeta<T>
org.cxbox.core.dto.rowmeta.RowDependentFieldsDictionaryMeta<T>
org.cxbox.core.dto.rowmeta.RowDependentFieldsMeta<T>
org.cxbox.core.dto.rowmeta.FieldsCommonMeta<T>
- All Implemented Interfaces:
Iterable<org.cxbox.api.data.dto.rowmeta.FieldDTO>
- Direct Known Subclasses:
FieldsDictionaryDeprecatedMeta
public class FieldsCommonMeta<T extends org.cxbox.api.data.dto.DataResponseDTO>
extends RowDependentFieldsMeta<T>
-
Field Summary
Fields inherited from class org.cxbox.core.dto.rowmeta.RowDependentFieldsCommonMeta
objectMapperFields inherited from class org.cxbox.api.data.dto.rowmeta.FieldsDTO
fields -
Constructor Summary
ConstructorsConstructorDescriptionFieldsCommonMeta(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Optional<DictionaryProvider> dictionaryProvider) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddConcreteFilterValue(DtoField<? super T, ?> field, org.cxbox.api.data.dictionary.SimpleDictionary dictDTO) Deprecated, for removal: This API element is subject to removal in a future version.final voidenableFilter(DtoField<? super T, ?>... fields) final voidenableSort(DtoField<? super T, ?>... fields) final voidsetConcreteFilterValues(DtoField<? super T, ?> field, Collection<org.cxbox.api.data.dictionary.SimpleDictionary> dictDtoList) Sets field filter options.final voidsetEphemeral(DtoField<? super T, ?>... fields) Deprecated, for removal: This API element is subject to removal in a future version.final voidsetFileAccept(DtoField<? super T, ?> field, @NonNull List<String> accept) final voidsetForceActive(DtoField<? super T, ?>... fields) Methods inherited from class org.cxbox.core.dto.rowmeta.RowDependentFieldsDictionaryMeta
setDictionaryValues, setDictionaryValues, setEnumValuesMethods inherited from class org.cxbox.core.dto.rowmeta.RowDependentFieldsDictionaryDeprecatedMeta
setDictionaryTypeWithAllValues, setDictionaryTypeWithAllValues, setDictionaryTypeWithConcreteValues, setDictionaryTypeWithConcreteValues, setDictionaryTypeWithConcreteValues, setDictionaryTypeWithConcreteValuesFromList, setDictionaryTypeWithCustomValuesMethods inherited from class org.cxbox.core.dto.rowmeta.RowDependentFieldsCommonMeta
addConcreteValue, disable, disableFields, get, getCurrentValue, hidden, isFieldChangedNow, required, setConcreteValues, setCurrentValue, setDisabled, setDisabled, setDrilldown, setDrilldowns, setDrilldownWithFilter, setEnabled, setHidden, setNotHidden, 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
-
FieldsCommonMeta
public FieldsCommonMeta(@Qualifier("cxboxObjectMapper") com.fasterxml.jackson.databind.ObjectMapper objectMapper, Optional<DictionaryProvider> dictionaryProvider)
-
-
Method Details
-
enableFilter
-
setConcreteFilterValues
public final void setConcreteFilterValues(DtoField<? super T, ?> field, Collection<org.cxbox.api.data.dictionary.SimpleDictionary> dictDtoList) Sets field filter options. Actually this method can be used to restrict filter options for non-dictionary fields too (e.g. input and so on. See compatible field types in documentation) -
addConcreteFilterValue
@Deprecated(since="4.0.0-M12", forRemoval=true) public final void addConcreteFilterValue(DtoField<? super T, ?> field, org.cxbox.api.data.dictionary.SimpleDictionary dictDTO) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.0.0-M12 usesetConcreteFilterValues(DtoField, Collection)instead -
setForceActive
-
setEphemeral
@SafeVarargs @Deprecated(since="4.0.0-M12", forRemoval=true) public final void setEphemeral(DtoField<? super T, ?>... fields) Deprecated, for removal: This API element is subject to removal in a future version. -
setFileAccept
-
enableSort
- Parameters:
fields- fields to be madesortable. Sort icon will appear in UI, that user can interact with to apply/change sorting order- See additional abilities for sorting (how to set
default sort orderand so on) in this java docWidgetFieldsIdResolverProperties.sortEnabledDefault
- See additional abilities for sorting (how to set
-
setConcreteFilterValues(DtoField, Collection)instead