com.atlassian.confluence.pageobjects.page.content
Class ViewRestrictedPage

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage
      extended by com.atlassian.confluence.pageobjects.page.content.ViewRestrictedPage
All Implemented Interfaces:
com.atlassian.pageobjects.Page

public class ViewRestrictedPage
extends ConfluenceAbstractPage

This class was created in order to handle the Restricted Content page view, as the page elements differ from a normal page, so the other classes such as ViewPage do not work for this test scenario.


Field Summary
 
Fields inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage
driver, pageBinder, pageElementFinder, timeouts, waiter
 
Constructor Summary
ViewRestrictedPage(AbstractPageEntity pageEntity)
           
 
Method Summary
 void doWait()
           
 AbstractPageEntity getPageEntity()
           
 String getRestrictedTextContent()
           
 String getUrl()
           
 boolean isViewRestricted(String content)
           
 
Methods inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage
getAlert, getComponent, getHeader, getInlineDialog, getMainHeader, getMetadata, getMetadataLong, getPageHeadingColor, isDarkFeatureEnabled, isLoggedIn, openAddMenu, openBrowseMenu, openHelpMenu, openToolsMenu, openUserMenu, sendKeyboardShortcut, sendKeyboardShortcutAndWaitForCondition, setSetupComplete
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewRestrictedPage

public ViewRestrictedPage(AbstractPageEntity pageEntity)
Method Detail

doWait

public void doWait()
Overrides:
doWait in class ConfluenceAbstractPage

getUrl

public String getUrl()

getPageEntity

public AbstractPageEntity getPageEntity()

getRestrictedTextContent

public String getRestrictedTextContent()

isViewRestricted

public boolean isViewRestricted(String content)


Copyright © 2003-2013 Atlassian. All Rights Reserved.