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 ConfigurationPropertyQuery
configurationPropertyQuery
protected static com.fasterxml.jackson.core.type.TypeReference<Map<String,String>>
MAP_TYPE_REFERENCE
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
-
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 Theme
asTheme(ConfigurationProperty themeProperty)
protected Map<String,String>
convertToThemeOptions(String themeOptions)
ThemeQuery
id(String id)
Query for themes with the given idList<Theme>
list()
Return a list ofTheme
(s)ThemeQuery
name(String name)
Query for themes with the given nameTheme
singleResult()
Return a singleTheme
ThemeQuery
tenantId(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:ThemeQuery
Query for themes with the given id- Specified by:
id
in interfaceThemeQuery
-
name
public ThemeQuery name(String name)
Description copied from interface:ThemeQuery
Query for themes with the given name- Specified by:
name
in interfaceThemeQuery
-
tenantId
public ThemeQuery tenantId(String tenantId)
Description copied from interface:ThemeQuery
Query for themes in the given tenant- Specified by:
tenantId
in interfaceThemeQuery
-
singleResult
public Theme singleResult()
Description copied from interface:ThemeQuery
Return a singleTheme
- Specified by:
singleResult
in interfaceThemeQuery
-
list
public List<Theme> list()
Description copied from interface:ThemeQuery
Return a list ofTheme
(s)- Specified by:
list
in interfaceThemeQuery
-
asTheme
protected Theme asTheme(ConfigurationProperty themeProperty)
-
-