com.seeyon.ctp.form.bean
类 FormBean

java.lang.Object
  继承者 com.seeyon.ctp.util.ObjectToXMLBase
      继承者 com.seeyon.ctp.common.po.BasePO
          继承者 com.seeyon.ctp.form.bean.FormBean
所有已实现的接口:
java.io.Serializable, java.lang.Cloneable

public class FormBean
extends BasePO

表单信息主类

作者:
wusb
另请参见:
序列化表格

字段摘要
static java.lang.String M_PREFIX
          当前表单前缀
static java.lang.String R_PREFIX
          关联表单前缀
 
从类 com.seeyon.ctp.common.po.BasePO 继承的字段
id, v3xToStringStyle
 
构造方法摘要
FormBean()
           
 
方法摘要
 void addBindLogField(java.lang.String fields)
          添加日志记录字段,多个以逗号分隔,如果已存在,则不添加
 void addFormReportBean(com.seeyon.apps.report.bo.FormReportBean report)
           
 void addFormView(com.seeyon.ctp.form.bean.FormViewBean formViewBean)
          添加视图对象
 void addTable(FormTableBean formTableBean)
          添加tableBean
 void addTriggerBean(com.seeyon.ctp.form.bean.FormTriggerBean ftb)
          添加触发设置对象
 java.lang.Object clone()
          克隆对象
 java.util.Map<java.lang.String,java.lang.String> convertFormBean2RedirectJSON()
          转换 bean 对象为json 串,用于业务导入导出重定向使用 baseset : List<基础设置重定向json> authset:List<操作权限重定向json> queryset: List<查询设置json> reportset:List<统计设置json> bindset:List<应用绑定设置json> triageset:List<触发/回写json>
 void convertRedirectJSON2FormBean(java.lang.String catg, java.lang.String json)
          转换重定向后的页面传回的json为表单对象的某一块设置
 java.util.List<FormFieldBean> getAllFieldBeans()
           
 java.util.Map<java.lang.String,java.lang.String> getAllFieldDisplayMap()
           
 java.util.Map<java.lang.String,java.lang.String> getAllFieldNameMap()
           
 java.util.List<FormAuthViewBean> getAllFormAuthViewBeans()
           
 java.util.List<java.lang.String> getAllTableShortName()
           
 FormAuthViewBean getAuthViewBeanById(java.lang.Long rightid)
          根据id获取权限bean
 com.seeyon.ctp.form.bean.FormBindBean getBind()
           
 java.lang.String getBindInfo()
          绑定XML格式
 long getCategoryId()
           
 com.seeyon.ctp.form.bean.FormConditionActionBean getCheckRule()
           
 java.util.Date getCreateDate()
           
 long getCreatorId()
           
 java.util.List<com.seeyon.ctp.form.po.FormCustomFunction> getCustomFunctionList()
           
 java.lang.String getDataDefindeType()
           
 java.lang.String getDataDefineXml()
          返回DEDATADEFINE的XML
 int getEditFlag()
           
 java.util.List<com.seeyon.ctp.form.po.FormRelation> getEnumRelationByParent(FormFieldBean parentField)
          查询给定FormFieldBean作为父级枚举时此表单的所有关联枚举类型的FormRelation
 java.lang.String getExtendInfo()
           
 FormFieldBean getFieldBeanByDisplay(java.lang.String display)
          根据FormFieldBean的display来查询本FormBean当中的FormFieldBean
 FormFieldBean getFieldBeanByName(java.lang.String fieldName)
          根据FormFieldBean的name来查询本FormBean当中的FormFieldBean
 java.lang.String getFieldInfo()
          返回字段定义信息
 java.util.List<FormFieldBean> getFieldsByType(com.seeyon.ctp.form.bean.FormFieldComBean.FormFieldComEnum fieldComType)
          获取表单中某种类型的单元格
 com.seeyon.ctp.form.bean.FormConditionActionBean getFormConditionActionBean(FormFieldBean fieldBean, java.lang.String conditionFormula, java.lang.String resultFormula, int type, java.lang.Long serialNum, int sort, java.lang.String keyword)
          该方法可以适用表单所有装载条件表达式Bean
 com.seeyon.ctp.form.bean.FormConditionActionBean getFormConditionActionBean(FormFieldBean fieldBean, java.lang.String conditionFormula, java.lang.String resultFormula, int type, java.lang.Long serialNum, int sort, java.lang.String keyword, java.lang.String conditionDescription, java.lang.String resultFormulaDescription)
          该方法可以适用表单所有装载条件表达式Bean
 java.lang.String getFormName()
           
 com.seeyon.ctp.form.bean.FormQueryBean getFormQueryBean(long id)
           
 java.util.List<com.seeyon.ctp.form.bean.FormQueryBean> getFormQueryList()
           
 com.seeyon.apps.report.bo.FormReportBean getFormReportBean(long id)
           
 java.util.List<com.seeyon.apps.report.bo.FormReportBean> getFormReportList()
           
 FormTableBean getFormTableBeanByFieldName(java.lang.String fieldName)
          根据fieldName查询tableBean
 FormTableBean getFormTableBeanByNumber(java.lang.String number)
          根据动态表编号获取FormTableBean
 com.seeyon.ctp.form.bean.FormTriggerBean getFormTriggerBean(long id)
           
 int getFormType()
           
 java.util.List<com.seeyon.ctp.form.po.CtpFormulaCondition> getFormulaConditionList()
          获取表单所有条件 校验规则条件、权限条件、计算式条件
 java.util.List<com.seeyon.ctp.form.po.CtpFormula> getFormulaList()
          获取表单所有表达式
 int getFormulaSize()
          获取循环嵌套判定依据的次数
 com.seeyon.ctp.form.bean.FormViewBean getFormView(long viewId)
          通过ID获取视图对象
 com.seeyon.ctp.form.bean.FormViewBean getFormViewByCount(int count)
          获取表单的某个视图
 com.seeyon.ctp.form.bean.FormViewBean getFormViewByName(java.lang.String viewName)
          通过名称获取视图对象
 java.util.List<com.seeyon.ctp.form.bean.FormViewBean> getFormViewList()
           
 java.util.List<com.seeyon.ctp.form.po.FormRelation> getInRelationListByFieldName(java.lang.String fieldName)
          获取当前表单中
 java.util.List<FormFieldBean> getLbsMapMarkedFields()
          获取表单中所有的位置定位字段
 FormTableBean getMasterTableBean()
          查找表单中的主表对象
 java.util.Date getModifyDate()
           
 FormAuthViewBean getNewFormAuthViewBean()
          取得第一个视图的默认新增权限
 java.util.List<FormAuthViewBean> getNewFormAuthViewBeans()
          获取新增类型的所有权限 视图名称可以通过扩展属性 viewName获得
 long getOwnerId()
           
 com.seeyon.ctp.common.ModuleType getOwnerModuleType()
          取得该表单的应用绑定的模块类型
 java.lang.String getQueryInfo()
           
 java.util.Set<FormBean> getRelationFormBeans(boolean needFieldForm, boolean needFillBackForm, boolean needTriggerForm, int currentIndex, int maxIndex, java.util.Set<FormBean> list)
          获取当前表单有关系的表单列表
 java.util.List<com.seeyon.ctp.form.po.FormRelation> getRelationList()
          获取表单所有关联关系
 java.lang.String getRelShortName()
           
 java.lang.String getReportInfo()
           
 java.util.Set<java.lang.Long> getSerialNumberIds()
          返回此表单所有用到的流水号的id
 java.lang.String getShortName()
           
 FormAuthViewBean getShowFormAuthViewBean()
          取得第一个视图的默认显示权限
 int getState()
           
 java.util.List<FormTableBean> getSubTableBean()
          获取表单从表FormTableBean的列表
 FormTableBean getTableByTableDisplay(java.lang.String tableDisplay)
          根据表的显示名获取FormTableBean
 FormTableBean getTableByTableId(long tableId)
          根据表Id获取FormTableBean
 FormTableBean getTableByTableName(java.lang.String tableName)
          根据表名获取FormTableBean
 java.util.List<FormTableBean> getTableList()
           
 java.util.Map<java.lang.Long,com.seeyon.ctp.form.bean.FormTriggerBean> getTriggerConfigMap()
           
 java.lang.String getTriggerInfo()
           
 java.util.List<com.seeyon.ctp.form.bean.FormTriggerBean> getTriggerList()
           
 java.util.List<com.seeyon.ctp.form.bean.FormTriggerBean> getTriggerList(boolean isClone)
          获取克隆方式的对象
 java.util.List<java.util.List<java.lang.String>> getUniqueFieldList()
           
 java.util.List<FormAuthViewBean> getUpdateAndShowFormAuthViewBeans()
          获取修改和显示类型的所有权限 视图名称可以通过扩展属性 viewName获得
 int getUseFlag()
           
 java.lang.String getViewInfo()
          取得表单视图的XML格式内容
 boolean hasConstantFieldInCalc(int tag)
          检查所有字段的计算式中是否包含固定字段 tag 1:只判断状态固定字段 tag 2: 只判断创建时间 修改时间
 boolean hasNotNullableField(long authId)
          某个权限是否有必填项
 boolean isNewForm()
          是否是新建的表单
 boolean isParentmultiEnum(FormFieldBean fieldBean)
          判断给定FormFieldBean是否是多级枚举关联的父枚举项
 boolean isSystemAuth(long authId)
          是否是系统权限
 com.seeyon.ctp.form.po.CtpFormula newCTPFormula4Save(com.seeyon.ctp.form.bean.FormFormulaBean formulaBean, int formulaType)
          转换成可保存的po
 com.seeyon.ctp.form.po.CtpFormulaCondition newCTPFormulaCondition4Save(com.seeyon.ctp.form.bean.FormConditionActionBean conditionActionBean)
          转换成可保存的po
 void removeTrigger(long id)
           
 void setBind(com.seeyon.ctp.form.bean.FormBindBean bind)
           
 void setCategoryId(long categoryId)
           
 void setCheckRule(com.seeyon.ctp.form.bean.FormConditionActionBean checkRule)
           
 void setCreateDate(java.util.Date createDate)
           
 void setCreatorId(long creatorId)
           
 void setCustomFunctionList(java.util.List<com.seeyon.ctp.form.po.FormCustomFunction> customFunctionList)
           
 void setDataDefindeType(java.lang.String dataDefindeType)
           
 void setEditFlag(int editFlag)
           
 void setFormName(java.lang.String formName)
           
 void setFormQueryList(java.util.List<com.seeyon.ctp.form.bean.FormQueryBean> formQueryList)
           
 void setFormReportList(java.util.List<com.seeyon.apps.report.bo.FormReportBean> formReportList)
           
 void setFormType(int formType)
           
 void setFormViewList(java.util.List<com.seeyon.ctp.form.bean.FormViewBean> formViewList)
           
 void setModifyDate(java.util.Date modifyDate)
           
 void setOwnerId(long ownerId)
           
 void setState(int state)
           
 void setTableList(java.util.List<FormTableBean> tableList)
           
 void setTriggerConfigMap(java.util.Map<java.lang.Long,com.seeyon.ctp.form.bean.FormTriggerBean> triggerConfigMap)
           
 void setUniqueFieldList(java.util.List<java.util.List<java.lang.String>> uniqueFieldList)
           
 void setUseFlag(int useFlag)
           
 com.seeyon.ctp.form.po.FormDefinition toFormDefinition()
          生成formDefinition po
 java.lang.String toInputXML4AppResource(int aSpace)
          转换对应form_appresource表中resource_name=/UserDefineXML/defaultInput.xml的content内容
 java.lang.String toJSON()
          (non-Javadoc)
 java.util.List<com.seeyon.ctp.form.po.FormResource> toResource4FormBean()
          生成formResource po
 
