public class AttributePermissionsFrame extends AbstractFrame
| Modifier and Type | Class and Description |
|---|---|
protected class |
AttributePermissionsFrame.AttributePermissionControl |
static interface |
AttributePermissionsFrame.Companion |
ScreenFragment.AfterInitEvent, ScreenFragment.AttachEvent, ScreenFragment.DetachEvent, ScreenFragment.InitEventFrame.MessageMode, Frame.MessageType, Frame.NotificationType, Frame.WrapperExpandingLayout.ExpandDirectionComponent.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.OptionsStyleProviderframe, messagesNO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTIONAUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE, UNITS_PERCENTAGE, UNITS_PIXELS| Constructor and Description |
|---|
AttributePermissionsFrame() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyFilter() |
protected void |
applyPermissions(boolean editable) |
protected void |
attachAllCheckboxListener(CheckBox checkBox,
AttributePermissionVariant activeVariant) |
protected void |
clearEditGrid() |
protected void |
compileDefaultControls(GridLayout editGrid) |
protected void |
compileEditPane(MultiplePermissionTarget item) |
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.
|
add, add, addAction, addAction, addFacet, addStyleName, dispose, expand, expand, formatMessage, getAction, getActions, getAlignment, getCaption, getCompanion, getComponent, getComponent, getComponent, getComponents, getComposition, getContext, getDescription, getDsContext, getExpandDirection, getExpandRatio, getFacet, getFacets, getFrame, getFrameOwner, getHeight, getHeightSizeUnit, getIcon, getMargin, getMessage, getMessagesPack, getOwnComponent, getOwnComponents, getOwnComponentsStream, getParent, getSpacing, getStyleName, getWidth, getWidthSizeUnit, getWindowManager, getWrappedFrame, indexOf, init, isEnabled, isEnabledRecursive, isExpanded, isResponsive, isValid, isVisible, isVisibleRecursive, remove, removeAction, removeAction, removeAll, removeAllActions, removeFacet, removeStyleName, resetExpanded, setAlignment, setCaption, setCompanion, setDescription, setDsContext, setEnabled, setExpandRatio, setFragment, setFrame, setHeight, setIcon, setIconFromSet, setId, setMargin, setMessagesPack, setParent, setResponsive, setSpacing, setStyleName, setVisible, setWidth, setWrappedFrame, showValidationErrors, unwrap, unwrapComposition, validate, validate, validateAlladdAfterInitListener, addAttachEventListener, addDetachEventListener, addInitListener, fireEvent, getBeanLocator, getEventHub, getExtensions, getFragment, getHostController, getHostScreen, getId, getScreenData, getUiEventListeners, init, setBeanLocator, setExtensions, setHostController, setScreenData, setUiEventListenersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFacetNNgetXmlDescriptor, setXmlDescriptorgetActionNN, getSubPartgetComponentNNadd, focusFirstComponent, getComponentNN, removegetHeightUnits, getId, getWidthUnits, isEnabledItself, isVisibleItself, requestFocus, setHeightAuto, setHeightFull, setSizeAuto, setSizeFull, setWidthAuto, setWidthFullopenEditor, openEditor, openEditor, openEditor, openEditor, openEditor, openEditor, openFrame, openFrame, openLookup, openLookup, openLookup, openLookup, openWindow, openWindow, showMessageDialog, showNotification, showNotification, showNotification, showOptionDialog, showOptionDialog, showWebPage@Inject protected AttributePermissionsFrame.Companion companion
@Inject protected Datasource<Role> roleDs
@Inject protected RestorablePermissionDatasource propertyPermissionsDs
@Inject protected MultiplePermissionTargetsDatasource attributeTargetsDs
@Inject protected UserSession userSession
@Inject protected Metadata metadata
@Inject protected Security security
@Inject protected Table<MultiplePermissionTarget> propertyPermissionsTable
@Inject protected Label<java.lang.String> selectedTargetCaption
@Inject protected Label<java.lang.String> selectedTargetLocalCaption
@Inject protected BoxLayout selectedEntityPanel
@Inject protected ScrollBoxLayout editGridContainer
@Inject protected TextField<java.lang.String> entityFilter
@Inject protected CheckBox assignedOnlyCheckBox
@Inject protected CheckBox systemLevelCheckBox
protected CheckBox allModifyCheck
protected CheckBox allReadOnlyCheck
protected CheckBox allHideCheck
protected boolean itemChanging
protected boolean hasPermissionsToModifyPermission
protected final java.util.List<AttributePermissionsFrame.AttributePermissionControl> permissionControls
public void init(java.util.Map<java.lang.String,java.lang.Object> params)
AbstractFrameinit in class AbstractFrameparams - parameters passed from caller's code, usually from
HasWindowManager.openWindow(String, WindowManager.OpenType) and similar methods, or set in
screens.xml for this registered screenpublic void applyFilter()
protected void attachAllCheckboxListener(CheckBox checkBox, AttributePermissionVariant activeVariant)
protected void applyPermissions(boolean editable)
protected void clearEditGrid()
protected void compileEditPane(MultiplePermissionTarget item)
protected void compileDefaultControls(GridLayout editGrid)