PagingListPageModelTService, TEntity, TKey, TFilter Class

用来分页查询实体列表的页面的基类。

Definition

Namespace: QuickAdmin.RCL
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 1.0.122
C#
public class PagingListPageModel<TService, TEntity, TKey, TFilter> : QAdminBasePageModel
where TService : object, IPagingService<TEntity, TKey, TFilter>
where TEntity : class, object, IEntityWithIdKey<TKey>
Inheritance
object    PageModel    QAdminBasePageModel    PagingListPageModelTService, TEntity, TKey, TFilter
Derived

Type Parameters

TService
实体分页查询服务类型。必须是一个 IPagingServiceTEntity, TKey, TFilter 类型。
TEntity
实体类型。必须是一个 IEntityWithIdKeyTKey 类型。
TKey
主键数据类型。
TFilter
过滤器类型。

Constructors

PagingListPageModelTService, TEntity, TKey, TFilterInitializes a new instance of the PagingListPageModelTService, TEntity, TKey, TFilter class

Properties

Public Properties

AllowAnonymousAccess 指示页面是否允许匿名访问,即不登录就可访问。
(Inherited from QAdminBasePageModel)
AllowRedirectFromLogin 指示页面是否允许从登录页跳转过来。
(Inherited from QAdminBasePageModel)
DeptFilterDefaultValue 部门过滤条件默认显示的部门。
DeptFilterRootId 数据对当前已登录用户可见的最高层级部门的 Id。
DeptFilterTreeData 部门列表,用来绑定部门过滤条件。
GridCtrlID 客户端表格控件 Id。
GridDataList 实体列表。
HasDeptFilter 指示页面是否有部门过滤条件。
IsPostBack 指示是否是页面回发。
(Inherited from QAdminBasePageModel)
MaxDeptFilterLevel 指示部门过滤条件中限制展示的部门层级。
PageCssUrl 页面 css 资源 Url。
(Inherited from QAdminBasePageModel)
PageJsUrl 页面 js 资源 Url。
(Inherited from QAdminBasePageModel)
PagePath 页面的路径。
(Inherited from QAdminBasePageModel)
PageResFileName 页面对应的静态资源文件的名称。
(Inherited from QAdminBasePageModel)
PageRights 打开此页面所需的权限。
(Inherited from QAdminBasePageModel)
PageSize 页大小。
PageTitle 页面标题。
(Overrides QAdminBasePageModelPageTitle)
QFObject 页面 JSQFObject 对象。
(Overrides QAdminBasePageModelQFObject)
RenderDateTimeJsFunc 用来显示日期时间类型属性值的客户端函数。
RenderPageCss 指示是否自动引入页面 css 资源。
(Inherited from QAdminBasePageModel)
RenderPageJs 指示是否自动引入页面 js 资源。
(Inherited from QAdminBasePageModel)
RootBizDeptId 依据 PageRights 权限设置,获取数据对当前登录用户可见的最高层级部门的 Id。
(Inherited from QAdminBasePageModel)
service 实体服务。
TotalRecordCount 总记录数。
ViewBag 添加页面对 ViewBag 的支持。
(Inherited from QAdminBasePageModel)
ViewportMetaContent 页面 viewport meta 标记内容。
(Inherited from QAdminBasePageModel)

Protected Properties

authService 认证服务。
(Inherited from QAdminBasePageModel)
deptService 组织机构实体服务。
exService 异常日志服务。
(Inherited from QAdminBasePageModel)

Methods

Public Methods

