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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Space>fetch()PageResponse<Space>fetchMany(PageRequest request)SpaceService.SpaceFinderwithHasRetentionPolicy(boolean hasRetentionPolicy)Filter spaces that have retention policies or notSpaceService.SpaceFinderwithIsFavourited(boolean isFavourited)SpaceService.SpaceFinderwithKeys(String... keys)SpaceService.SpaceFinderwithLabels(Label... labels)SpaceService.SpaceFinderwithStatus(SpaceStatus status)SpaceService.SpaceFinderwithType(SpaceType type)-
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
fetchOne, fetchOneOrNull, fetchOrNull
-
-
-
-
Method Detail
-
withKeys
public SpaceService.SpaceFinder withKeys(String... keys)
- Specified by:
withKeysin interfaceSpaceService.SpaceFinder
-
withType
public SpaceService.SpaceFinder withType(SpaceType type)
- Specified by:
withTypein interfaceSpaceService.SpaceFinder
-
withStatus
public SpaceService.SpaceFinder withStatus(SpaceStatus status)
- Specified by:
withStatusin interfaceSpaceService.SpaceFinder
-
withLabels
public SpaceService.SpaceFinder withLabels(Label... labels)
- Specified by:
withLabelsin interfaceSpaceService.SpaceFinder
-
withIsFavourited
public SpaceService.SpaceFinder withIsFavourited(boolean isFavourited)
- Specified by:
withIsFavouritedin interfaceSpaceService.SpaceFinder
-
withHasRetentionPolicy
public SpaceService.SpaceFinder withHasRetentionPolicy(boolean hasRetentionPolicy)
Description copied from interface:SpaceService.SpaceFinderFilter spaces that have retention policies or not- Specified by:
withHasRetentionPolicyin interfaceSpaceService.SpaceFinder
-
fetchMany
public PageResponse<Space> fetchMany(PageRequest request)
- Specified by:
fetchManyin 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
public Optional<Space> fetch()
- Specified by:
fetchin interfaceSingleFetcher<Space>
-
-