|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- ID
- public interface GenericDAO<T,ID extends java.io.Serializable>
Method Summary | |
---|---|
void |
beginTransaction()
|
void |
commitTransaction()
|
void |
delete(T entity)
|
java.util.List<T> |
findAll(int startIndex,
int fetchSize)
|
java.util.List<T> |
findByExample(T exampleInstance,
java.lang.String[] excludeProperty)
|
T |
findByPrimaryKey(ID id)
|
T |
save(T entity)
|
Method Detail |
---|
T findByPrimaryKey(ID id)
id
-
java.util.List<T> findAll(int startIndex, int fetchSize)
startIndex
- fetchSize
-
java.util.List<T> findByExample(T exampleInstance, java.lang.String[] excludeProperty)
exampleInstance
- excludeProperty
-
T save(T entity)
entity
-
void delete(T entity)
entity
- void beginTransaction()
void commitTransaction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |