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 StringRESOURCE_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BrandgetBrand()StringgetLongTitle()'title (brandname)'.ValueMapgetProps()Get the properties map from the jcr:content node.ResourcegetResource()StringgetTitle()
-
-
-
Field Detail
-
RESOURCE_TYPE
static final String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getResource
Resource getResource()
-
getTitle
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
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:
-
-