com.jalios.jcms
Class QueryManager.QueryPublicationSelector

java.lang.Object
  extended by com.jalios.jcms.QueryManager.QueryPublicationSelector
All Implemented Interfaces:
DataSelector
Enclosing class:
QueryManager

public static class QueryManager.QueryPublicationSelector
extends Object
implements DataSelector


Field Summary
protected  DataSelector abilitySelector
           
protected  Date beginDate
           
protected  String catMode
           
protected  boolean checkDates
           
protected  boolean checkLangs
           
protected  boolean checkReadRights
           
protected  int dateType
           
protected  Date endDate
           
protected  Set<Publication> historySet
           
protected  boolean isExactCat
           
protected  String[] langs
           
protected  Member loggedMember
           
protected  int[] pstatus
           
protected  HashSet<Category> queryAvoidCategorySet
           
protected  HashSet<Class<? extends Publication>> queryAvoidClassSet
           
protected  Set<Group> queryAvoidGroupSet
           
protected  Set<Member> queryAvoidMemberSet
           
protected  HashSet<Category> queryCategorySet
           
protected  HashSet<Class<? extends Publication>> queryClassSet
           
protected  Set<String> queryDBMemberIdSet
           
protected  Set<Group> queryGroupSet
           
protected  Set<Member> queryMemberSet
           
protected  int[] ratings
           
protected  boolean refineOnWorkspace
           
protected  Set<Workspace> workspaceSet
          See JCMS-3331.
 
Fields inherited from interface com.jalios.jcms.DataSelector
REVISION
 
Constructor Summary
QueryManager.QueryPublicationSelector(HashSet<Class<? extends Publication>> queryClassSet, HashSet<Class<? extends Publication>> queryAvoidClassSet, Date beginDate, Date endDate, int dateType, Set<Group> queryGroupSet, Set<Group> queryAvoidGroupSet, Set<Member> queryMemberSet, Set<Member> queryAvoidMemberSet, Set<String> queryDBMemberIdSet, int[] ratings, int[] pstatus, String[] langs, Member loggedMember, Set<Workspace> workspaceSet, boolean checkReadRights, String ability, boolean isExactCat, String catMode, HashSet<Category> queryCategorySet, HashSet<Category> queryAvoidCategorySet, Set<Publication> historySet)
           
 
Method Summary
 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
 

Field Detail

queryClassSet

protected HashSet<Class<? extends Publication>> queryClassSet

queryAvoidClassSet

protected HashSet<Class<? extends Publication>> queryAvoidClassSet

beginDate

protected Date beginDate

endDate

protected Date endDate

dateType

protected int dateType

checkDates

protected boolean checkDates

queryGroupSet

protected Set<Group> queryGroupSet

queryAvoidGroupSet

protected Set<Group> queryAvoidGroupSet

queryMemberSet

protected Set<Member> queryMemberSet

queryAvoidMemberSet

protected Set<Member> queryAvoidMemberSet

queryDBMemberIdSet

protected Set<String> queryDBMemberIdSet

ratings

protected int[] ratings

pstatus

protected int[] pstatus

langs

protected String[] langs

checkLangs

protected boolean checkLangs

loggedMember

protected Member loggedMember

workspaceSet

protected 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 String catMode

queryCategorySet

protected HashSet<Category> queryCategorySet

queryAvoidCategorySet

protected HashSet<Category> queryAvoidCategorySet

historySet

protected Set<Publication> historySet

refineOnWorkspace

protected boolean refineOnWorkspace
Constructor Detail

QueryManager.QueryPublicationSelector

public QueryManager.QueryPublicationSelector(HashSet<Class<? extends Publication>> queryClassSet,
                                             HashSet<Class<? extends Publication>> queryAvoidClassSet,
                                             Date beginDate,
                                             Date endDate,
                                             int dateType,
                                             Set<Group> queryGroupSet,
                                             Set<Group> queryAvoidGroupSet,
                                             Set<Member> queryMemberSet,
                                             Set<Member> queryAvoidMemberSet,
                                             Set<String> queryDBMemberIdSet,
                                             int[] ratings,
                                             int[] pstatus,
                                             String[] langs,
                                             Member loggedMember,
                                             Set<Workspace> workspaceSet,
                                             boolean checkReadRights,
                                             String ability,
                                             boolean isExactCat,
                                             String catMode,
                                             HashSet<Category> queryCategorySet,
                                             HashSet<Category> queryAvoidCategorySet,
                                             Set<Publication> historySet)
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 interface DataSelector
Parameters:
data - the data to evaluate.
Returns:
true if the data is selected. False otherwise.


Copyright © 2001-2010 Jalios SA. All Rights Reserved.