Class ViewOfferResponse
- java.lang.Object
-
- com.day.cq.analytics.testandtarget.OfferBase
-
- com.day.cq.analytics.testandtarget.ViewOfferResponse
-
public class ViewOfferResponse extends OfferBase
A response object containing offer data as retrieved from Adobe Target
-
-
Constructor Summary
Constructors Constructor Description ViewOfferResponse(long offerId, java.lang.String name, java.lang.String content)
Constructs a new ViewOfferResponse
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContent()
Returns the offer content, as set in Adobe Targetjava.lang.String
getName()
Returns the name of the offer-
Methods inherited from class com.day.cq.analytics.testandtarget.OfferBase
getContentPath, getId, getMacMetadata, getType, getWorkspace, setMacMetadata, setType, setWorkspace
-
-
-
-
Method Detail
-
getContent
public java.lang.String getContent()
Description copied from class:OfferBase
Returns the offer content, as set in Adobe Target- Overrides:
getContent
in classOfferBase
- Returns:
- the offer content. This is usually a callback to an AEM function which pulls the content from the repository
-
-