fr.paris.lutece.plugins.userban.dao.user
Class UserDAO

java.lang.Object
  extended by fr.paris.lutece.util.jpa.JPAGenericDAO<K,E>
      extended by fr.paris.lutece.portal.service.jpa.JPALuteceDAO<K,E>
          extended by fr.paris.lutece.plugins.userban.dao.AbstractDAO<String,User>
              extended by fr.paris.lutece.plugins.userban.dao.user.UserDAO
All Implemented Interfaces:
IAbstractDAO<String,User>, IUserDAO, fr.paris.lutece.util.jpa.IGenericDAO<String,User>

public class UserDAO
extends AbstractDAO<String,User>
implements IUserDAO

The User DAO class

Author:
jchaline

Field Summary
static String PLUGIN_NAME
           
 
Fields inherited from class fr.paris.lutece.plugins.userban.dao.AbstractDAO
LIKE_ENCLOSING, LOGGER
 
Constructor Summary
UserDAO()
           
 
Method Summary
protected  void buildCriteriaQuery(AbstractFilter<String> abstractFilter, javax.persistence.criteria.Root<User> root, javax.persistence.criteria.CriteriaQuery<User> query, javax.persistence.criteria.CriteriaBuilder builder)
          the method to implement to add the constraint
 String getPluginName()
           
 
Methods inherited from class fr.paris.lutece.plugins.userban.dao.AbstractDAO
addRestriction, buildCriteriaLikeString, buildSortQuery, createPagedQuery, find, findAll
 
Methods inherited from class fr.paris.lutece.portal.service.jpa.JPALuteceDAO
createNativeQuery, getEntityManagerFactory
 
Methods inherited from class fr.paris.lutece.util.jpa.JPAGenericDAO
create, detach, findAll, findById, flush, getEM, getEntityClass, getEntityClassName, remove, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.paris.lutece.plugins.userban.dao.IAbstractDAO
find, findAll
 
Methods inherited from interface fr.paris.lutece.util.jpa.IGenericDAO
create, detach, findAll, findById, flush, remove, update
 

Field Detail

PLUGIN_NAME

public static final String PLUGIN_NAME
See Also:
Constant Field Values
Constructor Detail

UserDAO

public UserDAO()
Method Detail

buildCriteriaQuery

protected void buildCriteriaQuery(AbstractFilter<String> abstractFilter,
                                  javax.persistence.criteria.Root<User> root,
                                  javax.persistence.criteria.CriteriaQuery<User> query,
                                  javax.persistence.criteria.CriteriaBuilder builder)
Description copied from class: AbstractDAO
the method to implement to add the constraint

Overrides:
buildCriteriaQuery in class AbstractDAO<String,User>
Parameters:
abstractFilter - the bean filter
root - the table root
query - the criteria query
builder - the criteria builder

getPluginName

public String getPluginName()
Specified by:
getPluginName in class fr.paris.lutece.portal.service.jpa.JPALuteceDAO<String,User>


Copyright © 2013 Mairie de Paris. All Rights Reserved.