fedilab-Android-App/app/src/main/java/app/fedilab/android/helper/FilterNotifications.java

91 lines
2.1 KiB
Java

/* Copyright 2019 Thomas Schneider
*
* This file is a part of Fedilab
*
* This program is free software; you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation; either version 3 of the
* License, or (at your option) any later version.
*
* Fedilab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along with Fedilab; if not,
* see <http://www.gnu.org/licenses>. */
package app.fedilab.android.helper;
/**
* Created by Thomas on 24/08/2019.
* Helper class for filtering notifications
*/
public class FilterNotifications {
private boolean favorite = true;
private boolean boost = true;
private boolean follow = true;
private boolean poll = true;
private boolean mention = true;
private String dateIni = null;
private String dateEnd = null;
public boolean isFavorite() {
return favorite;
}
public void setFavorite(boolean favorite) {
this.favorite = favorite;
}
public boolean isBoost() {
return boost;
}
public void setBoost(boolean boost) {
this.boost = boost;
}
public boolean isFollow() {
return follow;
}
public void setFollow(boolean follow) {
this.follow = follow;
}
public boolean isPoll() {
return poll;
}
public void setPoll(boolean poll) {
this.poll = poll;
}
public boolean isMention() {
return mention;
}
public void setMention(boolean mention) {
this.mention = mention;
}
public String getDateIni() {
return dateIni;
}
public void setDateIni(String dateIni) {
this.dateIni = dateIni;
}
public String getDateEnd() {
return dateEnd;
}
public void setDateEnd(String dateEnd) {
this.dateEnd = dateEnd;
}
}