Interface RemoteSpacePropertyService
-
- All Known Implementing Classes:
RemoteSpacePropertyServiceImpl
public interface RemoteSpacePropertyService
SpacePropertyService
implementation that communicates with Confluence remotely using the Confluence REST API.- Since:
- 5.9
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
RemoteSpacePropertyService.RemoteManyFetcher<T>
static interface
RemoteSpacePropertyService.RemoteSpacePropertyFinder
static interface
RemoteSpacePropertyService.RemoteValidator
-
Method Summary
All Methods Instance Methods Abstract 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()
-
-
-
Method Detail
-
find
RemoteSpacePropertyService.RemoteSpacePropertyFinder find(Expansion... expansions)
-
create
@Deprecated com.atlassian.util.concurrent.Promise<JsonSpaceProperty> create(JsonSpaceProperty newProperty)
Deprecated.since 7.0.1. UsecreateCompletionStage(JsonSpaceProperty)
instead.Create a space property.- Parameters:
newProperty
- the space property to create- Returns:
- the space property created
-
update
@Deprecated com.atlassian.util.concurrent.Promise<JsonSpaceProperty> update(JsonSpaceProperty newProperty)
Deprecated.since 7.0.1. UseupdateCompletionStage(JsonSpaceProperty)
instead.Update a space property.- Parameters:
newProperty
- the space property to update- Returns:
- the updated space property
-
delete
@Deprecated com.atlassian.util.concurrent.Promise<Void> delete(JsonSpaceProperty property)
Deprecated.since 7.0.1. UsedeleteCompletionStage(JsonSpaceProperty)
instead.Removes a space property from the system.- Parameters:
property
- the space property to remove
-
createCompletionStage
CompletionStage<JsonSpaceProperty> createCompletionStage(JsonSpaceProperty newProperty)
Create a space property.- Parameters:
newProperty
- the space property to create- Returns:
- the space property created
- Since:
- 7.0.1
-
updateCompletionStage
CompletionStage<JsonSpaceProperty> updateCompletionStage(JsonSpaceProperty newProperty)
Update a space property.- Parameters:
newProperty
- the space property to update- Returns:
- the updated space property
- Since:
- 7.0.1
-
deleteCompletionStage
CompletionStage<Void> deleteCompletionStage(JsonSpaceProperty property)
Removes a space property from the system.- Parameters:
property
- the space property to remove- Since:
- 7.0.1
-
validator
RemoteSpacePropertyService.RemoteValidator validator()
-
-