Class AbstractCalendarEvent.CalendarEventAttendeeSelector

    • 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 java.util.function.Predicate

        and, negate, or
    • Constructor Detail

      • CalendarEventAttendeeSelector

        public CalendarEventAttendeeSelector​(Member mbr)
        Build a new CalendarEventAttendeeSelector for the specified member.

        CalendarEvent will be be included even if Member is not able to read the event.

        Parameters:
        mbr - the member which must be an attendee for the event to be selected
        Since:
        jcms-6.1.3, jcms-7.0
      • CalendarEventAttendeeSelector

        public CalendarEventAttendeeSelector​(java.util.List<Member> mbrList)
        Build a new CalendarEventAttendeeSelector for the specified member.

        CalendarEvent will be be included even if Member is not able to read the event.

        Parameters:
        mbrList - the member List which must be an attendee for the event to be selected
        Since:
        jcms-9.0
      • CalendarEventAttendeeSelector

        public CalendarEventAttendeeSelector​(Member mbr,
                                             boolean checkReadRight)
        Build a new CalendarEventAttendeeSelector for the specified member.
        Parameters:
        mbr - the member which must be an attendee for the event to be selected
        checkReadRight - set to true if read right should be checked, false if all CalendarEvent should be included even if Member is not able to read the event
        Since:
        jcms-6.1.3, jcms-7.0
      • CalendarEventAttendeeSelector

        public CalendarEventAttendeeSelector​(java.util.List<Member> mbrList,
                                             boolean checkReadRight)
        Build a new CalendarEventAttendeeSelector for the specified member.
        Parameters:
        mbrList - the member List which must be an attendee for the event to be selected
        checkReadRight - set to true if read right should be checked, false if all CalendarEvent should be included even if Member is not able to read the event
        Since:
        jcms-9.0
    • 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.