@ApplicationScoped public class RoleResourceImpl extends Object implements IRoleResource
| Constructor and Description |
|---|
RoleResourceImpl()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
RoleBean |
create(NewRoleBean bean) |
void |
delete(String roleId) |
RoleBean |
get(String roleId) |
IStorageQuery |
getQuery() |
ISecurityContext |
getSecurityContext() |
IStorage |
getStorage() |
List<RoleBean> |
list() |
void |
setQuery(IStorageQuery query) |
void |
setSecurityContext(ISecurityContext securityContext) |
void |
setStorage(IStorage storage) |
void |
update(String roleId,
UpdateRoleBean bean) |
public RoleBean create(NewRoleBean bean) throws RoleAlreadyExistsException, NotAuthorizedException
create in interface IRoleResourceRoleAlreadyExistsExceptionNotAuthorizedExceptionIRoleResource.create(io.apiman.manager.api.beans.idm.NewRoleBean)public RoleBean get(String roleId) throws RoleNotFoundException
get in interface IRoleResourceRoleNotFoundExceptionIRoleResource.get(java.lang.String)public void update(String roleId, UpdateRoleBean bean) throws RoleNotFoundException, NotAuthorizedException
update in interface IRoleResourceRoleNotFoundExceptionNotAuthorizedExceptionIRoleResource.update(java.lang.String, io.apiman.manager.api.beans.idm.UpdateRoleBean)public void delete(String roleId) throws RoleNotFoundException, NotAuthorizedException
delete in interface IRoleResourceRoleNotFoundExceptionNotAuthorizedExceptionIRoleResource.delete(java.lang.String)public List<RoleBean> list()
list in interface IRoleResourceIRoleResource.list()public ISecurityContext getSecurityContext()
public void setSecurityContext(ISecurityContext securityContext)
securityContext - the securityContext to setpublic IStorage getStorage()
public void setStorage(IStorage storage)
storage - the storage to setpublic IStorageQuery getQuery()
public void setQuery(IStorageQuery query)
query - the query to setCopyright © 2021 Apiman. All rights reserved.