com.atlassian.confluence.pageobjects.page
Class PeopleDirectoryPage

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

public class PeopleDirectoryPage
extends ConfluenceAbstractPage

Represents the People Directory Page

Since:
4.1

Nested Class Summary
static class PeopleDirectoryPage.UserHover
           
 
Field Summary
 
Fields inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage
driver, jsQueryFactory, pageBinder, pageElementFinder, timeouts, waiter
 
Constructor Summary
PeopleDirectoryPage()
           
 
Method Summary
 java.util.Set<java.lang.String> getAllUsernames()
           
 java.lang.String getUrl()
           
 UserProfileMacro getUserMacro(java.lang.String username)
           
 boolean hasUser(java.lang.String username)
           
 boolean isShowingAllPeople()
           
 boolean isShowingPeopleWithPersonalSpaces()
           
 PeopleDirectoryPage.UserHover openUserHover(java.lang.String username)
          Mouse-hover over the user icon and wait for the AUI dialog to appear
 java.util.Map<java.lang.String,UserProfileMacro> parseUsers()
           
 PeopleDirectoryPage search(java.lang.String term)
           
 PeopleDirectoryPage showAllPeople()
           
 PeopleDirectoryPage showAllPeopleWithPersonalSpaces()
           
 
Methods inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage
back, doWait, 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

PeopleDirectoryPage

public PeopleDirectoryPage()
Method Detail

getUrl

public java.lang.String getUrl()

parseUsers

public java.util.Map<java.lang.String,UserProfileMacro> parseUsers()
Returns:
a map of UserProfileMacros for all users that can be parsed from the current page, indexed by their username.

getAllUsernames

public java.util.Set<java.lang.String> getAllUsernames()
Returns:
a set which contains all the usernames on the page.

showAllPeople

public PeopleDirectoryPage showAllPeople()

showAllPeopleWithPersonalSpaces

public PeopleDirectoryPage showAllPeopleWithPersonalSpaces()

hasUser

public boolean hasUser(java.lang.String username)

getUserMacro

public UserProfileMacro getUserMacro(java.lang.String username)

isShowingAllPeople

public boolean isShowingAllPeople()

isShowingPeopleWithPersonalSpaces

public boolean isShowingPeopleWithPersonalSpaces()

search

public PeopleDirectoryPage search(java.lang.String term)

openUserHover

public PeopleDirectoryPage.UserHover openUserHover(java.lang.String username)
Mouse-hover over the user icon and wait for the AUI dialog to appear



Copyright © 2003-2014 Atlassian. All Rights Reserved.