com.ideo.sweetdev.business.service.user
Interface IUserService

All Superinterfaces:
IService
All Known Implementing Classes:
UserService

public interface IUserService
extends IService

 

Method Summary
 boolean authenticate(IUser user, java.lang.String _login, java.lang.String _password)
          Return the registration result of this user and keep in the local.
 IUser authenticate(java.lang.String _login, java.lang.String _password)
          Return a IUser object if the user with the given login and password is registered.
 java.util.Collection getUsers()
          Return the collection of all the IUser
 
Methods inherited from interface com.ideo.sweetdev.core.service.IService
configure, getServiceName, init, refresh
 

Method Detail

authenticate

public IUser authenticate(java.lang.String _login,
                          java.lang.String _password)
                   throws TechnicalException,
                          FunctionalException
Return a IUser object if the user with the given login and password is registered. Else throw a Technical or Functional exception.

Throws:
TechnicalException - exception
FunctionalException - exception
Parameters:
_login - String
_password - String
Returns:
IUser

authenticate

public boolean authenticate(IUser user,
                            java.lang.String _login,
                            java.lang.String _password)
Return the registration result of this user and keep in the local.

Throws:
TechnicalException
FunctionalException
Parameters:
user -
_login -
_password -
Returns:
boolean

getUsers

public java.util.Collection getUsers()
Return the collection of all the IUser

Returns:
Collection