Class RemoteSpacePropertyServiceImpl
- java.lang.Object
-
- com.atlassian.confluence.rest.client.AbstractRemoteService<SpacePropertyService>
-
- com.atlassian.confluence.rest.client.RemoteSpacePropertyServiceImpl
-
- All Implemented Interfaces:
RemoteSpacePropertyService
public class RemoteSpacePropertyServiceImpl extends AbstractRemoteService<SpacePropertyService> implements RemoteSpacePropertyService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
RemoteSpacePropertyServiceImpl.RemoteSpacePropertyFinderImpl
-
Nested classes/interfaces inherited from interface com.atlassian.confluence.rest.client.RemoteSpacePropertyService
RemoteSpacePropertyService.RemoteManyFetcher<T>, RemoteSpacePropertyService.RemoteSpacePropertyFinder, RemoteSpacePropertyService.RemoteValidator
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
-
Constructor Summary
Constructors Constructor Description RemoteSpacePropertyServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
Deprecated.since 8.8RemoteSpacePropertyServiceImpl(AuthenticatedWebResourceProvider provider, ExecutorService executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStage<JsonSpaceProperty>
createCompletionStage(JsonSpaceProperty newProperty)
Create a space property.CompletionStage<Void>
deleteCompletionStage(JsonSpaceProperty property)
Removes a space property from the system.RemoteSpacePropertyService.RemoteSpacePropertyFinder
find(Expansion... expansions)
CompletionStage<JsonSpaceProperty>
updateCompletionStage(JsonSpaceProperty newProperty)
Update a space property.RemoteSpacePropertyService.RemoteValidator
validator()
-
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
addExpansions, addPageRequest, addPageRequestParams, deleteCompletionStage, deleteCompletionStage, deleteFuture, deleteFuture, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFutureOptional, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postFuture, postFuture, postFuture, postFutureToPageResponse, postVoidCompletionStage, putCompletionStage, putFuture
-
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.rest.client.RemoteSpacePropertyService
create, delete, update
-
-
-
-
Constructor Detail
-
RemoteSpacePropertyServiceImpl
public RemoteSpacePropertyServiceImpl(AuthenticatedWebResourceProvider provider, ExecutorService executor)
- Since:
- 8.8
-
RemoteSpacePropertyServiceImpl
@Deprecated public RemoteSpacePropertyServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
Deprecated.since 8.8
-
-
Method Detail
-
createCompletionStage
public CompletionStage<JsonSpaceProperty> createCompletionStage(JsonSpaceProperty newProperty)
Description copied from interface:RemoteSpacePropertyService
Create a space property.- Specified by:
createCompletionStage
in interfaceRemoteSpacePropertyService
- Parameters:
newProperty
- the space property to create- Returns:
- the space property created
-
updateCompletionStage
public CompletionStage<JsonSpaceProperty> updateCompletionStage(JsonSpaceProperty newProperty)
Description copied from interface:RemoteSpacePropertyService
Update a space property.- Specified by:
updateCompletionStage
in interfaceRemoteSpacePropertyService
- Parameters:
newProperty
- the space property to update- Returns:
- the updated space property
-
deleteCompletionStage
public CompletionStage<Void> deleteCompletionStage(JsonSpaceProperty property)
Description copied from interface:RemoteSpacePropertyService
Removes a space property from the system.- Specified by:
deleteCompletionStage
in interfaceRemoteSpacePropertyService
- Parameters:
property
- the space property to remove
-
find
public RemoteSpacePropertyService.RemoteSpacePropertyFinder find(Expansion... expansions)
- Specified by:
find
in interfaceRemoteSpacePropertyService
-
validator
public RemoteSpacePropertyService.RemoteValidator validator()
- Specified by:
validator
in interfaceRemoteSpacePropertyService
-
-