Interface HvlOAuthRoleGroupOperationalManager
- All Known Implementing Classes:
HvlOAuthRoleGroupOperationalManagerImpl
@Validated
public interface HvlOAuthRoleGroupOperationalManager
This manager provides operational methods.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activateByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Method used to activate role group according to uuid.void
deactivateByUuid
(@NotBlank @Size(min=36,max=36) String uuid, Consumer<Set<String>> affectedUsersAction) Method used to deactivate role group according to uuid.void
deleteById
(@NotNull Long id, Consumer<Set<String>> affectedUsersAction) Delete by id.void
deleteByUuid
(@NotBlank @Size(min=36,max=36) String uuid, Consumer<Set<String>> affectedUsersAction) Delete by uuid.save
(@NotNull @Valid HvlOAuthRoleGroupCopiablePersistModel roleGroupCopiablePersistModel) Save hvl o auth role group model.update
(@NotNull @Valid HvlOAuthRoleGroupPersistModel roleGroupPersistModel, Consumer<Set<String>> affectedUsersAction) Update hvl o auth role group.
-
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 modelaffectedUsersAction
- the affected users action- Returns:
- the hvl o auth role group
-
deleteById
Delete by id.- Parameters:
id
- the idaffectedUsersAction
- 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 uuidaffectedUsersAction
- the affected users action
-
activateByUuid
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 uuidaffectedUsersAction
- the affected users action
-