Class PreferenceSectionV1
java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.v1.responses.PreferenceSectionV1
- All Implemented Interfaces:
AbstractMiddlewareOutputInterface,UserPreferencesOutputInterface,ToSchema
PreferenceSectionV1 in the user preferences API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet actions.Get appName.Get description.Get fields.getIcon()Get icon.getLabel()Get label.getLists()Get lists.getName()Get name.intgetOrder()Get order.Get possibleValues.booleanGet showInUserMenu.Get values.voidsetActions(List<PreferenceActionV1> actions) Set actions.voidsetAppName(String appName) Set appName.voidsetDescription(String description) Set description.voidsetFields(List<FieldMetaData> fields) Set fields.voidSet icon.voidSet label.voidsetLists(List<PreferenceListV1> lists) Set lists.voidSet name.voidsetOrder(int order) Set order.voidsetPossibleValues(Map<String, List<PossibleValueOption>> possibleValues) Set possibleValues.voidMap core metadata and values, including ENUM choices for scalar and row fields.voidsetShowInUserMenu(boolean showInUserMenu) Set showInUserMenu.voidsetValues(Map<String, Serializable> values) Set values.toSchema()One visible section with the signed-in user's current preferences.withActions(List<PreferenceActionV1> actions) With actions.withAppName(String appName) With appName.withDescription(String description) With description.withFields(List<FieldMetaData> fields) With fields.With icon.With label.withLists(List<PreferenceListV1> lists) With lists.With name.withOrder(int order) With order.withPossibleValues(Map<String, List<PossibleValueOption>> possibleValues) With possibleValues.withShowInUserMenu(boolean showInUserMenu) With showInUserMenu.withValues(Map<String, Serializable> values) With values.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.kingsrook.qqq.middleware.javalin.executors.io.UserPreferencesOutputInterface
setActionResult
-
Constructor Details
-
PreferenceSectionV1
public PreferenceSectionV1()
-
-
Method Details
-
toSchema
-
setPreferenceResults
Map core metadata and values, including ENUM choices for scalar and row fields.- Specified by:
setPreferenceResultsin interfaceUserPreferencesOutputInterface
-
getName
Get name. -
setName
Set name. -
withName
With name. -
getLabel
Get label. -
setLabel
Set label. -
withLabel
With label. -
getIcon
Get icon. -
setIcon
Set icon. -
withIcon
With icon. -
getDescription
Get description. -
setDescription
Set description. -
withDescription
With description. -
getOrder
public int getOrder()Get order. -
setOrder
public void setOrder(int order) Set order. -
withOrder
With order. -
getAppName
Get appName. -
setAppName
Set appName. -
withAppName
With appName. -
getFields
Get fields. -
setFields
Set fields. -
withFields
With fields. -
getValues
Get values. -
setValues
Set values. -
withValues
With values. -
getLists
Get lists. -
setLists
Set lists. -
withLists
With lists. -
getPossibleValues
Get possibleValues. -
setPossibleValues
Set possibleValues. -
withPossibleValues
With possibleValues. -
getActions
Get actions. -
setActions
Set actions. -
withActions
With actions. -
getShowInUserMenu
public boolean getShowInUserMenu()Get showInUserMenu. -
setShowInUserMenu
public void setShowInUserMenu(boolean showInUserMenu) Set showInUserMenu. -
withShowInUserMenu
With showInUserMenu.
-