@Name(value="deputyActions") @Scope(value=CONVERSATION) public class DeputyActionsBean extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
NEW_DEPUTY_ID |
static String |
VIEW_DEPUTIES |
Constructor and Description |
---|
DeputyActionsBean() |
Modifier and Type | Method and Description |
---|---|
String |
adminLoginAsDeputy() |
String |
cancelDeputy() |
String |
createDeputy() |
String |
deleteDeputy(String deputyId) |
String |
editDeputy(String deputyId) |
String |
getAdminLogin() |
List<Principal> |
getAlternatePrincipals() |
DocumentModel |
getEditableDeputy() |
String |
getLoginInformation() |
List<DocumentModel> |
getUserDeputies() |
boolean |
isMandated() |
String |
loginAsDeputy(String login) |
String |
loginAsOriginal() |
String |
saveDeputy() |
void |
setAdminLogin(String adminLogin) |
String |
setNewDeputy(String deputyId) |
public static final String VIEW_DEPUTIES
public static final String NEW_DEPUTY_ID
public String createDeputy() throws ClientException
ClientException
public String setNewDeputy(String deputyId) throws ClientException
ClientException
public String cancelDeputy()
public String saveDeputy() throws ClientException
ClientException
public String editDeputy(String deputyId) throws ClientException
ClientException
public String deleteDeputy(String deputyId) throws ClientException
ClientException
@Factory(value="userDeputies", scope=EVENT) public List<DocumentModel> getUserDeputies() throws ClientException
ClientException
@Factory(value="alternateLogins", scope=EVENT) public List<Principal> getAlternatePrincipals() throws ClientException
ClientException
public String loginAsDeputy(String login) throws ClientException, IOException, ServletException
public String loginAsOriginal() throws ServletException, IOException
ServletException
IOException
public boolean isMandated()
@Factory(value="editableDeputy", scope=EVENT) public DocumentModel getEditableDeputy()
public String getLoginInformation()
public void setAdminLogin(String adminLogin)
public String getAdminLogin()
public String adminLoginAsDeputy() throws ClientException, IOException, ServletException
Copyright © 2013 Nuxeo SA. All Rights Reserved.