Class NotificationSettings
java.lang.Object
com.example.skeddly.business.user.NotificationSettings
Represent's a user's notification settings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets whether the user has administrative notification enabledbooleanGets whether the user has event update notification enabledbooleanGets whether the user has lottery status notification enabledvoidsetAdministrative(boolean administrative) Sets whether the user has administrative notification enabledvoidsetEventUpdate(boolean eventUpdate) Sets whether the user has event update notification enabledvoidsetLotteryStatus(boolean lotteryStatus) Sets whether the user has lottery status notification enabled
-
Constructor Details
-
NotificationSettings
public NotificationSettings()No arg Constructor for the NotificationSettings
-
-
Method Details
-
getLotteryStatus
public boolean getLotteryStatus()Gets whether the user has lottery status notification enabled- Returns:
- True if the notifications are enabled. False otherwise.
-
setLotteryStatus
public void setLotteryStatus(boolean lotteryStatus) Sets whether the user has lottery status notification enabled- Parameters:
lotteryStatus- True if the notifications are enabled. False otherwise.
-
getEventUpdate
public boolean getEventUpdate()Gets whether the user has event update notification enabled- Returns:
- True if the notifications are enabled. False otherwise.
-
setEventUpdate
public void setEventUpdate(boolean eventUpdate) Sets whether the user has event update notification enabled- Parameters:
eventUpdate- True if the notifications are enabled. False otherwise.
-
getAdministrative
public boolean getAdministrative()Gets whether the user has administrative notification enabled- Returns:
- True if the notifications are enabled. False otherwise.
-
setAdministrative
public void setAdministrative(boolean administrative) Sets whether the user has administrative notification enabled- Parameters:
administrative- True if the notifications are enabled. False otherwise.
-