Class NotificationQuery
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.QueryParameters
-
- org.cyclos.model.messaging.notifications.NotificationQuery
-
- All Implemented Interfaces:
Serializable
public class NotificationQuery extends QueryParameters
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Boolean,NotificationQuery>ONLY_NEWstatic BasicProperty<Boolean,NotificationQuery>ONLY_UNREAD-
Fields inherited from class org.cyclos.model.QueryParameters
CURRENT_PAGE, PAGE_SIZE, SKIP_TOTAL_COUNT
-
-
Constructor Summary
Constructors Constructor Description NotificationQuery()NotificationQuery(Property<T,? super NotificationQuery> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()booleanisOnlyNew()booleanisOnlyUnread()voidsetOnlyNew(boolean onlyNew)voidsetOnlyUnread(boolean onlyUnread)-
Methods inherited from class org.cyclos.model.QueryParameters
getCurrentPage, getPageSize, isSkipTotalCount, setCountOnly, setCurrentPage, setPageSize, setSkipTotalCount, setUnlimited
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
ONLY_NEW
public static final BasicProperty<Boolean,NotificationQuery> ONLY_NEW
-
ONLY_UNREAD
public static final BasicProperty<Boolean,NotificationQuery> ONLY_UNREAD
-
-
Constructor Detail
-
NotificationQuery
public NotificationQuery()
-
NotificationQuery
public NotificationQuery(Property<T,? super NotificationQuery> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classQueryParameters
-
isOnlyNew
public boolean isOnlyNew()
-
setOnlyNew
public void setOnlyNew(boolean onlyNew)
-
isOnlyUnread
public boolean isOnlyUnread()
-
setOnlyUnread
public void setOnlyUnread(boolean onlyUnread)
-
-