Interface HvlAuthzSystemUserOperationalRestService

All Known Implementing Classes:
HvlAuthzSystemUserRestController

@Validated @HvlPrivateFeignRestService @FeignClient(name="systemUserPrivateRestService", path="${hvl.oauth.authz.service.system-user.path:/system-users}", url="${hvl.oauth.authz.service.system-user.url:${hvl.oauth.authz.service.url}}") public interface HvlAuthzSystemUserOperationalRestService
A restful service which provides specific operational methods for system user.
  • Method Details

    • save

      @PostMapping(consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthSystemUserModel> save(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthSystemUserModel systemUserModel)
      Saves system user.
      Parameters:
      systemUserModel - the system user 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<HvlOAuthSystemUserModel> update(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthSystemUserModel systemUserModel)
      Updates system user.
      Parameters:
      systemUserModel - the system user 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 system user by uuid.
      Parameters:
      uuid - the uuid
      Returns:
      the hvl response