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. UsePageRestrictionsDialog
instead 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, javascriptExecutor, pageBinder, pageElementFinder, timeouts
-
-
Constructor Summary
Constructors Constructor Description PageRestrictionsDialog()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addEditRestrictionToCurrentUser()
Deprecated.PageRestrictionsDialog
addRestriction(String name)
Deprecated.since 5.9.void
addViewRestrictionToCurrentUser()
Deprecated.GroupPickerPopup
chooseGroup()
Deprecated.since 5.9.UserPickerPopup
chooseUser()
Deprecated.since 5.9.PageRestrictionsDialog
clickRestrict()
Deprecated.since 5.9.void
close()
Deprecated.boolean
editPermissionAddedToDialog(String username)
Deprecated.since 5.9.Autocomplete
getAutocomplete(String name)
Deprecated.since 5.9.PageRestrictionsDialogModeSelector
getModeSelector()
Deprecated.com.atlassian.pageobjects.elements.query.TimedQuery<Boolean>
hasRestrictionTimed(Subject subject, OperationKey operationKey)
Deprecated.com.atlassian.pageobjects.elements.query.TimedCondition
isActive()
Deprecated.com.atlassian.pageobjects.elements.query.TimedCondition
isEditFormVisible()
Deprecated.since 5.9.boolean
removeRestriction(String name, OperationKey operationKey)
Deprecated.since 5.9.void
saveDialog()
Deprecated.void
selectRestrictEditRadioButton()
Deprecated.since 5.9.void
selectRestrictViewRadioButton()
Deprecated.since 5.9.void
setMode(PageRestrictionsDialogModeSelector.MODE mode)
Deprecated.boolean
viewPermissionAddedToDialog(String username)
Deprecated.since 5.9.void
waitUntil()
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.
-
-