@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 methodServiceExceptionCompletionStage<AccessMode> getAccessModeCompletionStage()
CompletionStage<Void> updateAccessModeCompletionStage(AccessMode accessMode) throws ServiceException
ServiceExceptionCompletionStage<Boolean> isReadOnlyAccessModeEnabledCompletionStage()
CompletionStage<Boolean> shouldEnforceReadOnlyAccessCompletionStage()
<T> CompletionStage<T> withReadOnlyAccessExemptionCompletionStage(Callable<T> callable) throws ServiceException
T - the return type of the methodcallable - the methodServiceExceptionCopyright © 2003–2022 Atlassian. All rights reserved.