Package ch.tocco.nice2.widget.impl.rest
Class WidgetConfig
java.lang.Object
ch.tocco.nice2.widget.impl.rest.WidgetConfig
-
Method Summary
Modifier and TypeMethodDescriptionstatic WidgetConfig
create
(Entity widgetConfig, WidgetConfigRelationResolver widgetConfigRelationResolver, com.google.common.collect.Multimap<String, String> excludedFields) getKey()
boolean
static @Nullable Entity
loadSpecificConfigEntity
(Entity widgetConfig)
-
Method Details
-
create
public static WidgetConfig create(Entity widgetConfig, WidgetConfigRelationResolver widgetConfigRelationResolver, com.google.common.collect.Multimap<String, String> excludedFields) throws IllegalStateException- Throws:
IllegalStateException
- if specific config can't be resolved
-
loadSpecificConfigEntity
- Throws:
IllegalStateException
- if specific config is not fully configured
-
getKey
-
getUniqueId
-
getAppName
-
getPackageName
-
getDomain
-
isOldCmsDomain
public boolean isOldCmsDomain() -
getLocale
-
isWidgetConfigActive
-
getSpecificConfig
-