Class SpacePropertyFinderImpl
- java.lang.Object
-
- com.atlassian.confluence.plugins.contentproperty.spaceproperty.SpacePropertyFinderImpl
-
- All Implemented Interfaces:
SpacePropertyService.SpacePropertyFinder
,ManyFetcher<JsonSpaceProperty>
,SingleFetcher<JsonSpaceProperty>
public class SpacePropertyFinderImpl extends Object implements SpacePropertyService.SpacePropertyFinder
Finder forContentProperty
objects.- Since:
- 5.9
-
-
Constructor Summary
Constructors Constructor Description SpacePropertyFinderImpl(CustomContentManager customContentManager, PermissionManager permissionManager, JsonPropertyFactory jsonPropertyFactory, SpaceService spaceService, PaginationService paginationService, Expansions expansions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<JsonSpaceProperty>
fetch()
PageResponse<JsonSpaceProperty>
fetchMany(PageRequest request)
SpacePropertyService.SpacePropertyFinder
withPropertyKey(String key)
SpacePropertyService.SpacePropertyFinder
withSpaceKey(String spaceKey)
-
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
-
-
-
-
Constructor Detail
-
SpacePropertyFinderImpl
public SpacePropertyFinderImpl(CustomContentManager customContentManager, PermissionManager permissionManager, JsonPropertyFactory jsonPropertyFactory, SpaceService spaceService, PaginationService paginationService, Expansions expansions)
-
-
Method Detail
-
withSpaceKey
public SpacePropertyService.SpacePropertyFinder withSpaceKey(String spaceKey)
- Specified by:
withSpaceKey
in interfaceSpacePropertyService.SpacePropertyFinder
-
withPropertyKey
public SpacePropertyService.SpacePropertyFinder withPropertyKey(String key)
- Specified by:
withPropertyKey
in interfaceSpacePropertyService.SpacePropertyFinder
-
fetchMany
public PageResponse<JsonSpaceProperty> fetchMany(PageRequest request)
- Specified by:
fetchMany
in interfaceManyFetcher<JsonSpaceProperty>
- 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<JsonSpaceProperty> fetch()
- Specified by:
fetch
in interfaceSingleFetcher<JsonSpaceProperty>
-
-