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.SpaceFinderwithHasRetentionPolicy(boolean hasRetentionPolicy)Filter spaces that have retention policies or notSpaceService.SpaceFinderwithIsFavourited(boolean isFavourited)SpaceService.SpaceFinderwithKeys(String... spaceKeys)SpaceService.SpaceFinderwithLabels(Label... labels)SpaceService.SpaceFinderwithStatus(SpaceStatus status)SpaceService.SpaceFinderwithType(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
 
 
 - 
 
 -