Interface NotificationEmailUserPreferenceManager
-
@Role public interface NotificationEmailUserPreferenceManager
Configuration for the emails for each user.- Since:
- 9.11RC1
- Version:
- $Id: 36cc0da1666f7c4310f0bec14db34619c66ce610 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description NotificationEmailDiffType
getDiffType()
NotificationEmailDiffType
getDiffType(String userId)
Deprecated.since 14.10, usegetDiffType(UserReference)
insteaddefault NotificationEmailDiffType
getDiffType(org.xwiki.user.UserReference userReference)
default NotificationEmailInterval
getInterval()
default NotificationEmailInterval
getInterval(org.xwiki.user.UserReference userReference)
-
-
-
Method Detail
-
getDiffType
NotificationEmailDiffType getDiffType()
- Returns:
- the diff type configured for the current user
-
getDiffType
@Deprecated(since="14.10") NotificationEmailDiffType getDiffType(String userId)
Deprecated.since 14.10, usegetDiffType(UserReference)
instead- Parameters:
userId
- id of a user- Returns:
- the diff type configured for the given user
-
getDiffType
@Unstable default NotificationEmailDiffType getDiffType(org.xwiki.user.UserReference userReference)
- Parameters:
userReference
- reference of a user- Returns:
- the diff type configured for the given user
- Since:
- 14.10
-
getInterval
@Unstable default NotificationEmailInterval getInterval()
- Returns:
- the notification interval configured for the current user
- Since:
- 14.10
-
getInterval
@Unstable default NotificationEmailInterval getInterval(org.xwiki.user.UserReference userReference)
- Parameters:
userReference
- reference of a user- Returns:
- the notification interval configured for the given user
- Since:
- 14.10
-
-