Class HvlAuthzRoleGroupSeviceImpl
java.lang.Object
tr.com.havelsan.javarch.oauth.authz.starter.module.role.logic.HvlAuthzRoleGroupSeviceImpl
- All Implemented Interfaces:
HvlAuthzRoleGroupService
@Service
public class HvlAuthzRoleGroupSeviceImpl
extends Object
implements HvlAuthzRoleGroupService
The class which implements
HvlAuthzRoleGroupService
.-
Constructor Summary
ConstructorDescriptionHvlAuthzRoleGroupSeviceImpl
(HvlOAuthRoleGroupManager roleGroupManager, HvlOAuthRoleGroupOperationalManager roleGroupOperationalManager, HvlAuthzSessionService sessionService, HvlAuthzLoggerProducerProvider loggerProducerProvider, HvlAuthzBundleService messageBundleService, HvlAuthzInstanceInternalEventPublisher instanceInternalEventPublisher) Instantiates a new Hvl authz role group sevice. -
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) Method used to deactivate role group according to uuid.void
deleteByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Delete role group by uuid.Gets role group by uuid.tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleGroupClaimDataModel>
queryClaimDataPage
(@NotNull @Valid HvlOAuthRoleGroupClaimQueryModel roleGroupClaimQueryModel) Returns a page of role group claim for assigned entity relation matching the query criteria.queryDataList
(@NotNull @Valid HvlOAuthRoleGroupQueryModel roleGroupQueryModel) Returns a list of role group matching the query criteria.tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleGroupDataModel>
queryDataPage
(@NotNull @Valid HvlOAuthRoleGroupQueryModel roleGroupQueryModel) Returns a page of role group matching the query criteria.tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleGroupDataModel>
queryReportDataPage
(@NotNull @Valid HvlOAuthReportQueryModel reportQueryModel) Returns a page of role group report matching the report query criteria.void
save
(@NotNull @Valid HvlOAuthRoleGroupCopiablePersistModel roleGroupCopiablePersistModel) Save.void
update
(@NotNull @Valid HvlOAuthRoleGroupPersistModel roleGroupPersistModel) Update.
-
Constructor Details
-
HvlAuthzRoleGroupSeviceImpl
public HvlAuthzRoleGroupSeviceImpl(HvlOAuthRoleGroupManager roleGroupManager, HvlOAuthRoleGroupOperationalManager roleGroupOperationalManager, HvlAuthzSessionService sessionService, HvlAuthzLoggerProducerProvider loggerProducerProvider, HvlAuthzBundleService messageBundleService, HvlAuthzInstanceInternalEventPublisher instanceInternalEventPublisher) Instantiates a new Hvl authz role group sevice.- Parameters:
roleGroupManager
- the role group serviceroleGroupOperationalManager
- the role group operational managersessionService
- the session serviceloggerProducerProvider
- the logger producer providermessageBundleService
- the message bundle serviceinstanceInternalEventPublisher
- the instance internal event publisher
-
-
Method Details
-
save
public void save(@NotNull @Valid @NotNull @Valid HvlOAuthRoleGroupCopiablePersistModel roleGroupCopiablePersistModel) Save.- Specified by:
save
in interfaceHvlAuthzRoleGroupService
- Parameters:
roleGroupCopiablePersistModel
- the role group copiable persist model
-
update
@Validated(tr.com.havelsan.javarch.data.commons.validation.HvlConstraintGroups.ModifyingOperation.class) public void update(@NotNull @Valid @NotNull @Valid HvlOAuthRoleGroupPersistModel roleGroupPersistModel) Update.- Specified by:
update
in interfaceHvlAuthzRoleGroupService
- Parameters:
roleGroupPersistModel
- the role group persist model
-
deleteByUuid
Delete role group by uuid.- Specified by:
deleteByUuid
in interfaceHvlAuthzRoleGroupService
- 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 role group according to uuid.- Specified by:
activateByUuid
in interfaceHvlAuthzRoleGroupService
- 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 role group according to uuid.- Specified by:
deactivateByUuid
in interfaceHvlAuthzRoleGroupService
- Parameters:
uuid
- the uuid
-
getByUuid
@Transactional(readOnly=true) public HvlOAuthRoleGroupModel getByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid) Gets role group by uuid.- Specified by:
getByUuid
in interfaceHvlAuthzRoleGroupService
- Parameters:
uuid
- the uuid- Returns:
- the role group model
-
queryDataList
@Transactional(readOnly=true) public List<HvlOAuthRoleGroupDataModel> queryDataList(@NotNull @Valid @NotNull @Valid HvlOAuthRoleGroupQueryModel roleGroupQueryModel) Returns a list of role group matching the query criteria.- Specified by:
queryDataList
in interfaceHvlAuthzRoleGroupService
- Parameters:
roleGroupQueryModel
- the role group query model- Returns:
- the list of role group projection model
-
queryDataPage
@Transactional(readOnly=true) public tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleGroupDataModel> queryDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthRoleGroupQueryModel roleGroupQueryModel) Returns a page of role group matching the query criteria.- Specified by:
queryDataPage
in interfaceHvlAuthzRoleGroupService
- Parameters:
roleGroupQueryModel
- the role group query model- Returns:
- the page of role group projection model
-
queryClaimDataPage
@Transactional(readOnly=true) public tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleGroupClaimDataModel> queryClaimDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthRoleGroupClaimQueryModel roleGroupClaimQueryModel) Returns a page of role group claim for assigned entity relation matching the query criteria.- Specified by:
queryClaimDataPage
in interfaceHvlAuthzRoleGroupService
- Parameters:
roleGroupClaimQueryModel
- the role group claim query model- Returns:
- the page of role group claim projection model
-
queryReportDataPage
@Transactional(readOnly=true) public tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleGroupDataModel> queryReportDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthReportQueryModel reportQueryModel) Returns a page of role group report matching the report query criteria.- Specified by:
queryReportDataPage
in interfaceHvlAuthzRoleGroupService
- Parameters:
reportQueryModel
- the report query model- Returns:
- the page of role group projection model
-