public interface RelatedObjectSet
Modifier and Type | Field and Description |
---|---|
static RelatedObjectSet |
EMPTY_SET
An immutable instance of RelatedObjectSEt which contains no objects.
|
Modifier and Type | Method and Description |
---|---|
void |
addObjects(Set<String> identifiers)
Adds the objects having the given identifiers, if not already present.
|
Set<String> |
getObjects()
Returns a Set which contains the identifiers of all objects contained
within this RelatedObjectSet.
|
void |
removeObjects(Set<String> identifiers)
Removes each of the objects having the specified identifiers, if
present.
|
static final RelatedObjectSet EMPTY_SET
Set<String> getObjects() throws org.apache.guacamole.GuacamoleException
org.apache.guacamole.GuacamoleException
- If an error occurs while retrieving the objects within the set, or
if objects cannot be retrieved due to lack of permissions to do so.void addObjects(Set<String> identifiers) throws org.apache.guacamole.GuacamoleException
identifiers
- The identifiers of all objects being added.org.apache.guacamole.GuacamoleException
- If an error occurs while adding the objects, or if permission to add
objects is denied.void removeObjects(Set<String> identifiers) throws org.apache.guacamole.GuacamoleException
identifiers
- The identifiers of all objects being removed.org.apache.guacamole.GuacamoleException
- If an error occurs while removing the objects, or if permission to
remove objects is denied.Copyright © 2018. All rights reserved.