Interface HvlOAuthProfileGroupManager
- All Known Implementing Classes:
HvlOAuthProfileGroupManagerImpl
@Validated
public interface HvlOAuthProfileGroupManager
A service in which includes custom methods used to persist/retrieve data.
-
Method Summary
Modifier and TypeMethodDescriptionfindIdByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Find profile id by uuid.findIdByUuidOrElseThrow
(@NotBlank @Size(min=36,max=36) String uuid) Find id by uuid or else throw long.Get profile group data according to uuidgetUserEmailSetById
(@NotNull Long profileGroupId) Gets user email set by id.getUsernameSetById
(@NotNull Long profileGroupId) Gets username set by id.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) Get profile group list data according to profileGroupQueryModel parametertr.com.havelsan.javarch.data.commons.pageable.HvlPage
<HvlOAuthProfileGroupModel> queryPage
(@NotNull @Valid HvlOAuthProfileGroupQueryModel profileGroupQueryModel) Get lazy profile group data according to profileGroupQueryModel parametertr.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
-
Method Details
-
findIdByUuid
Optional<Long> findIdByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid) Find profile id by uuid.- Parameters:
uuid
- the uuid- Returns:
- an Optional id
-
findIdByUuidOrElseThrow
Long findIdByUuidOrElseThrow(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid) Find id by uuid or else throw long.- Parameters:
uuid
- the uuid- Returns:
- the long
-
getUsernameSetById
Gets username set by id.- Parameters:
profileGroupId
- the profile group id- Returns:
- the username set by id
-
getUserEmailSetById
Gets user email set by id.- Parameters:
profileGroupId
- the profile group id- Returns:
- the user email set by id
-
queryList
List<HvlOAuthProfileGroupModel> queryList(@NotNull @Valid @NotNull @Valid HvlOAuthProfileGroupQueryModel profileGroupQueryModel) Get profile group list data according to profileGroupQueryModel parameter- Parameters:
profileGroupQueryModel
- the profile group query model- Returns:
- profile group list
-
getByUuid
HvlOAuthProfileGroupModel getByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid) Get profile group data according to uuid- Parameters:
uuid
- the uuid- Returns:
- profile group by uuid
-
queryPage
tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileGroupModel> queryPage(@NotNull @Valid @NotNull @Valid HvlOAuthProfileGroupQueryModel profileGroupQueryModel) Get lazy profile group data according to profileGroupQueryModel parameter- Parameters:
profileGroupQueryModel
- the profile group query model- Returns:
- profile group page
-
queryClaimDataPage
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.- Parameters:
profileGroupClaimQueryModel
- the profile group claim query model- Returns:
- the profile group claim data model page
-
queryReportDataPage
@Validated(PredicatingOperation.class) 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- Parameters:
reportQueryModel
- the report query model- Returns:
- profile group report page
-