Interface RecommendationTemplate
- All Superinterfaces:
RecommendationsEntity
Abstraction of a Target Recommendation Template
-
Method Summary
Methods inherited from interface com.adobe.cq.targetrecommendations.api.model.RecommendationsEntity
toJson
-
Method Details
-
getId
int getId()Uniquely identifies a recommendation template- Returns:
- a
Integervalue identifying thisRecommendationTemplate
-
getName
String getName()Get the name of thisRecommendationTemplate- Returns:
- a
Stringobject containing this template's name
-
getScript
String getScript()Get the actual script content of this template.
Must be a valid Velocity script- Returns:
- a
StringBuildercontaining the template script content
-