Class ThemeQueryImpl
java.lang.Object
com.flowable.platform.engine.impl.configuration.ThemeQueryImpl
- All Implemented Interfaces:
ThemeQuery
public class ThemeQueryImpl extends java.lang.Object implements ThemeQuery
- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected ConfigurationPropertyQueryconfigurationPropertyQueryprotected static com.fasterxml.jackson.core.type.TypeReference<java.util.Map<java.lang.String,java.lang.String>>MAP_TYPE_REFERENCEprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapper -
Constructor Summary
Constructors Constructor Description ThemeQueryImpl(ConfigurationPropertyQuery configurationPropertyQuery, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and Type Method Description protected ThemeasTheme(ConfigurationProperty themeProperty)protected java.util.Map<java.lang.String,java.lang.String>convertToThemeOptions(java.lang.String themeOptions)ThemeQueryid(java.lang.String id)Query for themes with the given idjava.util.List<Theme>list()Return a list ofTheme(s)ThemeQueryname(java.lang.String name)Query for themes with the given nameThemesingleResult()Return a singleThemeThemeQuerytenantId(java.lang.String tenantId)Query for themes in the given tenant
-
Field Details
-
MAP_TYPE_REFERENCE
protected static final com.fasterxml.jackson.core.type.TypeReference<java.util.Map<java.lang.String,java.lang.String>> MAP_TYPE_REFERENCE -
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper -
configurationPropertyQuery
-
-
Constructor Details
-
ThemeQueryImpl
public ThemeQueryImpl(ConfigurationPropertyQuery configurationPropertyQuery, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
id
Description copied from interface:ThemeQueryQuery for themes with the given id- Specified by:
idin interfaceThemeQuery
-
name
Description copied from interface:ThemeQueryQuery for themes with the given name- Specified by:
namein interfaceThemeQuery
-
tenantId
Description copied from interface:ThemeQueryQuery for themes in the given tenant- Specified by:
tenantIdin interfaceThemeQuery
-
singleResult
Description copied from interface:ThemeQueryReturn a singleTheme- Specified by:
singleResultin interfaceThemeQuery
-
list
Description copied from interface:ThemeQueryReturn a list ofTheme(s)- Specified by:
listin interfaceThemeQuery
-
asTheme
-
convertToThemeOptions
protected java.util.Map<java.lang.String,java.lang.String> convertToThemeOptions(java.lang.String themeOptions)
-