FormManager.java
资源名称:oa.rar [点击查看]
上传用户:kimgenplus
上传日期:2016-06-05
资源大小:20877k
文件大小:1k
源码类别:
OA系统
开发平台:
Java
- package com.bjsxt.oa.managers;
- import java.util.List;
- import com.bjsxt.oa.model.FieldInput;
- import com.bjsxt.oa.model.FieldItem;
- import com.bjsxt.oa.model.FieldType;
- import com.bjsxt.oa.model.FlowForm;
- import com.bjsxt.oa.model.FormField;
- /**
- * 表单管理器
- * @author Lee
- *
- */
- public interface FormManager {
- //表单
- public void addForm(FlowForm form,int workflowId);
- public void delForm(int formId);
- public FlowForm findForm(int workflowId);
- public List searchAllForms();
- //表单域
- public void addField(FormField field,int formId,int fieldTypeId,int fieldInputId);
- public void delField(int fieldId);
- public FormField findFormField(int fieldId);
- public List searchAllFields(int formId);
- //表单域类型
- public FieldType findFieldType(int typeId);
- public List searchFieldTypes();
- //表单域输入框
- public FieldInput findFieldInput(int inputId);
- public List searchFieldInputs();
- public void updateFieldItems(int fieldId,List items);
- }