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)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description com.atlassian.util.concurrent.Promise<JsonSpaceProperty>
create(JsonSpaceProperty newProperty)
Deprecated.since 7.0.1.CompletionStage<JsonSpaceProperty>
createCompletionStage(JsonSpaceProperty newProperty)
Create a space property.com.atlassian.util.concurrent.Promise<Void>
delete(JsonSpaceProperty property)
Deprecated.since 7.0.1.CompletionStage<Void>
deleteCompletionStage(JsonSpaceProperty property)
Removes a space property from the system.RemoteSpacePropertyService.RemoteSpacePropertyFinder
find(Expansion... expansions)
com.atlassian.util.concurrent.Promise<JsonSpaceProperty>
update(JsonSpaceProperty newProperty)
Deprecated.since 7.0.1.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, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postFuture, postFuture, postFuture, postFutureToPageResponse, postVoidCompletionStage, putCompletionStage, putFuture
-
-
-
-
Constructor Detail
-
RemoteSpacePropertyServiceImpl
public RemoteSpacePropertyServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
-
-
Method Detail
-
create
@Deprecated public com.atlassian.util.concurrent.Promise<JsonSpaceProperty> create(JsonSpaceProperty newProperty)
Deprecated.since 7.0.1. UsecreateCompletionStage(JsonSpaceProperty)
instead.Description copied from interface:RemoteSpacePropertyService
Create a space property.- Specified by:
create
in interfaceRemoteSpacePropertyService
- Parameters:
newProperty
- the space property to create- Returns:
- the space property created
-
update
@Deprecated public com.atlassian.util.concurrent.Promise<JsonSpaceProperty> update(JsonSpaceProperty newProperty)
Deprecated.since 7.0.1. UseupdateCompletionStage(JsonSpaceProperty)
instead.Description copied from interface:RemoteSpacePropertyService
Update a space property.- Specified by:
update
in interfaceRemoteSpacePropertyService
- Parameters:
newProperty
- the space property to update- Returns:
- the updated space property
-
delete
@Deprecated public com.atlassian.util.concurrent.Promise<Void> delete(JsonSpaceProperty property)
Deprecated.since 7.0.1. UsedeleteCompletionStage(JsonSpaceProperty)
instead.Description copied from interface:RemoteSpacePropertyService
Removes a space property from the system.- Specified by:
delete
in interfaceRemoteSpacePropertyService
- Parameters:
property
- the space property to remove
-
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
-
-