Interface RemoteContentPropertyService
-
- All Known Implementing Classes:
RemoteContentPropertyServiceImpl
public interface RemoteContentPropertyService
ContentPropertyService
implementation that communicates with Confluence remotely using the Confluence REST API.- Since:
- 5.6
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
RemoteContentPropertyService.RemoteContentPropertyFetcher
static interface
RemoteContentPropertyService.RemoteContentPropertyFinder
static interface
RemoteContentPropertyService.RemoteParameterContentPropertyFinder
static interface
RemoteContentPropertyService.RemoteSingleContentPropertyFetcher
static interface
RemoteContentPropertyService.RemoteValidator
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description com.atlassian.util.concurrent.Promise<JsonContentProperty>
create(JsonContentProperty newProperty)
Deprecated.since 7.0.1.CompletionStage<JsonContentProperty>
createCompletionStage(JsonContentProperty newProperty)
Create a content property.com.atlassian.util.concurrent.Promise<Void>
delete(JsonContentProperty property)
Deprecated.since 7.0.1.CompletionStage<Void>
deleteCompletionStage(JsonContentProperty property)
Removes a content property from the system.RemoteContentPropertyService.RemoteContentPropertyFinder
find(Expansion... expansions)
com.atlassian.util.concurrent.Promise<JsonContentProperty>
update(JsonContentProperty property)
Deprecated.since 7.0.1.CompletionStage<JsonContentProperty>
updateCompletionStage(JsonContentProperty property)
Updates a content property.RemoteContentPropertyService.RemoteValidator
validator()
-
-
-
Method Detail
-
find
RemoteContentPropertyService.RemoteContentPropertyFinder find(Expansion... expansions)
-
validator
RemoteContentPropertyService.RemoteValidator validator()
-
create
@Deprecated com.atlassian.util.concurrent.Promise<JsonContentProperty> create(JsonContentProperty newProperty)
Deprecated.since 7.0.1. UsecreateCompletionStage(JsonContentProperty)
instead.Create a content property.- Parameters:
newProperty
- the content property to create- Returns:
- the content property created
-
update
@Deprecated com.atlassian.util.concurrent.Promise<JsonContentProperty> update(JsonContentProperty property)
Deprecated.since 7.0.1. UseupdateCompletionStage(JsonContentProperty)
instead.Updates a content property.- Parameters:
property
- the updatedJsonContentProperty
with metadata about the change- Returns:
- the updated content after being persisted
-
delete
@Deprecated com.atlassian.util.concurrent.Promise<Void> delete(JsonContentProperty property)
Deprecated.since 7.0.1. UsedeleteCompletionStage(JsonContentProperty)
instead.Removes a content property from the system.- Parameters:
property
- the content property to remove
-
createCompletionStage
CompletionStage<JsonContentProperty> createCompletionStage(JsonContentProperty newProperty)
Create a content property.- Parameters:
newProperty
- the content property to create- Returns:
- the content property created
- Since:
- 7.0.1
-
updateCompletionStage
CompletionStage<JsonContentProperty> updateCompletionStage(JsonContentProperty property)
Updates a content property.- Parameters:
property
- the updatedJsonContentProperty
with metadata about the change- Returns:
- the updated content after being persisted
- Since:
- 7.0.2
-
deleteCompletionStage
CompletionStage<Void> deleteCompletionStage(JsonContentProperty property)
Removes a content property from the system.- Parameters:
property
- the content property to remove- Since:
- 7.0.1
-
-