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) |
boolean |
setEnableWysiwyg(boolean value)
Deprecated.
since 4.0. You can no longer disable the wysiwyg editor.
|
void |
setGateKeeper(GateKeeper gateKeeper) |
void |
setImportExportManager(ImportExportManager importExportManager) |
void |
setIndexManager(ConfluenceIndexManager 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) |
public String exportSite(boolean exportAttachments) throws RemoteException
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)
@Deprecated public boolean setEnableWysiwyg(boolean value)
public 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)
public void setSpaceManager(SpaceManager spaceManager)
public void setImportExportManager(ImportExportManager importExportManager)
public void setGateKeeper(GateKeeper gateKeeper)
public void setSoapServiceHelper(SoapServiceHelper soapServiceHelper)
public void setIndexManager(ConfluenceIndexManager 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–2015 Atlassian. All rights reserved.