Package com.day.cq.mcm.api
Interface Campaign
public interface Campaign
Helps working with campaign resources. Campaign resources can be adapted to
this.
-
Field Details
-
RESOURCE_TYPE
- See Also:
-
-
Method Details
-
getResource
Resource getResource() -
getTitle
String getTitle() -
getBrand
Brand getBrand()- Returns:
null
if 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:
-