Interface HvlAuthzProfileOperationalRestService

All Known Implementing Classes:
HvlAuthzProfileRestController

@Validated @HvlPrivateFeignRestService @FeignClient(name="profilePrivateRestService", path="${hvl.oauth.authz.service.profile.path:/profiles}", url="${hvl.oauth.authz.service.profile.url:${hvl.oauth.authz.service.url}}") public interface HvlAuthzProfileOperationalRestService
A restful service which provides specific operational methods for profile.
  • Method Details

    • save

      @PostMapping(consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> save(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthProfileCopiablePersistModel profileCopiablePersistModel)
      Saves profile.
      Parameters:
      profileCopiablePersistModel - the profile persist model
      Returns:
      the hvl response
    • update

      @Validated(tr.com.havelsan.javarch.data.commons.validation.HvlConstraintGroups.ModifyingOperation.class) @PutMapping(consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> update(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthProfilePersistModel profilePersistModel)
      Updates profile.
      Parameters:
      profilePersistModel - the profile persist model
      Returns:
      the hvl response
    • updateRoles

      @PutMapping(path="/roles", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> updateRoles(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthProfileRolePersistByAdminModel profileRolePersistByAdminModel)
      Update roles hvl response.
      Parameters:
      profileRolePersistByAdminModel - the profile role persist by admin model
      Returns:
      the hvl response
    • updateRolesByRoleAssigner

      @PutMapping(path="/roles/by-role-assigner", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> updateRolesByRoleAssigner(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthProfileRolePersistByRoleAssignerModel profileRolePersistByRoleAssignerModel)
      Update roles by role assigner hvl response.
      Parameters:
      profileRolePersistByRoleAssignerModel - the profile role container persist model
      Returns:
      the hvl response
    • deleteByUuid

      @DeleteMapping(path="/by-uuid/{uuid}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> deleteByUuid(@NotBlank @Size(min=36,max=36) @PathVariable("uuid") @NotBlank @Size(min=36,max=36) String uuid)
      Deletes by uuid.
      Parameters:
      uuid - the uuid
      Returns:
      the hvl response
    • activateByUuid

      @PostMapping(path="/activate/by-uuid/{uuid}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> activateByUuid(@NotBlank @Size(min=36,max=36) @PathVariable("uuid") @NotBlank @Size(min=36,max=36) String uuid)
      Method used to activate role according to uuid.
      Parameters:
      uuid - the uuid
      Returns:
      the hvl response
    • deactivateByUuid

      @PostMapping(path="/deactivate/by-uuid/{uuid}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> deactivateByUuid(@NotBlank @Size(min=36,max=36) @PathVariable("uuid") @NotBlank @Size(min=36,max=36) String uuid)
      Method used to deactivate role according to uuid.
      Parameters:
      uuid - the uuid
      Returns:
      the hvl response
    • userMigrationProfileToProfile

      @PostMapping(path="/user-migration/", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> userMigrationProfileToProfile(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthUserMigrationModel userMigrationModel)
      Method used to migrate profiles user to another profile.
      Parameters:
      userMigrationModel - the user migration model
      Returns:
      the hvl response
    • resetProfile

      @PostMapping(path="/reset/", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> resetProfile(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthProfileResetModel profileResetModel)
      Method used to reset profile.
      Parameters:
      profileResetModel - the profile reset model
      Returns:
      the hvl response