com.atlassian.confluence.rest.client
Class RemoteContentServiceImpl.RemoteContentFinderImpl
java.lang.Object
com.atlassian.confluence.rest.client.AbstractRemoteService<ContentService.ContentFinder>
com.atlassian.confluence.rest.client.RemoteContentServiceImpl.RemoteContentFinderImpl
- All Implemented Interfaces:
- RemoteContentService.RemoteContentFetcher, RemoteContentService.RemoteContentFinder, RemoteContentService.RemoteParameterContentFinder, RemoteContentService.RemoteSingleContentFetcher
- Enclosing class:
- RemoteContentServiceImpl
public class RemoteContentServiceImpl.RemoteContentFinderImpl
- extends AbstractRemoteService<ContentService.ContentFinder>
- implements RemoteContentService.RemoteContentFinder
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService |
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, getFutureGenericCollection, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, putFuture |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
withId
public RemoteContentService.RemoteSingleContentFetcher withId(ContentId contentId)
- Specified by:
withId
in interface RemoteContentService.RemoteContentFinder
withLocator
public RemoteContentService.RemoteSingleContentFetcher withLocator(ContentLocator locator)
- Description copied from interface:
RemoteContentService.RemoteContentFinder
- Retrieve a piece of content by some more complex criteria (defined by the ContentLocator).
- Specified by:
withLocator
in interface RemoteContentService.RemoteContentFinder
- Parameters:
locator
- the locator containing the criteria for the content you are looking for
- Returns:
- the content, if one exists matching the criteria, or none otherwise.
withSpace
public RemoteContentService.RemoteParameterContentFinder withSpace(Space... spaces)
- Specified by:
withSpace
in interface RemoteContentService.RemoteParameterContentFinder
withType
public RemoteContentService.RemoteParameterContentFinder withType(ContentType... types)
- Specified by:
withType
in interface RemoteContentService.RemoteParameterContentFinder
withCreatedDate
public RemoteContentService.RemoteParameterContentFinder withCreatedDate(org.joda.time.LocalDate time)
- Specified by:
withCreatedDate
in interface RemoteContentService.RemoteParameterContentFinder
withTitle
public RemoteContentService.RemoteParameterContentFinder withTitle(java.lang.String title)
- Specified by:
withTitle
in interface RemoteContentService.RemoteParameterContentFinder
fetchMany
public com.atlassian.util.concurrent.Promise<PageResponse<Content>> fetchMany(ContentType type,
PageRequest request)
- Specified by:
fetchMany
in interface RemoteContentService.RemoteContentFetcher
fetchMappedByContentType
public com.atlassian.util.concurrent.Promise<java.util.Map<ContentType,PageResponse<Content>>> fetchMappedByContentType(PageRequest request)
- Specified by:
fetchMappedByContentType
in interface RemoteContentService.RemoteContentFetcher
fetchOne
public com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Content>> fetchOne()
- Specified by:
fetchOne
in interface RemoteContentService.RemoteSingleContentFetcher
fetchOneOrNull
public com.atlassian.util.concurrent.Promise<Content> fetchOneOrNull()
- Specified by:
fetchOneOrNull
in interface RemoteContentService.RemoteSingleContentFetcher
Copyright © 2003-2014 Atlassian. All Rights Reserved.