Class SpaceServiceImpl.SpaceFinderImpl
java.lang.Object
com.atlassian.confluence.api.impl.service.content.finder.AbstractFinder<Space>
com.atlassian.confluence.api.impl.service.content.SpaceServiceImpl.SpaceFinderImpl
- All Implemented Interfaces:
SpaceService.SingleSpaceFetcher
,SpaceService.SpaceFinder
,ManyFetcher<Space>
,SingleFetcher<Space>
- Enclosing class:
- SpaceServiceImpl
public class SpaceServiceImpl.SpaceFinderImpl
extends AbstractFinder<Space>
implements SpaceService.SpaceFinder
-
Field Summary
Fields inherited from class com.atlassian.confluence.api.impl.service.content.finder.AbstractFinder
expansions
-
Method Summary
Modifier and TypeMethodDescriptionfetch()
fetchMany
(PageRequest request) withContentContainingLabels
(List<String> labels) withHasRetentionPolicy
(boolean hasRetentionPolicy) Filter spaces that have retention policies or notwithIsFavourited
(boolean isFavourited) withLabels
(Label... labels) withStatus
(SpaceStatus status) Methods inherited from class com.atlassian.confluence.api.impl.service.content.finder.AbstractFinder
getExpansions
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.api.service.finder.SingleFetcher
fetchOneOrNull, fetchOrNull
-
Method Details
-
withKeys
- Specified by:
withKeys
in interfaceSpaceService.SpaceFinder
-
withIds
- Specified by:
withIds
in interfaceSpaceService.SpaceFinder
-
withType
- Specified by:
withType
in interfaceSpaceService.SpaceFinder
-
withStatus
- Specified by:
withStatus
in interfaceSpaceService.SpaceFinder
-
withLabels
- Specified by:
withLabels
in interfaceSpaceService.SpaceFinder
-
withContentContainingLabels
- Specified by:
withContentContainingLabels
in interfaceSpaceService.SpaceFinder
-
withIsFavourited
- Specified by:
withIsFavourited
in interfaceSpaceService.SpaceFinder
-
withHasRetentionPolicy
Description copied from interface:SpaceService.SpaceFinder
Filter spaces that have retention policies or not- Specified by:
withHasRetentionPolicy
in interfaceSpaceService.SpaceFinder
-
fetchMany
- Specified by:
fetchMany
in interfaceManyFetcher<Space>
- Parameters:
request
- - a pageRequest to use to paginate the response, this will be limited if it exceeds system limits- Returns:
- a pageResponse of given type that matches the given restrictions
-
fetch
- Specified by:
fetch
in interfaceSingleFetcher<Space>
-