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