@Override public Date getStartingDate() { return filterPreference.getStartingDate(); }
if (StringUtils.isNotBlank(pref.getUser())) { AbstractOperatorNode thisNode = value(EventProperty.USER).eq(value(pref.getUser())).and( value(EventProperty.DATE).greaterThan(value(pref.getStartingDate()))); if (node == null) { node = thisNode;
/** * Construct a DefaultNotificationFilterPreference which is a copy of the given notificationFilterPreference. * @param notificationFilterPreference object to copy */ public DefaultNotificationFilterPreference(NotificationFilterPreference notificationFilterPreference) { if (notificationFilterPreference instanceof DefaultNotificationFilterPreference) { this.internalId = ((DefaultNotificationFilterPreference) notificationFilterPreference).internalId; this.owner = ((DefaultNotificationFilterPreference) notificationFilterPreference).owner; } this.id = notificationFilterPreference.getId(); this.filterName = notificationFilterPreference.getFilterName(); this.providerHint = notificationFilterPreference.getProviderHint(); this.enabled = notificationFilterPreference.isEnabled(); this.active = notificationFilterPreference.isActive(); this.filterType = notificationFilterPreference.getFilterType(); this.notificationFormats = notificationFilterPreference.getNotificationFormats(); this.startingDate = notificationFilterPreference.getStartingDate(); this.eventTypes = new HashSet<>(notificationFilterPreference.getEventTypes()); this.user = notificationFilterPreference.getUser(); this.pageOnly = notificationFilterPreference.getPageOnly(); this.page = notificationFilterPreference.getPage(); this.wiki = notificationFilterPreference.getWiki(); this.setNotificationFormats(notificationFilterPreference.getNotificationFormats()); }