接口 IAcl2
- 所有已知实现类:
SampleAcl2
public interface IAcl2
页面权限接口2,提供了检查Action是否允许执行
Page permission interface 2, which provides to check whether the Action is allowed to execute
Page permission interface 2, which provides to check whether the Action is allowed to execute
-
方法概要
修饰符和类型方法说明booleancanRun()页面是否可执行
Whether the page can be executebooleancanRunAction(String actionName) 是否可执行Action
Whether to execute the action跳转页面return the parent object HtmlCreator获取不可执行的提示信息voidsetHtmlCreator(HtmlCreator htmlCreator) set the parent object HtmlCreatorvoidsetItemName(String itemName) voidsetRequestValue(RequestValue requestValue) 设置 RequestValue 参数
Set the requestValuevoidsetXmlName(String xmlName)
-
方法详细资料
-
getHtmlCreator
HtmlCreator getHtmlCreator()return the parent object HtmlCreator- 返回:
- the parent object HtmlCreator
-
setHtmlCreator
set the parent object HtmlCreator- 参数:
htmlCreator- the htmlCreator to set
-
getXmlName
String getXmlName() -
setXmlName
- 参数:
xmlName- the _XmlName to set
-
getItemName
String getItemName()- 返回:
- the _ItemName
-
setItemName
- 参数:
itemName- the _ItemName to set
-
canRun
boolean canRun()页面是否可执行
Whether the page can be execute- 返回:
- true: allow/false: deny
-
setRequestValue
设置 RequestValue 参数
Set the requestValue- 参数:
requestValue-
-
getRequestValue
RequestValue getRequestValue() -
getGoToUrl
String getGoToUrl()跳转页面- 返回:
-
canRunAction
是否可执行Action
Whether to execute the action- 参数:
actionName- the action name- 返回:
- true: allow/ false: deny
-
getNotRunTitle
String getNotRunTitle()获取不可执行的提示信息- 返回:
- the not run title
-