public class DelegatingUserGroup extends Object implements UserGroup
| Constructor and Description |
|---|
DelegatingUserGroup(UserGroup userGroup)
Wraps the given UserGroup such that all function calls against this
DelegatingUserGroup will be delegated to it.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectPermissionSet |
getActiveConnectionPermissions()
Returns all permissions given to this object regarding currently-active
connections.
|
Map<String,String> |
getAttributes()
Returns all attributes associated with this object.
|
ObjectPermissionSet |
getConnectionGroupPermissions()
Returns all connection group permissions given to this object.
|
ObjectPermissionSet |
getConnectionPermissions()
Returns all connection permissions given to this object.
|
protected UserGroup |
getDelegateUserGroupGroup()
Returns the underlying UserGroup wrapped by this DelegatingUserGroup.
|
String |
getIdentifier()
Returns the unique identifier assigned to this object.
|
RelatedObjectSet |
getMemberUserGroups()
Returns a set of all readable user groups that are members of this user
group.
|
RelatedObjectSet |
getMemberUsers()
Returns a set of all readable users that are members of this user group.
|
ObjectPermissionSet |
getSharingProfilePermissions()
Returns all sharing profile permissions given to this object.
|
SystemPermissionSet |
getSystemPermissions()
Returns all system-level permissions given to this object.
|
ObjectPermissionSet |
getUserGroupPermissions()
Returns all user group permissions given to this object.
|
RelatedObjectSet |
getUserGroups()
Returns a set of all readable user groups of which this user group is a
member.
|
ObjectPermissionSet |
getUserPermissions()
Returns all user permissions given to this object.
|
void |
setAttributes(Map<String,String> attributes)
Sets the given attributes.
|
void |
setIdentifier(String identifier)
Sets the identifier assigned to this object.
|
public DelegatingUserGroup(UserGroup userGroup)
userGroup - The UserGroup to wrap.protected UserGroup getDelegateUserGroupGroup()
public String getIdentifier()
IdentifiablegetIdentifier in interface Identifiablepublic void setIdentifier(String identifier)
IdentifiablesetIdentifier in interface Identifiableidentifier - The identifier to assign.public Map<String,String> getAttributes()
AttributesgetAttributes in interface Attributespublic void setAttributes(Map<String,String> attributes)
AttributessetAttributes in interface Attributesattributes - A map of all attribute identifiers to their corresponding values.public SystemPermissionSet getSystemPermissions() throws org.apache.guacamole.GuacamoleException
PermissionsgetSystemPermissions in interface Permissionsorg.apache.guacamole.GuacamoleException - If an error occurs while retrieving permissions, or if reading all
permissions is not allowed.public ObjectPermissionSet getConnectionPermissions() throws org.apache.guacamole.GuacamoleException
PermissionsgetConnectionPermissions in interface Permissionsorg.apache.guacamole.GuacamoleException - If an error occurs while retrieving permissions, or if reading all
permissions is not allowed.public ObjectPermissionSet getConnectionGroupPermissions() throws org.apache.guacamole.GuacamoleException
PermissionsgetConnectionGroupPermissions in interface Permissionsorg.apache.guacamole.GuacamoleException - If an error occurs while retrieving permissions, or if reading all
permissions is not allowed.public ObjectPermissionSet getSharingProfilePermissions() throws org.apache.guacamole.GuacamoleException
PermissionsgetSharingProfilePermissions in interface Permissionsorg.apache.guacamole.GuacamoleException - If an error occurs while retrieving permissions, or if reading all
permissions is not allowed.public ObjectPermissionSet getActiveConnectionPermissions() throws org.apache.guacamole.GuacamoleException
PermissionsgetActiveConnectionPermissions in interface Permissionsorg.apache.guacamole.GuacamoleException - If an error occurs while retrieving permissions, or if reading all
permissions is not allowed.public ObjectPermissionSet getUserPermissions() throws org.apache.guacamole.GuacamoleException
PermissionsgetUserPermissions in interface Permissionsorg.apache.guacamole.GuacamoleException - If an error occurs while retrieving permissions, or if reading all
permissions is not allowed.public ObjectPermissionSet getUserGroupPermissions() throws org.apache.guacamole.GuacamoleException
PermissionsgetUserGroupPermissions in interface Permissionsorg.apache.guacamole.GuacamoleException - If an error occurs while retrieving permissions, or if reading all
permissions is not allowed.public RelatedObjectSet getUserGroups() throws org.apache.guacamole.GuacamoleException
UserGroupgetUserGroups in interface UserGrouporg.apache.guacamole.GuacamoleException - If an error occurs while retrieving the user groups.public RelatedObjectSet getMemberUsers() throws org.apache.guacamole.GuacamoleException
UserGroupgetMemberUsers in interface UserGrouporg.apache.guacamole.GuacamoleException - If an error occurs while retrieving the users.public RelatedObjectSet getMemberUserGroups() throws org.apache.guacamole.GuacamoleException
UserGroupgetMemberUserGroups in interface UserGrouporg.apache.guacamole.GuacamoleException - If an error occurs while retrieving the user groups.Copyright © 2020. All rights reserved.