Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webapp.security
Class UserManagerActionsBean

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface org.nuxeo.ecm.webapp.security.UserManagerActions
SEARCH_ONLY, TABBED, VALID_CHARS
 
Constructor Summary
UserManagerActionsBean()
           
 
Method Summary
 java.lang.String changePassword()
           
 java.lang.String clearSearch()
           
 java.lang.String clearSearchAdvanced()
           
 java.lang.String createUser()
           
 void createUserNoRedirect()
           
 java.lang.String deleteUser()
           
 void deleteUserNoRedirect()
           
 java.lang.String editUser()
           
 boolean getAllowChangePassword()
           
 boolean getAllowCreateUser()
           
 boolean getAllowDeleteUser()
           
 boolean getAllowEditUser()
           
 java.util.Collection<java.lang.String> getCatalogLetters()
           
 DocumentModel getNewUser()
           
 java.lang.String getSearchString()
           
 DocumentModel getSearchUserModel()
           
 java.lang.String getSelectedLetter()
           
 DocumentModel getSelectedUser()
           
 java.lang.String getUserListingMode()
           
 DocumentModelList getUsers()
           
 java.util.List<java.lang.String> getUserVirtualGroups(java.lang.String userId)
           
 boolean isNotReadOnly()
           
 boolean isSearchOverflow()
           
 void resetUsers()
           
 java.lang.String searchUsers()
           
 java.lang.String searchUsersAdvanced()
           
 void setSearchString(java.lang.String searchString)
           
 void setSelectedLetter(java.lang.String selectedLetter)
           
 void setSelectedUser(DocumentModel user)
           
 java.lang.String updateUser()
           
 void updateUserNoRedirect()
           
 void validatePassword(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object value)
           
 void validateUserName(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object value)
           
 java.lang.String viewUser()
           
 java.lang.String viewUser(java.lang.String userName)
           
 java.lang.String viewUsers()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserManagerActionsBean

public UserManagerActionsBean()
Method Detail

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.