com.atlassian.confluence.api.impl.service.content
Class SpaceServiceImpl.ValidatorImpl

java.lang.Object
  extended by com.atlassian.confluence.api.impl.service.content.SpaceServiceImpl.ValidatorImpl
All Implemented Interfaces:
SpaceService.Validator
Enclosing class:
SpaceServiceImpl

public class SpaceServiceImpl.ValidatorImpl
extends java.lang.Object
implements SpaceService.Validator


Constructor Summary
SpaceServiceImpl.ValidatorImpl()
           
 
Method Summary
 ValidationResult validateCreate(Space space, boolean isPrivate)
          Validate that a Space can be added, including permission checks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceServiceImpl.ValidatorImpl

public SpaceServiceImpl.ValidatorImpl()
Method Detail

validateCreate

public ValidationResult validateCreate(Space space,
                                       boolean isPrivate)
Description copied from interface: SpaceService.Validator
Validate that a Space can be added, including permission checks.

Specified by:
validateCreate in interface SpaceService.Validator
Parameters:
space - the space to be created
isPrivate - whether the space is private (true) or has default permissions (false)
Returns:
an immutable Validation result.


Copyright © 2003-2014 Atlassian. All Rights Reserved.