All Known Implementing Classes:
HvlOAuthLookupManagerImpl

public interface HvlOAuthLookupManager
This manager provides query methods.
  • Method Details

    • findIdByUuid

      Optional<Long> findIdByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Finds lookup id by uuid.
      Parameters:
      uuid - the uuid
      Returns:
      an optional id
    • findByCodeAndParameterTypeOrElseThrow

      HvlOAuthLookupModel findByCodeAndParameterTypeOrElseThrow(@NotBlank @Size(max=100) @NotBlank @Size(max=100) String code, @NotNull @NotNull HvlOAuthLookupParameterType lookupParameterType)
      Gets lookup by code and parameter type.
      Parameters:
      code - the code
      lookupParameterType - the lookup parameter type
      Returns:
      the lookup model by code and parameter type
    • getById

      HvlOAuthLookupModel getById(@NotNull @NotNull Long id)
      Gets lookup by id.
      Parameters:
      id - the id
      Returns:
      the lookup model
    • getByUuid

      HvlOAuthLookupModel getByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Gets lookup by uuid.
      Parameters:
      uuid - the uuid
      Returns:
      the lookup model
    • getByIntegrationCode

      HvlOAuthLookupModel getByIntegrationCode(@NotBlank @Size(max=20) @NotBlank @Size(max=20) String integrationCode)
      Gets by integration code.
      Parameters:
      integrationCode - the integration code
      Returns:
      the by integration code
    • queryList

      List<HvlOAuthLookupModel> queryList(@NotNull @Valid @NotNull @Valid HvlOAuthLookupQueryModel lookupQueryModel)
      Returns a list of lookup matching the query criteria.
      Parameters:
      lookupQueryModel - the lookup query model
      Returns:
      the list of lookup model
    • queryPage

      tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthLookupModel> queryPage(@NotNull @Valid @NotNull @Valid HvlOAuthLookupQueryModel lookupQueryModel)
      Returns a page of lookup matching the query criteria.
      Parameters:
      lookupQueryModel - the lookup query model
      Returns:
      the page of lookup model