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