Class DefaultPluginFormThemeRetVal
- java.lang.Object
-
- de.xima.fc.plugin.models.retval.form.DefaultPluginFormThemeRetVal
-
- All Implemented Interfaces:
IPluginFormThemeRetVal
public final class DefaultPluginFormThemeRetVal extends Object implements IPluginFormThemeRetVal
Default POJO implementation ofIPluginFormThemeRetVal
with a builder.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultPluginFormThemeRetVal.Builder
Simple builder for aDefaultPluginFormThemeRetVal
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultPluginFormThemeRetVal.Builder
builder()
Creates a new builder for aDefaultPluginFormThemeRetVal
.Map<String,IFormTheme>
getThemesById()
Gets the form themes that the plugin provides for the given parameters.
-
-
-
Method Detail
-
getThemesById
public Map<String,IFormTheme> getThemesById()
Description copied from interface:IPluginFormThemeRetVal
Gets the form themes that the plugin provides for the given parameters. The key is the ID of the form theme and is used to identify the theme amongst all themes returned by the plugin. This ID must be unique only amongst the themes returned by an individualIPluginFormTheme
instance. Different plugin could in principle return themes with the same ID.- Specified by:
getThemesById
in interfaceIPluginFormThemeRetVal
- Returns:
- A map with all available form themes.
-
builder
public static DefaultPluginFormThemeRetVal.Builder builder()
Creates a new builder for aDefaultPluginFormThemeRetVal
.- Returns:
- A new builder.
-
-