Class HvlAuthzProfileGroupServiceImpl
java.lang.Object
tr.com.havelsan.javarch.oauth.authz.starter.service.HvlAuthzBaseService
tr.com.havelsan.javarch.oauth.authz.starter.module.profile.logic.HvlAuthzProfileGroupServiceImpl
- All Implemented Interfaces:
HvlAuthzProfileGroupService
@Service
public class HvlAuthzProfileGroupServiceImpl
extends HvlAuthzBaseService
implements HvlAuthzProfileGroupService
The class which implements
HvlAuthzProfileGroupService
.-
Constructor Summary
ConstructorDescriptionHvlAuthzProfileGroupServiceImpl
(HvlOAuthProfileGroupManager profileGroupManager, HvlOAuthProfileGroupOperationalManager profileGroupOperationalManager, HvlAuthzLoggerProducerProvider loggerProducerProvider, HvlAuthzBundleService bundleService, HvlAuthzInstanceInternalEventPublisher instanceInternalEventPublisher, HvlAuthzSessionService authzSessionService) Instantiates a new HvlAuthzProfileGroupServiceImpl. -
Method Summary
Modifier and TypeMethodDescriptionvoid
activateByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Method used to activate profile group according to uuid.void
deactivateByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Method used to deactivate profile group according to uuid.void
deleteByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Deletes profile group by uuid.Gets profile group model by uuid.tr.com.havelsan.javarch.data.commons.pageable.HvlPage
<HvlOAuthProfileGroupClaimNodeModel> queryClaimDataPage
(@NotNull @Valid HvlOAuthProfileGroupClaimQueryModel profileGroupClaimQueryModel) Returns a page of profile group claim for assigned entity relation matching the query criteria.queryList
(@NotNull @Valid HvlOAuthProfileGroupQueryModel profileGroupQueryModel) Gets profile group model list.tr.com.havelsan.javarch.data.commons.pageable.HvlPage
<HvlOAuthProfileGroupModel> queryPage
(@NotNull @Valid HvlOAuthProfileGroupQueryModel profileGroupQueryModel) Gets profile group model page.tr.com.havelsan.javarch.data.commons.pageable.HvlPage
<HvlOAuthProfileGroupDataModel> queryReportByAdminDataPage
(@NotNull @Valid HvlOAuthReportQueryModel reportQueryModel) Returns a page of profile group report matching the report query criteria by admin.tr.com.havelsan.javarch.data.commons.pageable.HvlPage
<HvlOAuthProfileGroupDataModel> queryReportDataPage
(@NotNull @Valid HvlOAuthReportQueryModel reportQueryModel) Returns a page of profile group report matching the report query criteria.void
save
(@NotNull @Valid HvlOAuthProfileGroupCopiablePersistModel profileGroupCopiablePersistModel) Save.void
update
(@NotNull @Valid HvlOAuthProfileGroupPersistModel profileGroupPersistModel) Update.void
updateRoles
(@NotNull @Valid HvlOAuthProfileGroupRolePersistModel profileGroupRolePersistModel) Updates profile group roles.Methods inherited from class tr.com.havelsan.javarch.oauth.authz.starter.service.HvlAuthzBaseService
sendLog, sendLog, sendLogAndOperationEvent, sendLogAndOperationEvent, sendOperationEvent
-
Constructor Details
-
HvlAuthzProfileGroupServiceImpl
public HvlAuthzProfileGroupServiceImpl(HvlOAuthProfileGroupManager profileGroupManager, HvlOAuthProfileGroupOperationalManager profileGroupOperationalManager, HvlAuthzLoggerProducerProvider loggerProducerProvider, HvlAuthzBundleService bundleService, HvlAuthzInstanceInternalEventPublisher instanceInternalEventPublisher, HvlAuthzSessionService authzSessionService) Instantiates a new HvlAuthzProfileGroupServiceImpl.- Parameters:
profileGroupManager
- the profile group managerprofileGroupOperationalManager
- the profile group operational managerloggerProducerProvider
- the logger producer providerbundleService
- the bundle serviceinstanceInternalEventPublisher
- the instance internal event publisherauthzSessionService
- the authz session service
-
-
Method Details
-
save
public void save(@NotNull @Valid @NotNull @Valid HvlOAuthProfileGroupCopiablePersistModel profileGroupCopiablePersistModel) Save.- Specified by:
save
in interfaceHvlAuthzProfileGroupService
- Parameters:
profileGroupCopiablePersistModel
- the profile group copiable persist model
-
update
@Validated(tr.com.havelsan.javarch.data.commons.validation.HvlConstraintGroups.ModifyingOperation.class) public void update(@NotNull @Valid @NotNull @Valid HvlOAuthProfileGroupPersistModel profileGroupPersistModel) Update.- Specified by:
update
in interfaceHvlAuthzProfileGroupService
- Parameters:
profileGroupPersistModel
- the profile group persist model
-
updateRoles
public void updateRoles(@NotNull @Valid @NotNull @Valid HvlOAuthProfileGroupRolePersistModel profileGroupRolePersistModel) Updates profile group roles.- Specified by:
updateRoles
in interfaceHvlAuthzProfileGroupService
- Parameters:
profileGroupRolePersistModel
- the profile group role container persist model
-
deleteByUuid
Deletes profile group by uuid.- Specified by:
deleteByUuid
in interfaceHvlAuthzProfileGroupService
- Parameters:
uuid
- the uuid
-
activateByUuid
public void activateByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid) Method used to activate profile group according to uuid.- Specified by:
activateByUuid
in interfaceHvlAuthzProfileGroupService
- Parameters:
uuid
- the uuid
-
deactivateByUuid
public void deactivateByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid) Method used to deactivate profile group according to uuid.- Specified by:
deactivateByUuid
in interfaceHvlAuthzProfileGroupService
- Parameters:
uuid
- the uuid
-
getByUuid
public HvlOAuthProfileGroupModel getByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid) Gets profile group model by uuid.- Specified by:
getByUuid
in interfaceHvlAuthzProfileGroupService
- Parameters:
uuid
- the uuid- Returns:
- profile group model
-
queryList
public List<HvlOAuthProfileGroupModel> queryList(@NotNull @Valid @NotNull @Valid HvlOAuthProfileGroupQueryModel profileGroupQueryModel) Gets profile group model list.- Specified by:
queryList
in interfaceHvlAuthzProfileGroupService
- Parameters:
profileGroupQueryModel
- the profile group query model- Returns:
- profile group model list
-
queryPage
public tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileGroupModel> queryPage(@NotNull @Valid @NotNull @Valid HvlOAuthProfileGroupQueryModel profileGroupQueryModel) Gets profile group model page.- Specified by:
queryPage
in interfaceHvlAuthzProfileGroupService
- Parameters:
profileGroupQueryModel
- the profile group query model- Returns:
- profile group model page
-
queryClaimDataPage
public tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileGroupClaimNodeModel> queryClaimDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthProfileGroupClaimQueryModel profileGroupClaimQueryModel) Returns a page of profile group claim for assigned entity relation matching the query criteria.- Specified by:
queryClaimDataPage
in interfaceHvlAuthzProfileGroupService
- Parameters:
profileGroupClaimQueryModel
- the profile group claim query model- Returns:
- the page of profile group claim projection model
-
queryReportByAdminDataPage
@Validated(PredicatingOperation.class) public tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileGroupDataModel> queryReportByAdminDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthReportQueryModel reportQueryModel) Returns a page of profile group report matching the report query criteria by admin.- Specified by:
queryReportByAdminDataPage
in interfaceHvlAuthzProfileGroupService
- Parameters:
reportQueryModel
- the report query model- Returns:
- the page of profile group projection model
-
queryReportDataPage
public tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileGroupDataModel> queryReportDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthReportQueryModel reportQueryModel) Returns a page of profile group report matching the report query criteria.- Specified by:
queryReportDataPage
in interfaceHvlAuthzProfileGroupService
- Parameters:
reportQueryModel
- the report query model- Returns:
- the page of profile group projection model
-