从类 com.seeyon.ctp.common.po.BasePO 继承的方法
equals, getExtraAttr, getExtraMap, getId, hashCode, isNew, putExtraAttr, putExtraAttr, putExtraAttr, putExtraAttr, putExtraAttr, putExtraAttr, putExtraAttr, putExtraAttr, putExtraAttr, putExtraAttr, putExtraAttr, putExtraAttr, putExtraAttr, putExtraAttr, setId, setIdIfNew, setNewId, toJSON, toJSONnoAttr, toString
 
从类 com.seeyon.ctp.util.ObjectToXMLBase 继承的方法
toXML
 
从类 java.lang.Object 继承的方法
finalize, getClass, notify, notifyAll, wait, wait, wait
 

字段详细信息

M_PREFIX

public static final java.lang.String M_PREFIX
当前表单前缀

另请参见:
常量字段值

R_PREFIX

public static final java.lang.String R_PREFIX
关联表单前缀

另请参见:
常量字段值
构造方法详细信息

FormBean

public FormBean()
方法详细信息

hasConstantFieldInCalc

public boolean hasConstantFieldInCalc(int tag)
检查所有字段的计算式中是否包含固定字段 tag 1:只判断状态固定字段 tag 2: 只判断创建时间 修改时间

返回:

getRelationFormBeans

