@Name(value="userManagerActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class UserManagerActionsBean extends Object implements UserManagerActions
SEARCH_ONLY, TABBED, VALID_CHARS
Constructor and Description |
---|
UserManagerActionsBean() |
public String getUserListingMode() throws ClientException
getUserListingMode
in interface UserManagerActions
ClientException
@Factory(value="userList") public DocumentModelList getUsers() throws ClientException
getUsers
in interface UserManagerActions
ClientException
public void resetUsers()
resetUsers
in interface UserManagerActions
public DocumentModel getSelectedUser()
getSelectedUser
in interface UserManagerActions
public String viewUser() throws ClientException
viewUser
in interface UserManagerActions
ClientException
public String viewUser(String userName) throws ClientException
viewUser
in interface UserManagerActions
ClientException
public String searchUsers() throws ClientException
searchUsers
in interface UserManagerActions
ClientException
public void validateUserName(FacesContext context, UIComponent component, Object value)
validateUserName
in interface UserManagerActions
public void validatePassword(FacesContext context, UIComponent component, Object value)
validatePassword
in interface UserManagerActions
public String editUser() throws ClientException
editUser
in interface UserManagerActions
ClientException
public String deleteUser() throws ClientException
deleteUser
in interface UserManagerActions
ClientException
public String updateUser() throws ClientException
updateUser
in interface UserManagerActions
ClientException
public String changePassword() throws ClientException
changePassword
in interface UserManagerActions
ClientException
public String createUser() throws ClientException, UserAlreadyExistsException
createUser
in interface UserManagerActions
ClientException
UserAlreadyExistsException
public DocumentModel getNewUser() throws ClientException
getNewUser
in interface UserManagerActions
ClientException
public String getSearchString()
getSearchString
in interface UserManagerActions
public void setSearchString(String searchString)
setSearchString
in interface UserManagerActions
public Collection<String> getCatalogLetters()
getCatalogLetters
in interface UserManagerActions
public void setSelectedLetter(String selectedLetter)
setSelectedLetter
in interface UserManagerActions
public String getSelectedLetter()
getSelectedLetter
in interface UserManagerActions
public String viewUsers() throws ClientException
viewUsers
in interface UserManagerActions
ClientException
public boolean getAllowEditUser() throws ClientException
getAllowEditUser
in interface UserManagerActions
ClientException
public boolean getAllowChangePassword() throws ClientException
getAllowChangePassword
in interface UserManagerActions
ClientException
public boolean getAllowCreateUser() throws ClientException
getAllowCreateUser
in interface UserManagerActions
ClientException
public boolean getAllowDeleteUser() throws ClientException
getAllowDeleteUser
in interface UserManagerActions
ClientException
public String clearSearch() throws ClientException
clearSearch
in interface UserManagerActions
ClientException
public boolean isSearchOverflow()
isSearchOverflow
in interface UserManagerActions
public DocumentModel getSearchUserModel() throws ClientException
getSearchUserModel
in interface UserManagerActions
ClientException
public String searchUsersAdvanced() throws ClientException
searchUsersAdvanced
in interface UserManagerActions
ClientException
public String clearSearchAdvanced() throws ClientException
clearSearchAdvanced
in interface UserManagerActions
ClientException
public List<String> getUserVirtualGroups(String userId) throws Exception
getUserVirtualGroups
in interface UserManagerActions
Exception
public void setSelectedUser(DocumentModel user) throws ClientException
ClientException
public void deleteUserNoRedirect() throws ClientException
ClientException
public void createUserNoRedirect() throws ClientException
ClientException
public void updateUserNoRedirect() throws ClientException
ClientException
Copyright © 2012 Nuxeo SA. All Rights Reserved.