public class ManagePermissionsPage extends SharePage
| Modifier and Type | Class and Description |
|---|---|
class |
ManagePermissionsPage.UserSearchPage
Page object for searching user and selecting user.
|
alfrescoVersion, dojoSupport, elementWaitInSeconds, popupRendertime, PROMPT_PANEL_ID, WAIT_TIME_3000| Constructor and Description |
|---|
ManagePermissionsPage(org.alfresco.webdrone.WebDrone drone)
Default constructor is not provided as the client should pass the
FromClass while creating ManagePermissionsPage. |
| Modifier and Type | Method and Description |
|---|---|
UserRole |
getAccessType()
From the drop down, get the access level selected.
|
boolean |
isDirectPermissionForUser(UserProfile userProfile)
Checks whether a user has direct permissions present.
|
boolean |
isInheritPermissionEnabled()
Clicks on save and returns the page from where user arrived to this page.
|
boolean |
isUserExistForPermission(String userName)
Check if user is already added for permission.
|
ManagePermissionsPage |
render() |
ManagePermissionsPage |
render(long time) |
ManagePermissionsPage |
render(org.alfresco.webdrone.RenderTime timer) |
ManagePermissionsPage.UserSearchPage |
selectAddUser()
Mimics the action of clicking on Add user button.
|
org.alfresco.webdrone.HtmlPage |
selectCancel()
Clicks on cancel and returns the page from where user arrived to this
page.
|
org.alfresco.webdrone.HtmlPage |
selectSave()
Clicks on save and returns the page from where user arrived to this page.
|
void |
setAccessType(UserRole userRole)
From the drop down, the access level is selected.
|
ManagePermissionsPage |
toggleInheritPermission(boolean turnOn)
Mimics the action of clicking on Inherit permission button.
|
boolean |
updateUserRole(String userName,
UserRole userRole)
Update role of existing Users in permission table.
|
basicRender, canResume, canResume, disbaleFileUploadFlash, elementRender, findButton, getCopyRight, getElementText, getLogin, getNav, getPageTitle, getPopupRendertime, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExists, setAlfrescoVersion, setElementWaitInSeconds, setPopupRendertime, submit, waitForFile, waitForFile, waitForFilepublic ManagePermissionsPage(org.alfresco.webdrone.WebDrone drone)
FromClass while creating ManagePermissionsPage.drone - fromClass - public ManagePermissionsPage render()
public ManagePermissionsPage render(long time)
public ManagePermissionsPage render(org.alfresco.webdrone.RenderTime timer)
public ManagePermissionsPage.UserSearchPage selectAddUser()
public ManagePermissionsPage toggleInheritPermission(boolean turnOn)
turnOn - - Inherit permission to be turned on/off. Send true if you
want to turn on.public boolean isInheritPermissionEnabled()
public org.alfresco.webdrone.HtmlPage selectSave()
public org.alfresco.webdrone.HtmlPage selectCancel()
public void setAccessType(UserRole userRole)
userRole - public boolean isUserExistForPermission(String userName)
userName - public boolean updateUserRole(String userName, UserRole userRole)
userName - userRole - public UserRole getAccessType()
accessType - public boolean isDirectPermissionForUser(UserProfile userProfile)
userProfile - Copyright © 2013. All Rights Reserved.