Package com.day.cq.mcm.api
Interface Campaign
-
public interface Campaign
Helps working with campaign resources. Campaign resources can be adapted to this.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
RESOURCE_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Brand
getBrand()
java.lang.String
getLongTitle()
'title (brandname)'.ValueMap
getProps()
Get the properties map from the jcr:content node.Resource
getResource()
java.lang.String
getTitle()
-
-
-
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:
null
if 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:
-
-