Class HvlAuthzTagServiceImpl
java.lang.Object
tr.com.havelsan.javarch.oauth.authz.starter.module.authority.logic.HvlAuthzTagServiceImpl
- All Implemented Interfaces:
HvlAuthzTagService
The class which implements
HvlAuthzTagService
-
Constructor Summary
ConstructorDescriptionHvlAuthzTagServiceImpl
(HvlOAuthTagManager tagManager, HvlOAuthTagOperationalManager tagOperationalManager) Instantiates a new HvlAuthzTagService. -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Delete tag by uuid.Gets tag data according to uuid parameter.queryList
(@NotNull @Valid HvlOAuthTagQueryModel tagQueryModel) Returns a list of tag matching the query criteria.tr.com.havelsan.javarch.data.commons.pageable.HvlPage
<HvlOAuthTagModel> queryPage
(@NotNull @Valid HvlOAuthTagQueryModel tagQueryModel) Returns a page of tag matching the query criteria.save
(@NotNull @Valid HvlOAuthTagModel tagModel) Save tag.update
(@NotNull @Valid HvlOAuthTagModel tagModel) Update tag.
-
Constructor Details
-
HvlAuthzTagServiceImpl
public HvlAuthzTagServiceImpl(HvlOAuthTagManager tagManager, HvlOAuthTagOperationalManager tagOperationalManager) Instantiates a new HvlAuthzTagService.- Parameters:
tagManager
- the tag managertagOperationalManager
- the tag operational manager
-
-
Method Details
-
save
Save tag.- Specified by:
save
in interfaceHvlAuthzTagService
- Parameters:
tagModel
- the tag model- Returns:
- the tag model
-
update
@Validated(tr.com.havelsan.javarch.data.commons.validation.HvlConstraintGroups.ModifyingOperation.class) public HvlOAuthTagModel update(@NotNull @Valid @NotNull @Valid HvlOAuthTagModel tagModel) Update tag.- Specified by:
update
in interfaceHvlAuthzTagService
- Parameters:
tagModel
- the tag model- Returns:
- the tag model
-
deleteByUuid
Delete tag by uuid.- Specified by:
deleteByUuid
in interfaceHvlAuthzTagService
- Parameters:
uuid
- the uuid
-
getByUuid
public HvlOAuthTagModel getByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid) Gets tag data according to uuid parameter.- Specified by:
getByUuid
in interfaceHvlAuthzTagService
- Parameters:
uuid
- the uuid- Returns:
- the tag model
-
queryList
public List<HvlOAuthTagModel> queryList(@NotNull @Valid @NotNull @Valid HvlOAuthTagQueryModel tagQueryModel) Returns a list of tag matching the query criteria.- Specified by:
queryList
in interfaceHvlAuthzTagService
- Parameters:
tagQueryModel
- the tag query model- Returns:
- the list of tag model
-
queryPage
public tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthTagModel> queryPage(@NotNull @Valid @NotNull @Valid HvlOAuthTagQueryModel tagQueryModel) Returns a page of tag matching the query criteria.- Specified by:
queryPage
in interfaceHvlAuthzTagService
- Parameters:
tagQueryModel
- the tag query model- Returns:
- the page of tag model
-