public java.util.Set<FormBean> getRelationFormBeans(boolean needFieldForm,
                                                    boolean needFillBackForm,
                                                    boolean needTriggerForm,
                                                    int currentIndex,
                                                    int maxIndex,
                                                    java.util.Set<FormBean> list)
获取当前表单有关系的表单列表

参数:
needFieldForm - 是否需要返回表单字段关联设置表单
needFillBackForm - 是否需要返回回写设置表单
needTriggerForm - 是否需要返回触发设置表单
currentIndex - 当前嵌套层次, 不能大于最大嵌套层次, -1 则不限制
maxIndex - 最大嵌套层次, -1 则不限制
返回:

toJSON

public java.lang.String toJSON()
(non-Javadoc)

覆盖:
BasePO 中的 toJSON
返回:
另请参见:
BasePO.toJSON()

isNewForm

public boolean isNewForm()
是否是新建的表单

返回:

getTriggerList

public java.util.List<com.seeyon.ctp.form.bean.FormTriggerBean> getTriggerList()
返回:

getTriggerList

public java.util.List<com.seeyon.ctp.form.bean.FormTriggerBean> getTriggerList(boolean isClone)
                                                                        throws java.lang.CloneNotSupportedException
获取克隆方式的对象

参数:
isClone -
返回:
抛出:
java.lang.CloneNotSupportedException

