PageRestrictionsDialog
instead from
maven module com.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.@Deprecated public class PageRestrictionsDialog extends AbstractDialog
id
driver, frameExecutor, pageBinder, pageElementFinder, timeouts, waiter
Constructor and Description |
---|
PageRestrictionsDialog()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addEditRestrictionToCurrentUser()
Deprecated.
|
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. |
void |
addUserOrGroup(Subject subject)
Deprecated.
|
void |
addUserOrGroup(Subject subject,
int index)
Deprecated.
|
void |
addViewRestrictionToCurrentUser()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
canRemoveRestriction(Subject subject)
Deprecated.
|
GroupPickerPopup |
chooseGroup()
Deprecated.
since 5.9. This doesn't exist on the new restrictions dialog.
|
UserPickerPopup |
chooseUser()
Deprecated.
since 5.9. This doesn't exist on the new restrictions dialog.
|
PageRestrictionsDialog |
clickRestrict()
Deprecated.
since 5.9. This doesn't exist on the new restrictions dialog.
|
void |
close()
Deprecated.
|
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. |
Autocomplete |
getAutocomplete(String name)
Deprecated.
since 5.9. This doesn't exist on the new restrictions dialog.
|
PageRestrictionsDialogModeSelector |
getModeSelector()
Deprecated.
|
boolean |
hasRestriction(Subject subject,
OperationKey operationKey)
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.
If you want to know if the dialog is read only use
isActive() |
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. |
void |
removeRestriction(Subject subject)
Deprecated.
|
void |
saveDialog()
Deprecated.
|
void |
saveDialogAndWaitForHidden()
Deprecated.
|
void |
selectRestrictEditRadioButton()
Deprecated.
since 5.9. This doesn't exist on the new restrictions dialog.
|
void |
selectRestrictViewRadioButton()
Deprecated.
since 5.9. This doesn't exist on the new restrictions dialog.
|
void |
setMode(PageRestrictionsDialogModeSelector.MODE mode)
Deprecated.
|
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. |
void |
waitUntil()
Deprecated.
|
getDialog, getHeight, getId, getTitle, getWidth, isVisible, isVisibleTimed, pressEscape, pressEscapeOnly, toString, waitForRemoval, waitUntilAUIBlanketHidden, waitUntilHidden, waitUntilVisible
getComponent
public void waitUntil()
@Deprecated public com.atlassian.pageobjects.elements.query.TimedCondition isEditFormVisible()
isActive()
public com.atlassian.pageobjects.elements.query.TimedCondition isActive()
public void addViewRestrictionToCurrentUser()
public void addEditRestrictionToCurrentUser()
@Deprecated public boolean viewPermissionAddedToDialog(String username)
hasRestriction(com.atlassian.confluence.api.model.people.Subject, com.atlassian.confluence.api.model.permissions.OperationKey)
to test for restrictions.@Deprecated public boolean editPermissionAddedToDialog(String username)
hasRestriction(com.atlassian.confluence.api.model.people.Subject, com.atlassian.confluence.api.model.permissions.OperationKey)
to test for restrictions.public void saveDialog()
public void saveDialogAndWaitForHidden()
@Deprecated public void selectRestrictEditRadioButton()
@Deprecated public void selectRestrictViewRadioButton()
@Deprecated public PageRestrictionsDialog addRestriction(String name)
addUserOrGroup(com.atlassian.confluence.api.model.people.Subject)
to add the restriction to the dialog.@Deprecated public PageRestrictionsDialog clickRestrict()
@Deprecated public Autocomplete getAutocomplete(String name)
@Deprecated public boolean removeRestriction(String name, OperationKey operationKey)
removeRestriction(com.atlassian.confluence.api.model.people.Subject)
to remove the restriction.public void removeRestriction(Subject subject)
public void close()
@Deprecated public UserPickerPopup chooseUser()
@Deprecated public GroupPickerPopup chooseGroup()
public void setMode(PageRestrictionsDialogModeSelector.MODE mode)
public void addUserOrGroup(Subject subject)
public void addUserOrGroup(Subject subject, int index)
public boolean hasRestriction(Subject subject, OperationKey operationKey)
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> hasRestrictionTimed(Subject subject, OperationKey operationKey)
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> canRemoveRestriction(Subject subject)
public PageRestrictionsDialogModeSelector getModeSelector()
Copyright © 2003–2018 Atlassian. All rights reserved.