|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry5.ioc.internal.util.LockSupport org.apache.tapestry5.alerts.AlertStorage
public class AlertStorage
A stateless session object used to store Alerts between requests.
Constructor Summary | |
---|---|
AlertStorage()
|
Method Summary | |
---|---|
void |
add(Alert alert)
|
boolean |
checkAndResetDirtyMarker()
|
void |
dismiss(long alertId)
Dismisses a single Alert, if present. |
void |
dismissAll()
Dismisses all Alerts. |
void |
dismissNonPersistent()
Dismisses non-persistent Alerts; this is useful after rendering the Alerts
component. |
List<Alert> |
getAlerts()
Returns all stored alerts. |
Methods inherited from class org.apache.tapestry5.ioc.internal.util.LockSupport |
---|
acquireReadLock, downgradeWriteLockToReadLock, releaseReadLock, releaseWriteLock, takeWriteLock, upgradeReadLockToWriteLock |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AlertStorage()
Method Detail |
---|
public boolean checkAndResetDirtyMarker()
checkAndResetDirtyMarker
in interface OptimizedSessionPersistedObject
public void add(Alert alert)
public void dismissAll()
public void dismissNonPersistent()
Alerts
component.
public void dismiss(long alertId)
public List<Alert> getAlerts()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |