Package org.cxbox.core.dto.rowmeta
Class RowDependentFieldsMeta<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>
-
- All Implemented Interfaces:
Iterable<org.cxbox.api.data.dto.rowmeta.FieldDTO>
- Direct Known Subclasses:
FieldsMeta
public class RowDependentFieldsMeta<T extends org.cxbox.api.data.dto.DataResponseDTO> extends org.cxbox.api.data.dto.rowmeta.FieldsDTO
-
-
Constructor Summary
Constructors Constructor Description RowDependentFieldsMeta()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddConcreteValue(DtoField<? super T,?> field, org.cxbox.api.data.dictionary.SimpleDictionary dictDTO)Adds a value to an existing list of selectable valuesvoiddisable(boolean disabled, DtoField<? super T,?>... fields)voiddisableFields()org.cxbox.api.data.dto.rowmeta.FieldDTOget(DtoField<? super T,?> field)voidrequired(boolean required, DtoField<? super T,?>... fields)voidsetConcreteValues(DtoField<? super T,?> field, Collection<org.cxbox.api.data.dictionary.SimpleDictionary> dictDtoList)voidsetCurrentValue(DtoField<? super T,?> field, Object value)voidsetDictionaryTypeWithAllValues(DtoField<? super T,?> field, String type)voidsetDictionaryTypeWithAllValues(DtoField<? super T,?> field, org.cxbox.api.data.dictionary.IDictionaryType type)voidsetDictionaryTypeWithConcreteValues(DtoField<? super T,?> field, org.cxbox.api.data.dictionary.IDictionaryType type, String... keys)Deprecated.voidsetDictionaryTypeWithConcreteValues(DtoField<? super T,?> field, org.cxbox.api.data.dictionary.IDictionaryType type, List<org.cxbox.api.data.dictionary.LOV> lovs)voidsetDictionaryTypeWithConcreteValues(DtoField<? super T,?> field, org.cxbox.api.data.dictionary.IDictionaryType type, org.cxbox.api.data.dictionary.LOV... lovs)voidsetDictionaryTypeWithConcreteValuesFromList(DtoField<? super T,?> field, org.cxbox.api.data.dictionary.IDictionaryType type, List<org.cxbox.api.data.dictionary.LOV> lovs)Fills the list of selectable values in the dropdown list with concrete dictionary valuesvoidsetDictionaryTypeWithCustomValues(DtoField<? super T,?> field, String... keys)voidsetDictionaryValuesWithIcons(String field, org.cxbox.api.data.dictionary.IDictionaryType type, Map<org.cxbox.api.data.dictionary.LOV,org.cxbox.api.data.dto.rowmeta.IconCode> valueIconMap)Deprecated.voidsetDictionaryValuesWithIcons(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)voidsetDisabled(List<String> fields)voidsetDisabled(DtoField<? super T,?>... fields)voidsetDrilldown(DtoField<? super T,?> field, DrillDownTypeSpecifier drillDownType, String drillDown)voidsetDrilldowns(List<FieldDrillDown> drillDowns)voidsetEnabled(DtoField<? super T,?>... fields)<E extends Enum>
voidsetEnumValues(DtoField<? super T,E> field, @NonNull E... values)voidsetNotRequired(DtoField<? super T,?>... fields)voidsetPlaceholder(DtoField<? super T,?> field, String placeholder)voidsetRequired(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, org.cxbox.api.data.dictionary.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, org.cxbox.api.data.dictionary.IDictionaryType type, List<org.cxbox.api.data.dictionary.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, org.cxbox.api.data.dictionary.IDictionaryType type, Map<org.cxbox.api.data.dictionary.LOV,org.cxbox.api.data.dto.rowmeta.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, org.cxbox.api.data.dictionary.IDictionaryType type)
-
setDictionaryTypeWithAllValues
public final void setDictionaryTypeWithAllValues(DtoField<? super T,?> field, String type)
-
setDictionaryTypeWithConcreteValues
@Deprecated public final void setDictionaryTypeWithConcreteValues(DtoField<? super T,?> field, org.cxbox.api.data.dictionary.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, org.cxbox.api.data.dictionary.IDictionaryType type, List<org.cxbox.api.data.dictionary.LOV> lovs)
-
setDictionaryTypeWithConcreteValues
public final void setDictionaryTypeWithConcreteValues(DtoField<? super T,?> field, org.cxbox.api.data.dictionary.IDictionaryType type, org.cxbox.api.data.dictionary.LOV... lovs)
-
setConcreteValues
public final void setConcreteValues(DtoField<? super T,?> field, Collection<org.cxbox.api.data.dictionary.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, org.cxbox.api.data.dictionary.IDictionaryType type, Map<org.cxbox.api.data.dictionary.LOV,org.cxbox.api.data.dto.rowmeta.IconCode> valueIconMap)
-
-