Interface HvlAuthzRoleGroupService

All Known Implementing Classes:
HvlAuthzRoleGroupSeviceImpl

@Validated public interface HvlAuthzRoleGroupService
This service provides operational and retrieve methods.
  • Method Details

    • save

      void save(@NotNull @Valid @NotNull @Valid HvlOAuthRoleGroupCopiablePersistModel roleGroupCopiablePersistModel)
      Save.
      Parameters:
      roleGroupCopiablePersistModel - the role group copiable persist model
    • update

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

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

      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.
      Parameters:
      uuid - the uuid
    • deactivateByUuid

      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.
      Parameters:
      uuid - the uuid
    • getByUuid

      HvlOAuthRoleGroupModel getByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Gets role group by uuid.
      Parameters:
      uuid - the uuid
      Returns:
      the role group model
    • queryDataList

      List<HvlOAuthRoleGroupDataModel> queryDataList(@NotNull @Valid @NotNull @Valid HvlOAuthRoleGroupQueryModel roleGroupQueryModel)
      Returns a list of role group matching the query criteria.
      Parameters:
      roleGroupQueryModel - the role group query model
      Returns:
      the list of role group projection model
    • queryDataPage

      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.
      Parameters:
      roleGroupQueryModel - the role group query model
      Returns:
      the page of role group projection model
    • queryClaimDataPage

      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.
      Parameters:
      roleGroupClaimQueryModel - the role group claim query model
      Returns:
      the page of role group claim projection model
    • queryReportDataPage

      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.
      Parameters:
      reportQueryModel - the report query model
      Returns:
      the page of role group projection model