Class HvlAuthzRoleGroupSeviceImpl

java.lang.Object
tr.com.havelsan.javarch.oauth.authz.starter.module.role.logic.HvlAuthzRoleGroupSeviceImpl
All Implemented Interfaces:
HvlAuthzRoleGroupService

@Service public class HvlAuthzRoleGroupSeviceImpl extends Object implements HvlAuthzRoleGroupService
The class which implements HvlAuthzRoleGroupService.
  • Constructor Details

  • Method Details

    • save

      public void save(@NotNull @Valid @NotNull @Valid HvlOAuthRoleGroupCopiablePersistModel roleGroupCopiablePersistModel)
      Save.
      Specified by:
      save in interface HvlAuthzRoleGroupService
      Parameters:
      roleGroupCopiablePersistModel - the role group copiable persist model
    • update

      @Validated(tr.com.havelsan.javarch.data.commons.validation.HvlConstraintGroups.ModifyingOperation.class) public void update(@NotNull @Valid @NotNull @Valid HvlOAuthRoleGroupPersistModel roleGroupPersistModel)
      Update.
      Specified by:
      update in interface HvlAuthzRoleGroupService
      Parameters:
      roleGroupPersistModel - the role group persist model
    • deleteByUuid

      public void deleteByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Delete role group by uuid.
      Specified by:
      deleteByUuid in interface HvlAuthzRoleGroupService
      Parameters:
      uuid - the uuid
    • activateByUuid

      public void activateByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Method used to activate role group according to uuid.
      Specified by:
      activateByUuid in interface HvlAuthzRoleGroupService
      Parameters:
      uuid - the uuid
    • deactivateByUuid

      public void deactivateByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Method used to deactivate role group according to uuid.
      Specified by:
      deactivateByUuid in interface HvlAuthzRoleGroupService
      Parameters:
      uuid - the uuid
    • getByUuid

      @Transactional(readOnly=true) public HvlOAuthRoleGroupModel getByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Gets role group by uuid.
      Specified by:
      getByUuid in interface HvlAuthzRoleGroupService
      Parameters:
      uuid - the uuid
      Returns:
      the role group model
    • queryDataList

      @Transactional(readOnly=true) public List<HvlOAuthRoleGroupDataModel> queryDataList(@NotNull @Valid @NotNull @Valid HvlOAuthRoleGroupQueryModel roleGroupQueryModel)
      Returns a list of role group matching the query criteria.
      Specified by:
      queryDataList in interface HvlAuthzRoleGroupService
      Parameters:
      roleGroupQueryModel - the role group query model
      Returns:
      the list of role group projection model
    • queryDataPage

      @Transactional(readOnly=true) public tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleGroupDataModel> queryDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthRoleGroupQueryModel roleGroupQueryModel)
      Returns a page of role group matching the query criteria.
      Specified by:
      queryDataPage in interface HvlAuthzRoleGroupService
      Parameters:
      roleGroupQueryModel - the role group query model
      Returns:
      the page of role group projection model
    • queryClaimDataPage

      @Transactional(readOnly=true) public tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleGroupClaimDataModel> queryClaimDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthRoleGroupClaimQueryModel roleGroupClaimQueryModel)
      Returns a page of role group claim for assigned entity relation matching the query criteria.
      Specified by:
      queryClaimDataPage in interface HvlAuthzRoleGroupService
      Parameters:
      roleGroupClaimQueryModel - the role group claim query model
      Returns:
      the page of role group claim projection model
    • queryReportDataPage

      @Transactional(readOnly=true) public tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleGroupDataModel> queryReportDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthReportQueryModel reportQueryModel)
      Returns a page of role group report matching the report query criteria.
      Specified by:
      queryReportDataPage in interface HvlAuthzRoleGroupService
      Parameters:
      reportQueryModel - the report query model
      Returns:
      the page of role group projection model