Class 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 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
      • 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 interface DataSelector
        Parameters:
        data - the data to evaluate.
        Returns:
        true if the data is selected. False otherwise.