public class ArchivedVersionsSubPage extends DocumentBasePage
DocumentBasePage.UserNotConnectedExceptionbreadcrumbForm, contentTabLink, contextualActions, currentDocumentContributor, currentDocumentDescription, currentDocumentTitle, currentFolderishDescription, documentManagementLink, editTabLink, historyTabLink, homePageLink, manageTabLink, relationTabLink, searchPageLink, summaryTabLink, tabsBar, userMenuActions, workflowLinkuserServicesForm| Constructor and Description | 
|---|
ArchivedVersionsSubPage(org.openqa.selenium.WebDriver driver)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
checkCanExecuteActionOnSelectedVersions(String actionId,
                                       boolean canExecute)
Checks the ability to execute the action identified by  
actionId on selected versions. | 
void | 
checkCanRemoveSelectedVersions(boolean canRemove)
Checks the ability to remove selected versions. 
 | 
<T> T | 
executeActionOnSelectedVersions(String actionId,
                               boolean isConfirm,
                               Class<T> pageClass,
                               int findElementTimeout,
                               int waitUntilEnabledTimeout)
Executes the action identified by  
actionId on selected versions. | 
DocumentBasePage | 
executeActionOnVersion(String versionLabel,
                      String actionId)
Executes the action identified by  
actionId on the version with label versionLabel. | 
List<String> | 
getVersionLabels()
Gets the version labels. 
 | 
ArchivedVersionsSubPage | 
removeSelectedVersions()
Removes the selected versions. 
 | 
DocumentBasePage | 
restoreVersion(String versionLabel)
Restores the version with label  
versionLabel. | 
ArchivedVersionsSubPage | 
selectVersion(String versionLabel)
Selects a version given its label. 
 | 
DocumentBasePage | 
viewVersion(String versionLabel)
Views the version with label  
versionLabel. | 
checkDocTitle, checkUserConnected, getAddAllToCollectionPopup, getAddToCollectionPopup, getAdminCenter, getCollectionContentTab, getContentTab, getContentTab, getContextualActions, getCurrentContributors, getCurrentDocumentDescription, getCurrentDocumentTitle, getCurrentFolderishDescription, getCurrentStates, getDocumentManagement, getEditTab, getHistoryTab, getManageTab, getNavigationSubPage, getRelationTab, getSummaryTab, getUserHome, getWorkflow, getWorkspacesContentTab, goToDocumentByBreadcrumb, goToHomePage, goToSearchPage, isAddToCollectionUpperActionAvailable, popupUserMenuActions, swithToDocumentBase, swithToPersonalWorkspaceasPage, findElementAndWaitUntilEnabled, findElementAndWaitUntilEnabled, findElementsWithTimeout, findElementWaitUntilEnabledAndClick, findElementWaitUntilEnabledAndClick, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, get, getErrorFeedbackMessage, getFancyBoxContent, getFeedbackMessage, getHeaderLinks, getWebFragment, getWebFragment, hasElement, selectItemInDropDownMenu, switchToFrame, waitUntilEnabled, waitUntilURLDifferentFrompublic ArchivedVersionsSubPage(org.openqa.selenium.WebDriver driver)
public List<String> getVersionLabels()
public ArchivedVersionsSubPage selectVersion(String versionLabel)
versionLabel - the version labelpublic void checkCanRemoveSelectedVersions(boolean canRemove)
canRemove - true to check if can remove selected versionspublic void checkCanExecuteActionOnSelectedVersions(String actionId, boolean canExecute)
actionId on selected versions.actionId - the action idcanExecute - true to check if can execute action identified by actionId on selected versionspublic ArchivedVersionsSubPage removeSelectedVersions()
public <T> T executeActionOnSelectedVersions(String actionId, boolean isConfirm, Class<T> pageClass, int findElementTimeout, int waitUntilEnabledTimeout)
actionId on selected versions.T - the generic type of the page to returnactionId - the action idisConfirm - true if the action needs a javascript confirmpageClass - the class of the page to returnfindElementTimeout - the find element timeout in millisecondswaitUntilEnabledTimeout - the wait until enabled timeout in millisecondspublic DocumentBasePage viewVersion(String versionLabel)
versionLabel.versionLabel - the version labelpublic DocumentBasePage restoreVersion(String versionLabel)
versionLabel.versionLabel - the version labelpublic DocumentBasePage executeActionOnVersion(String versionLabel, String actionId)
actionId on the version with label versionLabel.versionLabel - the version labelactionId - the action idCopyright © 2015 Nuxeo SA. All rights reserved.