Interface HvlAuthzRoleGroupService
- All Known Implementing Classes:
HvlAuthzRoleGroupSeviceImpl
@Validated
public interface HvlAuthzRoleGroupService
This service provides operational and retrieve 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) 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> queryReportByAdminDataPage
(@NotNull @Valid HvlOAuthReportQueryModel reportQueryModel) Returns a page of role group report matching the report query criteria by admin.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.
-
Method Details
-
save
void save(@NotNull @Valid @NotNull @Valid HvlOAuthRoleGroupCopiablePersistModel roleGroupCopiablePersistModel) Save.- Parameters:
roleGroupCopiablePersistModel
- the role group copiable persist model
-
update
@Validated(tr.com.havelsan.javarch.data.commons.validation.HvlConstraintGroups.ModifyingOperation.class) void update(@NotNull @Valid @NotNull @Valid HvlOAuthRoleGroupPersistModel roleGroupPersistModel) Update.- Parameters:
roleGroupPersistModel
- the role group persist model
-
deleteByUuid
Delete role group by uuid.- Parameters:
uuid
- the uuid
-
activateByUuid
Method used to activate role group according to uuid.- Parameters:
uuid
- the uuid
-
deactivateByUuid
Method used to deactivate role group according to uuid.- Parameters:
uuid
- the uuid
-
getByUuid
HvlOAuthRoleGroupModel getByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid) Gets role group by uuid.- Parameters:
uuid
- the uuid- Returns:
- the role group model
-
queryDataList
List<HvlOAuthRoleGroupDataModel> queryDataList(@NotNull @Valid @NotNull @Valid HvlOAuthRoleGroupQueryModel roleGroupQueryModel) Returns a list of role group matching the query criteria.- Parameters:
roleGroupQueryModel
- the role group query model- Returns:
- the list of role group projection model
-
queryDataPage
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.- Parameters:
roleGroupQueryModel
- the role group query model- Returns:
- the page of role group projection model
-
queryClaimDataPage
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.- Parameters:
roleGroupClaimQueryModel
- the role group claim query model- Returns:
- the page of role group claim projection model
-
queryReportByAdminDataPage
@Validated(PredicatingOperation.class) tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleGroupDataModel> queryReportByAdminDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthReportQueryModel reportQueryModel) Returns a page of role group report matching the report query criteria by admin.- Parameters:
reportQueryModel
- the report query model- Returns:
- the page of role group projection model
-
queryReportDataPage
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.- Parameters:
reportQueryModel
- the report query model- Returns:
- the page of role group projection model
-