Skip navigation links
A B C D E G I J L M O R S T V W 

A

addExcludeColumn(String) - Method in class org.riversun.d6.core.D6Inex
Add a column name to be excluded from the search condition
addIncludeColumn(String) - Method in class org.riversun.d6.core.D6Inex
Add a column name to be included in the search condition
AND() - Method in class org.riversun.d6.core.WhereCondition
Add 'AND' condition into WHERE clause

B

build() - Method in class org.riversun.d6.core.ModelClazzColumnNameAndFieldMapper
 

C

clear() - Method in class org.riversun.d6.core.D6Inex
Clear include/exclude column names added
Col(String) - Method in class org.riversun.d6.core.WhereCondition
Add columnName into WHERE clause
columnList - Variable in class org.riversun.d6.predev.D6JavaModelGen4MySQL.DBDefinition
 
createDBConnection() - Method in class org.riversun.d6.DBConnCreator
get connection object from driver manager

D

D6Crud - Class in org.riversun.d6.core
Class with crud methods
D6Crud(DBConnInfo) - Constructor for class org.riversun.d6.core.D6Crud
Constructor
D6CrudDeleteHelper - Class in org.riversun.d6.core
Helper class to perform the following using the model classes
-To generate DELETE statement
-Populate properties of the model object into prepared statement

Called from D6Crud
D6CrudDeleteHelper(Class<? extends D6Model>) - Constructor for class org.riversun.d6.core.D6CrudDeleteHelper
 
D6CrudHelperBase - Class in org.riversun.d6.core
Base class with common method for CRUD helper
D6CrudHelperBase(Class<? extends D6Model>) - Constructor for class org.riversun.d6.core.D6CrudHelperBase
 
D6CrudInsertHelper - Class in org.riversun.d6.core
Helper class to INSEDRT statement
-Populate properties of the model object into prepared statement

Called from D6Crud
D6CrudInsertHelper(Class<? extends D6Model>) - Constructor for class org.riversun.d6.core.D6CrudInsertHelper
 
D6CrudSelectHelper - Class in org.riversun.d6.core
Helper class to perform the following using the model classes
-Have utility method for SELECT statement

Called from D6Crud
D6CrudSelectHelper(Class<? extends D6Model>) - Constructor for class org.riversun.d6.core.D6CrudSelectHelper
 
D6CrudUpdateHelper - Class in org.riversun.d6.core
Helper class to perform the following using the model classes
-To generate UPDATE statement
-Populate properties of the model object into prepared statement

Called from D6Crud
D6CrudUpdateHelper(Class<? extends D6Model>) - Constructor for class org.riversun.d6.core.D6CrudUpdateHelper
 
D6DateUtil - Class in org.riversun.d6.core
Helper class for converting form java.util.Date to java.sql.Date/java.sql.Time/java.sql.TimeStamp
D6DateUtil() - Constructor for class org.riversun.d6.core.D6DateUtil
 
D6Exception - Exception in org.riversun.d6.core
D6Exception
D6Exception(String) - Constructor for exception org.riversun.d6.core.D6Exception
 
D6Exception(Exception) - Constructor for exception org.riversun.d6.core.D6Exception
 
D6Inex - Class in org.riversun.d6.core
Select columns to Inlude / Exclude
D6Inex() - Constructor for class org.riversun.d6.core.D6Inex
 
D6JavaModelGen4MySQL - Class in org.riversun.d6.predev
Utility class to generate the Java Model Class code from the MySQL table definitions(String obtained by the "desc table name")
D6JavaModelGen4MySQL() - Constructor for class org.riversun.d6.predev.D6JavaModelGen4MySQL
 
D6JavaModelGen4MySQL.DBColumnDef - Class in org.riversun.d6.predev
 
D6JavaModelGen4MySQL.DBDefinition - Class in org.riversun.d6.predev
 
D6Logger - Class in org.riversun.d6.core
Simple logger for D6
D6Logger() - Constructor for class org.riversun.d6.core.D6Logger
 
D6Model - Interface in org.riversun.d6
Model class interface for D6 model
D6RuntimeException - Exception in org.riversun.d6.core
Runtime Exception of D6
D6RuntimeException() - Constructor for exception org.riversun.d6.core.D6RuntimeException
 
D6RuntimeException(String) - Constructor for exception org.riversun.d6.core.D6RuntimeException
 
D6RuntimeException(String, Throwable, boolean, boolean) - Constructor for exception org.riversun.d6.core.D6RuntimeException
 
D6RuntimeException(String, Throwable) - Constructor for exception org.riversun.d6.core.D6RuntimeException
 
D6RuntimeException(Throwable) - Constructor for exception org.riversun.d6.core.D6RuntimeException
 
DBColumn - Annotation Type in org.riversun.d6.annotation
Annotation for DB Column
DBColumnDef() - Constructor for class org.riversun.d6.predev.D6JavaModelGen4MySQL.DBColumnDef
 
