Class PageRestrictionsDialog

  • All Implemented Interfaces:
    PageComponent

    @Deprecated
    public class PageRestrictionsDialog
    extends AbstractDialog
    Deprecated.
    in 5.8. Use PageRestrictionsDialog instead from maven module com.atlassian.confluence:confluence-webdriver-pageobjects. See the new README.
    Page Object to handle page restrictions
    • Constructor Detail

      • PageRestrictionsDialog

        public PageRestrictionsDialog()
        Deprecated.
    • 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 use isActive()
      • 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.
      • 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.
      • hasRestrictionTimed

        public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> hasRestrictionTimed​(Subject subject,
                                                                                                OperationKey operationKey)
        Deprecated.