@ExperimentalApi
public interface RemoteAccessModeService
AccessModeService
implementation that communicates with Confluence remotely using the Confluence REST API.
Provides future returning equivalents for the methods in AccessModeService.
@Deprecated com.atlassian.util.concurrent.Promise<AccessMode> getAccessMode()
getAccessModeCompletionStage()
instead.@Deprecated com.atlassian.util.concurrent.Promise<Void> updateAccessMode(AccessMode accessMode) throws ServiceException
updateAccessModeCompletionStage(AccessMode)
instead.ServiceException
@Deprecated com.atlassian.util.concurrent.Promise<Boolean> isReadOnlyAccessModeEnabled()
isReadOnlyAccessModeEnabledCompletionStage()
instead.@Deprecated com.atlassian.util.concurrent.Promise<Boolean> shouldEnforceReadOnlyAccess()
shouldEnforceReadOnlyAccessCompletionStage()
instead.@Deprecated <T> com.atlassian.util.concurrent.Promise<T> withReadOnlyAccessExemption(Callable<T> callable) throws ServiceException
withReadOnlyAccessExemptionCompletionStage(Callable)
instead.T
- the return type of the methodcallable
- the methodServiceException
CompletionStage<AccessMode> getAccessModeCompletionStage()
CompletionStage<Void> updateAccessModeCompletionStage(AccessMode accessMode) throws ServiceException
ServiceException
CompletionStage<Boolean> isReadOnlyAccessModeEnabledCompletionStage()
CompletionStage<Boolean> shouldEnforceReadOnlyAccessCompletionStage()
<T> CompletionStage<T> withReadOnlyAccessExemptionCompletionStage(Callable<T> callable) throws ServiceException
T
- the return type of the methodcallable
- the methodServiceException
Copyright © 2003–2020 Atlassian. All rights reserved.