com.google.code.ssm.test.dao
Class SpecificDAOImpl

java.lang.Object
  extended by com.google.code.ssm.test.dao.SpecificDAOImpl
All Implemented Interfaces:
GenericDAO<AppUser>, SpecificDAO

@Repository(value="specificDao")
public class SpecificDAOImpl
extends Object
implements SpecificDAO

Author:
Chiara Zambelli

Field Summary
 
Fields inherited from interface com.google.code.ssm.test.dao.SpecificDAO
NAME
 
Constructor Summary
SpecificDAOImpl()
           
 
Method Summary
 AppUser getRandomUserByPk(AppUserPK pk)
           
 void updateUser(AppUser entity)
           
 void updateUser(AppUser entity, int id)
           
 void updateUser(int id)
           
 void updateUserWithoutGenerics(AppUser entity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecificDAOImpl

public SpecificDAOImpl()
Method Detail

updateUser

public void updateUser(AppUser entity)
Specified by:
updateUser in interface GenericDAO<AppUser>

updateUserWithoutGenerics

public void updateUserWithoutGenerics(AppUser entity)
Specified by:
updateUserWithoutGenerics in interface SpecificDAO

updateUser

public void updateUser(AppUser entity,
                       int id)
Specified by:
updateUser in interface SpecificDAO

updateUser

public void updateUser(int id)

getRandomUserByPk

public AppUser getRandomUserByPk(AppUserPK pk)
Specified by:
getRandomUserByPk in interface SpecificDAO


Copyright © 2014. All rights reserved.