服务器端函数
- 基本函数
- Object len(String asValue)
- Object iif(boolean aStatus, Object aValue1,Object aValue2)
- String Str(Object aValue)
- String left(String asValue,int aCount)
- boolean startsWith(String asValue,String asSubStr )
- boolean endsWith(String asValue,String asSubStr)
- String right(String asValue,int aCount)
- String formatDt(Date aDate,String asFormat)
- String trim(String asStr)
- boolean IsZero(double aValue)
- Object IsZero(double aValue,Object aZeroValue)
- boolean isNull(Object aObj)
- Object isNull(Object aObj,Object aValue)
- boolean isEmpty(Object aObj)
- Object isEmpty(Object aObj,Object aValue)
- String substr(String asValue, int begin ,int count)
- String substr(String asValue, int begin )
- String rmb(Double avalue)
- long monthIndex(String asMonth)
- String splitStr(String asStr,String asSplitor,String asNewSplitor,String asQuotor)
- public String appendBefore(String asValue,String asChar,int totalSize) 字符串开始填充字符,总长度保持固定值。 如果字符串超出总长度不添加,保持元字符串
- public String randomAlNum(int len) 生成随机字母和数字的字符串,参数为长度
- request函数
- Date hostTime() 与_HOSTTIME 同名
- Date hostDate() _HOSTDATE
- String clienttype()
- Long emtouserid(Long employeeid) boolean inworkgroup(String asWorkGroupCode)
- boolean inworkgroupem(Long employeeid, String aWorkGroupCode)
- boolean inworkgroupuser(Long aUserID, String aWorkGroupCode)
- Long userhouseid()
- Long houseid()
- Long roomid()
- Date hostDate() throws ASException {
- Long userid()
- String username()
- String workgroups()
- String usercode()
- Long useremployeeid()
- String useremployeename()
- String userproperty(String asProppertyCode)
- Object metaparam(String asDomainPath,String asParamCode)
- Long ettid(String domainPath) 获得实体的id
- Long attid(STring domainPath) 获得属性的id
- 数据集
- ObjRow row()
- Object sn(String asId) throws ASException
- Object _sn(String asId) throws ASException
- Object param(String asParamCode) throws ASException
- Object fv(String asField) throws ASException
- String blEntityId()
- String blEntityName()
- String blEntityCode()
- String EntityId()
- String EntityName()
- String EntityCode()
Created with the Personal Edition of HelpNDoc: Free iPhone documentation generator