public class AbstractUserGroup extends AbstractIdentifiable implements UserGroup
Constructor and Description |
---|
AbstractUserGroup() |
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.
|
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.
|
equals, getIdentifier, hashCode, setIdentifier
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getIdentifier, setIdentifier
public Map<String,String> getAttributes()
This implementation simply an immutable, empty map. Implementations that wish to expose custom attributes should override this function.
getAttributes
in interface Attributes
public void setAttributes(Map<String,String> attributes)
This implementation simply ignores all attributes given. Implementations that wish to support modification of custom attributes should override this function.
setAttributes
in interface Attributes
attributes
- A map of all attribute identifiers to their corresponding values.public SystemPermissionSet getSystemPermissions() throws org.apache.guacamole.GuacamoleException
This implementation simply an immutable, empty permission set. Implementations that wish to expose permissions should override this function.
getSystemPermissions
in interface Permissions
org.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
This implementation simply an immutable, empty permission set. Implementations that wish to expose permissions should override this function.
getConnectionPermissions
in interface Permissions
org.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
This implementation simply an immutable, empty permission set. Implementations that wish to expose permissions should override this function.
getConnectionGroupPermissions
in interface Permissions
org.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
This implementation simply an immutable, empty permission set. Implementations that wish to expose permissions should override this function.
getUserPermissions
in interface Permissions
org.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
This implementation simply an immutable, empty permission set. Implementations that wish to expose permissions should override this function.
getUserGroupPermissions
in interface Permissions
org.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
This implementation simply an immutable, empty permission set. Implementations that wish to expose permissions should override this function.
getActiveConnectionPermissions
in interface Permissions
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving permissions, or if reading all
permissions is not allowed.public ObjectPermissionSet getSharingProfilePermissions()
This implementation simply an immutable, empty permission set. Implementations that wish to expose permissions should override this function.
getSharingProfilePermissions
in interface Permissions
public RelatedObjectSet getUserGroups() throws org.apache.guacamole.GuacamoleException
This implementation simply an immutable, empty related object set. Implementations that wish to expose group membership should override this function.
getUserGroups
in interface UserGroup
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving the user groups.public RelatedObjectSet getMemberUsers() throws org.apache.guacamole.GuacamoleException
This implementation simply an immutable, empty related object set. Implementations that wish to expose group membership should override this function.
getMemberUsers
in interface UserGroup
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving the users.public RelatedObjectSet getMemberUserGroups() throws org.apache.guacamole.GuacamoleException
This implementation simply an immutable, empty related object set. Implementations that wish to expose group membership should override this function.
getMemberUserGroups
in interface UserGroup
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving the user groups.Copyright © 2018. All rights reserved.