public interface PermissionRepository
| Modifier and Type | Method and Description |
|---|---|
Collection<PermissionTicket> |
getAll()
Get all the tickets in the system (used by the import/export API)
|
Permission |
getById(Long permissionId)
Get a permission object by its ID (used by the import/export API)
|
PermissionTicket |
getByTicket(String ticket)
Get the permission indicated by its ticket value.
|
Collection<PermissionTicket> |
getPermissionTicketsForResourceSet(ResourceSet rs)
Get all permission tickets issued against a resource set (called when RS is deleted)
|
void |
remove(PermissionTicket ticket)
Remove the specified ticket.
|
PermissionTicket |
save(PermissionTicket p)
Save a permission ticket.
|
Permission |
saveRawPermission(Permission p)
Save a permission object with no associated ticket (used by the import/export API)
|
PermissionTicket save(PermissionTicket p)
p - PermissionTicket getByTicket(String ticket)
ticket - Collection<PermissionTicket> getAll()
Permission saveRawPermission(Permission p)
p - Permission getById(Long permissionId)
permissionId - Collection<PermissionTicket> getPermissionTicketsForResourceSet(ResourceSet rs)
rs - void remove(PermissionTicket ticket)
ticket - Copyright © 2018. All rights reserved.