com.seeyon.ctp.form.bean
类 FormAuthViewBean

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

public class FormAuthViewBean
extends BasePO

表单操作权限对于XML中的operation标签

作者:
Xiang.Chen
另请参见:
序列化表格

字段摘要
 
从类 com.seeyon.ctp.common.po.BasePO 继承的字段
id, v3xToStringStyle
 
构造方法摘要
FormAuthViewBean()
           
 
方法摘要
 void addConditionFormAuthViewBean(FormAuthViewBean favb)
          添加此权限的某一高级权限
 void addConditonFormAuthViewBean(java.lang.Long id, FormAuthViewBean formAuthViewBean)
          添加带条件的权限bean
 void addFormAuthorizationField(java.lang.String fieldName, com.seeyon.ctp.form.bean.FormAuthViewFieldBean formAuthorizationFieldBean)
          添加字段权限
 void addFormAuthorizationTable(java.lang.String tableName, boolean allowAdd, boolean allowDelete)
          增加重复项表权限
 void addFormDEEBindEvent(java.util.List<com.seeyon.ctp.form.dee.bean.InfoPath_DeeTask> deeEvnetList)
           
 void addFormOperationBindEvent(java.util.List<com.seeyon.ctp.form.bean.Operation_BindEvent> bindEvnetList)
           
 boolean allowAdd(java.lang.String tableName)
          根据重复项表名判断是否具有增加权限
 boolean allowDelete(java.lang.String tableName)
          根据重复项表名判断是否具有删除权限
 java.lang.Object clone()
          克隆对象,同时把新对象的id置为默认值
 java.lang.Object clone(FormBean formBean)
           
 java.lang.Object cloneWithRight(com.seeyon.ctp.form.util.Enums.FieldAccessType type)
          克隆出对应参数作为权限的FormAuthViewBean
 java.lang.String convertFormAuthViewBean2RedirectJSON()
           
 java.util.Map<java.lang.Long,FormAuthViewBean> getAuths()
           
 java.util.List<FormAuthViewBean> getConditionFormAuthViewBeanList()
          返回带条件的权限列表
 FormAuthViewBean getConditonFormAuthViewBean(java.lang.Long id)
          通过id取得带条件的权限bean
 java.util.List<com.seeyon.ctp.form.dee.bean.InfoPath_DeeTask> getDEEBindEvent()
           
 java.lang.String getEvent()
           
 java.lang.String getFileName()
           
 com.seeyon.ctp.form.bean.FormAuthViewFieldBean getFormAuthorizationField(java.lang.String fieldName)
          获取字段权限
 java.util.List<com.seeyon.ctp.form.bean.FormAuthViewFieldBean> getFormAuthorizationFieldList()
          返回字段权限列表
 com.seeyon.ctp.form.bean.FormAuthorizationTableBean getFormAuthorizationTableBeanByTableName(java.lang.String tableName)
          通过表明获取重复表操作权限
 java.util.List<com.seeyon.ctp.form.bean.FormAuthorizationTableBean> getFormAuthorizationTableList()
          返回重复项权限列表
 com.seeyon.ctp.form.bean.FormConditionActionBean getFormConditionActionBean()
           
 java.util.List<com.seeyon.ctp.form.bean.FormConditionActionBean> getFormConditionActionBeanList()
           
 long getFormViewId()
           
 java.lang.String getName()
           
 java.util.List<com.seeyon.ctp.form.bean.Operation_BindEvent> getOperationBindEvent()
           
 java.lang.Long getParentId()
           
 FormAuthViewBean getRightFormAuthViewBean(java.util.Map<java.lang.String,java.lang.Object> dataMap)
          通过值得到对应的权限,如果值没有满足的条件则返回当前权限
 java.util.List<java.lang.Long> getSerialNumberIds()
          返回此权限下所版本的所有流水号的id
 java.lang.String getSubmitEvent()
           
 java.lang.String getType()
           
 boolean hasCanEditField()
          判断权限中是否有可编辑字段
 boolean hasNotNullableField()
          是否有必填项的控件
 boolean isDelete()
          获取权限是否被删除
 void removeConditionFormAuthViewBean(java.lang.Long id)
          移除此权限的某一个高级权限,添加到删除权限缓存
 void setAuths(java.util.Map<java.lang.Long,FormAuthViewBean> auths)
           
 void setDeeEvent(java.util.List<com.seeyon.ctp.form.dee.bean.InfoPath_DeeTask> deeEventList)
           
 void setDefaultAuth(FormBean fb)
          设置单元格的默认权限,之前在infopath文件导入时设置,现在移到此次,部分录入类型的权限要在录入类型确定后才能确定默认权限
 void setDelete(boolean isDelete)
           
 void setEvent(java.lang.String event)
           
 void setFileName(java.lang.String fileName)
           
 void setFormConditionActionBean(com.seeyon.ctp.form.bean.FormConditionActionBean formConditionActionBean)
           
 void setFormViewId(long formViewId)
           
 void setName(java.lang.String name)
           
 void setOperationEvent(java.util.List<com.seeyon.ctp.form.bean.Operation_BindEvent> bindEventList)
           
 void setParentId(java.lang.Long parentId)
           
 void setSubmitEvent(java.lang.String submitEvent)
           
 void setType(java.lang.String type)
           
 java.lang.String toJSON()
          (non-Javadoc)
 java.lang.String toXML4AppMain(int aSpace)
           
 java.lang.String toXML4Resource(int aSpace, FormBean formBean)
           
 
