public interface IPageIntervention extends IActionIntervention
IActionIntervention.ActionWrapper<T>| 限定符和类型 | 方法和说明 |
|---|---|
Object |
interveneActionExecute(DaoParam param,
IEmapPage.Action action)
干预动作的执行。
|
String |
interveneForward(String forwardPath,
Map<String,Object> model,
IEmapPage page)
干预跳转的路径。
|
IEmapModel |
interveneModel(IEmapModel model,
IEmapPage.Action action)
干预模型信息。
|
interveneExecuteString interveneForward(String forwardPath, Map<String,Object> model, IEmapPage page)
forwardPath - 当前跳转的路径model - 页面中需要使用的modelpage - 当前的页面对象IEmapModel interveneModel(IEmapModel model, IEmapPage.Action action)
CustomModel newModel = new CustomModel(model);
CustomItem item = newModel.copyItem("newName", "oldName");
item.setCaption("title");
model - 当前需要输出的模型action - 模型所属的页面动作Object interveneActionExecute(DaoParam param, IEmapPage.Action action)
param - 当前执行的数据操作动作所需的参数action - 当前需要执行的动作(与页面绑定的动作)Copyright © 2022. All rights reserved.