Class HvlOAuthPasswordRestrictionManagerImpl
java.lang.Object
tr.com.havelsan.javarch.oauth.jpa.data.provider.module.user.manager.HvlOAuthPasswordRestrictionManagerImpl
- All Implemented Interfaces:
HvlOAuthPasswordRestrictionManager
@Service
public class HvlOAuthPasswordRestrictionManagerImpl
extends Object
implements HvlOAuthPasswordRestrictionManager
The type Hvl o auth password restriction manager.
-
Constructor Summary
ConstructorDescriptionHvlOAuthPasswordRestrictionManagerImpl
(HvlOAuthPasswordRestrictionQueryGenerator passwordBlackListQueryGenerator, HvlOAuthPasswordRestrictionRepository passwordBlackListRepository, HvlOAuthPasswordRestrictionMapper passwordBlackListMapper) Instantiates a new Hvl o auth password restriction manager. -
Method Summary
Modifier and TypeMethodDescriptiongetAll()
Gets all.Gets password restriction by id.Gets password restriction by uuid.getIdByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Gets password restriction id by uuid.queryList
(@NotNull @Valid HvlOAuthPasswordRestrictionQueryModel passwordBlackListQueryModel) Returns a list of password restriction matching the query criteria.tr.com.havelsan.javarch.data.commons.pageable.HvlPage
<HvlOAuthPasswordRestrictionModel> queryPage
(@NotNull @Valid HvlOAuthPasswordRestrictionQueryModel passwordBlackListQueryModel) Returns a page of password restriction matching the query criteria.
-
Constructor Details
-
HvlOAuthPasswordRestrictionManagerImpl
public HvlOAuthPasswordRestrictionManagerImpl(HvlOAuthPasswordRestrictionQueryGenerator passwordBlackListQueryGenerator, HvlOAuthPasswordRestrictionRepository passwordBlackListRepository, HvlOAuthPasswordRestrictionMapper passwordBlackListMapper) Instantiates a new Hvl o auth password restriction manager.- Parameters:
passwordBlackListQueryGenerator
- the password restriction query generatorpasswordBlackListRepository
- the password restriction repositorypasswordBlackListMapper
- the password restriction mapper
-
-
Method Details
-
getIdByUuid
Gets password restriction id by uuid.- Specified by:
getIdByUuid
in interfaceHvlOAuthPasswordRestrictionManager
- Parameters:
uuid
- the uuid- Returns:
- the password restriction id
-
getById
Gets password restriction by id.- Specified by:
getById
in interfaceHvlOAuthPasswordRestrictionManager
- Parameters:
id
- the id- Returns:
- the password restriction model
-
getByUuid
public HvlOAuthPasswordRestrictionModel getByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid) Gets password restriction by uuid.- Specified by:
getByUuid
in interfaceHvlOAuthPasswordRestrictionManager
- Parameters:
uuid
- the uuid- Returns:
- the password restriction model
-
queryList
public List<HvlOAuthPasswordRestrictionModel> queryList(@NotNull @Valid @NotNull @Valid HvlOAuthPasswordRestrictionQueryModel passwordBlackListQueryModel) Returns a list of password restriction matching the query criteria.- Specified by:
queryList
in interfaceHvlOAuthPasswordRestrictionManager
- Parameters:
passwordBlackListQueryModel
- the password restriction query model- Returns:
- the list of password restriction model
-
getAll
@Cacheable(value="password_restriction::all", unless="#result == null") public List<HvlOAuthPasswordRestrictionModel> getAll()Gets all.- Specified by:
getAll
in interfaceHvlOAuthPasswordRestrictionManager
- Returns:
- the all
-
queryPage
public tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthPasswordRestrictionModel> queryPage(@NotNull @Valid @NotNull @Valid HvlOAuthPasswordRestrictionQueryModel passwordBlackListQueryModel) Returns a page of password restriction matching the query criteria.- Specified by:
queryPage
in interfaceHvlOAuthPasswordRestrictionManager
- Parameters:
passwordBlackListQueryModel
- the password restriction query model- Returns:
- the password restriction of password restriction model
-