Class AutomaticNewsletterFilterResult
- java.lang.Object
-
- org.ametys.plugins.newsletter.auto.AutomaticNewsletterFilterResult
-
public class AutomaticNewsletterFilterResult extends Object
A content filter result.
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>
_contentIds
A list of content id returned by the filter.protected String
_viewName
The filter metadata set name.
-
Constructor Summary
Constructors Constructor Description AutomaticNewsletterFilterResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getContentIds()
Get the contentIds.String
getViewName()
Get the viewName.boolean
hasResults()
Test if the filter has results.void
setContentIds(List<String> contentIds)
Set the contentIds.void
setViewName(String viewName)
Set the viewName.
-
-
-
Field Detail
-
_contentIds
protected List<String> _contentIds
A list of content id returned by the filter.
-
-
Constructor Detail
-
AutomaticNewsletterFilterResult
public AutomaticNewsletterFilterResult()
-
-
Method Detail
-
getContentIds
public List<String> getContentIds()
Get the contentIds.- Returns:
- the contentIds
-
setContentIds
public void setContentIds(List<String> contentIds)
Set the contentIds.- Parameters:
contentIds
- the contentIds to set
-
getViewName
public String getViewName()
Get the viewName.- Returns:
- the viewName
-
setViewName
public void setViewName(String viewName)
Set the viewName.- Parameters:
viewName
- the viewName to set
-
hasResults
public boolean hasResults()
Test if the filter has results.- Returns:
- true if the filter has results, false otherwise.
-
-