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 java.util.List<java.lang.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 recommendationsjava.lang.StringgetEndDate()Gets the end date of this recommendationintgetId()Uniquely identifies aTargetRecommendationjava.lang.StringgetLocationDisplayMbox()Gets the name of the MBox where this recommendation is targetedjava.lang.StringgetName()Get the name of thisTargetRecommendationjava.lang.StringgetStartDate()Gets the start date of this recommendationTargetRecommendation.RecommendationStategetState()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
Integervalue identifying thisTargetRecommendation
-
getName
java.lang.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
java.util.List<java.lang.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
java.util.List<java.lang.Integer> getAlgorithmIds()
Get the list of algorithms used by this recommendation- Returns:
- a
Listcontaining the ids of the used algorithms
-
getLocationDisplayMbox
java.lang.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
java.lang.String getStartDate()
Gets the start date of this recommendation- Returns:
Stringcontaining the recommendation campaign start date
-
getEndDate
java.lang.String getEndDate()
Gets the end date of this recommendation- Returns:
Stringcontaining the recommendation campaign end date
-
-