Class WatchServiceImpl.ValidatorImpl
- java.lang.Object
-
- com.atlassian.confluence.api.impl.service.watch.WatchServiceImpl.ValidatorImpl
-
- All Implemented Interfaces:
WatchService.Validator
- Enclosing class:
- WatchServiceImpl
@Deprecated public class WatchServiceImpl.ValidatorImpl extends Object implements WatchService.Validator
Deprecated.since 7.9
-
-
Constructor Summary
Constructors Constructor Description ValidatorImpl()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ValidationResultvalidateWatchContent(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId)Deprecated.Validate that the user can watch a Content.ValidationResultvalidateWatchSpace(com.atlassian.sal.api.user.UserKey userKey, String spaceKey)Deprecated.Validate that the user can see a Space.
-
-
-
Method Detail
-
validateWatchSpace
public final ValidationResult validateWatchSpace(com.atlassian.sal.api.user.UserKey userKey, String spaceKey)
Deprecated.Description copied from interface:WatchService.ValidatorValidate that the user can see a Space.- Specified by:
validateWatchSpacein interfaceWatchService.Validator- Parameters:
userKey- the user to add or remove as a watcherspaceKey- the space to be watched- Returns:
- an immutable Validation result.
-
validateWatchContent
public final ValidationResult validateWatchContent(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId)
Deprecated.Description copied from interface:WatchService.ValidatorValidate that the user can watch a Content.- Specified by:
validateWatchContentin interfaceWatchService.Validator- Parameters:
userKey- the key of the user to add as a watchercontentId- the content to be watched- Returns:
- an immutable Validation result.
-
-