从类 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
 

构造方法详细信息

FormAuthViewBean

public FormAuthViewBean()
方法详细信息

setDelete

public void setDelete(boolean isDelete)
参数:
isDelete - the isDelete to set

getParentId

public java.lang.Long getParentId()

setParentId

public void setParentId(java.lang.Long parentId)

toJSON

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

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

convertFormAuthViewBean2RedirectJSON

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

getFormViewId

public long getFormViewId()
返回:
the formViewId

setFormViewId

public void setFormViewId(long formViewId)
参数:
formViewId - the formViewId to set

getName

public java.lang.String getName()
返回:
the name

setName

public void setName(java.lang.String name)
参数:
name - the name to set

getFileName

public java.lang.String getFileName()
返回:
the fileName

setFileName

public void setFileName(java.lang.String fileName)
参数:
fileName - the fileName to set

getType

public java.lang.String getType()
返回:
the type

setType

public void setType(java.lang.String type)
参数:
type - the type to set

getEvent

public java.lang.String getEvent()
返回:
the event

setEvent

public void setEvent(java.lang.String event)
参数:
event - the event to set

getSubmitEvent

public java.lang.String getSubmitEvent()
返回:
the submitEvent

isDelete

public boolean isDelete()
获取权限是否被删除

返回:

hasNotNullableField

public boolean hasNotNullableField()
是否有必填项的控件

返回:

setSubmitEvent

public void setSubmitEvent(java.lang.String submitEvent)
参数:
submitEvent - the submitEvent to set

getFormConditionActionBean

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

setFormConditionActionBean

public void setFormConditionActionBean(com.seeyon.ctp.form.bean.FormConditionActionBean formConditionActionBean)

addFormAuthorizationField

public void addFormAuthorizationField(java.lang.String fieldName,
                                      com.seeyon.ctp.form.bean.FormAuthViewFieldBean formAuthorizationFieldBean)
添加字段权限

参数:
fieldName - 字段名称
formAuthorizationFieldBean -

getFormAuthorizationField

public com.seeyon.ctp.form.bean.FormAuthViewFieldBean getFormAuthorizationField(java.lang.String fieldName)
获取字段权限

参数:
fieldName - 字段名称
返回:
formAuthorizationFieldBean

getFormAuthorizationFieldList

public java.util.List<com.seeyon.ctp.form.bean.FormAuthViewFieldBean> getFormAuthorizationFieldList()
返回字段权限列表


addFormAuthorizationTable

public void addFormAuthorizationTable(java.lang.String tableName,
                                      boolean allowAdd,
                                      boolean allowDelete)
增加重复项表权限

参数:
tableName - 重复项表名
allowAdd - 是否具有增加权限
allowDelete - 是否具有删除权限

allowAdd

public boolean allowAdd(java.lang.String tableName)
根据重复项表名判断是否具有增加权限

参数:
tableName重复项表名 -
返回:
是否具有增加全新啊

allowDelete

public boolean allowDelete(java.lang.String tableName)
根据重复项表名判断是否具有删除权限

参数:
tableName重复项表名 -
返回:
是否具有删除曲线

getFormAuthorizationTableBeanByTableName

public com.seeyon.ctp.form.bean.FormAuthorizationTableBean getFormAuthorizationTableBeanByTableName(java.lang.String tableName)
通过表明获取重复表操作权限

