Changes

Key:  Additions   Deletions
public static boolean onpagerestore()

This method is called whenever a user attempts to restore a page, but before the page is allowed to be restored. By default, this method simply allows the restoration to occur. It should be overridden if additional behavior is required in order to restore this page (i.e: reverse the operations performed during this page's deletion, restore subpages, etc.).

If asynchronous operations are performed during this method, then return null to defer processing until the asynchronous operations have completed. Call onpagerestore_Callback with a boolean parameter corresponding to this method's return value when processing should continue. A second parameter containing a failure
message may also be passed if denying the action.

Parameters:
cellID String The identifier for the cell on the page to be restored.
message String The reason provided by the user for restoring the page.

Returns:
true to allow the page restore action.
false to deny the page restore action.
null to defer processing until onpagerestore_Callback is called.