Class SpaceWithProjectsAndRoleAssignments
java.lang.Object
ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.SpaceWithProjectsAndRoleAssignments
- All Implemented Interfaces:
ICodeHolder,Serializable
@JsonObject("SpaceWithProjectsAndRoleAssignments")
public class SpaceWithProjectsAndRoleAssignments
extends Object
implements ICodeHolder, Serializable
Bean which represents a space, all its projects, and all its relevant role assignments
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance for the specified code. -
Method Summary
-
Constructor Details
-
SpaceWithProjectsAndRoleAssignments
Creates a new instance for the specified code.- Throws:
IllegalArgumentException- if the code isnullor an empty string.
-
-
Method Details
-
getCode
Returns the space code.- Specified by:
getCodein interfaceICodeHolder
-
getProjects
Returns all projects of this space. -
getRoles
Returns all access roles the specified user has on this space. -
getUsers
Returns the set of all users that have a role in this space.
-