public interface WorkspacePermission
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.DateTime |
getLastLogin()
Returns the time of the last login in the workspace.
|
PermissionStatus |
getStatus()
Returns the status the user has in the workspace.
|
UUID |
getWorkspaceId() |
boolean |
hasRole(PermissionRole role)
Checks if the resource owner has the given role in the workspace.
|
boolean |
isActive()
Convenience method to check user status.
|
boolean |
isActive(PermissionRole role)
Convenience method to check user status and the given role.
|
UUID getWorkspaceId()
PermissionStatus getStatus()
org.joda.time.DateTime getLastLogin()
boolean isActive()
boolean isActive(PermissionRole role)
role - boolean hasRole(PermissionRole role)
role - Copyright © 2015. All rights reserved.