Interface HvlOAuthProfileGroupOperationalManager

All Known Implementing Classes:
HvlOAuthProfileGroupOperationalManagerImpl

@Validated public interface HvlOAuthProfileGroupOperationalManager
A service in which includes custom methods used to persist/retrieve data.
  • Method Details

    • save

      HvlOAuthProfileGroupModel save(@NotNull @Valid @NotNull @Valid HvlOAuthProfileGroupCopiablePersistModel profileGroupCopiablePersistModel)
      save is a method which is used to add new profile group data
      Parameters:
      profileGroupCopiablePersistModel - the profile group copiable persist model
      Returns:
      hvl o auth profile group model
    • update

      @Validated(tr.com.havelsan.javarch.data.commons.validation.HvlConstraintGroups.ModifyingOperation.class) HvlOAuthProfileGroupModel update(@NotNull @Valid @NotNull @Valid HvlOAuthProfileGroupPersistModel profileGroupPersistModel, Consumer<Set<String>> affectedUsersAction)
      update is a method which is used update profile group data
      Parameters:
      profileGroupPersistModel - the profile group persist model
      affectedUsersAction - the affected users action
      Returns:
      hvl o auth profile group model
    • deleteByUuid

      void deleteByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid, Consumer<Set<String>> affectedUsersAction)
      delete profile group with uuid
      Parameters:
      uuid - the uuid
      affectedUsersAction - the affected users action
    • activateByUuid

      void activateByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Method used to activate role according to uuid.
      Parameters:
      uuid - the uuid
    • deactivateByUuid

      void deactivateByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid, Consumer<Set<String>> affectedUsersAction)
      Method used to deactivate role according to uuid.
      Parameters:
      uuid - the uuid
      affectedUsersAction - the affected users action
    • merge

      void merge(@NotNull @Valid @NotNull @Valid HvlOAuthProfileGroupRolePersistModel profileGroupRolePersistModel, Consumer<Set<String>> affectedUSerAction)
      Merge is used to create relationship between profile group and role, role groups.
      Parameters:
      profileGroupRolePersistModel - the profile group role persist model
      affectedUSerAction - the affected u ser action