public class RemoteSpaceServiceImpl extends AbstractRemoteService<SpaceService> implements RemoteSpaceService
| Modifier and Type | Class and Description |
|---|---|
static class |
RemoteSpaceServiceImpl.RemoteSpaceContentFinderImpl |
RemoteSpaceService.RemoteSpaceContentFinder| Constructor and Description |
|---|
RemoteSpaceServiceImpl(AuthenticatedWebResourceProvider provider,
com.google.common.util.concurrent.ListeningExecutorService executor) |
| Modifier and Type | Method and Description |
|---|---|
RemoteSpaceService.RemoteSpaceContentFinder |
findContent(Space space,
Expansion... expansion)
Create a finder to find content in the given space.
|
java.util.concurrent.Future<PageResponse<Content>> |
getContent(Space space,
PageRequest pageRequest,
Expansion... expansions)
Retrieve the top level content contained in this space.
|
java.util.concurrent.Future<com.atlassian.fugue.Option<Space>> |
getSpace(java.lang.String spaceKey,
Expansion... expansions)
Retrieve a space with the given spacekey.
|
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, getFutureGenericCollection, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, putFuturepublic RemoteSpaceServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
public java.util.concurrent.Future<com.atlassian.fugue.Option<Space>> getSpace(java.lang.String spaceKey, Expansion... expansions)
RemoteSpaceServicegetSpace in interface RemoteSpaceServicespaceKey - - the space key of the spacepublic java.util.concurrent.Future<PageResponse<Content>> getContent(Space space, PageRequest pageRequest, Expansion... expansions)
RemoteSpaceServiceThe pageRequest limit is restricted to a maximum page size.
getContent in interface RemoteSpaceServicespace - - the space to retrieve the content forpageRequest - - a pageRequest indicating how much content to retrieve.public RemoteSpaceService.RemoteSpaceContentFinder findContent(Space space, Expansion... expansion)
RemoteSpaceServicefindContent in interface RemoteSpaceServicespace - - the space to fetch content forexpansion - - the expansions to apply to the content in this spaceCopyright © 2003-2014 Atlassian. All Rights Reserved.