Package com.jalios.jcms.alert
Class MemberAlertSettings
- java.lang.Object
-
- com.jalios.jcms.alert.MemberAlertSettings
-
public class MemberAlertSettings extends java.lang.Object
Member alerts' preferences.- Since:
- jcms-10.0.1
- Author:
- Sylvain Devaux
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
ALERT_LIST_DEFAULT_REVERSE
protected java.lang.Boolean
reverse
protected java.util.Map<java.lang.String,java.lang.Boolean>
topbarAutoRead
-
Constructor Summary
Constructors Constructor Description MemberAlertSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
getReverse()
java.util.Map<java.lang.String,java.lang.Boolean>
getTopbarAutoRead()
boolean
isTopbarAutoRead(Alert.Level level)
void
setReverse(boolean reverse)
void
setTopbarAutoRead(java.util.Map<java.lang.String,java.lang.Boolean> topbarAutoRead)
java.lang.String
toJSON()
java.lang.String
toString()
-
-
-
Field Detail
-
ALERT_LIST_DEFAULT_REVERSE
public static final boolean ALERT_LIST_DEFAULT_REVERSE
- See Also:
- Constant Field Values
-
topbarAutoRead
protected java.util.Map<java.lang.String,java.lang.Boolean> topbarAutoRead
-
reverse
protected java.lang.Boolean reverse
-
-
Method Detail
-
isTopbarAutoRead
public boolean isTopbarAutoRead(Alert.Level level)
-
getTopbarAutoRead
public java.util.Map<java.lang.String,java.lang.Boolean> getTopbarAutoRead()
-
setTopbarAutoRead
public void setTopbarAutoRead(java.util.Map<java.lang.String,java.lang.Boolean> topbarAutoRead)
-
setReverse
public void setReverse(boolean reverse)
-
getReverse
public java.lang.Boolean getReverse()
-
toJSON
public java.lang.String toJSON()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-