public class CmsPrincipalSelectDialog extends CmsBasicDialog
CmsBasicDialog.DialogWidthcom.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.SpacingHandlercom.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListenercom.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listenercom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DIALOG_ID
The dialog id.
|
static java.lang.String |
PARAM_OU
Parameter key OU.
|
static java.lang.String |
PARAM_REAL_ONLY
Parameter key real groups only.
|
static java.lang.String |
PARAM_START_TYPE
Parameter key start view type.
|
static java.lang.String |
PARAM_TYPE
Parameter key widget type.
|
| Constructor and Description |
|---|
CmsPrincipalSelectDialog(I_CmsPrincipalSelect cmsPrincipalSelect,
java.lang.String ou,
com.vaadin.ui.Window window,
CmsPrincipalSelect.WidgetType widgetType,
boolean realOnly,
CmsPrincipalSelect.WidgetType defaultView)
public constructor.
|
CmsPrincipalSelectDialog(I_CmsPrincipalSelect cmsPrincipalSelect,
java.lang.String ou,
com.vaadin.ui.Window window,
CmsPrincipalSelect.WidgetType widgetType,
boolean realOnly,
CmsPrincipalSelect.WidgetType defaultView,
boolean includeWebOus)
public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
openEmbeddedDialog(CmsEmbeddedDialogContext dialogContext,
java.util.Map<java.lang.String,java.lang.String[]> params)
Opens the principal select dialog within an embedded dialog context.
|
static void |
openEmbeddedDialog(CmsEmbeddedDialogContext dialogContext,
java.util.Map<java.lang.String,java.lang.String[]> params,
boolean includeWebOus)
Opens the principal select dialog within an embedded dialog context.
|
void |
select(I_CmsPrincipal value)
Selects a principal and closes the dialog.
|
void |
setOuComboBoxEnabled(boolean enabled)
En/Disables the ou combo box.
|
void |
setSelectHandler(CmsPrincipalSelect.I_PrincipalSelectHandler selectHandler)
Sets the principal select handler.
|
addButton, addButton, createButtonCancel, createButtonClose, createButtonOK, createResourceListPanel, createResourceListPanelDirectly, displayResourceInfo, displayResourceInfo, displayResourceInfoDirectly, enableMaxHeight, getInfoResources, initActionHandler, prepareWindow, prepareWindow, readDesign, setAbove, setActionHandler, setBelow, setContent, setContentMinHeight, setContentVisibility, setWindowMinFullHeightaddComponentsAndExpand, getState, getStateaddComponent, addComponent, addComponentAsFirst, addLayoutClickListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getCustomAttributes, getDefaultComponentAlignment, getExpandRatio, getMargin, isSpacing, iterator, removeComponent, removeLayoutClickListener, replaceComponent, setComponentAlignment, setDefaultComponentAlignment, setExpandRatio, setMargin, setMargin, setSpacing, writeDesignaddComponentAttachListener, addComponentDetachListener, addComponents, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, setHeight, setWidthaddContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthUndefinedaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddComponents, getComponentIterator, moveComponentsFrom, removeAllComponentsaddListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisibleaddAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerpublic static java.lang.String PARAM_OU
public static java.lang.String PARAM_TYPE
public static java.lang.String PARAM_START_TYPE
public static java.lang.String PARAM_REAL_ONLY
public static final java.lang.String DIALOG_ID
public CmsPrincipalSelectDialog(I_CmsPrincipalSelect cmsPrincipalSelect, java.lang.String ou, com.vaadin.ui.Window window, CmsPrincipalSelect.WidgetType widgetType, boolean realOnly, CmsPrincipalSelect.WidgetType defaultView)
cmsPrincipalSelect - calling vaadin componentou - the current OUwindow - window to be closed after finishingwidgetType - type of principal to be shownrealOnly - true, only show real principalsdefaultView - default mode to openpublic CmsPrincipalSelectDialog(I_CmsPrincipalSelect cmsPrincipalSelect, java.lang.String ou, com.vaadin.ui.Window window, CmsPrincipalSelect.WidgetType widgetType, boolean realOnly, CmsPrincipalSelect.WidgetType defaultView, boolean includeWebOus)
cmsPrincipalSelect - calling vaadin componentou - the current OUwindow - window to be closed after finishingwidgetType - type of principal to be shownrealOnly - true, only show real principalsdefaultView - default mode to openincludeWebOus - booleanpublic static void openEmbeddedDialog(CmsEmbeddedDialogContext dialogContext, java.util.Map<java.lang.String,java.lang.String[]> params)
dialogContext - the dialog contextparams - the request parameterspublic static void openEmbeddedDialog(CmsEmbeddedDialogContext dialogContext, java.util.Map<java.lang.String,java.lang.String[]> params, boolean includeWebOus)
dialogContext - the dialog contextparams - the request parametersincludeWebOus - include WebOu?public void select(I_CmsPrincipal value)
value - the principal which was clickedpublic void setOuComboBoxEnabled(boolean enabled)
enabled - enabled booleanpublic void setSelectHandler(CmsPrincipalSelect.I_PrincipalSelectHandler selectHandler)
selectHandler - the principal select handler