fr.paris.lutece.plugins.userban.dao
Interface IAbstractDAO<K,E>

Type Parameters:
K - the class for entity Key
E - the entity class
All Superinterfaces:
fr.paris.lutece.util.jpa.IGenericDAO<K,E>
All Known Subinterfaces:
IUserDAO
All Known Implementing Classes:
AbstractDAO, UserDAO

public interface IAbstractDAO<K,E>
extends fr.paris.lutece.util.jpa.IGenericDAO<K,E>

The interface class for abstract DAO


Method Summary
 ResultList<E> find(AbstractFilter<K> filter, Class<E> type, PaginationProperties paginationProperties)
          Find the bean which correspond to the filter given
 ResultList<E> findAll(PaginationProperties paginationProperties)
          Return all entities paged.
 
Methods inherited from interface fr.paris.lutece.util.jpa.IGenericDAO
create, detach, findAll, findById, flush, remove, update
 

Method Detail

findAll

ResultList<E> findAll(PaginationProperties paginationProperties)
Return all entities paged.

Parameters:
paginationProperties - properties for pagination
Returns:
the result list

find

ResultList<E> find(AbstractFilter<K> filter,
                   Class<E> type,
                   PaginationProperties paginationProperties)
Find the bean which correspond to the filter given

Parameters:
filter - the filter to use
type - the type class of the bean
paginationProperties - the pagination properties
Returns:
List of entities found.


Copyright © 2013 Mairie de Paris. All Rights Reserved.