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 classTargetRecommendation.RecommendationStateEnumeration of the possible states of a Target Recommendations
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Integer>getAlgorithmIds()Get the list of algorithms used by this recommendationintgetCatalogId()Get the Id of the product catalog used by this recommendationintgetDefaultContentId()The default content id for this recommendationsStringgetEndDate()Gets the end date of this recommendationintgetId()Uniquely identifies aTargetRecommendationStringgetLocationDisplayMbox()Gets the name of the MBox where this recommendation is targetedStringgetName()Get the name of thisTargetRecommendationStringgetStartDate()Gets the start date of this recommendationTargetRecommendation.RecommendationStategetState()Get the state of this recommendationList<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
Integervalue identifying thisTargetRecommendation
-
getName
String getName()
Get the name of thisTargetRecommendation- Returns:
- a
Stringobject 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
List<String> getTemplateNames()
Get the list of template names used by this recommendation- Returns:
- a
Listcontaining the template names
-
getState
TargetRecommendation.RecommendationState getState()
Get the state of this recommendation- Returns:
- a
RecommendationStateenum value with the state of this recommendation
-
getAlgorithmIds
List<Integer> getAlgorithmIds()
Get the list of algorithms used by this recommendation- Returns:
- a
Listcontaining the ids of the used algorithms
-
getLocationDisplayMbox
String getLocationDisplayMbox()
Gets the name of the MBox where this recommendation is targeted- Returns:
- a
Stringobject containing the MBox name
-
getDefaultContentId
int getDefaultContentId()
The default content id for this recommendations- Returns:
- a non-negative id indicating the default content
-
getStartDate
String getStartDate()
Gets the start date of this recommendation- Returns:
Stringcontaining the recommendation campaign start date
-
getEndDate
String getEndDate()
Gets the end date of this recommendation- Returns:
Stringcontaining the recommendation campaign end date
-
-