addTriggerBean

public void addTriggerBean(com.seeyon.ctp.form.bean.FormTriggerBean ftb)
添加触发设置对象

参数:
ftb -

getFormTriggerBean

public com.seeyon.ctp.form.bean.FormTriggerBean getFormTriggerBean(long id)
参数:
id -
返回:

removeTrigger

public void removeTrigger(long id)
参数:
id -

addFormView

public void addFormView(com.seeyon.ctp.form.bean.FormViewBean formViewBean)
添加视图对象

参数:
formViewBean -

getFormView

public com.seeyon.ctp.form.bean.FormViewBean getFormView(long viewId)
通过ID获取视图对象

参数:
viewId -
返回:
FormViewBean

getFormViewByName

public com.seeyon.ctp.form.bean.FormViewBean getFormViewByName(java.lang.String viewName)
通过名称获取视图对象

参数:
viewName -
返回:
FormViewBean

getFormViewByCount

public com.seeyon.ctp.form.bean.FormViewBean getFormViewByCount(int count)
获取表单的某个视图

参数:
count - 第几个视图
返回:
FormViewBean

addTable

public void addTable(FormTableBean formTableBean)
添加tableBean

参数:
formTableBean -

getMasterTableBean

public FormTableBean getMasterTableBean()
查找表单中的主表对象

