public abstract class AbstractContentTabSubPage extends DocumentBasePage
DocumentBasePage.UserNotConnectedException
breadcrumbForm, commentsTabLink, contentTabLink, contextualActions, currentDocumentContributor, currentDocumentDescription, currentDocumentTitle, currentFolderishDescription, documentManagementLink, editTabLink, filesTabLink, forumTabLink, historyTabLink, homePageLink, manageTabLink, permissionsTabLink, publishTabLink, relationTabLink, searchPageLink, summaryTabLink, tabsBar, topicTabLink, userMenuActions, workflowLink
driver, userServicesForm
Constructor and Description |
---|
AbstractContentTabSubPage(org.openqa.selenium.WebDriver driver) |
Modifier and Type | Method and Description |
---|---|
DocumentBasePage |
clearFilter()
Clear the current filter and refresh content view.
|
<T extends DocumentBasePage> |
clearFilter(Class<T> pageClassToProxy)
Clear the current filter and refresh content view.
|
DocumentBasePage |
filterDocument(String filter)
Perform filter on the given string.
|
<T extends DocumentBasePage> |
filterDocument(String filter,
Class<T> pageClassToProxy)
Perform filter on the given string.
|
List<org.openqa.selenium.WebElement> |
getChildDocumentRows() |
ContentViewElement |
getContentView() |
protected abstract org.openqa.selenium.WebElement |
getContentViewElement() |
DocumentBasePage |
goToDocument(int index) |
DocumentBasePage |
goToDocument(String documentTitle)
Clicking on one of the child with the title.
|
DocumentBasePage |
goToDocumentWithVersion(String title,
String version) |
boolean |
hasDocumentLink(String title) |
DocumentBasePage |
removeAllDocuments()
Removes all documents visible on current page.
|
<T extends DocumentBasePage> |
removeAllDocuments(Class<T> pageClassToProxy) |
DocumentBasePage |
removeDocument(String documentTitle) |
<T extends DocumentBasePage> |
removeDocument(String documentTitle,
Class<T> pageClassToProxy) |
checkDocTitle, checkUserConnected, clickOnBreadcrumbElement, clickOnDocumentTabLink, clickOnDocumentTabLink, createCollection, createCollections, createFile, createFolder, createForum, createNote, createSection, createWorkspace, deleteWorkspace, getAddAllToCollectionPopup, getAddToCollectionPopup, getAdminCenter, getBlobActions, getCollectionContentTab, getCommentsTab, getContentTab, getContentTab, getContextualActions, getCurrentContributors, getCurrentDocumentDescription, getCurrentDocumentTitle, getCurrentFolderishDescription, getCurrentStates, getDocumentManagement, getEditTab, getEditTab, getFilesTab, getForumTab, getHistoryTab, getManageTab, getNavigationSubPage, getPermissionsTab, getPublishTab, getRelationTab, getSummaryTab, getTopicTab, getUserHome, getWorkflow, getWorkspacesContentTab, goToDocumentByBreadcrumb, goToHomePage, goToSearchPage, goToWorkspaces, hasEditTab, hasFilesTab, hasManageTab, hasNewButton, hasNewPermissionsButton, hasNewRelationLink, isAddToCollectionUpperActionAvailable, isMainTabSelected, makeBreadcrumbUsable, popupUserMenuActions, switchToDocumentBase, switchToPersonalWorkspace
asPage, clickOnTabIfNotSelected, clickOnTabIfNotSelected, clickOnTabIfNotSelected, closeFancyBox, findElementAndWaitUntilEnabled, findElementAndWaitUntilEnabled, findElementsWithTimeout, findElementWaitUntilEnabledAndClick, findElementWaitUntilEnabledAndClick, findElementWaitUntilEnabledAndClick, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, get, getErrorFeedbackMessage, getFancyBoxContent, getFeedbackMessage, getHeaderLinks, getInfoFeedbackMessage, getWebFragment, getWebFragment, hasElement, selectItemInDropDownMenu, switchToFrame, useAjaxTabs, waitForFancyBoxClosed, waitUntilEnabled, waitUntilEnabled, waitUntilEnabledAndClick, waitUntilEnabledAndClick, waitUntilURLDifferentFrom
public AbstractContentTabSubPage(org.openqa.selenium.WebDriver driver)
protected abstract org.openqa.selenium.WebElement getContentViewElement()
public ContentViewElement getContentView()
public List<org.openqa.selenium.WebElement> getChildDocumentRows()
public boolean hasDocumentLink(String title)
public DocumentBasePage goToDocument(String documentTitle)
documentTitle
- the document titlepublic DocumentBasePage goToDocumentWithVersion(String title, String version)
public DocumentBasePage goToDocument(int index)
public DocumentBasePage filterDocument(String filter)
filter
- the string to filterpublic <T extends DocumentBasePage> T filterDocument(String filter, Class<T> pageClassToProxy)
filter
- the string to filterpublic DocumentBasePage clearFilter()
public <T extends DocumentBasePage> T clearFilter(Class<T> pageClassToProxy)
public DocumentBasePage removeDocument(String documentTitle)
public <T extends DocumentBasePage> T removeDocument(String documentTitle, Class<T> pageClassToProxy)
public DocumentBasePage removeAllDocuments()
public <T extends DocumentBasePage> T removeAllDocuments(Class<T> pageClassToProxy)
Copyright © 2019 Nuxeo. All rights reserved.