AlertError(string, bool, string, bool) 在客户端浏览器弹出错误对话框。
(Inherited from QAdminBasePageModel)
AlertError(string, string, bool, string, bool) 在客户端浏览器弹出错误对话框,可指定标题。
(Inherited from QAdminBasePageModel)
AlertMessage(string, bool, string, bool) 在客户端浏览器弹出消息对话框。
(Inherited from QAdminBasePageModel)
AlertMessage(string, string, bool, string, bool) 在客户端浏览器弹出消息对话框,可指定标题。
(Inherited from QAdminBasePageModel)
AlertServiceResultMessage 根据指定的 IServiceResult 服务调用结果,在客户端弹出一个对话框。
(Inherited from QAdminBasePageModel)
CreateAutoRedirectContent 创建一个让浏览器自动跳转到指定 url 的 ContentResult 响应结果。
(Inherited from QAdminBasePageModel)
CreateHtmlContent 创建一个用来在客户端浏览器显示一段 HTML 内容的 ContentResult 响应结果。
(Inherited from QAdminBasePageModel)
GetAlertErrorJs(string, bool, string, bool) 获取用来在客户端浏览器弹出错误对话框的客户端脚本。
(Inherited from QAdminBasePageModel)
GetAlertErrorJs(string, string, bool, string, bool) 获取用来在客户端浏览器弹出错误对话框的客户端脚本,可指定标题。
(Inherited from QAdminBasePageModel)
GetAlertMessageJs(string, bool, string, bool) 获取用来在客户端浏览器弹出消息对话框的客户端脚本。
(Inherited from QAdminBasePageModel)
GetAlertMessageJs(string, string, bool, string, bool) 获取用来在客户端浏览器弹出消息对话框的客户端脚本,可指定标题。
(Inherited from QAdminBasePageModel)
GetRequestEventArgument 用于在 WebForms 开发模式下获取回发的参数。
(Inherited from QAdminBasePageModel)
GetRequestEventArguments 用于在 WebForms 开发模式下获取回发的参数列表。
(Inherited from QAdminBasePageModel)
GetShowConfirmJs(string, string, string, bool, bool) 获取用来在客户端浏览器弹出确认对话框的客户端脚本。
(Inherited from QAdminBasePageModel)
GetShowConfirmJs(string, string, string, string, bool, bool) 获取用来在客户端浏览器弹出确认对话框的客户端脚本,可指定标题。
(Inherited from QAdminBasePageModel)
GetShowErrorJs(string, bool, Position, Position, int, bool) 获取用来在客户端浏览器显示错误提示的客户端脚本。
(Inherited from QAdminBasePageModel)
GetShowErrorJs(string, string, bool, Position, Position, int, bool) 获取用来在客户端浏览器显示错误提示的客户端脚本,可指定标题。
(Inherited from QAdminBasePageModel)
GetShowMessageJs(string, bool, Position, Position, int, bool) 获取用来在客户端浏览器显示消息提示的客户端脚本。
(Inherited from QAdminBasePageModel)
GetShowMessageJs(string, string, bool, Position, Position, int, bool) 获取用来在客户端浏览器显示消息提示的客户端脚本,可指定标题。
(Inherited from QAdminBasePageModel)
OnGet GET 处理方法。
OnPageHandlerExecuting 在页面执行处理程序方法之前、模型绑定完成后调用的方法。
(Inherited from QAdminBasePageModel)
OnPostExecCommand 执行一个命令的 POST 处理方法。
OnPostGridCtrlPageIndexChangedOrSorting 表格分页、排序 POST 处理方法。
OnPostRebindGridData 重新绑定表格数据的 POST 处理方法。
RegisterQFObjectCustomData(IDictionarystring, object) 用指定的字典数据往客户端 QF 对象中注册自定义属性。
(Inherited from QAdminBasePageModel)
RegisterQFObjectCustomData(string, object) 往客户端 QF 对象中注册自定义属性。
(Inherited from QAdminBasePageModel)
RegisterStartupScript 用来注册页面脚本。
(Inherited from QAdminBasePageModel)
ShowConfirm(string, string, string, bool, bool) 在客户端浏览器弹出确认对话框。
(Inherited from QAdminBasePageModel)
ShowConfirm(string, string, string, string, bool, bool) 在客户端浏览器弹出确认对话框,可指定标题。
(Inherited from QAdminBasePageModel)
ShowError(string, bool, Position, Position, int, bool) 在客户端浏览器显示错误提示。
(Inherited from QAdminBasePageModel)
ShowError(string, string, bool, Position, Position, int, bool) 在客户端浏览器显示错误提示,可指定标题。
(Inherited from QAdminBasePageModel)
ShowMessage(string, bool, Position, Position, int, bool) 在客户端浏览器显示消息提示。
(Inherited from QAdminBasePageModel)
ShowMessage(string, string, bool, Position, Position, int, bool) 在客户端浏览器显示消息提示,可指定标题。
(Inherited from QAdminBasePageModel)
ShowServiceResultMessage 根据指定的 IServiceResult 服务调用结果,在客户端显示一个提示框。
(Inherited from QAdminBasePageModel)

Protected Methods

BreakPageHandlerExecuting 检查是否要中止当前页面的 OnPageHandlerExecuting(PageHandlerExecutingContext) 的执行。
(Inherited from QAdminBasePageModel)
CheckRights 检查当前登录用户是否有权访问此页面。
(Inherited from QAdminBasePageModel)
CreateFineUINotify(string, MessageBoxIcon, Target, Position, Position, int, bool) 创建 FineUI 提示框对象。
(Inherited from QAdminBasePageModel)
CreateFineUINotify(string, string, MessageBoxIcon, Target, Position, Position, int, bool) 创建 FineUI 提示框对象,可指定标题。
(Inherited from QAdminBasePageModel)
GetInitDataList 获取初始列表。
GetPagingOutput 获取分页数据。
OnAccessDenied 无权访问页面时调用的方法。
(Inherited from QAdminBasePageModel)
OnCheckRequestHash 检查页面请求哈希值。
(Inherited from QAdminBasePageModel)
OnCommand 执行一个命令。
OnPasswordExpired 当前登录用户密码已过期时调用的方法。
(Inherited from QAdminBasePageModel)
OnRequiresLogin 需要登录时调用的方法。
(Inherited from QAdminBasePageModel)
RebindGridData 重新绑定表格数据。
TryGetFineUIDropDownListUserInputText 当某属性对应的界面上的下拉框为可输入状态时,可调用此方法来获取下拉框的值。
(Inherited from QAdminBasePageModel)

See Also