Class SituationsPresentation
- java.lang.Object
-
- org.onebusaway.presentation.impl.service_alerts.SituationsPresentation
-
public class SituationsPresentation extends Object
-
-
Constructor Summary
Constructors Constructor Description SituationsPresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApiKey()List<ServiceAlertBean>getReadSituations()StringgetTitle(ServiceAlertBean situation)intgetTotalCount()intgetUnreadCount()StringgetUnreadServiceAlertsClass()List<ServiceAlertBean>getUnreadSituations()booleanisSet(NaturalLanguageStringBean bean)Private MethodsvoidsetApiKey(String apiKey)voidsetRedisplayIfNowActiveThreshold(long redisplayIfNowActiveThhreshold)voidsetSituations(List<ServiceAlertBean> situations)voidsetUser(UserBean user)
-
-
-
Method Detail
-
setApiKey
public void setApiKey(String apiKey)
-
getApiKey
public String getApiKey()
-
setSituations
public void setSituations(List<ServiceAlertBean> situations)
-
setUser
public void setUser(UserBean user)
-
setRedisplayIfNowActiveThreshold
public void setRedisplayIfNowActiveThreshold(long redisplayIfNowActiveThhreshold)
-
getTotalCount
public int getTotalCount()
-
getUnreadCount
public int getUnreadCount()
-
getUnreadServiceAlertsClass
public String getUnreadServiceAlertsClass()
-
getUnreadSituations
public List<ServiceAlertBean> getUnreadSituations()
-
getReadSituations
public List<ServiceAlertBean> getReadSituations()
-
getTitle
public String getTitle(ServiceAlertBean situation)
-
isSet
public boolean isSet(NaturalLanguageStringBean bean)
Private Methods
-
-