public interface AbstractEntityManager<T,S extends Settings>
Basic management API for security realm entities type of T.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
AbstractEntityManager.SearchRequest
The request parameters for performing entity searching on the backend security server.
|
static interface |
AbstractEntityManager.SearchResponse<T>
The response values for a search operation.
|
| Modifier and Type | Method and Description |
|---|---|
T |
create(T entity)
Creates a given entity in the backend security environment.
|
void |
delete(String... identifiers)
Deletes a given entity or entities (bulk delete) in the backend security environment.
|
T |
get(String identifier)
Obtain a single entity instance.
|
S |
getSettings()
The entity manager settings.
|
AbstractEntityManager.SearchResponse<T> |
search(AbstractEntityManager.SearchRequest request)
Search entities.
|
T |
update(T entity)
Creates a given entity in the backend security environment.
|
AbstractEntityManager.SearchResponse<T> search(AbstractEntityManager.SearchRequest request) throws SecurityManagementException
request - The search request constraints.SecurityManagementExceptionT get(String identifier) throws SecurityManagementException
identifier - The entity's identifier.SecurityManagementExceptionT create(T entity) throws SecurityManagementException
entity - The entity to create.SecurityManagementExceptionT update(T entity) throws SecurityManagementException
entity - The entity to create.SecurityManagementExceptionvoid delete(String... identifiers) throws SecurityManagementException
identifiers - The entity identifiers to delete.SecurityManagementExceptionS getSettings()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.