com.atlassian.confluence.rest.client
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
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService |
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, deleteFuture, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, putFuture |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteContentPropertyServiceImpl
public RemoteContentPropertyServiceImpl(AuthenticatedWebResourceProvider provider,
com.google.common.util.concurrent.ListeningExecutorService executor)
find
public RemoteContentPropertyService.RemoteContentPropertyFinder find(Expansion... expansions)
- Specified by:
find
in interface RemoteContentPropertyService
create
public com.atlassian.util.concurrent.Promise<JsonContentProperty> create(JsonContentProperty newProperty)
- Description copied from interface:
RemoteContentPropertyService
- Create a content property.
- Specified by:
create
in interface RemoteContentPropertyService
- Parameters:
newProperty
- the content property to create
- Returns:
- the content property created
update
public com.atlassian.util.concurrent.Promise<JsonContentProperty> update(JsonContentProperty property)
- Description copied from interface:
RemoteContentPropertyService
- Updates a content property.
- Specified by:
update
in interface RemoteContentPropertyService
- Parameters:
property
- the updated JsonContentProperty
with metadata about the change
- Returns:
- the updated content after being persisted
delete
public com.atlassian.util.concurrent.Promise<Void> delete(JsonContentProperty property)
- Description copied from interface:
RemoteContentPropertyService
- Removes a content property from the system.
- Specified by:
delete
in interface RemoteContentPropertyService
- Parameters:
property
- the content property to remove
validator
public RemoteContentPropertyService.RemoteValidator validator()
- Specified by:
validator
in interface RemoteContentPropertyService
Copyright © 2003–2015 Atlassian. All rights reserved.