public class NotificationsUserProfilePage extends ViewPage
Constructor and Description |
---|
NotificationsUserProfilePage()
Construct a NotificationsUserProfilePage (and for the browser page to be fully loaded).
|
Modifier and Type | Method and Description |
---|---|
void |
disableAllParameters()
Disable every notification parameters.
|
ApplicationPreferences |
getApplication(String applicationId) |
Map<String,ApplicationPreferences> |
getApplicationPreferences() |
BootstrapSwitch.State |
getApplicationState(String applicationId,
String format) |
EventTypePreferences |
getEventType(String applicationId,
String eventType) |
BootstrapSwitch.State |
getEventTypeState(String applicationId,
String eventType,
String format) |
List<NotificationFilterPreference> |
getNotificationFilterPreferences() |
static NotificationsUserProfilePage |
gotoPage(String username) |
void |
setApplicationState(String applicationId,
String format,
BootstrapSwitch.State state)
Set the state of the given application for the given format.
|
void |
setEventTypeState(String applicationId,
String eventType,
String format,
BootstrapSwitch.State state)
Set the state of the event type for the given format.
|
clickBreadcrumbLink, clickWantedLink, clickWantedLink, contentContainsElement, editSection, exists, getBreadcrumb, getBreadcrumbContent, getContent, hasBreadcrumbContent, hasBreadcrumbContent, isInlinePage, openAttachmentsDocExtraPane, openCommentsDocExtraPane, openHistoryDocExtraPane, openInformationDocExtraPane, useShortcutKeyForAttachmentPane, useShortcutKeyForCommentPane, useShortcutKeyForHistoryPane, useShortcutKeyForInformationPane, waitForDocExtraPaneActive, waitUntilContent
canDelete, clickAdminActionsSubMenuEntry, clickEditSubMenuEntry, clickLocale, clickMoreActionsSubMenuEntry, copy, createInlinePage, createPage, delete, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getCurrentUser, getDocumentTitle, getEditURL, getErrorContent, getHTMLMetaDataValue, getLocales, getMetaDataValue, getPageTitle, getPageURL, hasLeftPanel, hasLoginLink, hasNotificationsMenu, 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, waitUntilPageJSIsLoaded, watchDocument, watchSpace, watchWiki
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage
public NotificationsUserProfilePage()
public Map<String,ApplicationPreferences> getApplicationPreferences()
public static NotificationsUserProfilePage gotoPage(String username)
username
- the user profile document namepublic 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()
public List<NotificationFilterPreference> getNotificationFilterPreferences()
Copyright © 2004–2019 XWiki. All rights reserved.