Package org.javlo.user
Class MapDbUserFactory
- java.lang.Object
-
- org.javlo.user.UserFactory
-
- org.javlo.user.MapDbUserFactory
-
- All Implemented Interfaces:
Serializable
,IUserFactory
public class MapDbUserFactory extends UserFactory
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static char[]
FIELDS_KEY
-
Fields inherited from class org.javlo.user.UserFactory
logger, USER_FACTORY_KEY, userInfoList
-
Fields inherited from interface org.javlo.user.IUserFactory
AUTO_LOGIN_AGE_SEC, TOKEN_PARAM
-
-
Constructor Summary
Constructors Constructor Description MapDbUserFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addUserInfo(IUserInfo userInfo)
User
getUser(String login)
List<IUserInfo>
getUserInfoList()
void
init(GlobalContext globalContext, javax.servlet.http.HttpSession newSession)
void
updateUserInfo(IUserInfo userInfo)
-
Methods inherited from class org.javlo.user.UserFactory
addOrModifyUserInfo, adminFakeLogin, autoLogin, checkUserAviability, clearUserInfoList, createPasswordChangeKey, createUser, createUserFactory, createUserFactory, createUserInfos, deleteUser, getAllRoles, getCurrentUser, getFileName, getInternetAddress, getInternetAddress, getPasswordChangeWidthKey, getRoleList, getRoleWrapper, getSessionKey, getTokenCreateIfNotExist, getUserByEmail, getUserInfoForRoles, getUserInfos, isStandardStorage, load, login, login, logout, mergeUserInfo, releaseUserInfoList, reload, store, store, uploadNewAvatar, userListAsInternetAddressList
-
-
-
-
Method Detail
-
init
public void init(GlobalContext globalContext, javax.servlet.http.HttpSession newSession)
- Specified by:
init
in interfaceIUserFactory
- Overrides:
init
in classUserFactory
-
getUser
public User getUser(String login)
- Specified by:
getUser
in interfaceIUserFactory
- Overrides:
getUser
in classUserFactory
-
getUserInfoList
public List<IUserInfo> getUserInfoList()
- Specified by:
getUserInfoList
in interfaceIUserFactory
- Overrides:
getUserInfoList
in classUserFactory
-
addUserInfo
public void addUserInfo(IUserInfo userInfo) throws UserAllreadyExistException
- Specified by:
addUserInfo
in interfaceIUserFactory
- Overrides:
addUserInfo
in classUserFactory
- Throws:
UserAllreadyExistException
-
updateUserInfo
public void updateUserInfo(IUserInfo userInfo) throws IOException
- Specified by:
updateUserInfo
in interfaceIUserFactory
- Overrides:
updateUserInfo
in classUserFactory
- Throws:
IOException
-
-