Class EntityPicker<T>

java.lang.Object
com.atlassian.crowd.pageobjects.group.EntityPicker<T>
Direct Known Subclasses:
GroupPicker, UserPicker

public abstract class EntityPicker<T> extends Object
  • Field Details

    • ENTITY_ROWS_SELECTOR

      public static final org.openqa.selenium.By ENTITY_ROWS_SELECTOR
    • ENTITY_ALL_CELLS_SELECTOR

      public static final org.openqa.selenium.By ENTITY_ALL_CELLS_SELECTOR
    • RESULTS_SELECTOR

      public static final org.openqa.selenium.By RESULTS_SELECTOR
    • searchString

      protected com.atlassian.pageobjects.elements.PageElement searchString
    • searchButton

      protected com.atlassian.pageobjects.elements.PageElement searchButton
    • activeSelect

      protected com.atlassian.pageobjects.elements.PageElement activeSelect
    • resultsPerPageSelect

      protected com.atlassian.pageobjects.elements.SelectElement resultsPerPageSelect
    • resultsMessage

      protected com.atlassian.pageobjects.elements.PageElement resultsMessage
    • noResultsMessage

      protected com.atlassian.pageobjects.elements.PageElement noResultsMessage
    • submitButton

      protected com.atlassian.pageobjects.elements.PageElement submitButton
    • selectAllEntitiesCheckbox

      protected com.atlassian.pageobjects.elements.CheckboxElement selectAllEntitiesCheckbox
    • lastSearchTimestamp

      protected com.atlassian.pageobjects.elements.PageElement lastSearchTimestamp
    • finder

      @Inject protected com.atlassian.pageobjects.elements.PageElementFinder finder
  • Constructor Details

    • EntityPicker

      public EntityPicker()
  • Method Details

    • setSearchString

      public void setSearchString(String search)
    • switchPageSize

      public void switchPageSize(ElementPickerPageSize size)
    • searchEntities

      public void searchEntities()
    • getEntitiesInTable

      public List<T> getEntitiesInTable()
    • getResultCount

      public int getResultCount()
    • getEntityAtIndex

      public T getEntityAtIndex(int index)
    • selectEntities

      public void selectEntities(String... ids)
    • selectEntities

      public void selectEntities(Collection<String> ids)
    • getLocatorForIdWithQuotes

      public org.openqa.selenium.By getLocatorForIdWithQuotes(String id)
    • selectAllEntities

      public void selectAllEntities()
    • submit

      public void submit()
    • mapResult

      protected abstract T mapResult(List<String> element)
    • getResultsElement

      protected com.atlassian.pageobjects.elements.PageElement getResultsElement()