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