返回:
TableBean 主表

getSubTableBean

public java.util.List<FormTableBean> getSubTableBean()
获取表单从表FormTableBean的列表

返回:

getTableByTableName

public FormTableBean getTableByTableName(java.lang.String tableName)
根据表名获取FormTableBean

参数:
tableName -
返回:

getTableByTableId

public FormTableBean getTableByTableId(long tableId)
根据表Id获取FormTableBean

参数:
tableId -
返回:

getTableByTableDisplay

public FormTableBean getTableByTableDisplay(java.lang.String tableDisplay)
根据表的显示名获取FormTableBean

参数:
tableName -
返回:

getFieldInfo

public java.lang.String getFieldInfo()
                              throws BusinessException
返回字段定义信息

返回:
抛出:
java.lang.Exception
BusinessException

getViewInfo

public java.lang.String getViewInfo()
                             throws BusinessException
取得表单视图的XML格式内容

返回:
抛出:
BusinessException

getBindInfo

public java.lang.String getBindInfo()
                             throws BusinessException
绑定XML格式

返回:
抛出:
BusinessException

getQueryInfo

public java.lang.String getQueryInfo()
                              throws BusinessException
返回:
抛出:
BusinessException

getReportInfo

public java.lang.String getReportInfo()
                               throws BusinessException
返回:
抛出:
BusinessException

getTriggerInfo

public java.lang.String getTriggerInfo()
                                throws BusinessException
返回:
抛出:
BusinessException

getExtendInfo

public java.lang.String getExtendInfo()
                               throws BusinessException
返回:
抛出:
BusinessException

getDataDefineXml

public java.lang.String getDataDefineXml()
                                  throws java.lang.Exception
返回DEDATADEFINE的XML

返回:
抛出:
java.lang.Exception

toInputXML4AppResource

public java.lang.String toInputXML4AppResource(int aSpace)
                                        throws BusinessException
转换对应form_appresource表中resource_name=/UserDefineXML/defaultInput.xml的content内容

参数:
aSpace -
返回:
转换的/UserDefineXML/defaultInput.xml内容xml字符串
抛出:
BusinessException

getFormTableBeanByFieldName

public FormTableBean getFormTableBeanByFieldName(java.lang.String fieldName)
根据fieldName查询tableBean

参数:
fieldName -
返回:

getFormTableBeanByNumber

public FormTableBean getFormTableBeanByNumber(java.lang.String number)
根据动态表编号获取FormTableBean

参数:
number -
返回:

getFormName

public java.lang.String getFormName()
返回:
the formName

getShortName

public java.lang.String getShortName()

getRelShortName

public java.lang.String getRelShortName()

getAllTableShortName

public java.util.List<java.lang.String> getAllTableShortName()

isSystemAuth

public boolean isSystemAuth(long authId)
是否是系统权限

参数:
authId - 权限ID
返回:

setFormName

public void setFormName(java.lang.String formName)
参数:
formName - the formName to set

getOwnerId

public long getOwnerId()
返回:
the ownerId

setOwnerId

public void setOwnerId(long ownerId)
参数:
ownerId - the ownerId to set

getState

public int getState()
返回:
the state

setState

public void setState(int state)
参数:
state - the state to set

getEditFlag

public int getEditFlag()

setEditFlag

public void setEditFlag(int editFlag)

getCreateDate

public java.util.Date getCreateDate()
返回:
the createDate

setCreateDate

public void setCreateDate(java.util.Date createDate)
参数:
createDate - the createDate to set

