com.googlecode.gendevcode.service.basic
类 GenCodeFilesServiceSupport

java.lang.Object
  继承者 com.googlecode.gendevcode.service.basic.ServiceSupport<GenCodeFilesServiceSupport>
      继承者 com.googlecode.gendevcode.service.basic.GenCodeFilesServiceSupport
所有已实现的接口:
BaseService, GenCodeFilesService
直接已知子类:
AntGenCodeFilesServiceImpl, MvnGenCodeFilesServiceImpl

public abstract class GenCodeFilesServiceSupport
extends ServiceSupport<GenCodeFilesServiceSupport>
implements GenCodeFilesService

生成代码文件基础类

作者:
devilishking

字段摘要
 
从类 com.googlecode.gendevcode.service.basic.ServiceSupport 继承的字段
FLAG_END
 
构造方法摘要
GenCodeFilesServiceSupport()
           
 
方法摘要
 void genCodeFilesXml(List<TablePdmXml> tablePdmXmlList, Map<String,ViewPdmXml> viewMap, String genLevel, ProjectXml projectXml)
          创建代码文件
 void genDictionaryXml(List<TablePdmXml> tablePdmXmlList, Map<String,ViewPdmXml> viewMap, ProjectXml projectXml)
          创建字典文件
 void genHibernateXml(List<TablePdmXml> tablePdmXmlList, Map<String,ViewPdmXml> viewMap, ProjectXml projectXml)
          创建Spring的hibernate配置文件信息
abstract  void genPagesFile(Map<String,Object> dataMap, TablePdmXml tablePdmXml, ViewPdmXml viewPdmXml, ProjectXml projectXml)
          创建页面文件
 void genServiceXml(List<TablePdmXml> tablePdmXmlList, Map<String,ViewPdmXml> viewMap, ProjectXml projectXml)
          创建Spring的service配置文件信息
 
从类 com.googlecode.gendevcode.service.basic.ServiceSupport 继承的方法
getNewId, inputBoolean, inputBoolean, inputDouble, inputDouble, inputInt, inputInt, inputLong, inputLong, inputStr, inputStr, setDebug, setDebug, setError, setError, setFatal, setFatal, setInfo, setInfo, setTrace, setTrace, setWarn, setWarn
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

GenCodeFilesServiceSupport

public GenCodeFilesServiceSupport()
方法详细信息

genHibernateXml

public void genHibernateXml(List<TablePdmXml> tablePdmXmlList,
                            Map<String,ViewPdmXml> viewMap,
                            ProjectXml projectXml)
                     throws Exception
创建Spring的hibernate配置文件信息

指定者:
接口 GenCodeFilesService 中的 genHibernateXml
参数:
tablePdmXmlList - 待生成的表信息列表
viewMap - 视图集合<视图编号, 视图信息>
projectXml - 项目信息
抛出:
Exception

genServiceXml

public void genServiceXml(List<TablePdmXml> tablePdmXmlList,
                          Map<String,ViewPdmXml> viewMap,
                          ProjectXml projectXml)
                   throws Exception
创建Spring的service配置文件信息

指定者:
接口 GenCodeFilesService 中的 genServiceXml
参数:
tablePdmXmlList - 待生成的表信息列表
viewMap - 视图集合<视图编号, 视图信息>
projectXml - 项目信息
抛出:
Exception

genDictionaryXml

public void genDictionaryXml(List<TablePdmXml> tablePdmXmlList,
                             Map<String,ViewPdmXml> viewMap,
                             ProjectXml projectXml)
                      throws Exception
创建字典文件

指定者:
接口 GenCodeFilesService 中的 genDictionaryXml
参数:
tablePdmXmlList - 待生成的表信息列表
viewMap - 视图集合<视图编号, 视图信息>
projectXml - 项目信息
抛出:
Exception

genCodeFilesXml

public void genCodeFilesXml(List<TablePdmXml> tablePdmXmlList,
                            Map<String,ViewPdmXml> viewMap,
                            String genLevel,
                            ProjectXml projectXml)
                     throws Exception
创建代码文件

指定者:
接口 GenCodeFilesService 中的 genCodeFilesXml
参数:
tablePdmXmlList - 待生成的表信息列表
viewMap - 视图集合<视图编号, 视图信息>
genLevel - 项目生成级别
projectXml - 项目信息
抛出:
Exception

genPagesFile

public abstract void genPagesFile(Map<String,Object> dataMap,
                                  TablePdmXml tablePdmXml,
                                  ViewPdmXml viewPdmXml,
                                  ProjectXml projectXml)
                           throws Exception
创建页面文件

参数:
dataMap - 页面所属数据
tablePdmXml - 表信息
viewPdmXml - 视图信息
projectXml - 项目信息
-
抛出:
Exception


Copyright © 2012 Devilishkom. All Rights Reserved.