com.atlassian.confluence.rest.client
Interface RemoteContentPropertyService

All Known Implementing Classes:
RemoteContentPropertyServiceImpl

public interface RemoteContentPropertyService

ContentPropertyService implementation that communicates with Confluence remotely using the Confluence REST API.

Since:
5.6

Nested Class Summary
static interface RemoteContentPropertyService.RemoteContentPropertyFetcher
           
static interface RemoteContentPropertyService.RemoteContentPropertyFinder
           
static interface RemoteContentPropertyService.RemoteParameterContentPropertyFinder
           
static interface RemoteContentPropertyService.RemoteSingleContentPropertyFetcher
           
static interface RemoteContentPropertyService.RemoteValidator
           
 
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()
           
 

Method Detail

find

RemoteContentPropertyService.RemoteContentPropertyFinder find(Expansion... expansions)

validator

RemoteContentPropertyService.RemoteValidator validator()

create

com.atlassian.util.concurrent.Promise<JsonContentProperty> create(JsonContentProperty newProperty)
Create a content property.

Parameters:
newProperty - the content property to create
Returns:
the content property created

update

com.atlassian.util.concurrent.Promise<JsonContentProperty> update(JsonContentProperty property)
Updates a content property.

Parameters:
property - the updated JsonContentProperty with metadata about the change
Returns:
the updated content after being persisted

delete

com.atlassian.util.concurrent.Promise<java.lang.Void> delete(JsonContentProperty property)
Removes a content property from the system.

Parameters:
property - the content property to remove


Copyright © 2003-2014 Atlassian. All Rights Reserved.