All Known Implementing Classes:
HvlOAuthProxyManagerImpl

@Validated public interface HvlOAuthProxyManager
This manager provides query methods.
  • Method Details

    • findExpirationDurationById

      Optional<Duration> findExpirationDurationById(@NotNull @NotNull Long id)
      Find expiration duration by id.
      Parameters:
      id - the id
      Returns:
      the proxy expiration duration
    • getDataWithoutVerifyByUuid

      HvlOAuthProxyDataModel getDataWithoutVerifyByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Gets data by uuid.
      Parameters:
      uuid - the uuid
      Returns:
      the proxy data model
    • findIdByUuid

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

      Set<Long> findRoleIdByProxyId(@NotNull @NotNull Long proxyid)
      Find proxy role id by proxy id.
      Parameters:
      proxyid - the proxyid
      Returns:
      an optional id
    • findIdByUuidOrElseThrow

      Long findIdByUuidOrElseThrow(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Find id by uuid or else throw long.
      Parameters:
      uuid - the uuid
      Returns:
      the long
    • getDeletedByUuid

      HvlOAuthProxyDataModel getDeletedByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Gets by uuid for delete event.
      Parameters:
      uuid - the uuid
      Returns:
      the by uuid for delete event
    • query

      @Validated(PredicatingOperation.class) HvlOAuthProxyModel query(@NotNull @Valid @NotNull @Valid HvlOAuthProxyQueryModel proxyQueryModel)
      Returns a proxy matching the query criteria.
      Parameters:
      proxyQueryModel - the proxy query model
      Returns:
      the proxy model
    • queryDataPage

      @Validated(PredicatingOperation.class) tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProxyDataModel> queryDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthProxyQueryModel proxyQueryModel)
      Returns a page of proxy matching the query criteria.
      Parameters:
      proxyQueryModel - the proxy query model
      Returns:
      the proxy data model page
    • queryReportDataPage

      @Validated(PredicatingOperation.class) tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProxyDataModel> queryReportDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthReportQueryModel reportQueryModel)
      Returns a page of proxy report matching the report query criteria.
      Parameters:
      reportQueryModel - the report query model
      Returns:
      the proxy data model page
    • verifyIfProxyExistsByTrustedProxyAndUser

      Boolean verifyIfProxyExistsByTrustedProxyAndUser(HvlOAuthTrustedProxyPersist trustedProxy, HvlOAuthUserProfilePredicateModel userProfilePredicateModel)
      Find username set by trusted proxy id and user set.
      Parameters:
      trustedProxy - the trusted proxy
      userProfilePredicateModel - the user profile predicate model
      Returns:
      the set