public class AdminSoapService extends Object
Constructor and Description |
---|
AdminSoapService() |
Modifier and Type | Method and Description |
---|---|
boolean |
clearIndexQueue()
Support remote interface for clearing out the index queue.
|
String |
exportSite(boolean exportAttachments)
Performs a site export and return the download url.
|
boolean |
flushIndexQueue()
Support remote interface for flushing the index queue.
|
RemoteClusterInformation |
getClusterInformation() |
RemoteNodeStatus[] |
getClusterNodeStatuses() |
RemoteServerInfo |
getServerInfo() |
boolean |
importSpace(byte[] importData) |
boolean |
installPlugin(String pluginFileName,
byte[] pluginData) |
boolean |
isDarkFeatureEnabled(String key) |
boolean |
isPluginEnabled(String pluginKey) |
boolean |
isPluginInstalled(String pluginKey) |
String |
performBackup(boolean exportAttachments)
Performs a backup, and return the file path on the server.
|
boolean |
recoverIndex() |
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) |
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(SettingsManager 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 activity
|
boolean |
stopActivity(String key,
String username)
Removes a user as an active participant to the specified activity
|
public String exportSite(boolean exportAttachments) throws RemoteException
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.
exportAttachments
- if true, export attachments as well.RemoteException
- if there are any errors performing the export (including authorization errors).public String performBackup(boolean exportAttachments) throws RemoteException
exportAttachments
- set to true to export attachmentsRemoteException
- if there are any errors performing the export (including authentication errors).public RemoteServerInfo getServerInfo() throws RemoteException
RemoteException
public boolean flushIndexQueue() throws RemoteException
RemoteException
public boolean clearIndexQueue() throws RemoteException
RemoteException
public boolean recoverIndex() throws RemoteException
RemoteException
public RemoteClusterInformation getClusterInformation()
public RemoteNodeStatus[] getClusterNodeStatuses()
public boolean importSpace(byte[] importData) throws RemoteException
RemoteException
public boolean isDarkFeatureEnabled(String key)
public boolean startActivity(String key, String username)
key
- The key used to identify the activityusername
- The username of the user who is participating in the activitypublic boolean stopActivity(String key, String username)
key
- The key used to identify the activityusername
- The username of the user who is no longer participating in the activitypublic boolean isPluginInstalled(String pluginKey) throws RemoteException
RemoteException
public boolean isPluginEnabled(String pluginKey) throws RemoteException
RemoteException
public boolean installPlugin(String pluginFileName, byte[] pluginData) throws RemoteException
RemoteException
public boolean setEnableAnonymousAccess(boolean value) throws RemoteException
RemoteException
public void setSpaceManager(SpaceManager spaceManager)
public void setImportExportManager(ImportExportManager importExportManager)
public void setGateKeeper(GateKeeper gateKeeper)
public void setHeartbeatManager(HeartbeatManager heartbeatManager)
public void setSoapServiceHelper(SoapServiceHelper soapServiceHelper)
public void setIndexManager(IndexManager indexManager)
public void setClusterManager(ClusterManager clusterManager)
public void setPermissionManager(PermissionManager permissionManager)
public void setIndexRecoveryService(IndexRecoveryService indexRecoveryService)
public void setSettingsManager(SettingsManager settingsManager)
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
public void setPluginController(com.atlassian.plugin.PluginController pluginController)
public void setAnonymousUserPermissionsService(AnonymousUserPermissionsService anonymousUserPermissionsService)
public void setAdminUiProperties(AdminUiProperties adminUiProperties)
Copyright © 2003–2021 Atlassian. All rights reserved.