Package io.jmix.bpmflowui.view.usergroup
Class UserGroupDetailView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.flowui.view.StandardDetailView<UserGroup>
io.jmix.bpmflowui.view.usergroup.UserGroupDetailView
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasStyle
,com.vaadin.flow.router.AfterNavigationObserver
,com.vaadin.flow.router.BeforeEnterObserver
,com.vaadin.flow.router.BeforeLeaveObserver
,com.vaadin.flow.router.HasDynamicTitle
,com.vaadin.flow.router.internal.AfterNavigationHandler
,com.vaadin.flow.router.internal.BeforeEnterHandler
,com.vaadin.flow.router.internal.BeforeLeaveHandler
,FragmentOwner
,ChangeTracker
,DetailView<UserGroup>
,ReadOnlyAwareView
,Serializable
@Route(value="bpm/usergroups/:id",
layout=DefaultMainViewParent.class)
@ViewController("bpm_UserGroup.detail")
@ViewDescriptor("user-group-detail-view.xml")
@DialogMode(width="50em")
public class UserGroupDetailView
extends StandardDetailView<UserGroup>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.StandardDetailView
StandardDetailView.AfterSaveEvent, StandardDetailView.BeforeSaveEvent, StandardDetailView.InitEntityEvent<E>, StandardDetailView.SetupLockEvent, StandardDetailView.ValidationEvent
Nested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.vaadin.flow.component.orderedlayout.VerticalLayout
protected com.vaadin.flow.component.combobox.ComboBox<UserGroupType>
protected CollectionContainer<UserGroupRole>
protected DataGrid<UserGroupRole>
protected CollectionContainer<UserGroupUser>
protected com.vaadin.flow.component.button.Button
protected com.vaadin.flow.component.orderedlayout.VerticalLayout
protected com.vaadin.flow.component.combobox.ComboBox<String>
Fields inherited from class io.jmix.flowui.view.StandardDetailView
DEFAULT_ROUTE_PARAM, LOCKED_BEFORE_REFRESH_ATTR_NAME, MODE_PARAM, MODE_READONLY, NEW_ENTITY_ID, READ_ONLY_BEFORE_REFRESH_ATTR_NAME, reloadSaved
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addUserGroupUserToUserGroup
(String username) protected void
void
onBeforeShow
(View.BeforeShowEvent event) void
onInit
(View.InitEvent event) void
void
onUsernameAddBtnIdClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected void
protected void
protected void
protected Collection<UserGroupRole>
userGroupRolesGridAddTransformation
(Collection<ResourceRoleModel> selectedRoleModels) Methods inherited from class io.jmix.flowui.view.StandardDetailView
addAfterSaveListener, addBeforeSaveListener, addInitEntityListener, addValidationEventListener, beforeEnter, closeWithDiscard, closeWithSave, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getEditedEntityOrNull, getLockStatus, getRouteParamName, getSaveNotificationText, hasUnsavedChanges, initExistingEntity, initNewEntity, isCrossFieldValidationEnabled, isReadOnly, isReloadEdited, isReloadSaved, isSaveActionPerformed, isShowSaveNotification, isShowValidationErrors, onDetachInternal, save, setCrossFieldValidationEnabled, setEntityToEdit, setReadOnly, setReloadEdited, setReloadSaved, setShowSaveNotification, setShowValidationErrors, setupEntityToEdit, setupEntityToEdit, setupEntityToEdit, validateView
Methods inherited from class io.jmix.flowui.view.StandardView
initContent
Methods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigation
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
userGroupUsersDc
-
userGroupRolesDc
-
rolesBox
-
usernamesBox
-
userSuggestionField
-
usernameAddBtn
-
typeField
-
userGroupRolesGrid
-
-
Constructor Details
-
UserGroupDetailView
public UserGroupDetailView()
-
-
Method Details
-
onInit
-
onBeforeShow
-
initUserAddMechanism
protected void initUserAddMechanism() -
addUserGroupUserToUserGroup
-
onUserGroupDcItemPropertyChange
@Subscribe(id="userGroupDc", target=DATA_CONTAINER) public void onUserGroupDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<UserGroup> event) -
updateUserGroupType
protected void updateUserGroupType() -
setComponentsVisibilityByType
protected void setComponentsVisibilityByType() -
onUsernameAddBtnIdClick
@Subscribe("usernameAddBtn") public void onUsernameAddBtnIdClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
preventGroupTypeChange
-
userGroupRolesGridAddTransformation
@Install(to="userGroupRolesGrid.add", subject="transformation") protected Collection<UserGroupRole> userGroupRolesGridAddTransformation(Collection<ResourceRoleModel> selectedRoleModels)
-