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)Deprecated.since 8.8RemoteContentPropertyServiceImpl(AuthenticatedWebResourceProvider provider, ExecutorService executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStage<JsonContentProperty>createCompletionStage(JsonContentProperty newProperty)Create a content property.CompletionStage<Void>deleteCompletionStage(JsonContentProperty property)Removes a content property from the system.RemoteContentPropertyService.RemoteContentPropertyFinderfind(Expansion... expansions)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, 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.RemoteContentPropertyService
create, delete, update
-
-
-
-
Constructor Detail
-
RemoteContentPropertyServiceImpl
public RemoteContentPropertyServiceImpl(AuthenticatedWebResourceProvider provider, ExecutorService executor)
- Since:
- 8.8
-
RemoteContentPropertyServiceImpl
@Deprecated public RemoteContentPropertyServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
Deprecated.since 8.8
-
-
Method Detail
-
find
public RemoteContentPropertyService.RemoteContentPropertyFinder find(Expansion... expansions)
- Specified by:
findin interfaceRemoteContentPropertyService
-
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
-
-