public class GenericSIDAOTemplate extends AbstractDAOTemplate
| 构造器和说明 |
|---|
GenericSIDAOTemplate() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
configureCheckedExceptions()
Override this method to add checked exceptions to the throws clause of
any generated DAO method.
|
protected void |
configureConstructorTemplate()
Override this method to configure a constructor for generated DAO
implementation classes.
|
protected void |
configureDeleteMethodTemplate()
Override this method to configure a delete method template.
|
protected void |
configureFields()
Override this method to add fields to any generated DAO implementation
class.
|
protected void |
configureImplementationImports()
Override this method to add imports to generated DAO implementation
classes.
|
protected void |
configureInsertMethodTemplate()
Override this method to configure an insert method template.
|
protected void |
configureMethods()
Override this method to add methods to generated DAO implementation
classes.
|
protected void |
configureQueryForListMethodTemplate()
Override this method to configure a queryForList method template.
|
protected void |
configureQueryForObjectMethodTemplate()
Override this method to configure a queryForObject method template.
|
protected void |
configureUpdateMethodTemplate()
Override this method to configure an update method template.
|
addCheckedException, addField, addImplementationImport, addInterfaceImport, addMethod, configureInterfaceImports, configureSuperClass, getCheckedExceptions, getConstructorClone, getDeleteMethod, getFieldClones, getImplementationImports, getInsertMethod, getInterfaceImports, getMethodClones, getQueryForListMethod, getQueryForObjectMethod, getSuperClass, getUpdateMethod, setConstructorTemplate, setDeleteMethodTemplate, setInsertMethodTemplate, setQueryForListMethodTemplate, setQueryForObjectMethodTemplate, setSuperClass, setUpdateMethodTemplateprotected void configureCheckedExceptions()
AbstractDAOTemplateaddCheckedException(FullyQualifiedJavaType) one or more
times to add checked exception(s) to all generated DAO methods.protected void configureConstructorTemplate()
AbstractDAOTemplatesetConstructorTemplate(Method) to set the constructor
template.protected void configureDeleteMethodTemplate()
AbstractDAOTemplatesetDeleteMethodTemplate(String) method to set the template.protected void configureFields()
AbstractDAOTemplateaddField(Field) one
or more times to add field(s) to the generated DAO implementation class.configureFields 在类中 AbstractDAOTemplateprotected void configureImplementationImports()
AbstractDAOTemplateaddImplementationImport(FullyQualifiedJavaType) one or more
times to add import(s) to generated DAO implementation classes.protected void configureInsertMethodTemplate()
AbstractDAOTemplatesetInsertMethodTemplate(String) method to set the template.protected void configureMethods()
AbstractDAOTemplateaddMethod(Method)
one or more times to add method(s) to generated DAO implementation
classes.configureMethods 在类中 AbstractDAOTemplateprotected void configureQueryForListMethodTemplate()
AbstractDAOTemplatesetQueryForListMethodTemplate(String) method to set the
template.protected void configureQueryForObjectMethodTemplate()
AbstractDAOTemplatesetQueryForObjectMethodTemplate(String) method to set the
template.protected void configureUpdateMethodTemplate()
AbstractDAOTemplatesetUpdateMethodTemplate(String) method to set the template.Copyright © 2006–2016 MyBatis.org. All rights reserved.