Interface TargetRecommendation
-
- All Superinterfaces:
RecommendationsEntity
@ProviderType public interface TargetRecommendation extends RecommendationsEntity
Abstraction of an Adobe Target recommendation
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TargetRecommendation.RecommendationState
Enumeration of the possible states of a Target Recommendations
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.Integer>
getAlgorithmIds()
Get the list of algorithms used by this recommendationint
getCatalogId()
Get the Id of the product catalog used by this recommendationint
getDefaultContentId()
The default content id for this recommendationsjava.lang.String
getEndDate()
Gets the end date of this recommendationint
getId()
Uniquely identifies aTargetRecommendation
java.lang.String
getLocationDisplayMbox()
Gets the name of the MBox where this recommendation is targetedjava.lang.String
getName()
Get the name of thisTargetRecommendation
java.lang.String
getStartDate()
Gets the start date of this recommendationTargetRecommendation.RecommendationState
getState()
Get the state of this recommendationjava.util.List<java.lang.String>
getTemplateNames()
Get the list of template names used by this recommendation-
Methods inherited from interface com.adobe.cq.targetrecommendations.api.model.RecommendationsEntity
toJson
-
-
-
-
Method Detail
-
getId
int getId()
Uniquely identifies aTargetRecommendation
- Returns:
- a
Integer
value identifying thisTargetRecommendation
-
getName
java.lang.String getName()
Get the name of thisTargetRecommendation
- Returns:
- a
String
object containing this recommendation's name
-
getCatalogId
int getCatalogId()
Get the Id of the product catalog used by this recommendation- Returns:
- a {link Integer} value identifying a product catalog
-
getTemplateNames
java.util.List<java.lang.String> getTemplateNames()
Get the list of template names used by this recommendation- Returns:
- a
List
containing the template names
-
getState
TargetRecommendation.RecommendationState getState()
Get the state of this recommendation- Returns:
- a
RecommendationState
enum value with the state of this recommendation
-
getAlgorithmIds
java.util.List<java.lang.Integer> getAlgorithmIds()
Get the list of algorithms used by this recommendation- Returns:
- a
List
containing the ids of the used algorithms
-
getLocationDisplayMbox
java.lang.String getLocationDisplayMbox()
Gets the name of the MBox where this recommendation is targeted- Returns:
- a
String
object containing the MBox name
-
getDefaultContentId
int getDefaultContentId()
The default content id for this recommendations- Returns:
- a non-negative id indicating the default content
-
getStartDate
java.lang.String getStartDate()
Gets the start date of this recommendation- Returns:
String
containing the recommendation campaign start date
-
getEndDate
java.lang.String getEndDate()
Gets the end date of this recommendation- Returns:
String
containing the recommendation campaign end date
-
-