dbColumnName - Variable in class org.riversun.d6.predev.D6JavaModelGen4MySQL.DBColumnDef
 
dbColumnType - Variable in class org.riversun.d6.predev.D6JavaModelGen4MySQL.DBColumnDef
 
DBConnCreator - Class in org.riversun.d6
class for creating Database Connection by DriverManager
DBConnCreator(DBConnInfo) - Constructor for class org.riversun.d6.DBConnCreator
 
DBConnInfo - Class in org.riversun.d6
Info for DB connection
DBConnInfo() - Constructor for class org.riversun.d6.DBConnInfo
 
DBDefinition() - Constructor for class org.riversun.d6.predev.D6JavaModelGen4MySQL.DBDefinition
 
DBDriver - Variable in class org.riversun.d6.DBConnInfo
 
DBPassword - Variable in class org.riversun.d6.DBConnInfo
 
DBTable - Annotation Type in org.riversun.d6.annotation
Annotation for DB Table
dbTableName - Variable in class org.riversun.d6.predev.D6JavaModelGen4MySQL.DBDefinition
 
DBUrl - Variable in class org.riversun.d6.DBConnInfo
 
DBUser - Variable in class org.riversun.d6.DBConnInfo
 
DEBUG - Static variable in class org.riversun.d6.core.D6Logger
 

E

Equals() - Method in class org.riversun.d6.core.WhereCondition
Add '=' operator into WHERE clause
execDelete(Class<? extends D6Model>) - Method in class org.riversun.d6.core.D6Crud
Delete the appropriate line in the specified model object
execDelete(D6Model) - Method in class org.riversun.d6.core.D6Crud
Delete the appropriate lines in the specified model object
execDelete(D6Model[]) - Method in class org.riversun.d6.core.D6Crud
Delete the appropriate lines in specified model objects
execInsert(D6Model[]) - Method in class org.riversun.d6.core.D6Crud
Insert the specified model object into the DB
execInsert(D6Model[], D6Inex) - Method in class org.riversun.d6.core.D6Crud
Insert the specified model object into the DB
execSelectCount(Class<? extends D6Model>) - Method in class org.riversun.d6.core.D6Crud
Returns the total number of the lines of rows corresponding to the specified model class
execSelectCount(Class<? extends D6Model>, WhereCondition) - Method in class org.riversun.d6.core.D6Crud
Returns the total number of the lines of rows corresponding to the specified model class
execSelectCount(Class<? extends D6Model>, WhereCondition, Object[]) - Method in class org.riversun.d6.core.D6Crud
Returns the total number of the lines of rows corresponding to the specified model class
execSelectCount(String) - Method in class org.riversun.d6.core.D6Crud
Execute the SQL for number search
ex.SELECT COUNT(*) FROM table;
execSelectCount(String, Object[]) - Method in class org.riversun.d6.core.D6Crud
Execute the SQL for number search
execSelectTable(Class<? extends D6Model>) - Method in class org.riversun.d6.core.D6Crud
Execute select statement and returns the all lines of rows corresponding to the specified model class as array of Objects
execSelectTable(Class<? extends D6Model>, WhereCondition) - Method in class org.riversun.d6.core.D6Crud
 
execSelectTable(Class<? extends D6Model>, WhereCondition, Object[]) - Method in class org.riversun.d6.core.D6Crud
 
execSelectTable(String, Class<? extends D6Model>) - Method in class org.riversun.d6.core.D6Crud
Execute select statement for the single table.
execSelectTable(String, Object[], Class<? extends D6Model>) - Method in class org.riversun.d6.core.D6Crud
Execute select statement for the single table.
execSelectTableWithJoin(String, Class<? extends D6Model>...) - Method in class org.riversun.d6.core.D6Crud
Execute select statement for the joined multiple table.
#execSelectTableWithJoin(String, String[], Class...)
execSelectTableWithJoin(String, Object[], Class<? extends D6Model>...) - Method in class org.riversun.d6.core.D6Crud
Execute select statement for the joined multiple table.


-About SQL
You can use prepared SQL.

In addition,you can also use non-wildcard ('?') SQL (=raw SQL).In this case searchKeys must be null or empty array(size 0 array).
When you use a wildcard('?'), you must not include the "'"(=>single quotes) to preparedSQL.

-About processing
Used when you execute the SQL that is JOIN multiple tables.
In this method, you can specify more than one model class.
When the column name specified in the annotation of the model classes is included in the resultSet,
a value corresponding to the column name is set to the corresponding field of model objects.
In other words, if multiple model class has the same column name, values in the resultSet is set in the same manner for each mode class.
execUpdate(D6Model) - Method in class org.riversun.d6.core.D6Crud
Update Model Object
execUpdate(D6Model, D6Inex) - Method in class org.riversun.d6.core.D6Crud
Update Model Object
execUpdateByRawSQL(String) - Method in class org.riversun.d6.core.D6Crud
Execute raw SQL for update

