Make the API for dao more ffluent and transparent
commit981f5e44973af4b4ba5f314fa04559d23dca22bf
authorImran M Yousuf <imyousuf@smartitengineering.com>
Mon, 9 Jun 2008 09:26:45 +0000 (9 15:26 +0600)
committerImran M Yousuf <imyousuf@smartitengineering.com>
Mon, 9 Jun 2008 09:26:45 +0000 (9 15:26 +0600)
treedb3c2702296a61a77068011eeb09ded3f0b533ba
parent826179a31fe390d84206c2e3b6e52575bbf2ae45
Make the API for dao more ffluent and transparent

First change done is separated the Read and write interfaces. Second
change done is name for the read APIs made more consistent. Introduce
common daos' for read and read-write.
This changes were inspired by the fact that caching will be introduced
in the API.

Add .gitignore file to ignore contents of target folder

Signed-off-by: Imran M Yousuf <imyousuf@smartitengineering.com>
.gitignore [new file with mode: 0644]
smart-abstract-dao/src/main/java/com/smartitengineering/dao/common/CommonDao.java
smart-abstract-dao/src/main/java/com/smartitengineering/dao/common/CommonReadDao.java [copied from smart-abstract-dao/src/main/java/com/smartitengineering/dao/common/CommonDaoWithVarArgs.java with 67% similarity]
smart-abstract-dao/src/main/java/com/smartitengineering/dao/common/CommonReadDaoWithList.java [copied from smart-abstract-dao/src/main/java/com/smartitengineering/dao/common/CommonDaoWithList.java with 86% similarity]
smart-abstract-dao/src/main/java/com/smartitengineering/dao/common/CommonReadDaoWithMap.java [moved from smart-abstract-dao/src/main/java/com/smartitengineering/dao/common/CommonDaoWithList.java with 86% similarity]
smart-abstract-dao/src/main/java/com/smartitengineering/dao/common/CommonReadDaoWithVarArgs.java [moved from smart-abstract-dao/src/main/java/com/smartitengineering/dao/common/CommonDaoWithVarArgs.java with 86% similarity]
smart-abstract-dao/src/main/java/com/smartitengineering/dao/common/CommonWriteDao.java [new file with mode: 0644]
smart-hibernate-abstract-dao/src/main/java/com/smartitengineering/dao/impl/hibernate/AbstractCommonDaoImpl.java