Package com.day.cq.mcm.api
Interface Campaign
-
public interface CampaignHelps working with campaign resources. Campaign resources can be adapted to this.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringRESOURCE_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BrandgetBrand()java.lang.StringgetLongTitle()'title (brandname)'.ValueMapgetProps()Get the properties map from the jcr:content node.ResourcegetResource()java.lang.StringgetTitle()
-
-
-
Field Detail
-
RESOURCE_TYPE
static final java.lang.String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getResource
Resource getResource()
-
getTitle
java.lang.String getTitle()
-
getBrand
Brand getBrand()
- Returns:
nullif this is a campaign that doesn't sit underneath a brand node (checks the resourcetype of the parent).
-
getLongTitle
java.lang.String getLongTitle()
'title (brandname)'.- Returns:
- the title and a possible brandname in parens.
-
getProps
ValueMap getProps()
Get the properties map from the jcr:content node.- Returns:
-
-