@ExperimentalApi
public interface RemoteSpaceService
SpaceService implementation that communicates with Confluence remotely using the Confluence REST api.
Provides future returning equivalents for the methods in SpaceService.| Modifier and Type | Interface and Description |
|---|---|
static interface |
RemoteSpaceService.RemoteSpaceContentFinder |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.util.concurrent.Promise<Space> |
create(Space newSpace,
boolean isPrivate)
Create a new space.
|
RemoteSpaceService.RemoteSpaceContentFinder |
findContent(Space space,
Expansion... expansion)
Create a finder to find content in the given space.
|
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Space>> |
getSpace(java.lang.String spaceKey,
Expansion... expansions)
Retrieve a space with the given spacekey.
|
SpaceService.Validator |
validator()
Get the validator view of the Space Service.
|
com.atlassian.util.concurrent.Promise<Space> create(Space newSpace, boolean isPrivate) throws ServiceException
Minimum properties to be valid is a key and name.
newSpace - the space to createisPrivate - true if the space should only be visible to its creatorServiceException - if the space cannot be createdSpaceService.Validator validator()
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Space>> getSpace(java.lang.String spaceKey, Expansion... expansions)
spaceKey - - the space key of the spaceRemoteSpaceService.RemoteSpaceContentFinder findContent(Space space, Expansion... expansion)
space - - the space to fetch content forexpansion - - the expansions to apply to the content in this spaceCopyright © 2003-2014 Atlassian. All Rights Reserved.