Package org.apache.unomi.api.services
Class PersonalizationService.PersonalizedContent
- java.lang.Object
-
- org.apache.unomi.api.services.PersonalizationService.PersonalizedContent
-
- Enclosing interface:
- PersonalizationService
public static class PersonalizationService.PersonalizedContent extends Object
A personalizated content definition.
-
-
Constructor Summary
Constructors Constructor Description PersonalizedContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<PersonalizationService.Filter>getFilters()Retrieves the filters.StringgetId()Retrieves the filter identifier associated with this content filtering definition.Map<String,Object>getProperties()voidsetFilterid(String filterid)Deprecated.As of version 1.3.0-incubating, please usesetId(String)insteadvoidsetFilters(List<PersonalizationService.Filter> filters)Sets the filters.voidsetId(String id)Sets the filter identifier associated with this content filtering definition.voidsetProperties(Map<String,Object> properties)
-
-
-
Method Detail
-
getId
public String getId()
Retrieves the filter identifier associated with this content filtering definition.- Returns:
- the filter identifier associated with this content filtering definition
-
setId
public void setId(String id)
Sets the filter identifier associated with this content filtering definition.- Parameters:
id- the filter identifier associated with this content filtering definition
-
setFilterid
@Deprecated public void setFilterid(String filterid)
Deprecated.As of version 1.3.0-incubating, please usesetId(String)insteadSets the filter identifier associated with this content filtering definition.- Parameters:
filterid- the filter identifier associated with this content filtering definition
-
getFilters
public List<PersonalizationService.Filter> getFilters()
Retrieves the filters.- Returns:
- the filters
-
setFilters
public void setFilters(List<PersonalizationService.Filter> filters)
Sets the filters.- Parameters:
filters- the filters
-
-