Package org.exoplatform.agenda.model
Class EventFilter
java.lang.Object
org.exoplatform.agenda.model.EventFilter
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
ConstructorsConstructorDescriptionEventFilter(long attendeeId, List<Long> ownerIds, List<EventAttendeeResponse> responseTypes, ZonedDateTime start, ZonedDateTime end, int limit) EventFilter(List<Long> ownerIds, int offset, int limit) EventFilter(List<Long> ownerIds, ZonedDateTime start, ZonedDateTime end) -
Method Summary
Modifier and TypeMethodDescriptionclone()Copies this filter, so a caller can narrow a copy (dates, owners) without mutating the filter it received.boolean
-
Constructor Details
-
EventFilter
public EventFilter(long attendeeId, List<Long> ownerIds, List<EventAttendeeResponse> responseTypes, ZonedDateTime start, ZonedDateTime end, int limit) -
EventFilter
-
EventFilter
-
-
Method Details
-
isUseDates
public boolean isUseDates()- Returns:
truewhen the filter carries both a start and an end date, hence designates a bounded period
-
clone
Copies this filter, so a caller can narrow a copy (dates, owners) without mutating the filter it received.- Overrides:
clonein classObject- Returns:
- a new
EventFiltercarrying the same criteria
-