@Name(value="userProfileActions") @Scope(value=CONVERSATION) public class UserProfileActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
PROFILE_EDIT_MODE |
static String |
PROFILE_EDIT_PASSWORD_MODE |
static String |
PROFILE_VIEW_MODE |
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 |
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
public void updateUser() throws ClientException
ClientException
public String getMode() throws ClientException
ClientException
public boolean getCanEdit() throws ClientException
ClientException
public void setMode(String mode)
public DocumentModel getCurrentUserModel()
public DocumentModel getUserProfileDocument() throws ClientException
ClientException
public DocumentModel getUserProfileDocument(String userName) throws ClientException
ClientException
public DocumentModel getUserProfile() throws ClientException
ClientException
public DocumentModel getSelectedUserProfile() throws ClientException
ClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.