com.itmill.toolkit
Class Application.SystemMessages

java.lang.Object
  extended by com.itmill.toolkit.Application.SystemMessages
Direct Known Subclasses:
Application.CustomizedSystemMessages
Enclosing class:
Application

public static class Application.SystemMessages
extends Object

Contains the system messages used to notify the user about various critical situations that can occur.

Customize by overriding the static Application.getSystemMessages() and returning Application.CustomizedSystemMessages


Field Summary
protected  String communicationErrorCaption
           
protected  String communicationErrorMessage
           
protected  boolean communicationErrorNotificationEnabled
           
protected  String communicationErrorURL
           
protected  String internalErrorCaption
           
protected  String internalErrorMessage
           
protected  boolean internalErrorNotificationEnabled
           
protected  String internalErrorURL
           
protected  String outOfSyncCaption
           
protected  String outOfSyncMessage
           
protected  boolean outOfSyncNotificationEnabled
           
protected  String outOfSyncURL
           
protected  String sessionExpiredCaption
           
protected  String sessionExpiredMessage
           
protected  boolean sessionExpiredNotificationEnabled
           
protected  String sessionExpiredURL
           
 
Method Summary
 String getCommunicationErrorCaption()
           
 String getCommunicationErrorMessage()
           
 String getCommunicationErrorURL()
           
 String getInternalErrorCaption()
           
 String getInternalErrorMessage()
           
 String getInternalErrorURL()
           
 String getOutOfSyncCaption()
           
 String getOutOfSyncMessage()
           
 String getOutOfSyncURL()
           
 String getSessionExpiredCaption()
           
 String getSessionExpiredMessage()
           
 String getSessionExpiredURL()
           
 boolean isCommunicationErrorNotificationEnabled()
           
 boolean isInternalErrorNotificationEnabled()
           
 boolean isOutOfSyncNotificationEnabled()
           
 boolean isSessionExpiredNotificationEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sessionExpiredURL

protected String sessionExpiredURL

sessionExpiredNotificationEnabled

protected boolean sessionExpiredNotificationEnabled

sessionExpiredCaption

protected String sessionExpiredCaption

sessionExpiredMessage

protected String sessionExpiredMessage

communicationErrorURL

protected String communicationErrorURL

communicationErrorNotificationEnabled

protected boolean communicationErrorNotificationEnabled

communicationErrorCaption

protected String communicationErrorCaption

communicationErrorMessage

protected String communicationErrorMessage

internalErrorURL

protected String internalErrorURL

internalErrorNotificationEnabled

protected boolean internalErrorNotificationEnabled

internalErrorCaption

protected String internalErrorCaption

internalErrorMessage

protected String internalErrorMessage

outOfSyncURL

protected String outOfSyncURL

outOfSyncNotificationEnabled

protected boolean outOfSyncNotificationEnabled

outOfSyncCaption

protected String outOfSyncCaption

outOfSyncMessage

protected String outOfSyncMessage
Method Detail

getSessionExpiredURL

public String getSessionExpiredURL()
Returns:
the URL to load on null for restart

isSessionExpiredNotificationEnabled

public boolean isSessionExpiredNotificationEnabled()
Returns:
true = notification enabled, false = notification disabled

getSessionExpiredCaption

public String getSessionExpiredCaption()
Returns:
the notification caption, or null for no caption

getSessionExpiredMessage

public String getSessionExpiredMessage()
Returns:
the notification message, or null for no message

getCommunicationErrorURL

public String getCommunicationErrorURL()
Returns:
the URL to load on null for restart

isCommunicationErrorNotificationEnabled

public boolean isCommunicationErrorNotificationEnabled()
Returns:
true = notification enabled, false = notification disabled

getCommunicationErrorCaption

public String getCommunicationErrorCaption()
Returns:
the notification caption, or null for no caption

getCommunicationErrorMessage

public String getCommunicationErrorMessage()
Returns:
the notification message, or null for no message

getInternalErrorURL

public String getInternalErrorURL()
Returns:
the URL to load on null for restart

isInternalErrorNotificationEnabled

public boolean isInternalErrorNotificationEnabled()
Returns:
true = notification enabled, false = notification disabled

getInternalErrorCaption

public String getInternalErrorCaption()
Returns:
the notification caption, or null for no caption

getInternalErrorMessage

public String getInternalErrorMessage()
Returns:
the notification message, or null for no message

getOutOfSyncURL

public String getOutOfSyncURL()
Returns:
the URL to load on null for restart

isOutOfSyncNotificationEnabled

public boolean isOutOfSyncNotificationEnabled()
Returns:
true = notification enabled, false = notification disabled

getOutOfSyncCaption

public String getOutOfSyncCaption()
Returns:
the notification caption, or null for no caption

getOutOfSyncMessage

public String getOutOfSyncMessage()
Returns:
the notification message, or null for no message


Copyright © 2000-2009 IT Mill Ltd. All Rights Reserved.