Interface AccountModelRoleMapper

All Known Subinterfaces:
AccountModelMapper

public interface AccountModelRoleMapper
  • Method Details

    • privilegeToPrivilegeResponse

      List<PrivilegeResponse> privilegeToPrivilegeResponse(List<Privilege> privilegeList)
      This method is used to transform the Privilege list model into the PrivilegeResponse list model
      Parameters:
      privilegeList - Indicates the list of Privilege model
      Returns:
      Returns the list of PrivilegeResponse orchestration model
    • userRolesToUserRolesResponse

      List<UserRolesResponse> userRolesToUserRolesResponse(List<UserRoles> userRolesList)
      This method is used to transform the UserRoles list model into the UserRolesResponse list model
      Parameters:
      userRolesList - Indicates the list of UserRoles model
      Returns:
      Returns the list of UserRolesResponse orchestration model
    • roleToRoleResponse

      List<RoleResponse> roleToRoleResponse(List<Role> roleList)
      This method is used to transform the Role list model into the RoleResponse list model
      Parameters:
      roleList - Indicates the list of Role model
      Returns:
      Returns the list of RoleResponse orchestration model