Interface IClientAuthorizationDao<T extends IEntityClientAuthorization>

Type Parameters:
T - The IEntityClientAuthorization 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 writing IEntityClientAuthorization entities.
Since:
8.0.0
Author:
XIMA Media GmbH
  • Method Summary

    Modifier and Type
    Method
    Description
    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 client
    default 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 Details

    • getAllByClient

      List<T> getAllByClient(IEntityContext ec, Mandant client)
      Finds all authorizations for a given client scope.
      Parameters:
      ec - Entity context for accessing the database
      client - 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 use
      client - Mandant context in which to look for authorization
      uuid - 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 use
      client - Mandant context in which to look for authorization
      uuid - UUID UUID of the authorization
      Returns:
      An authorization item for the given UUID and client