Interface ViewPermission
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceReference
getBaseResource()
Returns the ResourceReference associated to this ViewPermission.UUID
getUserGroupId()
Returns the UUID UserGroup that is the owner of this ViewPermission, if the owner is a group, otherwisenull
will be returned.UUID
getUserId()
Returns the UUID of the user that is the owner of this ViewPermission, if the owner is a user, otherwisenull
will be returned.-
Methods inherited from interface Resource
getCreatedBy, getCreatedOn, getLastModifiedBy, getLastModifiedOn, getResourceType, isSystem
-
-
-
-
Method Detail
-
getUserId
UUID getUserId()
Returns the UUID of the user that is the owner of this ViewPermission, if the owner is a user, otherwisenull
will be returned.- Returns:
- the UUID of the user
-
getUserGroupId
UUID getUserGroupId()
Returns the UUID UserGroup that is the owner of this ViewPermission, if the owner is a group, otherwisenull
will be returned.- Returns:
- the UUID of the userGroup
-
getBaseResource
ResourceReference getBaseResource()
Returns the ResourceReference associated to this ViewPermission. The Resource is either a Domain or a Community.- Returns:
- the ResourceReference of the linked Resource
-
-