net.sf.easyweb4j.repository.orm
Interface ORMRepository<T>

All Superinterfaces:
Repository<T>
All Known Implementing Classes:
HibernateRepository, JPARepository

public interface ORMRepository<T>
extends Repository<T>


Method Summary
 T find(Serializable id)
           
 T find(Serializable id, boolean lock)
           
 List<T> findAll()
           
 List<T> merge(Collection<T> models)
           
 List<T> merge(T... models)
           
 T merge(T model)
           
 void persist(Collection<T> models)
           
 void persist(T... models)
           
 void persist(T model)
           
 void remove(Collection<T> models)
           
 void remove(T... models)
           
 void remove(T model)
           
 

Method Detail

find

T find(Serializable id)

find

T find(Serializable id,
       boolean lock)

findAll

List<T> findAll()

persist

void persist(T model)

merge

T merge(T model)

remove

void remove(T model)

persist

void persist(T... models)

merge

List<T> merge(T... models)

remove

void remove(T... models)

persist

void persist(Collection<T> models)

merge

List<T> merge(Collection<T> models)

remove

void remove(Collection<T> models)


Copyright © 2009-2010 Chandra Sekar S. All Rights Reserved.