|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mybatis.generator.codegen.ibatis2.dao.templates.AbstractDAOTemplate
org.mybatis.generator.codegen.ibatis2.dao.templates.GenericSIDAOTemplate
public class GenericSIDAOTemplate
Constructor Summary | |
---|---|
GenericSIDAOTemplate()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.mybatis.generator.codegen.ibatis2.dao.templates.AbstractDAOTemplate |
---|
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, setUpdateMethodTemplate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericSIDAOTemplate()
Method Detail |
---|
protected void configureCheckedExceptions()
AbstractDAOTemplate
addCheckedException(FullyQualifiedJavaType)
one or more
times to add checked exception(s) to all generated DAO methods.
configureCheckedExceptions
in class AbstractDAOTemplate
protected void configureConstructorTemplate()
AbstractDAOTemplate
setConstructorTemplate(Method)
to set the constructor
template.
configureConstructorTemplate
in class AbstractDAOTemplate
protected void configureDeleteMethodTemplate()
AbstractDAOTemplate
setDeleteMethodTemplate(String)
configureDeleteMethodTemplate
in class AbstractDAOTemplate
protected void configureFields()
AbstractDAOTemplate
addField(Field)
one
or more times to add field(s) to the generated DAO implementation class.
configureFields
in class AbstractDAOTemplate
protected void configureImplementationImports()
AbstractDAOTemplate
addImplementationImport(FullyQualifiedJavaType)
one or more
times to add import(s) to generated DAO implementation classes.
configureImplementationImports
in class AbstractDAOTemplate
protected void configureInsertMethodTemplate()
AbstractDAOTemplate
setInsertMethodTemplate(String)
configureInsertMethodTemplate
in class AbstractDAOTemplate
protected void configureMethods()
AbstractDAOTemplate
addMethod(Method)
one or more times to add method(s) to generated DAO implementation
classes.
configureMethods
in class AbstractDAOTemplate
protected void configureQueryForListMethodTemplate()
AbstractDAOTemplate
setQueryForListMethodTemplate(String)
configureQueryForListMethodTemplate
in class AbstractDAOTemplate
protected void configureQueryForObjectMethodTemplate()
AbstractDAOTemplate
setQueryForObjectMethodTemplate(String)
configureQueryForObjectMethodTemplate
in class AbstractDAOTemplate
protected void configureUpdateMethodTemplate()
AbstractDAOTemplate
setUpdateMethodTemplate(String)
configureUpdateMethodTemplate
in class AbstractDAOTemplate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |