Class MaintenanceNotification
java.lang.Object
overit.geocall.util.notifications.MaintenanceNotification
A Bean class that store all the informations about a maintenance notification message
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the timestamp related to the creation of this notification messageGets the maintenance notification messageGets the date from which the maintenance will startbooleanGets whether users will be automatically logged out of the system when the maintenance startsvoidsetAutoLogOff(boolean autoLogOff) Sets whether users will be automatically logged out of the system when the maintenance startsvoidsetCreationTimeStamp(Long creationTimeStamp) Sets the timestamp related to the creation of this notification messagevoidsetMessage(String message) Sets the maintenance notification messagevoidsetStartDate(Date startDate) Sets the date from which the maintenance will start
-
Constructor Details
-
MaintenanceNotification
public MaintenanceNotification() -
MaintenanceNotification
-
-
Method Details
-
setCreationTimeStamp
Sets the timestamp related to the creation of this notification message- Parameters:
creationTimeStamp- The timestamp related to the creation of this notification message
-
getCreationTimeStamp
Gets the timestamp related to the creation of this notification message- Returns:
- The timestamp related to the creation of this notification message
-
setMessage
Sets the maintenance notification message- Parameters:
message- The maintenance notification message
-
setStartDate
Sets the date from which the maintenance will start- Parameters:
startDate- The date from which the maintenance will start
-
setAutoLogOff
public void setAutoLogOff(boolean autoLogOff) Sets whether users will be automatically logged out of the system when the maintenance starts- Parameters:
autoLogOff-trueorfalse
-
getMessage
Gets the maintenance notification message- Returns:
- The maintenance notification message
-
getStartDate
Gets the date from which the maintenance will start- Returns:
- The date from which the maintenance will start
-
isAutoLogOff
public boolean isAutoLogOff()Gets whether users will be automatically logged out of the system when the maintenance starts- Returns:
trueif users will be automatically logged out of the system,falseotherwise.
-