Class CmsPrincipalSelectExtension
- java.lang.Object
-
- com.vaadin.server.AbstractClientConnector
-
- com.vaadin.server.AbstractExtension
-
- org.opencms.ui.dialogs.permissions.CmsPrincipalSelectExtension
-
- All Implemented Interfaces:
com.vaadin.event.MethodEventSource
,com.vaadin.server.ClientConnector
,com.vaadin.server.Extension
,com.vaadin.shared.communication.ServerRpc
,com.vaadin.shared.Connector
,java.io.Serializable
,I_CmsPrincipalSelectRpc
public class CmsPrincipalSelectExtension extends com.vaadin.server.AbstractExtension implements I_CmsPrincipalSelectRpc
The principal select extension. Handles communication between the select dialog iframe and the server.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static CmsPrincipalSelectExtension
getInstance()
Returns the principal select extension instance for the current UI.void
setCurrentSelect(CmsPrincipalSelect select)
Sets the current select widget.void
setPrincipal(int type, java.lang.String principalName)
Sets the principal.-
Methods inherited from class com.vaadin.server.AbstractExtension
extend, getParent, getSupportedParentType, remove, setParent
-
Methods inherited from class com.vaadin.server.AbstractClientConnector
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, attach, beforeClientResponse, createState, detach, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getState, getState, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isConnectorEnabled, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, attach, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
-
-
-
-
Method Detail
-
getInstance
protected static CmsPrincipalSelectExtension getInstance()
Returns the principal select extension instance for the current UI.- Returns:
- the instance
-
setCurrentSelect
public void setCurrentSelect(CmsPrincipalSelect select)
Sets the current select widget.This needs to be called, when the select window is opened.
- Parameters:
select
- the select widget
-
setPrincipal
public void setPrincipal(int type, java.lang.String principalName)
Description copied from interface:I_CmsPrincipalSelectRpc
Sets the principal.- Specified by:
setPrincipal
in interfaceI_CmsPrincipalSelectRpc
- Parameters:
type
- the principal typeprincipalName
- the principal name- See Also:
I_CmsPrincipalSelectRpc.setPrincipal(int, java.lang.String)
-
-