Package com.jalios.jcms
Class QueryManager.QueryPublicationSelector
- java.lang.Object
-
- com.jalios.jcms.QueryManager.QueryPublicationSelector
-
- All Implemented Interfaces:
DataSelector
,java.util.function.Predicate<Data>
- Enclosing class:
- QueryManager
public static class QueryManager.QueryPublicationSelector extends java.lang.Object implements DataSelector
-
-
Field Summary
Fields Modifier and Type Field Description protected DataSelector
abilitySelector
protected java.util.Date
beginDate
protected java.lang.String
catMode
protected boolean
checkDates
protected boolean
checkLangs
protected boolean
checkReadRights
protected int
dateType
protected java.util.Date
endDate
protected java.util.Set<Publication>
historySet
protected boolean
isExactCat
protected java.lang.String[]
langs
protected Member
loggedMember
protected int[]
pstatus
protected java.util.HashSet<Category>
queryAvoidCategorySet
protected java.util.HashSet<java.lang.Class<? extends Publication>>
queryAvoidClassSet
protected java.util.Set<Group>
queryAvoidGroupSet
protected java.util.Set<Member>
queryAvoidMemberSet
protected java.util.HashSet<Category>
queryCategorySet
protected java.util.HashSet<java.lang.Class<? extends Publication>>
queryClassSet
protected java.util.Set<java.lang.String>
queryDBMemberIdSet
protected java.util.Set<Group>
queryGroupSet
protected java.util.Set<Member>
queryMemberSet
protected boolean
refineOnWorkspace
protected java.util.Set<Workspace>
workspaceSet
See JCMS-3331.-
Fields inherited from interface com.jalios.jcms.DataSelector
REVISION
-
-
Constructor Summary
Constructors Constructor Description QueryPublicationSelector(java.util.HashSet<java.lang.Class<? extends Publication>> queryClassSet, java.util.HashSet<java.lang.Class<? extends Publication>> queryAvoidClassSet, java.util.Date beginDate, java.util.Date endDate, int dateType, java.util.Set<Group> queryGroupSet, java.util.Set<Group> queryAvoidGroupSet, java.util.Set<Member> queryMemberSet, java.util.Set<Member> queryAvoidMemberSet, java.util.Set<java.lang.String> queryDBMemberIdSet, int[] pstatus, java.lang.String[] langs, Member loggedMember, java.util.Set<Workspace> workspaceSet, boolean checkReadRights, java.lang.String ability, boolean isExactCat, java.lang.String catMode, java.util.HashSet<Category> queryCategorySet, java.util.HashSet<Category> queryAvoidCategorySet, java.util.Set<Publication> historySet, java.util.Set<java.lang.String> allContentTypeSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSelected(Data data)
Evaluates if a data must be selected or not.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.jalios.jcms.DataSelector
test
-
-
-
-
Field Detail
-
queryClassSet
protected java.util.HashSet<java.lang.Class<? extends Publication>> queryClassSet
-
queryAvoidClassSet
protected java.util.HashSet<java.lang.Class<? extends Publication>> queryAvoidClassSet
-
beginDate
protected java.util.Date beginDate
-
endDate
protected java.util.Date endDate
-
dateType
protected int dateType
-
checkDates
protected boolean checkDates
-
queryGroupSet
protected java.util.Set<Group> queryGroupSet
-
queryAvoidGroupSet
protected java.util.Set<Group> queryAvoidGroupSet
-
queryMemberSet
protected java.util.Set<Member> queryMemberSet
-
queryAvoidMemberSet
protected java.util.Set<Member> queryAvoidMemberSet
-
queryDBMemberIdSet
protected java.util.Set<java.lang.String> queryDBMemberIdSet
-
pstatus
protected int[] pstatus
-
langs
protected java.lang.String[] langs
-
checkLangs
protected boolean checkLangs
-
loggedMember
protected Member loggedMember
-
workspaceSet
protected java.util.Set<Workspace> workspaceSet
See JCMS-3331.- Since:
- jcms-7.1.3, jcms-8.0.0
-
checkReadRights
protected boolean checkReadRights
-
abilitySelector
protected DataSelector abilitySelector
-
isExactCat
protected boolean isExactCat
-
catMode
protected java.lang.String catMode
-
queryCategorySet
protected java.util.HashSet<Category> queryCategorySet
-
queryAvoidCategorySet
protected java.util.HashSet<Category> queryAvoidCategorySet
-
historySet
protected java.util.Set<Publication> historySet
-
refineOnWorkspace
protected boolean refineOnWorkspace
-
-
Constructor Detail
-
QueryPublicationSelector
public QueryPublicationSelector(java.util.HashSet<java.lang.Class<? extends Publication>> queryClassSet, java.util.HashSet<java.lang.Class<? extends Publication>> queryAvoidClassSet, java.util.Date beginDate, java.util.Date endDate, int dateType, java.util.Set<Group> queryGroupSet, java.util.Set<Group> queryAvoidGroupSet, java.util.Set<Member> queryMemberSet, java.util.Set<Member> queryAvoidMemberSet, java.util.Set<java.lang.String> queryDBMemberIdSet, int[] pstatus, java.lang.String[] langs, Member loggedMember, java.util.Set<Workspace> workspaceSet, boolean checkReadRights, java.lang.String ability, boolean isExactCat, java.lang.String catMode, java.util.HashSet<Category> queryCategorySet, java.util.HashSet<Category> queryAvoidCategorySet, java.util.Set<Publication> historySet, java.util.Set<java.lang.String> allContentTypeSet)
-
-
Method Detail
-
isSelected
public boolean isSelected(Data data)
Description copied from interface:DataSelector
Evaluates if a data must be selected or not.- Specified by:
isSelected
in interfaceDataSelector
- Parameters:
data
- the data to evaluate.- Returns:
- true if the data is selected. False otherwise.
-
-