com.atlassian.confluence.rest.client
Class RemoteContentPropertyServiceImpl

java.lang.Object
  extended by com.atlassian.confluence.rest.client.AbstractRemoteService<ContentPropertyService>
      extended by com.atlassian.confluence.rest.client.RemoteContentPropertyServiceImpl
All Implemented Interfaces:
RemoteContentPropertyService

public class RemoteContentPropertyServiceImpl
extends AbstractRemoteService<ContentPropertyService>
implements RemoteContentPropertyService


Nested Class Summary
 class RemoteContentPropertyServiceImpl.RemoteContentPropertyFinderImpl
           
 
Nested classes/interfaces inherited from interface com.atlassian.confluence.rest.client.RemoteContentPropertyService
RemoteContentPropertyService.RemoteContentPropertyFetcher, RemoteContentPropertyService.RemoteContentPropertyFinder, RemoteContentPropertyService.RemoteParameterContentPropertyFinder, RemoteContentPropertyService.RemoteSingleContentPropertyFetcher, RemoteContentPropertyService.RemoteValidator
 
Constructor Summary
RemoteContentPropertyServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
           
 
Method Summary
 com.atlassian.util.concurrent.Promise<JsonContentProperty> create(JsonContentProperty newProperty)
          Create a content property.
 com.atlassian.util.concurrent.Promise<java.lang.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()
           
 
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, deleteFuture, getFutureGenericCollection, 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
 

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:
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<java.lang.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-2014 Atlassian. All Rights Reserved.