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  boolean checkDates
           
protected  boolean checkLangs
           
protected  boolean checkReadRights
           
protected  int dateType
           
protected  Date endDate
           
protected  String[] langs
           
protected  Member loggedMember
           
protected  int[] pstatus
           
protected  HashSet<Class<? extends Publication>> queryAvoidClassSet
           
protected  Set<Group> queryAvoidGroupSet
           
protected  HashSet<Class<? extends Publication>> queryClassSet
           
protected  Set<Group> queryGroupSet
           
protected  int[] ratings
           
protected  Workspace workspace
           
 
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, int[] ratings, int[] pstatus, String[] langs, Member loggedMember, Workspace workspace, boolean checkReadRights, String ability)
           
 
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

ratings

protected int[] ratings

pstatus

protected int[] pstatus

langs

protected String[] langs

checkLangs

protected boolean checkLangs

loggedMember

protected Member loggedMember

workspace

protected Workspace workspace

checkReadRights

protected boolean checkReadRights

abilitySelector

protected DataSelector abilitySelector
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,
                                             int[] ratings,
                                             int[] pstatus,
                                             String[] langs,
                                             Member loggedMember,
                                             Workspace workspace,
                                             boolean checkReadRights,
                                             String ability)
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.