@Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) @Documented @WebCmsAssetMapping(value=WebCmsArticle.class) @CustomRequestMapping(value=com.foreach.across.modules.webcms.domain.article.web.WebCmsArticleCondition.class) @RequestMapping(value="**") public @interface WebCmsArticleMapping
WebCmsArticle endpoint.| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
articleType
Article types this mapping applies for.
|
String[] |
domain
Mapping will only apply if the current
WebCmsDomainContext
if for any of the domains specified. |
String[] |
objectId
Globally unique asset object ids.
|
String[] |
publication
Publications this mapping applies for.
|
String[] |
publicationType
Publication types this mapping applies for.
|
org.springframework.http.HttpStatus.Series[] |
series
Mapping will only apply if the
WebCmsUrl that it
matched on has a status in this series configured. |
org.springframework.http.HttpStatus[] |
status
Mapping will only apply if the
WebCmsUrl that it
matched on has this status configured. |
public abstract String[] objectId
public abstract org.springframework.http.HttpStatus[] status
WebCmsUrl that it
matched on has this status configured.public abstract org.springframework.http.HttpStatus.Series[] series
WebCmsUrl that it
matched on has a status in this series configured.public abstract String[] articleType
WebCmsObjectSuperClass.getObjectId() or WebCmsArticleType#getTypeKey().public abstract String[] publicationType
WebCmsObjectSuperClass.getObjectId() or WebCmsPublicationType#getTypeKey().public abstract String[] publication
WebCmsObjectSuperClass.getObjectId() or WebCmsPublication#getPublicationKey().
Note that if publication type is also configured, the match on publication will fail if that publication does not have the publication type.@AliasFor(annotation=WebCmsDomainMapping.class, attribute="value") public abstract String[] domain
WebCmsDomainContext
if for any of the domains specified. If the array of domains is empty, mapping will always apply.
A domain is specified by its domain key, null represent the explicit no-domain.Copyright © 2020. All rights reserved.