org.nuxeo.ecm.webapp.security
Class UserManagerActionsBean
java.lang.Object
org.nuxeo.ecm.webapp.security.UserManagerActionsBean
- All Implemented Interfaces:
- java.io.Serializable, UserManagerActions
@Name(value="userManagerActions")
@Scope(value=CONVERSATION)
@Install(precedence=10)
public class UserManagerActionsBean
- extends java.lang.Object
- implements UserManagerActions
- Author:
- Razvan Caraghin
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserManagerActionsBean
public UserManagerActionsBean()
getUserListingMode
public java.lang.String getUserListingMode()
throws ClientException
- Specified by:
getUserListingMode in interface UserManagerActions
- Throws:
ClientException
getUsers
@Factory(value="userList")
public DocumentModelList getUsers()
throws ClientException
- Specified by:
getUsers in interface UserManagerActions
- Throws:
ClientException
resetUsers
public void resetUsers()
- Specified by:
resetUsers in interface UserManagerActions
getSelectedUser
public DocumentModel getSelectedUser()
- Specified by:
getSelectedUser in interface UserManagerActions
viewUser
public java.lang.String viewUser()
throws ClientException
- Specified by:
viewUser in interface UserManagerActions
- Throws:
ClientException
viewUser
public java.lang.String viewUser(java.lang.String userName)
throws ClientException
- Specified by:
viewUser in interface UserManagerActions
- Throws:
ClientException
searchUsers
public java.lang.String searchUsers()
throws ClientException
- Specified by:
searchUsers in interface UserManagerActions
- Throws:
ClientException
validateUserName
public void validateUserName(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
- Specified by:
validateUserName in interface UserManagerActions
validatePassword
public void validatePassword(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
- Specified by:
validatePassword in interface UserManagerActions
editUser
public java.lang.String editUser()
throws ClientException
- Specified by:
editUser in interface UserManagerActions
- Throws:
ClientException
deleteUser
public java.lang.String deleteUser()
throws ClientException
- Specified by:
deleteUser in interface UserManagerActions
- Throws:
ClientException
updateUser
public java.lang.String updateUser()
throws ClientException
- Specified by:
updateUser in interface UserManagerActions
- Throws:
ClientException
changePassword
public java.lang.String changePassword()
throws ClientException
- Specified by:
changePassword in interface UserManagerActions
- Throws:
ClientException
createUser
public java.lang.String createUser()
throws ClientException,
UserAlreadyExistsException
- Specified by:
createUser in interface UserManagerActions
- Throws:
ClientException
UserAlreadyExistsException
getNewUser
public DocumentModel getNewUser()
throws ClientException
- Specified by:
getNewUser in interface UserManagerActions
- Throws:
ClientException
getSearchString
public java.lang.String getSearchString()
- Specified by:
getSearchString in interface UserManagerActions
setSearchString
public void setSearchString(java.lang.String searchString)
- Specified by:
setSearchString in interface UserManagerActions
getCatalogLetters
public java.util.Collection<java.lang.String> getCatalogLetters()
- Specified by:
getCatalogLetters in interface UserManagerActions
setSelectedLetter
public void setSelectedLetter(java.lang.String selectedLetter)
- Specified by:
setSelectedLetter in interface UserManagerActions
getSelectedLetter
public java.lang.String getSelectedLetter()
- Specified by:
getSelectedLetter in interface UserManagerActions
viewUsers
public java.lang.String viewUsers()
throws ClientException
- Specified by:
viewUsers in interface UserManagerActions
- Throws:
ClientException
getAllowEditUser
public boolean getAllowEditUser()
throws ClientException
- Specified by:
getAllowEditUser in interface UserManagerActions
- Throws:
ClientException
getAllowChangePassword
public boolean getAllowChangePassword()
throws ClientException
- Specified by:
getAllowChangePassword in interface UserManagerActions
- Throws:
ClientException
getAllowCreateUser
public boolean getAllowCreateUser()
throws ClientException
- Specified by:
getAllowCreateUser in interface UserManagerActions
- Throws:
ClientException
getAllowDeleteUser
public boolean getAllowDeleteUser()
throws ClientException
- Specified by:
getAllowDeleteUser in interface UserManagerActions
- Throws:
ClientException
clearSearch
public java.lang.String clearSearch()
throws ClientException
- Specified by:
clearSearch in interface UserManagerActions
- Throws:
ClientException
isSearchOverflow
public boolean isSearchOverflow()
- Specified by:
isSearchOverflow in interface UserManagerActions
getSearchUserModel
public DocumentModel getSearchUserModel()
throws ClientException
- Specified by:
getSearchUserModel in interface UserManagerActions
- Throws:
ClientException
searchUsersAdvanced
public java.lang.String searchUsersAdvanced()
throws ClientException
- Specified by:
searchUsersAdvanced in interface UserManagerActions
- Throws:
ClientException
clearSearchAdvanced
public java.lang.String clearSearchAdvanced()
throws ClientException
- Specified by:
clearSearchAdvanced in interface UserManagerActions
- Throws:
ClientException
isNotReadOnly
@Factory(value="notReadOnly",
scope=APPLICATION)
public boolean isNotReadOnly()
- Specified by:
isNotReadOnly in interface UserManagerActions
getUserVirtualGroups
public java.util.List<java.lang.String> getUserVirtualGroups(java.lang.String userId)
throws java.lang.Exception
- Specified by:
getUserVirtualGroups in interface UserManagerActions
- Throws:
java.lang.Exception
setSelectedUser
public void setSelectedUser(DocumentModel user)
throws ClientException
- Throws:
ClientException
deleteUserNoRedirect
public void deleteUserNoRedirect()
throws ClientException
- Throws:
ClientException
createUserNoRedirect
public void createUserNoRedirect()
throws ClientException
- Throws:
ClientException
updateUserNoRedirect
public void updateUserNoRedirect()
throws ClientException
- Throws:
ClientException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.