Interface HvlAuthzUserStrategyOperationalRestService

All Known Implementing Classes:
HvlAuthzUserStrategyRestController

@Validated @HvlPrivateFeignRestService @FeignClient(name="userStrategyPrivateRestService", path="${hvl.oauth.authz.service.user.strategy.path:/user-strategies}", url="${hvl.oauth.authz.service.user.strategy.url:${hvl.oauth.authz.service.url}}") public interface HvlAuthzUserStrategyOperationalRestService
A restful service which provides specific operational methods for user strategy.
  • Method Summary

    Modifier and Type
    Method
    Description
    tr.com.havelsan.javarch.service.data.HvlResponse<Void>
    activate(@NotBlank @Size(min=36,max=36) String uuid)
    Method used to activate user strategy data according to uuid.
    tr.com.havelsan.javarch.service.data.HvlResponse<Void>
    deactivate(@NotBlank @Size(min=36,max=36) String uuid)
    Method used to deactivate user strategy data according to uuid.
    tr.com.havelsan.javarch.service.data.HvlResponse<Void>
    deleteByUuid(@NotBlank @Size(min=36,max=36) String uuid)
    Delete user strategy by uuid.
    tr.com.havelsan.javarch.service.data.HvlResponse<Void>
    save(@NotNull @Valid HvlOAuthUserStrategyModel userStrategyModel)
    Save user strategy.
    tr.com.havelsan.javarch.service.data.HvlResponse<Void>
    update(@NotNull @Valid HvlOAuthUserStrategyModel userStrategyModel)
    Update user strategy.
  • Method Details

    • save

      @PostMapping(consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> save(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthUserStrategyModel userStrategyModel)
      Save user strategy.
      Parameters:
      userStrategyModel - the user strategy 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 HvlOAuthUserStrategyModel userStrategyModel)
      Update user strategy.
      Parameters:
      userStrategyModel - the user strategy 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)
      Delete user strategy by uuid.
      Parameters:
      uuid - the uuid
      Returns:
      the hvl response
    • activate

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

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