public abstract class AbstractNotificationsSettingsPage extends ViewPage
Modifier and Type | Class and Description |
---|---|
static class |
AbstractNotificationsSettingsPage.AutowatchMode
Represents the available autowatch mode values.
|
static class |
AbstractNotificationsSettingsPage.EmailDiffType
Represents the available email changes settings values.
|
Modifier and Type | Field and Description |
---|---|
protected org.openqa.selenium.WebElement |
notificationCustomFilterPreferencesLivetable |
protected org.openqa.selenium.WebElement |
notificationSystemFilterPreferencesLivetable |
Constructor and Description |
---|
AbstractNotificationsSettingsPage() |
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
protected org.openqa.selenium.WebElement notificationSystemFilterPreferencesLivetable
protected org.openqa.selenium.WebElement notificationCustomFilterPreferencesLivetable
protected void waitUntilPreferencesAreLoaded()
protected void initializeApplications()
public Map<String,ApplicationPreferences> getApplicationPreferences()
public ApplicationPreferences getApplication(String applicationId) throws Exception
applicationId
- id of the applicationException
- if the application cannot be foundpublic EventTypePreferences getEventType(String applicationId, String eventType) throws Exception
applicationId
- id of the applicationeventType
- name of the event typeException
- if the event type cannot be foundpublic BootstrapSwitch.State getApplicationState(String applicationId, String format) throws Exception
applicationId
- id of the applicationformat
- the format of the notificationException
- if the application cannot be foundpublic BootstrapSwitch.State getEventTypeState(String applicationId, String eventType, String format) throws Exception
applicationId
- id of the applicationeventType
- name of the event typeformat
- the format of the notificationException
- if the event type cannot be foundpublic void setApplicationState(String applicationId, String format, BootstrapSwitch.State state) throws Exception
applicationId
- id of the applicationformat
- the format of the notificationstate
- the state to setException
- if the application is not foundpublic void setEventTypeState(String applicationId, String eventType, String format, BootstrapSwitch.State state) throws Exception
applicationId
- id of the applicationeventType
- name of the event typeformat
- the format of the notificationstate
- the state to setException
- if the event type cannot be foundpublic void disableAllParameters()
@Deprecated public List<NotificationFilterPreference> getNotificationFilterPreferences()
getSystemNotificationFilterPreferences()
or
getCustomNotificationFilterPreferences()
.public List<SystemNotificationFilterPreference> getSystemNotificationFilterPreferences()
public List<CustomNotificationFilterPreference> getCustomNotificationFilterPreferences()
public AbstractNotificationsSettingsPage.EmailDiffType getNotificationEmailDiffType()
public void setNotificationEmailDiffType(AbstractNotificationsSettingsPage.EmailDiffType value)
value
- the diff type to set.public AbstractNotificationsSettingsPage.AutowatchMode getAutoWatchModeValue()
public void setAutoWatchMode(AbstractNotificationsSettingsPage.AutowatchMode value)
value
- the autowatch mode to set.public CustomNotificationFilterModal clickAddCustomFilter()
Copyright © 2004–2021 XWiki. All rights reserved.