getFormType

public int getFormType()
返回:
the formType

setFormType

public void setFormType(int formType)
参数:
formType - the formType to set

getFormViewList

public java.util.List<com.seeyon.ctp.form.bean.FormViewBean> getFormViewList()
返回:
the formViewList

getAuthViewBeanById

public FormAuthViewBean getAuthViewBeanById(java.lang.Long rightid)
根据id获取权限bean

参数:
rightId -
返回:

setFormViewList

public void setFormViewList(java.util.List<com.seeyon.ctp.form.bean.FormViewBean> formViewList)
参数:
formViewList - the formViewList to set

getTableList

public java.util.List<FormTableBean> getTableList()
返回:
the tableList

setTableList

public void setTableList(java.util.List<FormTableBean> tableList)
参数:
tableList - the tableList to set

getDataDefindeType

public java.lang.String getDataDefindeType()
返回:
the dataDefindeType

setDataDefindeType

public void setDataDefindeType(java.lang.String dataDefindeType)
参数:
dataDefindeType - the dataDefindeType to set

getFormQueryBean

public com.seeyon.ctp.form.bean.FormQueryBean getFormQueryBean(long id)

addFormReportBean

public void addFormReportBean(com.seeyon.apps.report.bo.FormReportBean report)
参数:
id -

getFormReportBean

public com.seeyon.apps.report.bo.FormReportBean getFormReportBean(long id)
参数:
id -
返回:

getFieldBeanByName

public FormFieldBean getFieldBeanByName(java.lang.String fieldName)
根据FormFieldBean的name来查询本FormBean当中的FormFieldBean

参数:
fieldName -
返回:
FormFieldBean

getFieldBeanByDisplay

public FormFieldBean getFieldBeanByDisplay(java.lang.String display)
根据FormFieldBean的display来查询本FormBean当中的FormFieldBean

参数:
display -
返回:
FormFieldBean

getAllFieldBeans

public java.util.List<FormFieldBean> getAllFieldBeans()
返回:

getLbsMapMarkedFields

public java.util.List<FormFieldBean> getLbsMapMarkedFields()
获取表单中所有的位置定位字段

返回:

getFieldsByType

public java.util.List<FormFieldBean> getFieldsByType(com.seeyon.ctp.form.bean.FormFieldComBean.FormFieldComEnum fieldComType)
获取表单中某种类型的单元格

参数:
fieldComType -
返回:

getAllFormAuthViewBeans

public java.util.List<FormAuthViewBean> getAllFormAuthViewBeans()

getNewFormAuthViewBean

public FormAuthViewBean getNewFormAuthViewBean()
取得第一个视图的默认新增权限

返回:

getShowFormAuthViewBean

public FormAuthViewBean getShowFormAuthViewBean()
取得第一个视图的默认显示权限

返回:

getNewFormAuthViewBeans

public java.util.List<FormAuthViewBean> getNewFormAuthViewBeans()
获取新增类型的所有权限 视图名称可以通过扩展属性 viewName获得

返回:

getUpdateAndShowFormAuthViewBeans

public java.util.List<FormAuthViewBean> getUpdateAndShowFormAuthViewBeans()
获取修改和显示类型的所有权限 视图名称可以通过扩展属性 viewName获得

返回:

getAllFieldNameMap

public java.util.Map<java.lang.String,java.lang.String> getAllFieldNameMap()

getAllFieldDisplayMap

public java.util.Map<java.lang.String,java.lang.String> getAllFieldDisplayMap()

getOwnerModuleType

public com.seeyon.ctp.common.ModuleType getOwnerModuleType()
取得该表单的应用绑定的模块类型

返回:

getCreatorId

public long getCreatorId()
返回:
the creatorId

setCreatorId

public void setCreatorId(long creatorId)
参数:
creatorId - the creatorId to set

getUseFlag

