@Order(value=2147483647) @Component public class DefaultAllowedComponentTypeFetcher extends Object implements WebCmsAllowedComponentTypeFetcher
WebCmsAllowedComponentTypeFetcher.
Fetches all linked WebCmsComponentTypes if the owner is WebCmsChildComponentRestrictable.CHILD_COMPONENT_RESTRICTED,
otherwise fetches all non-WebCmsComponentType.COMPONENT_RESTRICTED component types.
| Modifier and Type | Field and Description |
|---|---|
static String |
ALLOWED_COMPONENT_LINK |
| Constructor and Description |
|---|
DefaultAllowedComponentTypeFetcher() |
| Modifier and Type | Method and Description |
|---|---|
List<WebCmsComponentType> |
fetchComponentTypes(WebCmsObject owner,
WebCmsDomain domain)
|
boolean |
supports(WebCmsObject owner,
WebCmsDomain domain) |
public static final String ALLOWED_COMPONENT_LINK
public boolean supports(WebCmsObject owner, WebCmsDomain domain)
supports in interface WebCmsAllowedComponentTypeFetcherpublic List<WebCmsComponentType> fetchComponentTypes(WebCmsObject owner, WebCmsDomain domain)
WebCmsAllowedComponentTypeFetcherfetchComponentTypes in interface WebCmsAllowedComponentTypeFetcherowner - to retrieve the component types fordomain - in which should be searchedCopyright © 2020. All rights reserved.