参数:
tableName -
返回:

getFormAuthorizationTableList

public java.util.List<com.seeyon.ctp.form.bean.FormAuthorizationTableBean> getFormAuthorizationTableList()
返回重复项权限列表


addConditonFormAuthViewBean

public void addConditonFormAuthViewBean(java.lang.Long id,
                                        FormAuthViewBean formAuthViewBean)
添加带条件的权限bean

参数:
id -
formAuthViewBean -

getConditonFormAuthViewBean

public FormAuthViewBean getConditonFormAuthViewBean(java.lang.Long id)
通过id取得带条件的权限bean

参数:
id -
返回:

getConditionFormAuthViewBeanList

public java.util.List<FormAuthViewBean> getConditionFormAuthViewBeanList()
返回带条件的权限列表

返回:

getFormConditionActionBeanList

public java.util.List<com.seeyon.ctp.form.bean.FormConditionActionBean> getFormConditionActionBeanList()
返回:
所有的条件

toXML4AppMain

public java.lang.String toXML4AppMain(int aSpace)
                               throws BusinessException
参数:
aSpace -
返回:
抛出:
java.lang.Exception
BusinessException

toXML4Resource

public java.lang.String toXML4Resource(int aSpace,
                                       FormBean formBean)
                                throws BusinessException
参数:
aSpace -
返回:
抛出:
java.lang.Exception
BusinessException

hasCanEditField

public boolean hasCanEditField()
判断权限中是否有可编辑字段

返回:

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
从类 BasePO 复制的描述
克隆对象,同时把新对象的id置为默认值

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

clone

public java.lang.Object clone(FormBean formBean)
                       throws java.lang.CloneNotSupportedException
抛出:
java.lang.CloneNotSupportedException

cloneWithRight

public java.lang.Object cloneWithRight(com.seeyon.ctp.form.util.Enums.FieldAccessType type)
                                throws java.lang.CloneNotSupportedException
克隆出对应参数作为权限的FormAuthViewBean

参数:
type - 权限枚举 参见com.seeyon.ctp.form.util.Enums.FieldAccessType
返回:
抛出:
java.lang.CloneNotSupportedException

getSerialNumberIds

public java.util.List<java.lang.Long> getSerialNumberIds()
返回此权限下所版本的所有流水号的id

返回:

getAuths

public java.util.Map<java.lang.Long,FormAuthViewBean> getAuths()

setAuths

public void setAuths(java.util.Map<java.lang.Long,FormAuthViewBean> auths)

addConditionFormAuthViewBean

public void addConditionFormAuthViewBean(FormAuthViewBean favb)
添加此权限的某一高级权限

参数:
favb -

removeConditionFormAuthViewBean

public void removeConditionFormAuthViewBean(java.lang.Long id)
移除此权限的某一个高级权限,添加到删除权限缓存

参数:
favb -

getRightFormAuthViewBean

public FormAuthViewBean getRightFormAuthViewBean(java.util.Map<java.lang.String,java.lang.Object> dataMap)
                                          throws BusinessException
通过值得到对应的权限,如果值没有满足的条件则返回当前权限

参数:
dataMap -
返回:
抛出:
javax.script.ScriptException
BusinessException

setDefaultAuth

public void setDefaultAuth(FormBean fb)
                    throws BusinessException
设置单元格的默认权限,之前在infopath文件导入时设置,现在移到此次,部分录入类型的权限要在录入类型确定后才能确定默认权限

抛出:
BusinessException

addFormOperationBindEvent

public void addFormOperationBindEvent(java.util.List<com.seeyon.ctp.form.bean.Operation_BindEvent> bindEvnetList)

getOperationBindEvent

public java.util.List<com.seeyon.ctp.form.bean.Operation_BindEvent> getOperationBindEvent()

setOperationEvent

public void setOperationEvent(java.util.List<com.seeyon.ctp.form.bean.Operation_BindEvent> bindEventList)

addFormDEEBindEvent

public void addFormDEEBindEvent(java.util.List<com.seeyon.ctp.form.dee.bean.InfoPath_DeeTask> deeEvnetList)

getDEEBindEvent

public java.util.List<com.seeyon.ctp.form.dee.bean.InfoPath_DeeTask> getDEEBindEvent()

setDeeEvent

public void setDeeEvent(java.util.List<com.seeyon.ctp.form.dee.bean.InfoPath_DeeTask> deeEventList)