com.atlassian.confluence.api.service.content
Interface SpaceService.Validator
- All Known Implementing Classes:
- SpaceServiceImpl.ValidatorImpl
- Enclosing interface:
- SpaceService
public static interface SpaceService.Validator
Provides methods for validating the create, update and delete methods.
validateCreate
ValidationResult validateCreate(Space newSpace,
boolean isPrivate)
- Validate that a Space can be added, including permission checks.
- Parameters:
newSpace
- the space to be createdisPrivate
- whether the space is private (true) or has default permissions (false)
- Returns:
- an immutable Validation result.
Copyright © 2003-2014 Atlassian. All Rights Reserved.