public class CopyPage extends ViewPage
Constructor and Description |
---|
CopyPage() |
Modifier and Type | Method and Description |
---|---|
CopyOrRenameOrDeleteStatusPage |
clickCopyButton()
Submit the copy page form.
|
CopyOverwritePromptPage |
clickCopyButtonExpectingOverwritePrompt()
Submit the copy page form and expect to receive an overwrite warning.
|
DocumentPicker |
getDocumentPicker() |
BreadcrumbElement |
getSourceLocation() |
String |
getSourcePageName() |
String |
getSourceSpaceName() |
String |
getTargetPageName() |
String |
getTargetSpaceName() |
boolean |
isTerminal() |
void |
setTargetPageName(String targetPageName)
Sets the name of the target page.
|
void |
setTargetSpaceName(String targetSpaceName)
Sets the name of the space where the page should be copied.
|
clickBreadcrumbLink, clickWantedLink, clickWantedLink, contentContainsElement, editSection, exists, getBreadcrumb, getBreadcrumbContent, getContent, getPageBackgroundColor, getTitleColor, getTitleFontFamily, getTranslateButton, hasBreadcrumbContent, hasBreadcrumbContent, hasTranslateButton, isInlinePage, openAttachmentsDocExtraPane, openCommentsDocExtraPane, openHistoryDocExtraPane, openInformationDocExtraPane, scrollToTop, useShortcutKeyForAttachmentPane, useShortcutKeyForCommentPane, useShortcutKeyForHistoryPane, useShortcutKeyForInformationPane, waitForDocExtraPaneActive, waitUntilContent
canDelete, clickAdminActionsSubMenuEntry, clickEditSubMenuEntry, clickLocale, clickMoreActionsSubMenuEntry, copy, createInlinePage, createPage, delete, deletePage, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getCurrentUser, getDocumentTitle, getEditURL, getErrorContent, getHTMLMetaDataValue, getLocales, getMetaDataValue, getPageTitle, getPageURL, hasLeftPanel, hasLoginLink, hasNotificationsMenu, hasRenderingError, hideDrawer, isAuthenticated, isDrawerVisible, isForbidden, isNewDocument, isNotificationsMenuOpen, login, logout, register, rename, sendKeys, showDrawer, toggleActionMenu, toggleDrawer, toggleNotificationsMenu, useShortcutKeyForClassEditing, useShortcutKeyForEditing, useShortcutKeyForInlineEditing, useShortcutKeyForObjectEditing, useShortcutKeyForPageDeletion, useShortcutKeyForPageRenaming, useShortcutKeyForRightsEditing, useShortcutKeyForSourceViewer, useShortcutKeyForWikiEditing, useShortcutKeyForWysiwygEditing, viewChildren, waitUntilPageIsLoaded, watchDocument, watchSpace, watchWiki
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageJSIsLoaded
public BreadcrumbElement getSourceLocation()
public String getSourceSpaceName()
public String getSourcePageName()
public String getTargetSpaceName()
public void setTargetSpaceName(String targetSpaceName)
targetSpaceName
- the name of the space where the page should be copiedpublic String getTargetPageName()
public boolean isTerminal()
true
if the checkbox for copying terminal page is checked.public void setTargetPageName(String targetPageName)
targetPageName
- the name of the target pagepublic CopyOrRenameOrDeleteStatusPage clickCopyButton()
public CopyOverwritePromptPage clickCopyButtonExpectingOverwritePrompt()
public DocumentPicker getDocumentPicker()
Copyright © 2004–2021 XWiki. All rights reserved.