com.day.cq.mcm.api
Interface Campaign


public interface Campaign

Helps working with campaign resources. Campaign resources can be adapted to this.


Field Summary
static String RESOURCE_TYPE
           
 
Method Summary
 Brand getBrand()
           
 String getLongTitle()
          'title (brandname)'.
 ValueMap getProps()
          Get the properties map from the jcr:content node.
 Resource getResource()
           
 String getTitle()
           
 

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:
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:


Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.