package com.vci.client.workflow.editor;
|
|
public class FlowConstants {
|
|
/**
|
* system separator
|
*/
|
public static final String NEWLINE = System.getProperty("line.separator");
|
|
/**
|
* Tab Escape character
|
*/
|
public static final String TAB = "\t";
|
|
public static final String PROCESS_APPLICANT = "#{process_applicant}";
|
|
/**
|
* XML head property
|
*/
|
public static final String PREFIX = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
|
|
/**
|
* XML NS
|
*/
|
public static final String XMLNS = "http://jbpm.org/4.3/jpdl";
|
|
/**
|
* XML bodysName
|
*/
|
public static final String BODYSNAME = "PROCESS";
|
|
/**
|
* XML 坐标属性
|
*/
|
|
public static final String XMLCOORDINATEKEY = "g";
|
|
/**
|
* XML 用户属性
|
*/
|
public static final String XMLUSER = "assignee";
|
|
/**
|
* XML property candidate-users
|
*/
|
public static final String XMLUSERS = "candidate-users";
|
/**
|
* 自定义XML元素 --委托人
|
*/
|
public static final String XMLCONSTITUENT = "constituent";
|
|
/**
|
* XML property candidate-groups
|
*/
|
public static final String XMLUSERGROUP = "candidate-groups";
|
|
/**
|
* XML key
|
*/
|
public static final String XMLKEY = "key";
|
|
/**
|
* XML version
|
*/
|
public static final String XMLVERSION = "version";
|
|
/**
|
* XML 名称属性
|
*/
|
public static final String XMLNAME = "name";
|
|
public static final String TASK_EVENT = "task_event";
|
|
public static final String TASK_PHASE = "task_phase";
|
|
public static final String EVENT = "event";
|
public static final String EVENT_ON = "on";
|
public static final String EVENT_LISTENER = "event-listener";
|
public static final String EVENT_CLASS = "class";
|
public static final String EVENT_FIELD = "field";
|
public static final String EVENT_STRING = "string";
|
public static final String EVENT_VALUE = "value";
|
|
//全局变量
|
public static final String GLOBAL = "global";
|
|
//路由事件
|
public static final String TRANSITION_EVENT = "take";
|
|
/**
|
* 引号转义符
|
*/
|
public static final String QUOTES = "\"";
|
|
/**
|
* 连接线
|
*/
|
public static final String TRANSITION = "transition";
|
|
/**
|
* XML start
|
*/
|
public static final String XMLSTART = "start";
|
|
/**
|
* XML start
|
*/
|
public static final String XMLEND = "end";
|
|
/**
|
* XML task
|
*/
|
public static final String XMLTASK = "task";
|
|
/**
|
* XML task 判断
|
*/
|
public static final String XMLDECISION = "decision";
|
|
/**
|
* XML task 分支
|
*/
|
public static final String XMLFORK = "fork";
|
|
/**
|
* XML task 合并
|
*/
|
public static final String XMLJOIN = "join";
|
/**
|
* XML icon
|
*/
|
public static final String XMLICON = "icon";
|
|
/**
|
* XML property width
|
*/
|
public static final String XMLWIDTH = "width";
|
|
/**
|
* XML property height
|
*/
|
public static final String XMLHIGHT = "height";
|
|
/**
|
* XML property Target
|
*/
|
public static final String XMLTARGET = "to";
|
|
/**
|
* XML root level
|
*/
|
public static final int XMLROOTLV = 0;
|
|
/**
|
* XML Class type
|
*/
|
public static final String ELEMENT_CLASS = "class";
|
|
/**
|
* XML property type
|
*/
|
public static final String ELEMENT_PROPERTY = "property";
|
|
public static final String ROOT = "root";
|
|
public static String DECISION = "decision";
|
public static String EXPRESSION = "expr";
|
public static String HANDLER = "handler";
|
public static String ASSIFNMENT_HANDLER = "assignment-handler";
|
public static String CUSTOM = "custom";
|
|
/**
|
* 获取节点名称和相应的符号组合
|
*/
|
public static final int LEFTSIGN = 0001; // <nadename
|
public static final int RIGHTSIGN = 0002;// nadename>
|
public static final int RIGHTSIGNEND = 0003;// nadename\>
|
public static final int ALLBEGINSIGN = 0004;// <nadename>
|
public static final int ALLENDSIGN = 0005;// <\nadename>
|
public static final int ENDSIGN = 0006;// \>
|
public static final int BEGINSIGN = 0007;// >
|
|
public static final String FLOW_PHASE = "phase";
|
public static final String FLOW_CHECK = "check";
|
|
// -- store入库, edit修, enable启用, disable停用, discard报废, delete删除, ebom 接收, mbom同步
|
|
public final static String PROCESS_TYPE_STORE = "store";
|
public final static String PROCESS_TYPE_EDIT = "edit";
|
public final static String PROCESS_TYPE_ENABLE = "enable";
|
public final static String PROCESS_TYPE_DISABLE = "disable";
|
public final static String PROCESS_TYPE_DISCARD = "discard";
|
public final static String PROCESS_TYPE_DELETE = "delete";
|
public final static String PROCESS_TYPE_EBOM = "ebom";
|
public final static String PROCESS_TYPE_MBOM = "mbom";
|
|
public final static String URL_PATH = "urlPath";
|
|
//add by weidy@2022-05-05
|
//增加会签通过比例
|
public final static String SIGN_VOTE_PRCENT ="votePercent";
|
|
//发送邮件设置
|
public final static String MAIL = "mail";
|
/**
|
* 语言
|
*/
|
public final static String MAIL_LANGUAGE= "language";
|
/**
|
* 抄送人
|
*/
|
public final static String MAIL_CC= "cc";
|
/**
|
* 密送
|
*/
|
public final static String MAIL_BCC= "bcc";
|
/**
|
*标题
|
*/
|
public final static String MAIL_SUBJECT= "subject";
|
/**
|
*内容
|
*/
|
public final static String MAIL_TEXT= "text";
|
/**
|
* 收件人地址
|
*/
|
public final static String MAIL_ADDRESSES= "addresses";
|
|
/**
|
* 子流程
|
*/
|
public final static String SUBPROCESS = "sub-process";
|
|
/**
|
* 子流程模板名称
|
*/
|
public final static String SUBPROCESSKEY = "sub-process-key";
|
/**
|
* 子流程模板ID
|
*/
|
public final static String SUBPROCESSID = "sub-process-id";
|
|
/**
|
* 转移
|
*/
|
public final static String OUTCOME = "outcome";
|
|
/**
|
* 控制策略
|
*/
|
public static String CONTROLPOLICY = "control-Policy";
|
|
/**
|
* 弹出用户窗口开关
|
* OFF为不弹出
|
* ON为弹出
|
*/
|
public static String POPUSERDIALOG_ON_OFF = "popUserDialogON_OFF";
|
public static String POPUSERDIALOG_ON = "ON";
|
public static String POPUSERDIALOG_OFF = "OFF";
|
|
public static String CUSTOMUSERCLASS = "customUserClass";
|
public static String CUSTOMUSERCLASS_flag = "customUserClass_flag";
|
|
|
/**
|
* 撤销
|
* OFF为不撤销
|
* ON为撤销
|
*/
|
public static String REVOKE_ON_OFF = "revokeON_OFF";
|
public static String REVOKE_ON = "ON";
|
public static String REVOKE_OFF = "OFF";
|
}
|