|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.orm.hibernate3.support.HibernateDaoSupport
net.sf.pmr.core.data.user.UserMapperImpl
public class UserMapperImpl
| Field Summary |
|---|
| Fields inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
UserMapperImpl()
|
|
| Method Summary | |
|---|---|
void |
addOrUpdate(java.lang.Object entity)
add or update a user |
java.lang.Integer |
countAll()
Count All User |
void |
delete(java.lang.Object entity)
Delete a user |
java.util.List |
findAll()
find all users |
java.lang.Object |
findById(int id)
find a user by his Id |
User |
findByLogin(java.lang.String login)
find a user by his login |
java.util.Collection |
findCollectionForObject(java.lang.Object object)
|
| Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
|---|
afterPropertiesSet, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, initDao, releaseSession, setHibernateTemplate, setSessionFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserMapperImpl()
| Method Detail |
|---|
public final java.lang.Object findById(int id)
findById in interface net.sf.pmr.keopsframework.data.DomainObjectAggregateMemberMapperid - id
public final User findByLogin(java.lang.String login)
findByLogin in interface UserMapperlogin - login
public final java.util.List findAll()
findAll in interface UserMapperpublic final java.lang.Integer countAll()
countAll in interface UserMapperpublic final void addOrUpdate(java.lang.Object entity)
addOrUpdate in interface net.sf.pmr.keopsframework.data.DomainObjectRootAggregateMapperentity - user to updatepublic final void delete(java.lang.Object entity)
delete in interface net.sf.pmr.keopsframework.data.DomainObjectRootAggregateMapperentity - user to deletepublic final java.util.Collection findCollectionForObject(java.lang.Object object)
findCollectionForObject in interface net.sf.pmr.keopsframework.data.DomainListMapperDomainListMapper.findCollectionForObject(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||