@Name(value="userManagementActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class UserManagementActions extends AbstractUserGroupManagement implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
SELECTED_LETTER_CHANGED |
static String |
USER_SELECTED_CHANGED |
static String |
USERS_LISTING_CHANGED |
static String |
USERS_SEARCH_CHANGED |
static String |
USERS_TAB |
DEFAULT_LISTING_MODE, DETAILS_VIEW_MODE, MAIN_TAB_HOME, MAIN_TABS_CATEGORY, NUXEO_ADMIN_CATEGORY, USER_CENTER_CATEGORY, USERS_GROUPS_HOME, USERS_GROUPS_HOME_SUB_TAB, USERS_GROUPS_MANAGER, USERS_GROUPS_MANAGER_SUB_TAB, VALID_CHARS, VIEW_HOME
Constructor and Description |
---|
UserManagementActions() |
getDetailsMode, getListingMode, getSearchString, isShowCreateForm, isShowUserOrGroup, setDetailsMode, setListingMode, setSearchString, toggleShowCreateForm, toggleShowUserOrGroup
public static final String USERS_TAB
public static final String USERS_LISTING_CHANGED
public static final String USERS_SEARCH_CHANGED
public static final String USER_SELECTED_CHANGED
public static final String SELECTED_LETTER_CHANGED
public DocumentModel getSelectedUser()
public void setSelectedUser(DocumentModel user)
@Deprecated public void setSelectedUser(String userName) throws ClientException
setSelectedUserName(java.lang.String)
instead.ClientException
public void setSelectedUserName(String userName) throws ClientException
ClientException
public String getSelectedUserName() throws ClientException
ClientException
public String getSelectedLetter()
public void setSelectedLetter(String selectedLetter)
public DocumentModel getNewUser() throws ClientException
ClientException
public boolean getAllowEditUser() throws ClientException
ClientException
public boolean getAllowChangePassword() throws ClientException
ClientException
public boolean getAllowCreateUser() throws ClientException
ClientException
public boolean getAllowDeleteUser() throws ClientException
ClientException
public void clearSearch()
public void createUser() throws ClientException
ClientException
public void createUser(boolean createAnotherUser) throws ClientException
ClientException
public void updateUser() throws ClientException
ClientException
public String changePassword() throws ClientException
ClientException
public void deleteUser() throws ClientException
ClientException
public void validateUserName(FacesContext context, UIComponent component, Object value)
public void validatePassword(FacesContext context, UIComponent component, Object value)
@Factory(value="notReadOnly", scope=APPLICATION) public boolean isNotReadOnly()
public List<String> getUserVirtualGroups(String userId) throws Exception
Exception
public String viewUser() throws ClientException
ClientException
public String viewUser(String userName) throws ClientException
ClientException
public void setShowUser(String showUser)
@Factory(value="anonymousUserDefined", scope=APPLICATION) public boolean anonymousUserDefined() throws ClientException
ClientException
@Observer(value="selectedLetterChanged") public void onSelectedLetterChanged()
Copyright © 2011 Nuxeo SA. All Rights Reserved.