Package org.ametys.plugins.blog.posts
Class PostFilter.PostFilterSearchContext
java.lang.Object
org.ametys.web.filter.DefaultWebContentFilter.DefaultFilterSearchContext
org.ametys.plugins.blog.posts.PostFilter.PostFilterSearchContext
- All Implemented Interfaces:
WebContentFilter.FilterSearchContext
- Enclosing class:
- PostFilter
public class PostFilter.PostFilterSearchContext
extends DefaultWebContentFilter.DefaultFilterSearchContext
FilterSearchContext specific to the post filter.
-
Field Summary
Fields inherited from class org.ametys.web.filter.DefaultWebContentFilter.DefaultFilterSearchContext
_context, _contextLang, _depth, _pageId, _siteManager, _sites, _tags, _tagsAutoPosting, _tagsCondition
-
Constructor Summary
ConstructorDescriptionPostFilterSearchContext
(SiteManager siteManager) Build a PostFilterSearchContext. -
Method Summary
Modifier and TypeMethodDescriptionprotected Expression
getContextExpression
(String siteName) Get theExpression
associated with the given site contextMethods inherited from class org.ametys.web.filter.DefaultWebContentFilter.DefaultFilterSearchContext
_getTag, addSite, addTag, getContext, getContextLanguage, getContextLanguagesExpression, getDepth, getFullExpression, getPageId, getSharedContentsExpression, getSites, getTags, getTagsAutoPosting, getTagsCondition, getTagsExpression, setContext, setContextLanguage, setDepth, setPageId, setTagsAutoPosting, setTagsCondition
-
Constructor Details
-
PostFilterSearchContext
Build a PostFilterSearchContext.- Parameters:
siteManager
- the site manager.
-
-
Method Details
-
getContextExpression
Description copied from class:DefaultWebContentFilter.DefaultFilterSearchContext
Get theExpression
associated with the given site context- Overrides:
getContextExpression
in classDefaultWebContentFilter.DefaultFilterSearchContext
- Parameters:
siteName
- The current site name- Returns:
- a
Expression
associated with the given site context
-