public class SaveOfferRequest extends OfferBase
Constructor and Description |
---|
SaveOfferRequest(long id,
java.lang.String name,
java.lang.String content)
Constructs a
SaveOfferRequest using the parameters required to update an offer |
SaveOfferRequest(java.lang.String name,
java.lang.String content)
Constructs an object of this type using the minimal required to create an offer.
|
SaveOfferRequest(java.lang.String name,
java.lang.String content,
java.lang.String editUrl,
java.lang.String remoteModifiedBy) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContent()
Returns the offer content, as set in Adobe Target
|
java.lang.String |
getContentPath()
Returns the path of this offer from the AEM repository
|
java.lang.String |
getName()
Returns the name of the offer
|
java.lang.String |
toString() |
getId, getMacMetadata, getType, getWorkspace, setMacMetadata, setType, setWorkspace
public SaveOfferRequest(long id, java.lang.String name, java.lang.String content)
SaveOfferRequest
using the parameters required to update an offerid
- the offer id, as assigned by Adobe Target. This cannot be 0name
- the offer namecontent
- the content of the offerpublic SaveOfferRequest(java.lang.String name, java.lang.String content)
name
- the offer namecontent
- the content of the offerpublic SaveOfferRequest(java.lang.String name, java.lang.String content, java.lang.String editUrl, java.lang.String remoteModifiedBy)
public java.lang.String getName()
OfferBase
public java.lang.String getContentPath()
OfferBase
getContentPath
in class OfferBase
public java.lang.String getContent()
OfferBase
getContent
in class OfferBase
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved