Package io.tesler.core.dto.rowmeta
Class RowDependentFieldsMeta<T extends DataResponseDTO>
- java.lang.Object
-
- io.tesler.api.data.dto.rowmeta.FieldsDTO
-
- io.tesler.core.dto.rowmeta.RowDependentFieldsMeta<T>
-
- Direct Known Subclasses:
FieldsMeta
public class RowDependentFieldsMeta<T extends DataResponseDTO> extends FieldsDTO
-
-
Constructor Summary
Constructors Constructor Description RowDependentFieldsMeta()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addConcreteValue(DtoField<? super T,?> field, SimpleDictionary dictDTO)
Adds a value to an existing list of selectable valuesvoid
disable(boolean disabled, DtoField<? super T,?>... fields)
void
disableFields()
FieldDTO
get(DtoField<? super T,?> field)
void
required(boolean required, DtoField<? super T,?>... fields)
void
setConcreteValues(DtoField<? super T,?> field, Collection<SimpleDictionary> dictDtoList)
void
setCurrentValue(DtoField<? super T,?> field, Object value)
void
setDictionaryTypeWithAllValues(DtoField<? super T,?> field, IDictionaryType type)
void
setDictionaryTypeWithAllValues(DtoField<? super T,?> field, String type)
void
setDictionaryTypeWithConcreteValues(DtoField<? super T,?> field, IDictionaryType type, LOV... lovs)
void
setDictionaryTypeWithConcreteValues(DtoField<? super T,?> field, IDictionaryType type, String... keys)
Deprecated.void
setDictionaryTypeWithConcreteValues(DtoField<? super T,?> field, IDictionaryType type, List<LOV> lovs)
void
setDictionaryTypeWithConcreteValuesFromList(DtoField<? super T,?> field, IDictionaryType type, List<LOV> lovs)
Fills the list of selectable values in the dropdown list with concrete dictionary valuesvoid
setDictionaryTypeWithCustomValues(DtoField<? super T,?> field, String... keys)
void
setDictionaryValuesWithIcons(DtoField<? super T,?> field, IDictionaryType type, Map<LOV,IconCode> valueIconMap)
void
setDictionaryValuesWithIcons(String field, IDictionaryType type, Map<LOV,IconCode> valueIconMap)
Deprecated.void
setDisabled(DtoField<? super T,?>... fields)
void
setDisabled(List<String> fields)
void
setDrilldown(DtoField<? super T,?> field, DrillDownTypeSpecifier drillDownType, String drillDown)
void
setDrilldowns(List<FieldDrillDown> drillDowns)
void
setEnabled(DtoField<? super T,?>... fields)
<E extends Enum>
voidsetEnumValues(DtoField<? super T,E> field, @NonNull E... values)
void
setNotRequired(DtoField<? super T,?>... fields)
void
setPlaceholder(DtoField<? super T,?> field, String placeholder)
void
setRequired(DtoField<? super T,?>... fields)
-
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
-
addConcreteValue
public final void addConcreteValue(DtoField<? super T,?> field, SimpleDictionary dictDTO)
Adds a value to an existing list of selectable values- Parameters:
field
- widget field with type dictionarydictDTO
- DTO with dictionary value
-
setDictionaryTypeWithConcreteValuesFromList
public final void setDictionaryTypeWithConcreteValuesFromList(DtoField<? super T,?> field, IDictionaryType type, List<LOV> lovs)
Fills the list of selectable values in the dropdown list with concrete dictionary values- Parameters:
field
- widget field with type dictionarytype
- dictionary typelovs
- list of dictionary codes (with type LOV)
-
setDictionaryValuesWithIcons
@Deprecated public void setDictionaryValuesWithIcons(String field, IDictionaryType type, Map<LOV,IconCode> valueIconMap)
Deprecated.
-
setRequired
@SafeVarargs public final void setRequired(DtoField<? super T,?>... fields)
-
setNotRequired
@SafeVarargs public final void setNotRequired(DtoField<? super T,?>... fields)
-
required
@SafeVarargs public final void required(boolean required, DtoField<? super T,?>... fields)
-
disableFields
public final void disableFields()
-
setDisabled
@SafeVarargs public final void setDisabled(DtoField<? super T,?>... fields)
-
setEnabled
@SafeVarargs public final void setEnabled(DtoField<? super T,?>... fields)
-
setDictionaryTypeWithAllValues
public final void setDictionaryTypeWithAllValues(DtoField<? super T,?> field, IDictionaryType type)
-
setDictionaryTypeWithAllValues
public final void setDictionaryTypeWithAllValues(DtoField<? super T,?> field, String type)
-
setDictionaryTypeWithConcreteValues
@Deprecated public final void setDictionaryTypeWithConcreteValues(DtoField<? super T,?> field, IDictionaryType type, String... keys)
Deprecated.
-
setDictionaryTypeWithCustomValues
public final void setDictionaryTypeWithCustomValues(DtoField<? super T,?> field, String... keys)
-
setDictionaryTypeWithConcreteValues
public final void setDictionaryTypeWithConcreteValues(DtoField<? super T,?> field, IDictionaryType type, List<LOV> lovs)
-
setDictionaryTypeWithConcreteValues
public final void setDictionaryTypeWithConcreteValues(DtoField<? super T,?> field, IDictionaryType type, LOV... lovs)
-
setConcreteValues
public final void setConcreteValues(DtoField<? super T,?> field, Collection<SimpleDictionary> dictDtoList)
-
setEnumValues
public <E extends Enum> void setEnumValues(@Nullable DtoField<? super T,E> field, @NonNull @NonNull E... values)
-
setDrilldown
public final void setDrilldown(DtoField<? super T,?> field, DrillDownTypeSpecifier drillDownType, String drillDown)
-
setDrilldowns
public final void setDrilldowns(List<FieldDrillDown> drillDowns)
-
setDictionaryValuesWithIcons
public final void setDictionaryValuesWithIcons(DtoField<? super T,?> field, IDictionaryType type, Map<LOV,IconCode> valueIconMap)
-
-