Interface IClientAuthorizationDao<T extends IEntityClientAuthorization>

    • 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 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
    • 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 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