Interface HvlOAuthSystemUserManager
- All Known Implementing Classes:
HvlOAuthSystemUserManagerImpl
@Validated
public interface HvlOAuthSystemUserManager
This manager provides query methods.
-
Method Summary
Modifier and TypeMethodDescriptiongetByApiKey
(@NotBlank String apiKey) Gets system user by api key.Gets system user by id.Gets by uuid.queryList
(@NotNull @Valid HvlOAuthSystemUserQueryModel systemUserQueryModel) Returns a list of system user matching the query criteria.tr.com.havelsan.javarch.data.commons.pageable.HvlPage
<HvlOAuthSystemUserModel> queryPage
(@NotNull @Valid HvlOAuthSystemUserQueryModel systemUserQueryModel) Returns a page of user matching the query criteria.
-
Method Details
-
getById
Gets system user by id.- Parameters:
id
- the id- Returns:
- the system user model
-
getByUuid
HvlOAuthSystemUserModel getByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid) Gets by uuid.- Parameters:
uuid
- the uuid- Returns:
- the by uuid
-
getByApiKey
Gets system user by api key.- Parameters:
apiKey
- the api key- Returns:
- the user model
-
queryList
List<HvlOAuthSystemUserModel> queryList(@NotNull @Valid @NotNull @Valid HvlOAuthSystemUserQueryModel systemUserQueryModel) Returns a list of system user matching the query criteria.- Parameters:
systemUserQueryModel
- the system user query model- Returns:
- the list of system user model
-
queryPage
tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthSystemUserModel> queryPage(@NotNull @Valid @NotNull @Valid HvlOAuthSystemUserQueryModel systemUserQueryModel) Returns a page of user matching the query criteria.- Parameters:
systemUserQueryModel
- the user query model- Returns:
- the page of user model
-