Interface OAuth2ConnectionService

All Superinterfaces:
BaseFinder<OAuth2Connection,Long>, EditableService<OAuth2Connection,Long>

public interface OAuth2ConnectionService extends EditableService<OAuth2Connection,Long>
  • Method Details

    • getByClientId

      CountedResult<OAuth2Connection> getByClientId(long clientId, int start, int limit, Sorter sorter)
    • isConnectionInUse

      boolean isConnectionInUse(OAuth2Connection oAuth2Connection)
    • hasConnectionInUse

      boolean hasConnectionInUse(OAuth2Client oAuth2Client)
    • findByClientIdAndConnectionName

      Optional<OAuth2Connection> findByClientIdAndConnectionName(Long clientId, String connectionName)
      Znajduje połączenie po id klienta i nazwie połączenia
      Parameters:
      clientId - Id klienta
      connectionName - Nazwa połączenia
      Returns:
      Połączenie