java.lang.Object
tr.com.havelsan.javarch.oauth.authz.starter.module.authority.logic.HvlAuthzTagServiceImpl
All Implemented Interfaces:
HvlAuthzTagService

@Service public class HvlAuthzTagServiceImpl extends Object implements HvlAuthzTagService
The class which implements HvlAuthzTagService
  • Constructor Details

    • HvlAuthzTagServiceImpl

      public HvlAuthzTagServiceImpl(HvlOAuthTagManager tagManager, HvlOAuthTagOperationalManager tagOperationalManager)
      Instantiates a new HvlAuthzTagService.
      Parameters:
      tagManager - the tag manager
      tagOperationalManager - the tag operational manager
  • Method Details

    • save

      public HvlOAuthTagModel save(@NotNull @Valid @NotNull @Valid HvlOAuthTagModel tagModel)
      Save tag.
      Specified by:
      save in interface HvlAuthzTagService
      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 interface HvlAuthzTagService
      Parameters:
      tagModel - the tag model
      Returns:
      the tag model
    • deleteByUuid

      public void deleteByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Delete tag by uuid.
      Specified by:
      deleteByUuid in interface HvlAuthzTagService
      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 interface HvlAuthzTagService
      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 interface HvlAuthzTagService
      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 interface HvlAuthzTagService
      Parameters:
      tagQueryModel - the tag query model
      Returns:
      the page of tag model