it.geosolutions.geobatch.users.dao
Interface GenericDAO<T,ID extends java.io.Serializable>
- All Known Subinterfaces:
- GBUserDAO, UserFlowAccessDAO
- All Known Implementing Classes:
- DAOAbstractSpring, HibGBUserDAO, HibUserFlowAccessDAO
public interface GenericDAO<T,ID extends java.io.Serializable>
- Author:
- giuseppe
findById
T findById(ID id,
boolean lock)
throws DAOException
- Throws:
DAOException
findAll
java.util.List<T> findAll()
throws DAOException
- Throws:
DAOException
findAll
java.util.List<T> findAll(int offset,
int limit)
throws DAOException
- Throws:
DAOException
makePersistent
T makePersistent(T entity)
throws DAOException
- Throws:
DAOException
makeTransient
void makeTransient(T entity)
throws DAOException
- Throws:
DAOException
lock
void lock(T entity)
throws DAOException
- Throws:
DAOException
Copyright © 2008-2012 GeoSolutions. All Rights Reserved.