Class LabelledPermissionResponse
- java.lang.Object
-
- org.molgenis.api.permissions.model.response.LabelledPermissionResponse
-
public abstract class LabelledPermissionResponse extends Object
-
-
Constructor Summary
Constructors Constructor Description LabelledPermissionResponse()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static LabelledPermissionResponsecreate(String user, String role, ObjectResponse object, TypeResponse type, String permission, Set<LabelledPermissionResponse> inheritedPermissions)abstract Set<LabelledPermissionResponse>getInheritedPermissions()returns null if inheritance was not requested.abstract ObjectResponsegetObject()abstract StringgetPermission()abstract StringgetRole()abstract TypeResponsegetType()abstract StringgetUser()
-
-
-
Method Detail
-
getUser
@Nullable @CheckForNull public abstract String getUser()
-
getRole
@Nullable @CheckForNull public abstract String getRole()
-
getObject
@Nullable @CheckForNull public abstract ObjectResponse getObject()
-
getType
@Nullable @CheckForNull public abstract TypeResponse getType()
-
getPermission
@Nullable @CheckForNull public abstract String getPermission()
-
getInheritedPermissions
@Nullable @CheckForNull public abstract Set<LabelledPermissionResponse> getInheritedPermissions()
returns null if inheritance was not requested. If requested but not present an empty set is returned.
-
create
public static LabelledPermissionResponse create(String user, String role, ObjectResponse object, TypeResponse type, String permission, Set<LabelledPermissionResponse> inheritedPermissions)
-
-