public class RemoteContentPropertyServiceImpl extends AbstractRemoteService<ContentPropertyService> implements RemoteContentPropertyService
Modifier and Type | Class and Description |
---|---|
class |
RemoteContentPropertyServiceImpl.RemoteContentPropertyFinderImpl |
RemoteContentPropertyService.RemoteContentPropertyFetcher, RemoteContentPropertyService.RemoteContentPropertyFinder, RemoteContentPropertyService.RemoteParameterContentPropertyFinder, RemoteContentPropertyService.RemoteSingleContentPropertyFetcher, RemoteContentPropertyService.RemoteValidator
Constructor and Description |
---|
RemoteContentPropertyServiceImpl(AuthenticatedWebResourceProvider provider,
com.google.common.util.concurrent.ListeningExecutorService executor) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<JsonContentProperty> |
create(JsonContentProperty newProperty)
Create a content property.
|
com.atlassian.util.concurrent.Promise<Void> |
delete(JsonContentProperty property)
Removes a content property from the system.
|
RemoteContentPropertyService.RemoteContentPropertyFinder |
find(Expansion... expansions) |
com.atlassian.util.concurrent.Promise<JsonContentProperty> |
update(JsonContentProperty property)
Updates a content property.
|
RemoteContentPropertyService.RemoteValidator |
validator() |
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, deleteFuture, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, putFuture
public RemoteContentPropertyServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
public RemoteContentPropertyService.RemoteContentPropertyFinder find(Expansion... expansions)
find
in interface RemoteContentPropertyService
public com.atlassian.util.concurrent.Promise<JsonContentProperty> create(JsonContentProperty newProperty)
RemoteContentPropertyService
create
in interface RemoteContentPropertyService
newProperty
- the content property to createpublic com.atlassian.util.concurrent.Promise<JsonContentProperty> update(JsonContentProperty property)
RemoteContentPropertyService
update
in interface RemoteContentPropertyService
property
- the updated JsonContentProperty
with metadata about the changepublic com.atlassian.util.concurrent.Promise<Void> delete(JsonContentProperty property)
RemoteContentPropertyService
delete
in interface RemoteContentPropertyService
property
- the content property to removepublic RemoteContentPropertyService.RemoteValidator validator()
validator
in interface RemoteContentPropertyService
Copyright © 2003–2018 Atlassian. All rights reserved.