public interface WebCmsDomainService
WebCmsMultiDomainService instead. The latter extends this interface.WebCmsMultiDomainService| Modifier and Type | Method and Description |
|---|---|
WebCmsDomain |
getDomain(String objectId)
Get the domain with that object id.
|
WebCmsDomain |
getDomainByKey(String domainKey)
Get the domain with the specified domain key.
|
<U> U |
getMetadataForDomain(WebCmsDomain domain,
Class<U> metadataType)
Retrieve the metadata for a specific domain.
|
WebCmsDomain getDomain(String objectId)
objectId - of the domainnull if not foundWebCmsDomain getDomainByKey(String domainKey)
domainKey - of the domainnull if not found<U> U getMetadataForDomain(WebCmsDomain domain, Class<U> metadataType)
ClassCastException will be thrown if the metadata is not of the right type.domain - or null for the no-domainmetadataType - type the metadata should haveCopyright © 2020. All rights reserved.