类 SysParameters
java.lang.Object
com.gdxsoft.easyweb.script.display.SysParameters
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明int缓存时间com.gdxsoft.easyweb.utils.msnet.MTable获取隐含的列getLang()int和系统当前时区差值(分钟)getTitle()voidinitParas(String xmlName, String itemName, RequestValue rv) 初始化所有参数booleanboolean客户端是否为 androidbooleanisCached()是否缓存booleanisH5()显示为 doctype H5, 参数 EWA_H5=1booleanisHiddenColumn(String colName) 检查是否是隐藏的列,即在页面上不显示booleanisIPad()客户端是否是 iPadbooleanisIPhone()客户端是否为 iPhoneboolean客户端是否为小程序booleanisMobile()是否为移动设备调用 iphone/ipand/androidboolean是否未不显示内容booleanbooleanisPc()是否为pc调用boolean显示为手机显示模式 参数 EWA_MOBILE=1booleanisVue()是否显示为 VUE, 参数 EWA_VUE=1booleanisWeixin()客户端是否在微信里booleanisXhtml()voidsetActionName(String actionName) voidsetAjaxCallType(String ajaxCallType) voidsetBehavior(String behavior) voidsetCachedSeconds(int cachedSeconds) 缓存时间voidsetCachedType(String cahcedType) voidsetDataConn(DataConnection dataConn) voidsetFrameType(String frameType) voidsetFrameUnid(String frameUnid) voidsetH5(boolean isH5) 显示为 doctype H5, 参数 EWA_H5=1voidsetHiddenColumns(String[] hiddenColumns) 需要隐含的列voidsetIsAjaxCall(boolean isAjaxCall) voidsetIsCached(boolean isCached) 是否缓存voidsetIsNoContent(boolean isNoContent) voidsetIsPagePost(boolean isPagePost) voidsetIsXhtml(boolean isXhtml) voidsetItemName(String itemName) voidvoidsetRequestValue(RequestValue requestValue) voidsetShowAsMobile(boolean showAsMobile) 显示为手机显示模式 参数 EWA_MOBILE=1voidsetTimeDiffMinutes(int minutes) 和系统当前时区差值(分钟)voidvoidsetVue(boolean vue) 是否显示为 VUEvoidsetXmlName(String xmlName)
-
构造器详细资料
-
SysParameters
public SysParameters()
-
-
方法详细资料
-
getTimeDiffMinutes
public int getTimeDiffMinutes()和系统当前时区差值(分钟)- 返回:
-
setTimeDiffMinutes
public void setTimeDiffMinutes(int minutes) 和系统当前时区差值(分钟)- 参数:
minutes- 时区差值(分钟)
-
getCacheAny
-
initParas
初始化所有参数- 参数:
xmlName-itemName-rv-
-
isPagePost
public boolean isPagePost()- 返回:
- the _IsPagePost
-
setIsPagePost
public void setIsPagePost(boolean isPagePost) - 参数:
isPagePost- the _IsPagePost to set
-
isAjaxCall
public boolean isAjaxCall()- 返回:
- the _IsAjaxCall
-
setIsAjaxCall
public void setIsAjaxCall(boolean isAjaxCall) - 参数:
isAjaxCall- the _IsAjaxCall to set
-
isNoContent
public boolean isNoContent()是否未不显示内容- 返回:
- the _IsNoContent
-
setIsNoContent
public void setIsNoContent(boolean isNoContent) - 参数:
isNoContent- the _IsNoContent to set
-
getAjaxCallType
- 返回:
- the _AjaxCallType
-
setAjaxCallType
- 参数:
ajaxCallType- the _AjaxCallType to set
-
getLang
- 返回:
- the _Lang
-
setLang
- 参数:
lang- the _Lang to set
-
getTitle
- 返回:
- the _Title
-
setTitle
- 参数:
title- the _Title to set
-
getFrameType
- 返回:
- the _FrameType
-
setFrameType
- 参数:
frameType- the _FrameType to set
-
getBehavior
- 返回:
- the _Behavior
-
setBehavior
- 参数:
behavior- the _Behavior to set
-
isXhtml
public boolean isXhtml()- 返回:
- the _IsXhtml
-
setIsXhtml
public void setIsXhtml(boolean isXhtml) - 参数:
isXhtml- the _IsXhtml to set
-
getXmlName
- 返回:
- the _XmlName
-
setXmlName
- 参数:
xmlName- the _XmlName to set
-
getItemName
- 返回:
- the _ItemName
-
setItemName
- 参数:
itemName- the _ItemName to set
-
getFrameUnid
- 返回:
- the _FrameUnid
-
setFrameUnid
- 参数:
frameUnid- the _FrameUnid to set
-
getActionName
- 返回:
- the _ActionName
-
setActionName
- 参数:
actionName- the _ActionName to set
-
getRequestValue
- 返回:
- the _RequestValue
-
setRequestValue
- 参数:
requestValue- the _RequestValue to set
-
getDataConn
- 返回:
- the _DataConn
-
setDataConn
- 参数:
dataConn- the _DataConn to set
-
isCached
public boolean isCached()是否缓存- 返回:
- the _IsCached
-
setIsCached
public void setIsCached(boolean isCached) 是否缓存- 参数:
isCached- the _IsCached to set
-
getCachedSeconds
public int getCachedSeconds()缓存时间- 返回:
- the _CachedSeconds
-
setCachedSeconds
public void setCachedSeconds(int cachedSeconds) 缓存时间- 参数:
cachedSeconds- the _CachedSeconds to set
-
getCachedType
-
setCachedType
-
getHiddenColumns
public com.gdxsoft.easyweb.utils.msnet.MTable getHiddenColumns()获取隐含的列- 返回:
- the _HiddenColumns
-
setHiddenColumns
需要隐含的列- 参数:
hiddenColumns- the _HiddenColumns to set
-
isHiddenColumn
检查是否是隐藏的列,即在页面上不显示- 参数:
colName- 列名- 返回:
-
isPc
public boolean isPc()是否为pc调用- 返回:
- the _IsPc
-
isMobile
public boolean isMobile()是否为移动设备调用 iphone/ipand/android- 返回:
-
isIPhone
public boolean isIPhone()客户端是否为 iPhone- 返回:
- the _IsIPhone
-
isAndroid
public boolean isAndroid()客户端是否为 android- 返回:
- the _IsAndroid
-
isWeixin
public boolean isWeixin()客户端是否在微信里- 返回:
- the _IsWeixin
-
isMiniProgram
public boolean isMiniProgram()客户端是否为小程序- 返回:
- the _IsMiniProgram
-
isIPad
public boolean isIPad()客户端是否是 iPad- 返回:
- the _IsIPad
-
isShowAsMobile
public boolean isShowAsMobile()显示为手机显示模式 参数 EWA_MOBILE=1- 返回:
- the _IsShowAsMobile
-
setShowAsMobile
public void setShowAsMobile(boolean showAsMobile) 显示为手机显示模式 参数 EWA_MOBILE=1- 参数:
showAsMobile- the showAsMobile to set
-
isH5
public boolean isH5()显示为 doctype H5, 参数 EWA_H5=1- 返回:
- the _IsH5
-
setH5
public void setH5(boolean isH5) 显示为 doctype H5, 参数 EWA_H5=1- 参数:
_IsH5- the _IsH5 to set
-
isVue
public boolean isVue()是否显示为 VUE, 参数 EWA_VUE=1- 返回:
- the _IsVue
-
setVue
public void setVue(boolean vue) 是否显示为 VUE- 参数:
_IsVue- the _IsVue to set
-