A B C D E F G H I N P Q R S U V 
All Classes All Packages

A

addClass(Class) - Method in class com.github.amjadnas.sqldbmanager.utills.ClassHelper
Deprecated.
 
AnnotationProcessor - Class in com.github.amjadnas.sqldbmanager.utills
Utility class used to process the annotations

B

build(Class<T>) - Static method in class com.github.amjadnas.sqldbmanager.builder.DBHandler
this method is used to build database handler all the user has to is provide a handler class to be build be aware that every field in the handler class won't be instantiated if it's not annotated as a @Dao the DAOs must be provided as interfaces otherwise an IllegalArgumentException will be thrown.

C

ClassHelper - Class in com.github.amjadnas.sqldbmanager.utills
Deprecated.
Column - Annotation Type in com.github.amjadnas.sqldbmanager.annotations
Column is an annotation that
com.github.amjadnas.sqldbmanager.annotations - package com.github.amjadnas.sqldbmanager.annotations
 
com.github.amjadnas.sqldbmanager.builder - package com.github.amjadnas.sqldbmanager.builder
 
com.github.amjadnas.sqldbmanager.builder.queryhandlers - package com.github.amjadnas.sqldbmanager.builder.queryhandlers
 
com.github.amjadnas.sqldbmanager.exceptions - package com.github.amjadnas.sqldbmanager.exceptions
 
com.github.amjadnas.sqldbmanager.utills - package com.github.amjadnas.sqldbmanager.utills
 

D

Dao - Annotation Type in com.github.amjadnas.sqldbmanager.annotations
This annotation indicates that the annotated interface is a Dao Note: a Dao must be always an interface which will be initialized by the library
DBHandler - Class in com.github.amjadnas.sqldbmanager.builder
The class is used to build the database handler that enables to access the DAOs defend by the user
Delete - Annotation Type in com.github.amjadnas.sqldbmanager.annotations
The delete annotation is used to indicate that a method will perform delete operation on the database.
deleteBy() - Method in annotation type com.github.amjadnas.sqldbmanager.annotations.Delete
 
deleteQuery(String, String[]) - Static method in class com.github.amjadnas.sqldbmanager.utills.QueryBuilder
creates update query

E

entities() - Method in annotation type com.github.amjadnas.sqldbmanager.annotations.Handler
 
Entity - Annotation Type in com.github.amjadnas.sqldbmanager.annotations
This annotation indicates that this is an entity stored in the database.

F

FactoryQueryHandler - Class in com.github.amjadnas.sqldbmanager.builder.queryhandlers
Deprecated.
first - Variable in class com.github.amjadnas.sqldbmanager.utills.Pair
 

G

getEntities(Class<?>) - Static method in class com.github.amjadnas.sqldbmanager.utills.AnnotationProcessor
 
getFields(T) - Static method in class com.github.amjadnas.sqldbmanager.utills.ClassHelper
Deprecated.
 
getHandler(String) - Static method in class com.github.amjadnas.sqldbmanager.builder.queryhandlers.FactoryQueryHandler
Deprecated.
 
getInstance() - Static method in class com.github.amjadnas.sqldbmanager.utills.ClassHelper
Deprecated.
 
getMessage() - Method in exception com.github.amjadnas.sqldbmanager.exceptions.IllegalMethodException
 

H

handleQuery(Connection, String, Class<?>, Object...) - Method in interface com.github.amjadnas.sqldbmanager.builder.queryhandlers.QueryHandler
Deprecated.
 
Handler - Annotation Type in com.github.amjadnas.sqldbmanager.annotations
The annotation indicates the class is the access point for the DAOs the annotated class must be instantiated by calling DBHandler.build()

I

IllegalMethodException - Exception in com.github.amjadnas.sqldbmanager.exceptions
 
IllegalMethodException(String) - Constructor for exception com.github.amjadnas.sqldbmanager.exceptions.IllegalMethodException
 
IllegalMethodException(Throwable) - Constructor for exception com.github.amjadnas.sqldbmanager.exceptions.IllegalMethodException
 
IllegalReturnTypeException - Exception in com.github.amjadnas.sqldbmanager.exceptions
 
IllegalReturnTypeException(String) - Constructor for exception com.github.amjadnas.sqldbmanager.exceptions.IllegalReturnTypeException
 
