Class MetaDataOutput
java.lang.Object
com.kingsrook.qqq.backend.core.model.actions.AbstractActionOutput
com.kingsrook.qqq.backend.core.model.actions.metadata.MetaDataOutput
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetApps()Getter for appsGetter for appTreeGetter for brandingGetter for environmentValuesGetter for helpContentsGetter for processesGetter for redirectsGetter for reportsGetter for supplementalInstanceMetaDataGetter for tablesGetter for widgetsvoidsetApps(Map<String, QFrontendAppMetaData> apps) Setter for appsvoidsetAppTree(List<AppTreeNode> appTree) Setter for appTreevoidsetBranding(QBrandingMetaData branding) Setter for brandingvoidsetEnvironmentValues(Map<String, String> environmentValues) Setter for environmentValuesvoidsetHelpContents(Map<String, List<QHelpContent>> helpContents) Setter for helpContentsvoidsetProcesses(Map<String, QFrontendProcessMetaData> processes) Setter for processesvoidsetRedirects(Map<String, String> redirects) Setter for redirectsvoidsetReports(Map<String, QFrontendReportMetaData> reports) Setter for reportsvoidsetSupplementalInstanceMetaData(Map<String, QSupplementalInstanceMetaData> supplementalInstanceMetaData) Setter for supplementalInstanceMetaDatavoidsetTables(Map<String, QFrontendTableMetaData> tables) Setter for tablesvoidsetWidgets(Map<String, QFrontendWidgetMetaData> widgets) Setter for widgetswithRedirect(String from, String to) Fluent setter to add a single redirect.withRedirects(Map<String, String> redirects) Fluent setter for redirects
-
Constructor Details
-
MetaDataOutput
public MetaDataOutput()
-
-
Method Details
-
getTables
Getter for tables -
setTables
Setter for tables -
getProcesses
Getter for processes -
setProcesses
Setter for processes -
getReports
Getter for reports -
setReports
Setter for reports -
getAppTree
Getter for appTree -
setAppTree
Setter for appTree -
getApps
Getter for apps -
setApps
Setter for apps -
getWidgets
Getter for widgets -
setWidgets
Setter for widgets -
getBranding
Getter for branding -
setBranding
Setter for branding -
getEnvironmentValues
-
setEnvironmentValues
-
getSupplementalInstanceMetaData
Getter for supplementalInstanceMetaData -
setSupplementalInstanceMetaData
public void setSupplementalInstanceMetaData(Map<String, QSupplementalInstanceMetaData> supplementalInstanceMetaData) Setter for supplementalInstanceMetaData -
setHelpContents
Setter for helpContents -
getHelpContents
Getter for helpContents -
getRedirects
-
setRedirects
-
withRedirects
Fluent setter for redirects- Parameters:
redirects- Map of string to string, where the key is the URL path to redirect from, and the value is the URL path to redirect to.The core
MetaDataActionwill build some of these redirects automatically, e.g., for the use case of a table in multiple apps, but where a user doesn't have permission to all of those apps.An app may build its own redirects via a
MetaDataActionCustomizerInterface, for whatever custom logic is needed.- Returns:
- this
-
withRedirect
Fluent setter to add a single redirect.- See Also:
-