@Exposed @Configuration public class WebCmsAssetMenuViewsConfiguration extends Object
WebCmsMenuItem items for a WebCmsAsset.
Requires the asset to also have a single WebCmsAssetEndpoint.WebCmsAssetUrlConfiguration| Constructor and Description |
|---|
WebCmsAssetMenuViewsConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
disable(Class<? extends WebCmsAsset> assetType)
Disable
WebCmsMenuItem management for a specific WebCmsAsset implementation. |
void |
enable(Class<? extends WebCmsAsset> assetType)
Enable
WebCmsMenuItem management for a specific WebCmsAsset implementation. |
void |
registerMenuItemsAssociation(com.foreach.across.modules.entity.config.builders.EntityConfigurationBuilder<?> configuration)
Manually register a
WebCmsMenuItem association on the configuration builder. |
public void enable(Class<? extends WebCmsAsset> assetType)
WebCmsMenuItem management for a specific WebCmsAsset implementation.
Note: this method should be called before the actual entity configuration happens by EntityModule.assetType - to enablepublic void disable(Class<? extends WebCmsAsset> assetType)
WebCmsMenuItem management for a specific WebCmsAsset implementation.
Note: this method should be called before the actual entity configuration happens by EntityModule.assetType - to disablepublic void registerMenuItemsAssociation(com.foreach.across.modules.entity.config.builders.EntityConfigurationBuilder<?> configuration)
WebCmsMenuItem association on the configuration builder.
Name of the association is webCmsMenuItems.configuration - builderCopyright © 2020. All rights reserved.