Interface HvlOAuthTrustedProxyOperationalManager

All Known Implementing Classes:
HvlOAuthTrustedProxyOperationalManagerImpl

@Validated public interface HvlOAuthTrustedProxyOperationalManager
This manager provides operational methods.
  • Method Details

    • save

      HvlOAuthTrustedProxyModel save(@NotNull @Valid @NotNull @Valid HvlOAuthTrustedProxyCopiablePersistModel trustedProxyCopiablePersistModel, @NotNull @Valid @NotNull @Valid HvlOAuthUserProfilePredicateModel userProfilePredicateModel)
      Save trusted proxy with user profile predicate.
      Parameters:
      trustedProxyCopiablePersistModel - the trusted proxy copiable persist model
      userProfilePredicateModel - the user profile predicate model
      Returns:
      the trusted proxy model
    • update

      @Validated(tr.com.havelsan.javarch.data.commons.validation.HvlConstraintGroups.ModifyingOperation.class) HvlOAuthTrustedProxyModel update(@NotNull @Valid @NotNull @Valid HvlOAuthTrustedProxyPersistModel trustedProxyPersistModel, @NotNull @Valid @NotNull @Valid HvlOAuthUserProfilePredicateModel userProfilePredicateModel, Consumer<Set<String>> affectedUsersAction)
      Update trusted proxy with user profile predicate.
      Parameters:
      trustedProxyPersistModel - the trusted proxy persist model
      userProfilePredicateModel - the user profile predicate model
      affectedUsersAction - the affected users action
      Returns:
      the trusted proxy model
    • deleteByUuid

      void deleteByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid, @NotNull @Valid @NotNull @Valid HvlOAuthUserProfilePredicateModel userProfilePredicateModel, Consumer<Set<String>> affectedUsersAction)
      Delete trusted proxy with user profile predicate by uuid.
      Parameters:
      uuid - the uuid
      userProfilePredicateModel - the user profile predicate model
      affectedUsersAction - the affected users action
    • deleteTrustedProxyBelongsToCurrentUserByUuid

      void deleteTrustedProxyBelongsToCurrentUserByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid, @NotNull @Valid @NotNull @Valid HvlOAuthUserProfilePredicateModel userProfilePredicateModel, Consumer<Set<String>> affectedUsersAction)
      Delete trusted proxy that belongs to current user by uuid.
      Parameters:
      uuid - the uuid
      userProfilePredicateModel - the user profile predicate model
      affectedUsersAction - the affected users action
    • deleteAllBySourceProfileId

      void deleteAllBySourceProfileId(@NotNull @NotNull Long sourceProfileId)
      Delete all by source profile id.
      Parameters:
      sourceProfileId - the source profile id
    • deleteAllByUserId

      void deleteAllByUserId(@NotNull @NotNull Long userId)
      Delete all by user id.
      Parameters:
      userId - the user id