public class GroupBrowser extends AbstractWindow
| Modifier and Type | Class and Description |
|---|---|
static interface |
GroupBrowser.Companion |
protected class |
GroupBrowser.ConstraintLocalizationEditAction |
protected class |
GroupBrowser.GroupPropertyCreateAction
Create action for the objects associated with the group
|
Screen.AfterCloseEvent, Screen.AfterDetachEvent, Screen.AfterInitEvent, Screen.AfterShowEvent, Screen.BeforeCloseEvent, Screen.BeforeShowEvent, Screen.InitEventWindow.BeforeCloseEvent, Window.BeforeCloseWithCloseButtonEvent, Window.BeforeCloseWithShortcutEvent, Window.CloseListener, Window.CloseOrigin, Window.CloseWithCommitListener, Window.Committable, Window.ContentSwitchMode, Window.Editor<T extends Entity>, Window.HasFoldersPane, Window.HasUserIndicator, Window.HasWorkArea, Window.Lookup<T extends Entity>, Window.TopLevelWindow, Window.WrapperFrame.MessageMode, Frame.MessageType, Frame.NotificationTypeExpandingLayout.ExpandDirectionComponent.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.OptionsStyleProviderframe, messages, UNKNOWN_CLOSE_ACTION_IDBROWSE_WINDOW_SUFFIX, CLOSE_ACTION_ID, COMMIT_ACTION_ID, CREATE_WINDOW_SUFFIX, EDITOR_WINDOW_SUFFIX, LOOKUP_WINDOW_SUFFIX, NAME, SELECT_ACTION_IDAUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE, UNITS_PERCENTAGE, UNITS_PIXELSNO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION| Constructor and Description |
|---|
GroupBrowser() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyGroup() |
protected EntityImportView |
createGroupsImportView() |
protected void |
export(ExportFormat exportFormat) |
void |
exportJSON() |
void |
exportZIP() |
protected void |
importGroups(java.io.File file) |
void |
init(java.util.Map<java.lang.String,java.lang.Object> params)
Called by the framework after creation of all components and before showing the screen.
|
protected void |
initAttributesTab() |
protected void |
initConstraintsTab() |
protected void |
initDragAndDrop() |
protected void |
initGroupsImport() |
protected void |
initGroupTreeActions() |
protected void |
initLazyTabs() |
protected void |
initUsersTableActions() |
protected void |
moveConstraintToGroup(Constraint constraint) |
protected boolean |
moveSelectedUsersToGroup(UserGroupChangedEvent event) |
protected void |
moveUsersToGroup(java.util.Set<User> selected) |
add, add, addAction, addAction, addBeforeWindowCloseListener, addFacet, addStyleName, addTimer, afterShow, applySettings, beforeClose, closeWithDiscard, deleteSettings, expand, expand, formatMessage, getAction, getActions, getActionsPermissions, getAlignment, getCaption, getCompanion, getComponent, getComponent, getComponent, getComponents, getComposition, getContentSwitchMode, getContext, getDescription, getDialogOptions, getDsContext, getExpandDirection, getExpandRatio, getFacet, getFacets, getFocusComponent, getFrame, getFrameOwner, getHeight, getHeightSizeUnit, getIcon, getMargin, getMaxHeight, getMaxWidth, getMessage, getMessagesPack, getMinHeight, getMinWidth, getOwnComponent, getOwnComponents, getOwnComponentsStream, getParent, getScreenHashCode, getSettings, getSpacing, getStyleName, getTimer, getWidth, getWidthSizeUnit, getWindowManager, getWrappedFrame, getWrappedWindow, getXmlDescriptor, handleValidationErrors, hasUnsavedChanges, indexOf, init, isAttributeAccessControlEnabled, isCloseable, isEnabled, isEnabledRecursive, isExpanded, isResponsive, isSameScreen, isValid, isVisible, isVisibleRecursive, postValidate, preClose, ready, remove, removeAction, removeAction, removeAll, removeAllActions, removeBeforeWindowCloseListener, removeFacet, removeStyleName, resetExpanded, saveSettings, setAlignment, setCaption, setCloseable, setCompanion, setContentSwitchMode, setDescription, setDsContext, setEnabled, setExpandRatio, setFocusComponent, setFrame, setHeight, setIcon, setIconFromSet, setId, setMargin, setMaxHeight, setMaxWidth, setMessagesPack, setMinHeight, setMinWidth, setParent, setResponsive, setSpacing, setStyleName, setVisible, setWidth, setWindow, setXmlDescriptor, showValidationErrors, unwrap, unwrapComposition, validate, validate, validateAdditionalRules, validateAlladdAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, applyDataLoadingSettings, close, closeWithDefaultAction, fireEvent, getBeanLocator, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSaveScreenHistoryOnClose, isSaveSettingsOnClose, setBeanLocator, setExtensions, setScreenData, setUiEventListeners, showclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBeforeCloseWithCloseButtonListener, addBeforeCloseWithShortcutListener, addCloseListener, addCloseWithCommitListener, addListener, close, close, closeAndRun, removeBeforeCloseWithCloseButtonListener, removeBeforeCloseWithShortcutListener, removeCloseListener, removeCloseWithCommitListener, removeListenergetFacetNNgetComponentNNadd, focusFirstComponent, getComponentNN, removegetHeightUnits, getId, getWidthUnits, isEnabledItself, isVisibleItself, requestFocus, setHeightAuto, setHeightFull, setSizeAuto, setSizeFull, setWidthAuto, setWidthFullgetActionNN, getSubPartopenEditor, openEditor, openEditor, openEditor, openEditor, openEditor, openEditor, openFrame, openFrame, openLookup, openLookup, openLookup, openLookup, openWindow, openWindow, showMessageDialog, showNotification, showNotification, showNotification, showOptionDialog, showOptionDialog, showWebPage@Inject protected UserManagementService userManagementService
@Named(value="groupsTree.copy") protected Action groupCopyAction
@Inject protected PopupButton groupCreateButton
@Inject protected HierarchicalDatasource<Group,java.util.UUID> groupsDs
@Inject protected CollectionDatasource<Constraint,java.util.UUID> constraintsDs
@Inject protected CollectionDatasource<SessionAttribute,java.util.UUID> attributesDs
@Inject protected TabSheet tabsheet
@Inject protected Metadata metadata
@Inject protected Security security
@Inject protected UiComponents uiComponents
@Inject protected FileUploadField importUpload
@Inject protected FileUploadingAPI fileUploadingAPI
@Inject protected EntityImportExportService entityImportExportService
@Inject protected ExportDisplay exportDisplay
@Inject protected ViewRepository viewRepository
@Inject protected ConstraintLocalizationService constraintLocalizationService
protected boolean constraintsTabInitialized
protected boolean attributesTabInitialized
protected GroupBrowser.GroupPropertyCreateAction attributeCreateAction
protected GroupBrowser.GroupPropertyCreateAction constraintCreateAction
protected GroupBrowser.GroupPropertyCreateAction userCreateAction
public void init(java.util.Map<java.lang.String,java.lang.Object> params)
AbstractWindowinit in class AbstractWindowparams - parameters passed from caller's code, usually from
HasWindowManager.openWindow(String, WindowManager.OpenType) and similar methods, or set in
screens.xml for this registered screenprotected void initGroupsImport()
protected void initLazyTabs()
protected void initDragAndDrop()
protected void initUsersTableActions()
protected void initGroupTreeActions()
protected void importGroups(java.io.File file)
protected void moveUsersToGroup(java.util.Set<User> selected)
protected boolean moveSelectedUsersToGroup(UserGroupChangedEvent event)
protected EntityImportView createGroupsImportView()
public void copyGroup()
protected void initConstraintsTab()
protected void moveConstraintToGroup(Constraint constraint)
protected void initAttributesTab()
public void exportZIP()
public void exportJSON()
protected void export(ExportFormat exportFormat)