public class RemoteSpaceServiceImpl extends AbstractRemoteService<SpaceService> implements RemoteSpaceService
| Constructor and Description |
|---|
RemoteSpaceServiceImpl(AuthenticatedWebResourceProvider provider,
java.util.concurrent.ExecutorService executor) |
| Modifier and Type | Method and Description |
|---|---|
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, deleteFuture, getFutureOption, getFuturePageResponseList, newRestWebResource, postFuture, putFuturepublic RemoteSpaceServiceImpl(AuthenticatedWebResourceProvider provider, java.util.concurrent.ExecutorService 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.Copyright © 2003-2014 Atlassian. All Rights Reserved.