Interface ProductFeed
- All Superinterfaces:
RecommendationsEntity
Abstraction of a Target Recommendations product feed
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumFeed schedule enumeration.static enumFeed type enumeration -
Method Summary
Modifier and TypeMethodDescriptionDefines the mapping between the feed's fields and the Target Recommendation's entities.Defines the connection properties for the feeds requiring remote server connections Not all feed types support connection properties (e.g.intEnvironment id of this feedintgetId()Uniquely identifies aProductFeedgetName()Get the name of thisProductFeedProduct update frequencygetType()This feed's typeMethods inherited from interface com.adobe.cq.targetrecommendations.api.model.RecommendationsEntity
toJson
-
Method Details
-
getId
int getId()Uniquely identifies aProductFeed- Returns:
- a
Integervalue identifying thisProductFeed
-
getName
String getName()Get the name of thisProductFeed- Returns:
- a
Stringobject containing this product feed's name
-
getType
ProductFeed.FeedType getType()This feed's type- Returns:
- a
FeedTypevalue
-
getSchedule
ProductFeed.FeedSchedule getSchedule()Product update frequency- Returns:
- a
FeedSchedulevalue
-
getEnvironmentId
int getEnvironmentId()Environment id of this feed- Returns:
- the environment id
-
getAttributeMapping
Defines the mapping between the feed's fields and the Target Recommendation's entities. Not all field types support this mapping (e.g. csv)- Returns:
- a
Mapwhere keys point to feed field names and values to target recommendations entity names
-
getConnectionProperties
Defines the connection properties for the feeds requiring remote server connections Not all feed types support connection properties (e.g. SAINT)- Returns:
- a
Mapcontaining the connection properties as key-value pairs
-