Class MaintenanceNotification

java.lang.Object
overit.geocall.util.notifications.MaintenanceNotification

public class MaintenanceNotification extends Object
A Bean class that store all the informations about a maintenance notification message
  • Constructor Details

    • MaintenanceNotification

      public MaintenanceNotification()
    • MaintenanceNotification

      public MaintenanceNotification(String message, Date startDate, boolean autoLogOff)
  • Method Details

    • setCreationTimeStamp

      public void setCreationTimeStamp(Long creationTimeStamp)
      Sets the timestamp related to the creation of this notification message
      Parameters:
      creationTimeStamp - The timestamp related to the creation of this notification message
    • getCreationTimeStamp

      public Long getCreationTimeStamp()
      Gets the timestamp related to the creation of this notification message
      Returns:
      The timestamp related to the creation of this notification message
    • setMessage

      public void setMessage(String message)
      Sets the maintenance notification message
      Parameters:
      message - The maintenance notification message
    • setStartDate

      public void setStartDate(Date startDate)
      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 - true or false
    • getMessage

      public String getMessage()
      Gets the maintenance notification message
      Returns:
      The maintenance notification message
    • getStartDate

      public Date 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:
      true if users will be automatically logged out of the system, false otherwise.