U
- as User
typepublic abstract class UserDetailsPanelHelpers<U extends User> extends Object implements Serializable
UserDetailsPanel
.private UserDetailsPanelHelpers helpers; public AdminUserDetailsPanel(String id, IModelmodel) { super(id, model); helpers = new UserDetailsPanelHelpers() { @
Override protected UserService getUserService() {return userService;}@
Override protected UserAttributesDao getUserAttributesDao() {return userAttributesDao;} }; }
Constructor and Description |
---|
UserDetailsPanelHelpers() |
Modifier and Type | Method and Description |
---|---|
void |
deleteUser(User user) |
BIT_MASKS[] |
getBitMasks() |
protected U |
getNewUserEntity()
|
protected abstract UserAttributesDao |
getUserAttributesDao() |
protected abstract UserService |
getUserService() |
User |
setupUserAndCredentials(String userId,
String password) |
@Transactional(readOnly=false) public User setupUserAndCredentials(String userId, String password) throws Exception
Exception
public void deleteUser(User user)
public BIT_MASKS[] getBitMasks()
protected abstract UserService getUserService()
protected abstract UserAttributesDao getUserAttributesDao()
Copyright © 2018. All rights reserved.