@Name(value="userProfileActions") @Scope(value=CONVERSATION) public class UserProfileActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
currentUser |
protected DocumentModel |
currentUserProfile |
protected CoreSession |
documentManager |
protected org.jboss.seam.international.LocaleSelector |
localeSelector |
protected String |
mode |
protected NavigationContext |
navigationContext |
static String |
PROFILE_EDIT_MODE |
static String |
PROFILE_EDIT_PASSWORD_MODE |
static String |
PROFILE_VIEW_MODE |
protected UserManagementActions |
userManagementActions |
protected UserManager |
userManager |
protected DocumentModel |
userProfileDocument |
Constructor and Description |
---|
UserProfileActions() |
Modifier and Type | Method and Description |
---|---|
boolean |
getCanEdit() |
DocumentModel |
getCurrentUserModel() |
String |
getMode() |
DocumentModel |
getSelectedUserProfile() |
DocumentModel |
getUserProfile() |
DocumentModel |
getUserProfileDocument() |
DocumentModel |
getUserProfileDocument(String userName) |
void |
resetState() |
void |
setMode(String mode) |
void |
updateUser() |
public static final String PROFILE_VIEW_MODE
public static final String PROFILE_EDIT_MODE
public static final String PROFILE_EDIT_PASSWORD_MODE
@In(create=true) protected transient UserManagementActions userManagementActions
@In(create=true) protected NuxeoPrincipal currentUser
@In(create=true) protected transient CoreSession documentManager
@In(create=true) protected transient NavigationContext navigationContext
@In(create=true) protected transient org.jboss.seam.international.LocaleSelector localeSelector
@In(create=true) protected transient UserManager userManager
protected DocumentModel userProfileDocument
protected DocumentModel currentUserProfile
public UserProfileActions()
public void updateUser()
public boolean getCanEdit()
public DocumentModel getCurrentUserModel()
public DocumentModel getUserProfileDocument()
public DocumentModel getUserProfileDocument(String userName)
public DocumentModel getUserProfile()
public DocumentModel getSelectedUserProfile()
@Observer(value={"currentTabChanged_MAIN_TABS","currentTabChanged_NUXEO_ADMIN","currentTabChanged_USER_CENTER","currentTabChanged_UsersGroupsManager_sub_tab","currentTabChanged_UsersGroupsHome_sub_tab","currentTabSelected_MAIN_TABS","currentTabSelected_NUXEO_ADMIN","currentTabSelected_USER_CENTER","currentTabSelected_UsersGroupsManager_sub_tab","currentTabSelected_UsersGroupsHome_sub_tab","usersListingChanged","selectedUserChanged"}, create=false) @BypassInterceptors public void resetState()
Copyright © 2019 Nuxeo. All rights reserved.