Class NotificationsStatusVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.messaging.notifications.NotificationsStatusVO
-
- All Implemented Interfaces:
Serializable
public class NotificationsStatusVO extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<DateTime,NotificationsStatusVO>LAST_VIEW_DATEstatic BasicProperty<Integer,NotificationsStatusVO>NEW_NOTIFICATIONSstatic BasicProperty<Integer,NotificationsStatusVO>UNREAD_NOTIFICATIONS
-
Constructor Summary
Constructors Constructor Description NotificationsStatusVO()NotificationsStatusVO(Property<T,? super NotificationsStatusVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()DateTimegetLastViewDate()intgetNewNotifications()intgetUnreadNotifications()voidsetLastViewDate(DateTime lastViewDate)voidsetNewNotifications(int newNotifications)voidsetUnreadNotifications(int unreadNotifications)-
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
-
LAST_VIEW_DATE
public static final BasicProperty<DateTime,NotificationsStatusVO> LAST_VIEW_DATE
-
NEW_NOTIFICATIONS
public static final BasicProperty<Integer,NotificationsStatusVO> NEW_NOTIFICATIONS
-
UNREAD_NOTIFICATIONS
public static final BasicProperty<Integer,NotificationsStatusVO> UNREAD_NOTIFICATIONS
-
-
Constructor Detail
-
NotificationsStatusVO
public NotificationsStatusVO()
-
NotificationsStatusVO
public NotificationsStatusVO(Property<T,? super NotificationsStatusVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getLastViewDate
public DateTime getLastViewDate()
-
setLastViewDate
public void setLastViewDate(DateTime lastViewDate)
-
getNewNotifications
public int getNewNotifications()
-
setNewNotifications
public void setNewNotifications(int newNotifications)
-
getUnreadNotifications
public int getUnreadNotifications()
-
setUnreadNotifications
public void setUnreadNotifications(int unreadNotifications)
-
-