Change-Id: I98004d88f5449e4bc851b4cc7ecc05e48040cc35tags/7.6.0.alpha3
@@ -239,50 +239,6 @@ public class CustomizedSystemMessages extends SystemMessages implements | |||
this.internalErrorMessage = internalErrorMessage; | |||
} | |||
/** | |||
* Sets the URL to go to when the client is out-of-sync. | |||
* | |||
* @param outOfSyncURL | |||
* the URL to go to, or null to reload current | |||
*/ | |||
public void setOutOfSyncURL(String outOfSyncURL) { | |||
this.outOfSyncURL = outOfSyncURL; | |||
} | |||
/** | |||
* Enables or disables the notification. If disabled, the set URL (or | |||
* current) is loaded directly. | |||
* | |||
* @param outOfSyncNotificationEnabled | |||
* true = enabled, false = disabled | |||
*/ | |||
public void setOutOfSyncNotificationEnabled( | |||
boolean outOfSyncNotificationEnabled) { | |||
this.outOfSyncNotificationEnabled = outOfSyncNotificationEnabled; | |||
} | |||
/** | |||
* Sets the caption of the notification. Set to null for no caption. If both | |||
* caption and message is null, the notification is disabled; | |||
* | |||
* @param outOfSyncCaption | |||
* the caption | |||
*/ | |||
public void setOutOfSyncCaption(String outOfSyncCaption) { | |||
this.outOfSyncCaption = outOfSyncCaption; | |||
} | |||
/** | |||
* Sets the message of the notification. Set to null for no message. If both | |||
* caption and message is null, the notification is disabled; | |||
* | |||
* @param outOfSyncMessage | |||
* the message | |||
*/ | |||
public void setOutOfSyncMessage(String outOfSyncMessage) { | |||
this.outOfSyncMessage = outOfSyncMessage; | |||
} | |||
/** | |||
* Sets the URL to redirect to when the browser has cookies disabled. | |||
* |
@@ -43,12 +43,6 @@ import java.io.Serializable; | |||
* <li><b>internalErrorCaption</b> = "Internal error"</li> | |||
* <li><b>internalErrorMessage</b> = "Please notify the administrator.<br/> | |||
* Take note of any unsaved data, and <u>click here</u> to continue."</li> | |||
* <li><b>outOfSyncURL</b> = null</li> | |||
* <li><b>outOfSyncNotificationEnabled</b> = true</li> | |||
* <li><b>outOfSyncCaption</b> = "Out of sync"</li> | |||
* <li><b>outOfSyncMessage</b> = "Something has caused us to be out of sync with | |||
* the server.<br/> | |||
* Take note of any unsaved data, and <u>click here</u> to re-sync."</li> | |||
* <li><b>cookiesDisabledURL</b> = null</li> | |||
* <li><b>cookiesDisabledNotificationEnabled</b> = true</li> | |||
* <li><b>cookiesDisabledCaption</b> = "Cookies disabled"</li> | |||
@@ -80,11 +74,6 @@ public class SystemMessages implements Serializable { | |||
protected String internalErrorCaption = "Internal error"; | |||
protected String internalErrorMessage = "Please notify the administrator.<br/>Take note of any unsaved data, and <u>click here</u> or press ESC to continue."; | |||
protected String outOfSyncURL = null; | |||
protected boolean outOfSyncNotificationEnabled = true; | |||
protected String outOfSyncCaption = "Out of sync"; | |||
protected String outOfSyncMessage = "Something has caused us to be out of sync with the server.<br/>Take note of any unsaved data, and <u>click here</u> or press ESC to re-sync."; | |||
protected String cookiesDisabledURL = null; | |||
protected boolean cookiesDisabledNotificationEnabled = true; | |||
protected String cookiesDisabledCaption = "Cookies disabled"; |