G

generateModelClass(String) - Method in class org.riversun.d6.predev.D6JavaModelGen4MySQL
 
generateModelClass(D6JavaModelGen4MySQL.DBDefinition) - Method in class org.riversun.d6.predev.D6JavaModelGen4MySQL
[EN]generate model class text
getAsModel(Map<Class<?>, List<Object>>, Class<? extends D6Model>) - Method in class org.riversun.d6.core.D6Crud
convert result into ModelObject from the result of execSelectWithJoin
getDatabaseDefinitionFromMySqlTableDescText(String) - Method in class org.riversun.d6.predev.D6JavaModelGen4MySQL
Get the database definition class from MySQL database desc string
getSqlDate(int, int, int) - Static method in class org.riversun.d6.core.D6DateUtil
Get SQL Date(java.sql.Date) from supplied parameters
getSqlDate(Date) - Static method in class org.riversun.d6.core.D6DateUtil
Get SQL Date(java.sql.Date) from java.util.Date
getSqlTime(int, int, int) - Static method in class org.riversun.d6.core.D6DateUtil
Get SQL Time(java.sql.Time) from supplied parameters
getSqlTime(Date) - Static method in class org.riversun.d6.core.D6DateUtil
Get java.sql.Time from java.util.Date
getSqlTimeStamp(Date) - Static method in class org.riversun.d6.core.D6DateUtil
Get java.sql.Timestamp from java.util.Date

I

isAutoIncrement - Variable in class org.riversun.d6.predev.D6JavaModelGen4MySQL.DBColumnDef
 
isNullable - Variable in class org.riversun.d6.predev.D6JavaModelGen4MySQL.DBColumnDef
 
isPrimaryKey - Variable in class org.riversun.d6.predev.D6JavaModelGen4MySQL.DBColumnDef
 
isUnique - Variable in class org.riversun.d6.predev.D6JavaModelGen4MySQL.DBColumnDef
 

J

javaClassName - Variable in class org.riversun.d6.predev.D6JavaModelGen4MySQL.DBDefinition
 
javaField - Variable in class org.riversun.d6.predev.D6JavaModelGen4MySQL.DBColumnDef
 
javaType - Variable in class org.riversun.d6.predev.D6JavaModelGen4MySQL.DBColumnDef
 

L

LessEqualsThan() - Method in class org.riversun.d6.core.WhereCondition
Add '<=' operator into WHERE clause
LessThan() - Method in class org.riversun.d6.core.WhereCondition
Add '<' operator into WHERE clause
log(Class<?>, String) - Static method in class org.riversun.d6.core.D6Logger
To output the standard log message to the standard out
loge(Class<?>, String, Exception...) - Static method in class org.riversun.d6.core.D6Logger
To output the error log message to the error out

M

manipulate(Collection<String>) - Method in class org.riversun.d6.core.D6Inex
Edit(mainly remove columnName) column collection to fit the Include/Exclude status
ModelClazzColumnNameAndFieldMapper - Class in org.riversun.d6.core
To generate the Map which key is columnName and value is model class's field info from D6 Model class
ModelClazzColumnNameAndFieldMapper(Class<?>) - Constructor for class org.riversun.d6.core.ModelClazzColumnNameAndFieldMapper
 
MoreEqualsThan() - Method in class org.riversun.d6.core.WhereCondition
Add '>=' operator into WHERE clause
MoreThan() - Method in class org.riversun.d6.core.WhereCondition
Add '>' operator into WHERE clause

O

OR() - Method in class org.riversun.d6.core.WhereCondition
Add 'OR' condition into WHERE clause
org.riversun.d6 - package org.riversun.d6
 
org.riversun.d6.annotation - package org.riversun.d6.annotation
 
org.riversun.d6.core - package org.riversun.d6.core
 
org.riversun.d6.predev - package org.riversun.d6.predev
 

R

rebuild(Map<String, D6ModelClassFieldInfo>) - Method in class org.riversun.d6.core.ModelClazzColumnNameAndFieldMapper
 

S

setLogging(boolean) - Static method in class org.riversun.d6.core.D6Logger
To enable logging

T

toString() - Method in class org.riversun.d6.predev.D6JavaModelGen4MySQL.DBColumnDef
 

V

Val(Object) - Method in class org.riversun.d6.core.WhereCondition
Add value of column into WHERE clause
ValWildCard() - Method in class org.riversun.d6.core.WhereCondition
Add value as wildcard

W

WHERE(WhereCondition) - Method in class org.riversun.d6.core.WhereCondition
Add WhereCondition object itself surrounded with bracket into where clause
WhereCondition - Class in org.riversun.d6.core
Where condition builder
WhereCondition() - Constructor for class org.riversun.d6.core.WhereCondition
 
A B C D E G I J L M O R S T V W 
Skip navigation links

Copyright © 2015. All rights reserved.