package com.vci.client.portal.form.defaultvalue; import com.vci.client.uif.actions.client.AbstractBatchBusionessOperationAction; /** * @Title :属性卡表单(一般指对象新建)中字段默认值获取自定义类示例1:获取当前新建对象默认的初始版本版次 * @Description : * @Copyright :宏博远达科技有限公司 * @Author :平台与规划部/ZhongGY/E-mail:zhonggy@vci-tech.com * @Date :2015-6-23 * @Version :1 * @Other :产生注释:Alt+Shift+J */ public class InitRevVer implements IFormFieldDefaultValue{ @Override public String getDefaultValue( AbstractBatchBusionessOperationAction btnInstance) throws Exception { // TODO:根据btnInstance的参数"type"获取到业务类型,再根据业务类型定义获取初始版本版次如"A.1" @SuppressWarnings("unused") String bizTypeName = btnInstance.getButtonParams().get("type"); //1、根据业务类型名称"bizTypeName"获取业务类型 //2、根据业务类型获取版本版次规则... return "A.1"; } }