public int getUseFlag()
返回:
the userFlag

setUseFlag

public void setUseFlag(int useFlag)
参数:
userFlag - the userFlag to set

getCheckRule

public com.seeyon.ctp.form.bean.FormConditionActionBean getCheckRule()

setCheckRule

public void setCheckRule(com.seeyon.ctp.form.bean.FormConditionActionBean checkRule)

getBind

public com.seeyon.ctp.form.bean.FormBindBean getBind()

setBind

public void setBind(com.seeyon.ctp.form.bean.FormBindBean bind)

getTriggerConfigMap

public java.util.Map<java.lang.Long,com.seeyon.ctp.form.bean.FormTriggerBean> getTriggerConfigMap()

setTriggerConfigMap

public void setTriggerConfigMap(java.util.Map<java.lang.Long,com.seeyon.ctp.form.bean.FormTriggerBean> triggerConfigMap)

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
克隆对象

覆盖:
BasePO 中的 clone
抛出:
java.lang.CloneNotSupportedException

toFormDefinition

public com.seeyon.ctp.form.po.FormDefinition toFormDefinition()
                                                       throws BusinessException
生成formDefinition po

参数:
formBean -
返回:
抛出:
BusinessException

getFormulaList

public java.util.List<com.seeyon.ctp.form.po.CtpFormula> getFormulaList()
获取表单所有表达式

返回:
抛出:
BusinessException

newCTPFormula4Save

public com.seeyon.ctp.form.po.CtpFormula newCTPFormula4Save(com.seeyon.ctp.form.bean.FormFormulaBean formulaBean,
                                                            int formulaType)
转换成可保存的po

参数:
formulaBean -
formulaType -
返回:

getFormulaConditionList

public java.util.List<com.seeyon.ctp.form.po.CtpFormulaCondition> getFormulaConditionList()
获取表单所有条件 校验规则条件、权限条件、计算式条件

返回:
抛出:
BusinessException

newCTPFormulaCondition4Save

public com.seeyon.ctp.form.po.CtpFormulaCondition newCTPFormulaCondition4Save(com.seeyon.ctp.form.bean.FormConditionActionBean conditionActionBean)
转换成可保存的po

参数:
conditionActionBean -
返回:
CtpFormulaCondition

getRelationList

public java.util.List<com.seeyon.ctp.form.po.FormRelation> getRelationList()
获取表单所有关联关系

返回:
抛出:
BusinessException

getFormConditionActionBean

public com.seeyon.ctp.form.bean.FormConditionActionBean getFormConditionActionBean(FormFieldBean fieldBean,
                                                                                   java.lang.String conditionFormula,
                                                                                   java.lang.String resultFormula,
                                                                                   int type,
                                                                                   java.lang.Long serialNum,
                                                                                   int sort,
                                                                                   java.lang.String keyword)
该方法可以适用表单所有装载条件表达式Bean

参数:
fieldBean - 默认可以传null
conditionFormula - 默认可以传null
resultFormula - 默认可以传null
type - 必填
serialNum - 默认可以传null
sort - 默认可以传0
返回:

getFormConditionActionBean

public com.seeyon.ctp.form.bean.FormConditionActionBean getFormConditionActionBean(FormFieldBean fieldBean,
                                                                                   java.lang.String conditionFormula,
                                                                                   java.lang.String resultFormula,
                                                                                   int type,
                                                                                   java.lang.Long serialNum,
                                                                                   int sort,
                                                                                   java.lang.String keyword,
                                                                                   java.lang.String conditionDescription,
                                                                                   java.lang.String resultFormulaDescription)
该方法可以适用表单所有装载条件表达式Bean

参数:
fieldBean - 默认可以传null
conditionFormula - 默认可以传null
resultFormula - 默认可以传null
type - 必填
serialNum - 默认可以传null
sort - 默认可以传0
conditionDescription - 条件描述
resultFormulaDescription - 条件描述
返回:

