fr.paris.lutece.plugins.userban.service.user
Class UserService

java.lang.Object
  extended by fr.paris.lutece.plugins.userban.service.AbstractService<String,User>
      extended by fr.paris.lutece.plugins.userban.service.user.UserService
All Implemented Interfaces:
IAbstractService<String,User>, IUserService

public class UserService
extends AbstractService<String,User>
implements IUserService

The User class service

Author:
jchaline

Field Summary
static org.apache.log4j.Logger LOGGER
           
 
Constructor Summary
UserService()
           
 
Method Summary
protected  Class<User> getBeanClass()
          Get the class type of the bean
protected  IAbstractDAO<String,User> getDAO()
          Get the bean dao
 boolean userMatchState(String id, String state)
          Find if user guid match with state given
 
Methods inherited from class fr.paris.lutece.plugins.userban.service.AbstractService
doDeleteBean, doSaveBean, find, findAll, findByPrimaryKey
 
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.service.IAbstractService
doDeleteBean, doSaveBean, find, findAll, findByPrimaryKey
 

Field Detail

LOGGER

public static final org.apache.log4j.Logger LOGGER
Constructor Detail

UserService

public UserService()
Method Detail

getDAO

protected IAbstractDAO<String,User> getDAO()
Description copied from class: AbstractService
Get the bean dao

Specified by:
getDAO in class AbstractService<String,User>
Returns:
the dao

getBeanClass

protected Class<User> getBeanClass()
Description copied from class: AbstractService
Get the class type of the bean

Specified by:
getBeanClass in class AbstractService<String,User>
Returns:
the class type

userMatchState

public boolean userMatchState(String id,
                              String state)
Description copied from interface: IUserService
Find if user guid match with state given

Specified by:
userMatchState in interface IUserService
Parameters:
id - the id of the user
state - the state of the user
Returns:
true if state exist for user, false otherwise


Copyright © 2013 Mairie de Paris. All Rights Reserved.