Interface HvlAuthzRoleService

All Known Implementing Classes:
HvlAuthzRoleServiceImpl

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

    • save

      void save(@NotNull @Valid @NotNull @Valid HvlOAuthRoleCopiablePersistModel roleCopiablePersistModel)
      Save role.
      Parameters:
      roleCopiablePersistModel - the role copiable persist model
    • update

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

      void deleteByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid)
      Delete role 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 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 according to uuid.
      Parameters:
      uuid - the uuid
    • getByUuid

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

      List<HvlOAuthRoleDataModel> queryDataList(@NotNull @Valid @NotNull @Valid HvlOAuthRoleQueryModel roleQueryModel)
      Returns a list of role matching the query criteria.
      Parameters:
      roleQueryModel - the role query model
      Returns:
      the list of role projection model
    • queryDataPage

      tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleDataModel> queryDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthRoleQueryModel roleQueryModel)
      Returns a page of role matching the query criteria.
      Parameters:
      roleQueryModel - the role query model
      Returns:
      the page of role projection model
    • queryReportDataPage

      tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleDataModel> queryReportDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthReportQueryModel reportQueryModel)
      Returns a page of role report matching the report query criteria.
      Parameters:
      reportQueryModel - the report query model
      Returns:
      the page of role projection model
    • queryReportByAdminDataPage

      @Validated(PredicatingOperation.class) tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleDataModel> queryReportByAdminDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthReportQueryModel reportQueryModel)
      Returns a page of role report matching the report query criteria by admin.
      Parameters:
      reportQueryModel - the report query model
      Returns:
      the page of role projection model
    • queryAssignerDataPage

      tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleDataModel> queryAssignerDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthRoleQueryModel roleQueryModel)
      Query assigner data page hvl page.
      Parameters:
      roleQueryModel - the role query model
      Returns:
      the hvl page
    • queryClaimDataPage

      tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthRoleClaimDataModel> queryClaimDataPage(@NotNull @Valid @NotNull @Valid HvlOAuthRoleClaimQueryModel roleClaimQueryModel)
      Returns a page of role claim for assigned entity relation matching the query criteria.
      Parameters:
      roleClaimQueryModel - the role claim query model
      Returns:
      the page of role claim projection model