com.atlassian.confluence.rpc.soap.services
Class AdminSoapService

java.lang.Object
  extended by com.atlassian.confluence.rpc.soap.services.AdminSoapService

public class AdminSoapService
extends Object

A Soap service holding functionality for Confluence Administrators.


Constructor Summary
AdminSoapService()
           
 
Method Summary
 boolean clearIndexQueue()
          Support remote interface for clearing out the index queue.
 String exportSite(boolean exportAttachments)
           
 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 isConfluenceAdministrator(com.atlassian.user.User user)
           
 boolean isPluginEnabled(String pluginKey)
           
 boolean isPluginInstalled(String pluginKey)
           
 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 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminSoapService

public AdminSoapService()
Method Detail

isConfluenceAdministrator

public boolean isConfluenceAdministrator(com.atlassian.user.User user)
                                  throws RemoteException
Parameters:
user - - the current authenticated user
Returns:
true if the user has SpacePermission.CONFLUENCE_ADMINISTRATOR_PERMISSION, otherwise false
Throws:
RemoteException

exportSite

public String exportSite(boolean exportAttachments)
                  throws RemoteException
Throws:
RemoteException

getServerInfo

public RemoteServerInfo getServerInfo()
                               throws RemoteException
Throws:
RemoteException

flushIndexQueue

public boolean flushIndexQueue()
                        throws RemoteException
Support remote interface for flushing the index queue.

Throws:
RemoteException

clearIndexQueue

public boolean clearIndexQueue()
                        throws RemoteException
Support remote interface for clearing out the index queue.

Throws:
RemoteException

getClusterInformation

public RemoteClusterInformation getClusterInformation()

getClusterNodeStatuses

public RemoteNodeStatus[] getClusterNodeStatuses()

importSpace

public boolean importSpace(byte[] importData)
                    throws RemoteException
Throws:
RemoteException

setEnableWysiwyg

public boolean setEnableWysiwyg(boolean value)
Deprecated. since 4.0. You can no longer disable the wysiwyg editor.


isPluginInstalled

public boolean isPluginInstalled(String pluginKey)

isPluginEnabled

public boolean isPluginEnabled(String pluginKey)

installPlugin

public boolean installPlugin(String pluginFileName,
                             byte[] pluginData)
                      throws RemoteException
Throws:
RemoteException

setEnableAnonymousAccess

public boolean setEnableAnonymousAccess(boolean value)

setSpaceManager

public void setSpaceManager(SpaceManager spaceManager)

setImportExportManager

public void setImportExportManager(ImportExportManager importExportManager)

setGateKeeper

public void setGateKeeper(GateKeeper gateKeeper)

setSoapServiceHelper

public void setSoapServiceHelper(SoapServiceHelper soapServiceHelper)

setIndexManager

public void setIndexManager(ConfluenceIndexManager indexManager)

setClusterManager

public void setClusterManager(ClusterManager clusterManager)

setPermissionManager

public void setPermissionManager(PermissionManager permissionManager)

setSettingsManager

public void setSettingsManager(SettingsManager settingsManager)

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

public void setAdminUiProperties(AdminUiProperties adminUiProperties)


Copyright © 2003-2011 Atlassian. All Rights Reserved.