Insert - Annotation Type in com.github.amjadnas.sqldbmanager.annotations
The annotation indicates the the given method is a method that performs an insert operation the method signature must be void/int/MyObject "methodName"(Connection, Object) where return type is if it's void then it returns nothing if it's MyObject it returns the inserted object with the auto generated id (if the primary key is auto increment) else if int then it would return the generated id or the number of affected rows
insertQuery(String, List<Pair<String, Object>>) - Static method in class com.github.amjadnas.sqldbmanager.utills.QueryBuilder
creates insert query
intercept(Connection, Object...) - Method in interface com.github.amjadnas.sqldbmanager.builder.QueryInterceptor
 
intercept2(Connection, Object) - Method in interface com.github.amjadnas.sqldbmanager.builder.QueryInterceptor
 
isAutoIncrement() - Method in annotation type com.github.amjadnas.sqldbmanager.annotations.Entity
 
isColumn(Field) - Static method in class com.github.amjadnas.sqldbmanager.utills.AnnotationProcessor
 
isDao(Class<?>) - Static method in class com.github.amjadnas.sqldbmanager.utills.AnnotationProcessor
 
isDao(Field) - Static method in class com.github.amjadnas.sqldbmanager.utills.AnnotationProcessor
 
isDelete(Method) - Static method in class com.github.amjadnas.sqldbmanager.utills.AnnotationProcessor
 
isEntity(Class<?>) - Static method in class com.github.amjadnas.sqldbmanager.utills.AnnotationProcessor
 
isHandler(Class<?>) - Static method in class com.github.amjadnas.sqldbmanager.utills.AnnotationProcessor
 
isInsert(Method) - Static method in class com.github.amjadnas.sqldbmanager.utills.AnnotationProcessor
 
isQuery(Class<?>) - Static method in class com.github.amjadnas.sqldbmanager.utills.AnnotationProcessor
 
isQuery(Method) - Static method in class com.github.amjadnas.sqldbmanager.utills.AnnotationProcessor
 
isUpdate(Method) - Static method in class com.github.amjadnas.sqldbmanager.utills.AnnotationProcessor
 

N

name() - Method in annotation type com.github.amjadnas.sqldbmanager.annotations.Column
the name of the column as it is stored in the database this field is mandatory because it helps the library to identify the the field and it's relative column in the database this column name must be provided exactly how to it's spelled in the database
name() - Method in annotation type com.github.amjadnas.sqldbmanager.annotations.Entity
 

P

Pair<F,​S> - Class in com.github.amjadnas.sqldbmanager.utills
data container used to hold key value pairs
Pair(F, S) - Constructor for class com.github.amjadnas.sqldbmanager.utills.Pair
 
primaryKey() - Method in annotation type com.github.amjadnas.sqldbmanager.annotations.Entity
 

Q

Query - Annotation Type in com.github.amjadnas.sqldbmanager.annotations
The annotation indicates that the method performs a SELECTION query the method signature must be MyObject/List of MyObject "methodName"(Connection, Object) be aware that if the return type was a single object and the query returns a list then the method will return the first object from the selected rows
QueryBuilder - Class in com.github.amjadnas.sqldbmanager.utills
Utility class used to create queries based on provided values
QueryHandler<T> - Interface in com.github.amjadnas.sqldbmanager.builder.queryhandlers
Deprecated.
QueryInterceptor - Interface in com.github.amjadnas.sqldbmanager.builder
 

R

runGetter(String, T) - Static method in class com.github.amjadnas.sqldbmanager.utills.ClassHelper
Deprecated.
 
runSetter(String, E, Object) - Static method in class com.github.amjadnas.sqldbmanager.utills.ClassHelper
Deprecated.
 

S

second - Variable in class com.github.amjadnas.sqldbmanager.utills.Pair
 

U

Update - Annotation Type in com.github.amjadnas.sqldbmanager.annotations
The update annotation is used to indicate that a method will perform update operation on the database.
updateBy() - Method in annotation type com.github.amjadnas.sqldbmanager.annotations.Update
 
updateQuery(String, String[], List<Pair<String, Object>>) - Static method in class com.github.amjadnas.sqldbmanager.utills.QueryBuilder
creates update query

V

value() - Method in annotation type com.github.amjadnas.sqldbmanager.annotations.Query
 
A B C D E F G H I N P Q R S U V 
All Classes All Packages