Interface HvlOAuthRoleGroupOperationalManager

All Known Implementing Classes:
HvlOAuthRoleGroupOperationalManagerImpl

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

    • save

      HvlOAuthRoleGroupModel save(@NotNull @Valid @NotNull @Valid HvlOAuthRoleGroupCopiablePersistModel roleGroupCopiablePersistModel)
      Save hvl o auth role group model.
      Parameters:
      roleGroupCopiablePersistModel - the role group copiable persist model
      Returns:
      the hvl o auth role group model
    • update

      @Validated(tr.com.havelsan.javarch.data.commons.validation.HvlConstraintGroups.ModifyingOperation.class) HvlOAuthRoleGroupModel update(@NotNull @Valid @NotNull @Valid HvlOAuthRoleGroupPersistModel roleGroupPersistModel, Consumer<Set<String>> affectedUsersAction)
      Update hvl o auth role group.
      Parameters:
      roleGroupPersistModel - the role group persist container model
      affectedUsersAction - the affected users action
      Returns:
      the hvl o auth role group
    • deleteById

      void deleteById(@NotNull @NotNull Long id, Consumer<Set<String>> affectedUsersAction)
      Delete by id.
      Parameters:
      id - the id
      affectedUsersAction - the affected users action
    • deleteByUuid

      void deleteByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid, Consumer<Set<String>> affectedUsersAction)
      Delete by 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 group 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 group according to uuid.
      Parameters:
      uuid - the uuid
      affectedUsersAction - the affected users action