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
All Methods Instance Methods Concrete Methods 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 Detail
-
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
protected final ConfigurationPropertyQuery configurationPropertyQuery
-
-
Constructor Detail
-
ThemeQueryImpl
public ThemeQueryImpl(ConfigurationPropertyQuery configurationPropertyQuery, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
id
public ThemeQuery id(java.lang.String id)
Description copied from interface:ThemeQuery
Query for themes with the given id- Specified by:
id
in interfaceThemeQuery
-
name
public ThemeQuery name(java.lang.String name)
Description copied from interface:ThemeQuery
Query for themes with the given name- Specified by:
name
in interfaceThemeQuery
-
tenantId
public ThemeQuery tenantId(java.lang.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 java.util.List<Theme> list()
Description copied from interface:ThemeQuery
Return a list ofTheme
(s)- Specified by:
list
in interfaceThemeQuery
-
asTheme
protected Theme asTheme(ConfigurationProperty themeProperty)
-
convertToThemeOptions
protected java.util.Map<java.lang.String,java.lang.String> convertToThemeOptions(java.lang.String themeOptions)
-
-