@Deprecated public class WatchServiceImpl.ValidatorImpl extends Object implements WatchService.Validator
| Constructor and Description | 
|---|
ValidatorImpl()
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
ValidationResult | 
validateWatchContent(com.atlassian.sal.api.user.UserKey userKey,
                    ContentId contentId)
Deprecated.  
Validate that the user can watch a Content. 
 | 
ValidationResult | 
validateWatchSpace(com.atlassian.sal.api.user.UserKey userKey,
                  String spaceKey)
Deprecated.  
Validate that the user can see a Space. 
 | 
public final ValidationResult validateWatchSpace(com.atlassian.sal.api.user.UserKey userKey, String spaceKey)
WatchService.ValidatorvalidateWatchSpace in interface WatchService.ValidatoruserKey - the user to add or remove as a watcherspaceKey - the space to be watchedpublic final ValidationResult validateWatchContent(com.atlassian.sal.api.user.UserKey userKey, ContentId contentId)
WatchService.ValidatorvalidateWatchContent in interface WatchService.ValidatoruserKey - the key of the user to add as a watchercontentId - the content to be watchedCopyright © 2003–2022 Atlassian. All rights reserved.