getInRelationListByFieldName

public java.util.List<com.seeyon.ctp.form.po.FormRelation> getInRelationListByFieldName(java.lang.String fieldName)
获取当前表单中

参数:
fieldName -
返回:

toResource4FormBean

public java.util.List<com.seeyon.ctp.form.po.FormResource> toResource4FormBean()
                                                                        throws BusinessException
生成formResource po

参数:
formBean -
返回:
抛出:
BusinessException

convertFormBean2RedirectJSON

public java.util.Map<java.lang.String,java.lang.String> convertFormBean2RedirectJSON()
                                                                              throws BusinessException
转换 bean 对象为json 串,用于业务导入导出重定向使用 baseset : List<基础设置重定向json> authset:List<操作权限重定向json> queryset: List<查询设置json> reportset:List<统计设置json> bindset:List<应用绑定设置json> triageset:List<触发/回写json>

返回:
抛出:
BusinessException

convertRedirectJSON2FormBean

public void convertRedirectJSON2FormBean(java.lang.String catg,
                                         java.lang.String json)
                                  throws java.lang.NumberFormatException,
                                         BusinessException
转换重定向后的页面传回的json为表单对象的某一块设置

参数:
catg - 1:基础设置,2:表单权限,3:查询设置,4:统计设置,5:应用绑定,6:回写,触发设置
json - json 对象
抛出:
BusinessException
java.lang.NumberFormatException

getCategoryId

public long getCategoryId()
返回:
the categoryId

setCategoryId

public void setCategoryId(long categoryId)
参数:
categoryId - the categoryId to set

getFormQueryList

public java.util.List<com.seeyon.ctp.form.bean.FormQueryBean> getFormQueryList()
返回:
the formQueryList

setFormQueryList

public void setFormQueryList(java.util.List<com.seeyon.ctp.form.bean.FormQueryBean> formQueryList)
参数:
formQueryList - the formQueryList to set

getUniqueFieldList

public java.util.List<java.util.List<java.lang.String>> getUniqueFieldList()

setUniqueFieldList

public void setUniqueFieldList(java.util.List<java.util.List<java.lang.String>> uniqueFieldList)

isParentmultiEnum

public boolean isParentmultiEnum(FormFieldBean fieldBean)
判断给定FormFieldBean是否是多级枚举关联的父枚举项

参数:
fieldBean -
返回:

getEnumRelationByParent

public java.util.List<com.seeyon.ctp.form.po.FormRelation> getEnumRelationByParent(FormFieldBean parentField)
查询给定FormFieldBean作为父级枚举时此表单的所有关联枚举类型的FormRelation

参数:
parentField -
返回:

getSerialNumberIds

public java.util.Set<java.lang.Long> getSerialNumberIds()
返回此表单所有用到的流水号的id

返回:

getFormulaSize

public int getFormulaSize()
获取循环嵌套判定依据的次数

返回:

addBindLogField

public void addBindLogField(java.lang.String fields)
添加日志记录字段,多个以逗号分隔,如果已存在,则不添加

参数:
fields -

hasNotNullableField

public boolean hasNotNullableField(long authId)
某个权限是否有必填项

参数:
authId -
返回:

getFormReportList

public java.util.List<com.seeyon.apps.report.bo.FormReportBean> getFormReportList()
返回:
the formReportList

setFormReportList

public void setFormReportList(java.util.List<com.seeyon.apps.report.bo.FormReportBean> formReportList)
参数:
formReportList - the formReportList to set

getCustomFunctionList

public java.util.List<com.seeyon.ctp.form.po.FormCustomFunction> getCustomFunctionList()

setCustomFunctionList

public void setCustomFunctionList(java.util.List<com.seeyon.ctp.form.po.FormCustomFunction> customFunctionList)

getModifyDate

public java.util.Date getModifyDate()

setModifyDate

public void setModifyDate(java.util.Date modifyDate)