Class HvlAuthzProfileBatchProcessingRestController
java.lang.Object
tr.com.havelsan.javarch.oauth.authz.starter.module.profile.controller.HvlAuthzProfileBatchProcessingRestController
- All Implemented Interfaces:
HvlAuthzProfileBatchProcessingOperationalRestService
@RestController
@RequestMapping("${hvl.oauth.authz.service.profile.controller-path:/profiles}")
@HvlActuatorService(name="HvlAuthzProfileBatchProcessingRestService",
groupName="HvlAuthzProfileBatchProcessing")
public class HvlAuthzProfileBatchProcessingRestController
extends Object
implements HvlAuthzProfileBatchProcessingOperationalRestService
The class in which service endpoints are defined for profile batch processing operations.
-
Constructor Summary
ConstructorDescriptionHvlAuthzProfileBatchProcessingRestController
(HvlAuthzProfileBatchProcessingService profileBatchProcessingService) Instantiates a new HvlAuthzProfileBatchProcessingRestController. -
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse
<HvlOAuthzBatchProcessingResultModel> activate
(@NotNull @Valid HvlOAuthBaseBatchProcessModel baseBatchProcessingModel) Activates profilestr.com.havelsan.javarch.service.data.HvlResponse
<HvlOAuthzBatchProcessingResultModel> deactivate
(@NotNull @Valid HvlOAuthBaseBatchProcessModel baseBatchProcessingModel) Deactivates profiles.tr.com.havelsan.javarch.service.data.HvlResponse
<HvlOAuthzBatchProcessingResultModel> delete
(@NotNull @Valid HvlOAuthBaseBatchProcessModel baseBatchProcessingModel) Deletes profiles.
-
Constructor Details
-
HvlAuthzProfileBatchProcessingRestController
public HvlAuthzProfileBatchProcessingRestController(HvlAuthzProfileBatchProcessingService profileBatchProcessingService) Instantiates a new HvlAuthzProfileBatchProcessingRestController.- Parameters:
profileBatchProcessingService
- the profile batch processing service
-
-
Method Details
-
delete
@PreAuthorize("hasAuthority(\'keysis\')") public tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthzBatchProcessingResultModel> delete(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthBaseBatchProcessModel baseBatchProcessingModel) Deletes profiles.- Specified by:
delete
in interfaceHvlAuthzProfileBatchProcessingOperationalRestService
- Parameters:
baseBatchProcessingModel
- the base batch processing model- Returns:
- the hvl response
-
deactivate
@PreAuthorize("hasAuthority(\'keysis\')") public tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthzBatchProcessingResultModel> deactivate(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthBaseBatchProcessModel baseBatchProcessingModel) Deactivates profiles.- Specified by:
deactivate
in interfaceHvlAuthzProfileBatchProcessingOperationalRestService
- Parameters:
baseBatchProcessingModel
- the base batch processing model- Returns:
- the hvl response
-
activate
@PreAuthorize("hasAuthority(\'keysis\')") public tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthzBatchProcessingResultModel> activate(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthBaseBatchProcessModel baseBatchProcessingModel) Activates profiles- Specified by:
activate
in interfaceHvlAuthzProfileBatchProcessingOperationalRestService
- Parameters:
baseBatchProcessingModel
- the base batch processing model- Returns:
- the hvl response
-