public class SecurityRole
extends com.google.gwt.user.client.ui.Composite
implements com.google.gwt.user.client.ui.HasWidgets
Modifier and Type | Field and Description |
---|---|
RoleScrollTable |
assignedRole |
RoleScrollTable |
unassignedRole |
Constructor and Description |
---|
SecurityRole()
Security group
|
Modifier and Type | Method and Description |
---|---|
void |
add(com.google.gwt.user.client.ui.Widget w) |
void |
addRole(String role)
Grant the role
|
void |
clear() |
void |
fillWidth()
fillWidth
|
void |
getFilteredUngrantedRoles(String filter)
Gets the granted roles by filter
|
void |
getGrantedRoles()
Gets the granted roles
|
List<Map<String,Integer>> |
getNewGrants()
getNewGrants
|
void |
getUngrantedRoles()
Gets the granted roles
|
void |
grant(String role,
int permissions,
boolean recursive,
int flag_property)
Grant the role
|
boolean |
hasChangedGrants()
hasChangedGrants
|
void |
initSecurity()
initSecurity
|
Iterator<com.google.gwt.user.client.ui.Widget> |
iterator() |
void |
langRefresh()
Language refresh
|
boolean |
remove(com.google.gwt.user.client.ui.Widget w) |
void |
reset()
Resets the values
|
void |
resetUnassigned()
resetUnassigned
|
void |
revoke(String role,
int permissions,
boolean recursive,
int flag_property)
Revoke the role grant
|
void |
revokeRole(String role)
Revokes all role permissions
|
void |
setUuid(String uuid)
Sets the uuid
|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, performDetachedInitialization, render, render, resolvePotentialElement, setWidget, wrapElement
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public RoleScrollTable assignedRole
public RoleScrollTable unassignedRole
public void initSecurity()
public void langRefresh()
public void reset()
public void resetUnassigned()
public void getGrantedRoles()
public void getUngrantedRoles()
public void getFilteredUngrantedRoles(String filter)
public void addRole(String role)
public void revokeRole(String role)
user
- The rolepublic void grant(String role, int permissions, boolean recursive, int flag_property)
user
- The granted rolepermissions
- The permissions valuepublic void revoke(String role, int permissions, boolean recursive, int flag_property)
user
- The rolepermissions
- The permissions valuepublic void setUuid(String uuid)
uuid
- The uuidpublic void fillWidth()
public boolean hasChangedGrants()
public void add(com.google.gwt.user.client.ui.Widget w)
add
in interface com.google.gwt.user.client.ui.HasWidgets
public void clear()
clear
in interface com.google.gwt.user.client.ui.HasWidgets
public Iterator<com.google.gwt.user.client.ui.Widget> iterator()
public boolean remove(com.google.gwt.user.client.ui.Widget w)
remove
in interface com.google.gwt.user.client.ui.HasWidgets
Copyright © 2016. All rights reserved.