Interface SpaceService.SpaceFinder
-
- All Superinterfaces:
ManyFetcher<Space>
,SingleFetcher<Space>
,SpaceService.SingleSpaceFetcher
- All Known Implementing Classes:
NoopSpaceFinder
,SpaceServiceImpl.SpaceFinderImpl
- Enclosing interface:
- SpaceService
public static interface SpaceService.SpaceFinder extends SpaceService.SingleSpaceFetcher, ManyFetcher<Space>
A finder for locating spaces. Restrictions are applied using the withFoo() methods, and data is fetched using the fetchFoo() methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpaceService.SpaceFinder
withHasRetentionPolicy(boolean hasRetentionPolicy)
Filter spaces that have retention policies or notSpaceService.SpaceFinder
withIsFavourited(boolean isFavourited)
SpaceService.SpaceFinder
withKeys(String... spaceKeys)
SpaceService.SpaceFinder
withLabels(Label... labels)
SpaceService.SpaceFinder
withStatus(SpaceStatus status)
SpaceService.SpaceFinder
withType(SpaceType type)
-
Methods inherited from interface com.atlassian.confluence.api.service.finder.ManyFetcher
fetchMany
-
Methods inherited from interface com.atlassian.confluence.api.service.finder.SingleFetcher
fetch, fetchOne, fetchOneOrNull, fetchOrNull
-
-
-
-
Method Detail
-
withKeys
SpaceService.SpaceFinder withKeys(String... spaceKeys)
-
withType
SpaceService.SpaceFinder withType(SpaceType type)
-
withStatus
SpaceService.SpaceFinder withStatus(SpaceStatus status)
-
withLabels
SpaceService.SpaceFinder withLabels(Label... labels)
-
withIsFavourited
SpaceService.SpaceFinder withIsFavourited(boolean isFavourited)
-
withHasRetentionPolicy
SpaceService.SpaceFinder withHasRetentionPolicy(boolean hasRetentionPolicy)
Filter spaces that have retention policies or not- Since:
- 7.15.0
-
-