Class AdminSoapService
java.lang.Object
com.atlassian.confluence.rpc.soap.services.AdminSoapService
A Soap service holding functionality for Confluence Administrators.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Support remote interface for clearing out the index queue.exportSite
(boolean exportAttachments) Performs a site export and return the download url.boolean
Support remote interface for flushing the index queue.boolean
importSpace
(byte[] importData) boolean
installPlugin
(String pluginFileName, byte[] pluginData) boolean
boolean
isPluginEnabled
(String pluginKey) boolean
isPluginInstalled
(String pluginKey) performBackup
(boolean exportAttachments) Performs a backup, and return the file path on the server.boolean
boolean
void
setAdminUiProperties
(AdminUiProperties adminUiProperties) void
setAnonymousUserPermissionsService
(AnonymousUserPermissionsService anonymousUserPermissionsService) void
setClusterManager
(ClusterManager clusterManager) boolean
setEnableAnonymousAccess
(boolean value) void
setGateKeeper
(GateKeeper gateKeeper) void
setHeartbeatManager
(HeartbeatManager heartbeatManager) void
setImportExportManager
(ImportExportManager importExportManager) Deprecated.void
setIndexManager
(IndexManager indexManager) void
setIndexRecoveryService
(IndexRecoveryService indexRecoveryService) void
setPermissionManager
(PermissionManager permissionManager) void
setPluginAccessor
(com.atlassian.plugin.PluginAccessor pluginAccessor) void
setPluginController
(com.atlassian.plugin.PluginController pluginController) void
setSettingsManager
(GlobalSettingsManager settingsManager) void
setSoapServiceHelper
(SoapServiceHelper soapServiceHelper) void
setSpaceManager
(SpaceManager spaceManager) boolean
startActivity
(String key, String username) Adds a user as an active participant to the specified activityboolean
stopActivity
(String key, String username) Removes a user as an active participant to the specified activity
-
Constructor Details
-
AdminSoapService
public AdminSoapService()
-
-
Method Details
-
exportSite
Performs a site export and return the download url. This method respects permissions, and thus only a user with administrator privilages will be able to successfully invoke this method.If manual backup zip download is not enabled (by setting
ConfluenceAdminUiProperties.ALLOW_MANUAL_BACKUP_DOWNLOAD_KEY
to true in confluence.cfg.xml), this method will throw an exception.- Parameters:
exportAttachments
- if true, export attachments as well.- Returns:
- the download url for the export
- Throws:
RemoteException
- if there are any errors performing the export (including authorization errors).
-
performBackup
Performs a backup, and return the file path on the server.- Parameters:
exportAttachments
- set to true to export attachments- Returns:
- a path to the export zip.
- Throws:
RemoteException
- if there are any errors performing the export (including authentication errors).
-
getServerInfo
- Throws:
RemoteException
-
flushIndexQueue
Support remote interface for flushing the index queue.- Returns:
- true if the flush actually occurred.
- Throws:
RemoteException
-
refreshIndex
public boolean refreshIndex() -
clearIndexQueue
Support remote interface for clearing out the index queue.- Throws:
RemoteException
-
recoverIndex
- Throws:
RemoteException
-
getClusterInformation
-
getClusterNodeStatuses
- Throws:
RemoteException
-
importSpace
- Throws:
RemoteException
-
isDarkFeatureEnabled
-
startActivity
Adds a user as an active participant to the specified activity- Parameters:
key
- The key used to identify the activityusername
- The username of the user who is participating in the activity- Throws:
RemoteException
-
stopActivity
Removes a user as an active participant to the specified activity- Parameters:
key
- The key used to identify the activityusername
- The username of the user who is no longer participating in the activity- Throws:
RemoteException
-
isPluginInstalled
- Throws:
RemoteException
-
isPluginEnabled
- Throws:
RemoteException
-
installPlugin
- Throws:
RemoteException
-
setEnableAnonymousAccess
- Throws:
RemoteException
-
setSpaceManager
-
setImportExportManager
Deprecated.since 7.17.0 because ofImportExportManager
deprecation. -
setGateKeeper
-
setHeartbeatManager
-
setSoapServiceHelper
-
setIndexManager
-
setClusterManager
-
setPermissionManager
-
setIndexRecoveryService
-
setSettingsManager
-
setPluginAccessor
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor) -
setPluginController
public void setPluginController(com.atlassian.plugin.PluginController pluginController) -
setAnonymousUserPermissionsService
public void setAnonymousUserPermissionsService(AnonymousUserPermissionsService anonymousUserPermissionsService) -
setAdminUiProperties
-
ImportExportManager
deprecation.