Class RemoteContentPropertyServiceImpl
- java.lang.Object
-
- com.atlassian.confluence.rest.client.AbstractRemoteService<ContentPropertyService>
-
- com.atlassian.confluence.rest.client.RemoteContentPropertyServiceImpl
-
- All Implemented Interfaces:
RemoteContentPropertyService
public class RemoteContentPropertyServiceImpl extends AbstractRemoteService<ContentPropertyService> implements RemoteContentPropertyService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classRemoteContentPropertyServiceImpl.RemoteContentPropertyFinderImpl-
Nested classes/interfaces inherited from interface com.atlassian.confluence.rest.client.RemoteContentPropertyService
RemoteContentPropertyService.RemoteContentPropertyFetcher, RemoteContentPropertyService.RemoteContentPropertyFinder, RemoteContentPropertyService.RemoteParameterContentPropertyFinder, RemoteContentPropertyService.RemoteSingleContentPropertyFetcher, RemoteContentPropertyService.RemoteValidator
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
-
Constructor Summary
Constructors Constructor Description RemoteContentPropertyServiceImpl(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<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.RemoteContentPropertyFinderfind(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.RemoteValidatorvalidator()-
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
-
RemoteContentPropertyServiceImpl
public RemoteContentPropertyServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
-
-
Method Detail
-
find
public RemoteContentPropertyService.RemoteContentPropertyFinder find(Expansion... expansions)
- Specified by:
findin interfaceRemoteContentPropertyService
-
create
@Deprecated public com.atlassian.util.concurrent.Promise<JsonContentProperty> create(JsonContentProperty newProperty)
Deprecated.since 7.0.1. UsecreateCompletionStage(JsonContentProperty)instead.Description copied from interface:RemoteContentPropertyServiceCreate a content property.- Specified by:
createin interfaceRemoteContentPropertyService- Parameters:
newProperty- the content property to create- Returns:
- the content property created
-
update
@Deprecated public com.atlassian.util.concurrent.Promise<JsonContentProperty> update(JsonContentProperty property)
Deprecated.since 7.0.1. UseupdateCompletionStage(JsonContentProperty)instead.Description copied from interface:RemoteContentPropertyServiceUpdates a content property.- Specified by:
updatein interfaceRemoteContentPropertyService- Parameters:
property- the updatedJsonContentPropertywith metadata about the change- Returns:
- the updated content after being persisted
-
delete
@Deprecated public com.atlassian.util.concurrent.Promise<Void> delete(JsonContentProperty property)
Deprecated.since 7.0.1. UsedeleteCompletionStage(JsonContentProperty)instead.Description copied from interface:RemoteContentPropertyServiceRemoves a content property from the system.- Specified by:
deletein interfaceRemoteContentPropertyService- Parameters:
property- the content property to remove
-
createCompletionStage
public CompletionStage<JsonContentProperty> createCompletionStage(JsonContentProperty newProperty)
Description copied from interface:RemoteContentPropertyServiceCreate a content property.- Specified by:
createCompletionStagein interfaceRemoteContentPropertyService- Parameters:
newProperty- the content property to create- Returns:
- the content property created
-
updateCompletionStage
public CompletionStage<JsonContentProperty> updateCompletionStage(JsonContentProperty property)
Description copied from interface:RemoteContentPropertyServiceUpdates a content property.- Specified by:
updateCompletionStagein interfaceRemoteContentPropertyService- Parameters:
property- the updatedJsonContentPropertywith metadata about the change- Returns:
- the updated content after being persisted
-
deleteCompletionStage
public CompletionStage<Void> deleteCompletionStage(JsonContentProperty property)
Description copied from interface:RemoteContentPropertyServiceRemoves a content property from the system.- Specified by:
deleteCompletionStagein interfaceRemoteContentPropertyService- Parameters:
property- the content property to remove
-
validator
public RemoteContentPropertyService.RemoteValidator validator()
- Specified by:
validatorin interfaceRemoteContentPropertyService
-
-