Interface HvlOAuthProfileGroupOperationalManager
- All Known Implementing Classes:
HvlOAuthProfileGroupOperationalManagerImpl
@Validated
public interface HvlOAuthProfileGroupOperationalManager
A service in which includes custom methods used to persist/retrieve data.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activateByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Method used to activate role according to uuid.void
deactivateByUuid
(@NotBlank @Size(min=36,max=36) String uuid, Consumer<Set<String>> affectedUsersAction) Method used to deactivate role according to uuid.void
deleteByUuid
(@NotBlank @Size(min=36,max=36) String uuid, Consumer<Set<String>> affectedUsersAction) delete profile group with uuidvoid
merge
(@NotNull @Valid HvlOAuthProfileGroupRolePersistModel profileGroupRolePersistModel, Consumer<Set<String>> affectedUSerAction) Merge is used to create relationship between profile group and role, role groups.save
(@NotNull @Valid HvlOAuthProfileGroupCopiablePersistModel profileGroupCopiablePersistModel) save is a method which is used to add new profile group dataupdate
(@NotNull @Valid HvlOAuthProfileGroupPersistModel profileGroupPersistModel, Consumer<Set<String>> affectedUsersAction) update is a method which is used update profile group data
-
Method Details
-
save
HvlOAuthProfileGroupModel save(@NotNull @Valid @NotNull @Valid HvlOAuthProfileGroupCopiablePersistModel profileGroupCopiablePersistModel) save is a method which is used to add new profile group data- Parameters:
profileGroupCopiablePersistModel
- the profile group copiable persist model- Returns:
- hvl o auth profile group model
-
update
@Validated(tr.com.havelsan.javarch.data.commons.validation.HvlConstraintGroups.ModifyingOperation.class) HvlOAuthProfileGroupModel update(@NotNull @Valid @NotNull @Valid HvlOAuthProfileGroupPersistModel profileGroupPersistModel, Consumer<Set<String>> affectedUsersAction) update is a method which is used update profile group data- Parameters:
profileGroupPersistModel
- the profile group persist modelaffectedUsersAction
- the affected users action- Returns:
- hvl o auth profile group model
-
deleteByUuid
void deleteByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid, Consumer<Set<String>> affectedUsersAction) delete profile group with uuid- Parameters:
uuid
- the uuidaffectedUsersAction
- the affected users action
-
activateByUuid
Method used to activate role 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 according to uuid.- Parameters:
uuid
- the uuidaffectedUsersAction
- the affected users action
-
merge
void merge(@NotNull @Valid @NotNull @Valid HvlOAuthProfileGroupRolePersistModel profileGroupRolePersistModel, Consumer<Set<String>> affectedUSerAction) Merge is used to create relationship between profile group and role, role groups.- Parameters:
profileGroupRolePersistModel
- the profile group role persist modelaffectedUSerAction
- the affected u ser action
-