Package de.xima.fc.dao.interfaces
Interface IClientAuthorizationDao<T extends IEntityClientAuthorization>
-
- Type Parameters:
T
- TheIEntityClientAuthorization
sub type.
- All Superinterfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<T,Long,IEntityContext>
,IGenericDao<T>
- All Known Subinterfaces:
IDirectClientAuthorizationDao
,IIndirectClientAuthorizationDao
- All Known Implementing Classes:
DirectClientAuthorizationDao
,IndirectClientAuthorizationDao
public interface IClientAuthorizationDao<T extends IEntityClientAuthorization> extends IGenericDao<T>
DAO for reading and writingIEntityClientAuthorization
entities.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description List<T>
getAllByClient(IEntityContext ec, Mandant client)
Finds all authorizations for a given client scope.default T
getByUuid(IEntityContext ec, Mandant client, String uuid)
Returns the client authorization for the given UUID string and clientdefault T
getByUuid(IEntityContext ec, Mandant client, UUID uuid)
Returns the client authorization for the given UUID and client-
Methods inherited from interface de.xima.cmn.dao.interfaces.IAbstractDao
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
-
Methods inherited from interface de.xima.fc.dao.interfaces.IGenericDao
count, findAll, findSingle, getEntityRefs, read
-
-
-
-
Method Detail
-
getAllByClient
List<T> getAllByClient(IEntityContext ec, Mandant client)
Finds all authorizations for a given client scope.- Parameters:
ec
- Entity context for accessing the databaseclient
- Client scope where to look for users.- Returns:
- A list with all authorizations from the given client scope.
-
getByUuid
default T getByUuid(IEntityContext ec, Mandant client, String uuid)
Returns the client authorization for the given UUID string and client- Parameters:
ec
-IEntityContext
to useclient
-Mandant
context in which to look for authorizationuuid
-String
UUID string of the authorization- Returns:
- An authorization item for the given UUID and client
-
getByUuid
default T getByUuid(IEntityContext ec, Mandant client, UUID uuid)
Returns the client authorization for the given UUID and client- Parameters:
ec
-IEntityContext
to useclient
-Mandant
context in which to look for authorizationuuid
-UUID
UUID of the authorization- Returns:
- An authorization item for the given UUID and client
-
-