Class PageRestrictionsDialog
- java.lang.Object
-
- com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
-
- com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog
-
- com.atlassian.confluence.pageobjects.component.dialog.PageRestrictionsDialog
-
- All Implemented Interfaces:
PageComponent
@Deprecated public class PageRestrictionsDialog extends AbstractDialog
Deprecated.in 5.8. UsePageRestrictionsDialoginstead from maven modulecom.atlassian.confluence:confluence-webdriver-pageobjects. See the new README.Page Object to handle page restrictions
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog
id
-
Fields inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
driver, frameExecutor, pageBinder, pageElementFinder, timeouts, waiter
-
-
Constructor Summary
Constructors Constructor Description PageRestrictionsDialog()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddEditRestrictionToCurrentUser()Deprecated.PageRestrictionsDialogaddRestriction(String name)Deprecated.since 5.9.voidaddViewRestrictionToCurrentUser()Deprecated.GroupPickerPopupchooseGroup()Deprecated.since 5.9.UserPickerPopupchooseUser()Deprecated.since 5.9.PageRestrictionsDialogclickRestrict()Deprecated.since 5.9.voidclose()Deprecated.booleaneditPermissionAddedToDialog(String username)Deprecated.since 5.9.AutocompletegetAutocomplete(String name)Deprecated.since 5.9.PageRestrictionsDialogModeSelectorgetModeSelector()Deprecated.com.atlassian.pageobjects.elements.query.TimedQuery<Boolean>hasRestrictionTimed(Subject subject, OperationKey operationKey)Deprecated.com.atlassian.pageobjects.elements.query.TimedConditionisActive()Deprecated.com.atlassian.pageobjects.elements.query.TimedConditionisEditFormVisible()Deprecated.since 5.9.booleanremoveRestriction(String name, OperationKey operationKey)Deprecated.since 5.9.voidsaveDialog()Deprecated.voidselectRestrictEditRadioButton()Deprecated.since 5.9.voidselectRestrictViewRadioButton()Deprecated.since 5.9.voidsetMode(PageRestrictionsDialogModeSelector.MODE mode)Deprecated.booleanviewPermissionAddedToDialog(String username)Deprecated.since 5.9.voidwaitUntil()Deprecated.-
Methods inherited from class com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog
getDialog, getHeight, getId, getTitle, getWidth, isVisible, isVisibleTimed, pressEscape, pressEscapeOnly, toString, waitForRemoval, waitUntilAUIBlanketHidden, waitUntilHidden, waitUntilVisible
-
-
-
-
Method Detail
-
waitUntil
public void waitUntil()
Deprecated.
-
isEditFormVisible
@Deprecated public com.atlassian.pageobjects.elements.query.TimedCondition isEditFormVisible()
Deprecated.since 5.9. If you want to know if the dialog is read only useisActive()
-
isActive
public com.atlassian.pageobjects.elements.query.TimedCondition isActive()
Deprecated.
-
addViewRestrictionToCurrentUser
public void addViewRestrictionToCurrentUser()
Deprecated.
-
addEditRestrictionToCurrentUser
public void addEditRestrictionToCurrentUser()
Deprecated.
-
viewPermissionAddedToDialog
@Deprecated public boolean viewPermissionAddedToDialog(String username)
Deprecated.since 5.9. Use#hasRestriction(com.atlassian.confluence.api.model.people.Subject, com.atlassian.confluence.api.model.permissions.OperationKey)to test for restrictions.
-
editPermissionAddedToDialog
@Deprecated public boolean editPermissionAddedToDialog(String username)
Deprecated.since 5.9. Use#hasRestriction(com.atlassian.confluence.api.model.people.Subject, com.atlassian.confluence.api.model.permissions.OperationKey)to test for restrictions.
-
saveDialog
public void saveDialog()
Deprecated.
-
selectRestrictEditRadioButton
@Deprecated public void selectRestrictEditRadioButton()
Deprecated.since 5.9. This doesn't exist on the new restrictions dialog.
-
selectRestrictViewRadioButton
@Deprecated public void selectRestrictViewRadioButton()
Deprecated.since 5.9. This doesn't exist on the new restrictions dialog.
-
addRestriction
@Deprecated public PageRestrictionsDialog addRestriction(String name)
Deprecated.since 5.9. In the new restrictions dialog set the mode first, and then use#addUserOrGroup(com.atlassian.confluence.api.model.people.Subject)to add the restriction to the dialog.
-
clickRestrict
@Deprecated public PageRestrictionsDialog clickRestrict()
Deprecated.since 5.9. This doesn't exist on the new restrictions dialog.
-
getAutocomplete
@Deprecated public Autocomplete getAutocomplete(String name)
Deprecated.since 5.9. This doesn't exist on the new restrictions dialog.
-
removeRestriction
@Deprecated public boolean removeRestriction(String name, OperationKey operationKey)
Deprecated.since 5.9. In the new restrictions dialog set the mode first and then use#removeRestriction(com.atlassian.confluence.api.model.people.Subject)to remove the restriction.
-
close
public void close()
Deprecated.
-
chooseUser
@Deprecated public UserPickerPopup chooseUser()
Deprecated.since 5.9. This doesn't exist on the new restrictions dialog.
-
chooseGroup
@Deprecated public GroupPickerPopup chooseGroup()
Deprecated.since 5.9. This doesn't exist on the new restrictions dialog.
-
setMode
public void setMode(PageRestrictionsDialogModeSelector.MODE mode)
Deprecated.
-
hasRestrictionTimed
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> hasRestrictionTimed(Subject subject, OperationKey operationKey)
Deprecated.
-
getModeSelector
public PageRestrictionsDialogModeSelector getModeSelector()
Deprecated.
-
-