Package org.opencms.ui.shared.rpc
Interface I_CmsEmbeddedDialogClientRPC
- All Superinterfaces:
com.vaadin.shared.communication.ClientRpc,Serializable
Client RPC to handle embedded dialogs.
-
Method Summary
Modifier and TypeMethodDescriptionvoidRemoves the dialog iFrame and refreshes the given resources.voidfinishForProjectOrSiteChange(String sitePath, String serverLink) Removes the dialog iFrame and reloads the app for the given site path and server link.voidTells the client to initialize the client-to-server RPC.voidLeaves the current page calling the given URI.voidReloads the parent window.voidselectString(String str) Sets the selected string.voidsendNotification(boolean error, String notification) Send a notification to the client to display.
-
Method Details
-
finish
Removes the dialog iFrame and refreshes the given resources.- Parameters:
resourceIds- the resources to refresh
-
finishForProjectOrSiteChange
Removes the dialog iFrame and reloads the app for the given site path and server link.- Parameters:
sitePath- the site pathserverLink- the server link
-
initServerRpc
void initServerRpc()Tells the client to initialize the client-to-server RPC. -
leavePage
Leaves the current page calling the given URI.- Parameters:
targetUri- the target URI
-
reloadParent
void reloadParent()Reloads the parent window. -
selectString
Sets the selected string.- Parameters:
str- the string
-
sendNotification
Send a notification to the client to display.- Parameters:
error- true if this is an error notificationnotification- the notification HTML
-