com.atlassian.confluence.test.rpc
Interface FuncTestRpcHandler

All Known Implementing Classes:
FuncTestRpcDelegator, FuncTestRpcHandlerImpl

public interface FuncTestRpcHandler


Method Summary
 boolean addExistingProfilePicture(java.lang.String token, java.lang.String userName, java.lang.String fileName)
          Attempts to add a existing profile picture to a user's profile.
 boolean addGroupAnyCase(java.lang.String token, java.lang.String groupname)
          Allows addition of a group without enforcing that the name be all lower case.
 int addLabelToLabelable(java.lang.String token, java.lang.String labelName, java.lang.String labelableId, java.lang.String labelableType)
          Adds a label to a labelable, because the public RPC API doesn't let you do it.
 boolean addMailServer(java.lang.String token, java.lang.String serverName, java.lang.String protocol, java.lang.String hostname, int port, java.lang.String username, java.lang.String password, java.lang.String toAddress)
          Add a POP server to poll for emails in a particular account.
 boolean addMailServer(java.lang.String token, java.lang.String name, java.lang.String from, java.lang.String subjectPrefix, java.lang.String hostname, int port)
          Deprecated. since 5.0. Use addSmtpServer instead.
 boolean addMailServer(java.lang.String token, java.lang.String name, java.lang.String from, java.lang.String subjectPrefix, java.lang.String hostname, int port, java.lang.String fromName)
          Deprecated. since 5.0. Use addSmtpServer instead.
 boolean addSmtpServer(java.lang.String token, java.lang.String name, java.lang.String from, java.lang.String subjectPrefix, java.lang.String hostname, int port)
          Add an SMTP mail server.
 boolean addSmtpServer(java.lang.String token, java.lang.String name, java.lang.String from, java.lang.String subjectPrefix, java.lang.String hostname, int port, java.lang.String fromName)
           
 boolean addUserAnyCase(java.lang.String token, java.lang.String username, java.lang.String email, java.lang.String fullname, java.lang.String password)
          Allows addition of a user without enforcing that the username be all lower case.
 boolean assertThatIndexQueueEntryHasBeenProcessed(java.lang.String token, java.lang.String searchableClassname, java.lang.String searchableId)
           
 boolean changeAttachmentCreatedDate(java.lang.String token, java.lang.String contentId, java.lang.String attachmentFileName, java.util.Date createdDate)
          Change the created date of an attachment
 boolean changeBlogPostModificationDate(java.lang.String token, java.lang.String blogId, java.util.Date modificationDate)
          Change the modification date of a blog post
 boolean changeCommentCreatedDate(java.lang.String token, java.lang.String commentId, java.util.Date createdDate)
          Change the created date of a comment
 java.lang.String changeLoggerLevel(java.lang.String token, java.lang.String loggerName, java.lang.String level)
          Deprecated. since 5.6. Use a FuncTestAdminLoggingResource REST call.
 boolean changePageCreatedDate(java.lang.String token, java.lang.String pageId, java.util.Date createdDate)
          Change the created date of a page
 boolean changePageModificationDate(java.lang.String token, java.lang.String pageId, java.util.Date modificationDate)
          Change the modification date of a page
 boolean changeSpaceCreatedDate(java.lang.String token, java.lang.String spaceKey, java.util.Date createdDate)
          Change the created date of a space
 boolean clearCustomHtml(java.lang.String token)
          Clears the global custom html.
 boolean clearEventListeners(java.lang.String token)
          Removes all temporary event listeners, regardless of their state.
 boolean clearIndex(java.lang.String token)
          Blows away the main Confluence search index.
 boolean clearQueue(java.lang.String token, java.lang.String queueName)
          Removes all items from the specified queue
 java.lang.Boolean clearSystemProperty(java.lang.String token, java.lang.String name)
          Unset a system property.
 java.lang.String convertMarkupToXhtml(java.lang.String token, java.lang.String wikiMarkup, java.lang.String pageId)
          Render a page as XHTML.
 java.lang.String convertXhtmlToMarkup(java.lang.String token, java.lang.String xhtml, java.lang.String pageId)
          Convert XHTML to WikiMarkup.
 int countDrafts(java.lang.String token, java.lang.String owner)
           
 java.util.Hashtable createDraft(java.lang.String token, java.util.Hashtable draft)
          Creates a draft for the draft owner and draft type with the specified title and content.
 boolean createJohnsonEvent(java.lang.String token, java.lang.String message)
          Creates a Johnson event inside Confluence.
 java.util.Vector<java.util.Hashtable> createPagesFromPrototype(java.lang.String token, java.util.Hashtable pageStruct, int count)
          Creates a series of pages based on a prototype.
 java.util.Vector<java.lang.String> createSpaces(java.lang.String token, int count)
          Creates a bunch of spaces.
 java.lang.String createTemplate(java.lang.String token, java.lang.String templateName, java.lang.String content, java.lang.String spaceKey)
          Create a new template.
 java.lang.String createTemplateWithStorageFormat(java.lang.String token, java.lang.String templateName, java.lang.String storageFormat, java.lang.String spaceKey)
          Create a new template from storage format code.
 int createTestUsers(java.lang.String token, int count)
          Create test users with usernames "testuser0", "testuser1", etc.
 boolean createUserMacro(java.lang.String token, java.lang.String name, boolean hasBody, java.lang.String bodyType, java.lang.String outputType, java.lang.String template, java.lang.String title, java.lang.String description, java.lang.String category, java.lang.String iconUrl, java.lang.String documentationUrl, boolean hidden)
          Create a User Macro
 boolean disablePlugin(java.lang.String token, java.lang.String pluginKey)
          Deprecated. since 5.6. Use PluginsRpc in test client code.
 boolean disablePluginModule(java.lang.String tokdis, java.lang.String pluginKey, java.lang.String moduleKey)
          Deprecated. since 5.6. Use PluginsRpc in test client code.
 boolean disablePluginWithoutPersisting(java.lang.String token, java.lang.String pluginKey)
          Disable a plugin without persisting.
 boolean disableSiteFeature(java.lang.String token, java.lang.String featureKey)
          Deprecated. since 5.6. Use the REST resource.
 boolean disableUserFeature(java.lang.String token, java.lang.String featureKey)
          Deprecated. since 5.6. Use the REST resource.
 boolean disconnectGroup(java.lang.String token, java.lang.String groupName)
          Disconnect a group from Confluence.
 boolean disconnectUser(java.lang.String token, java.lang.String username)
          Disconnect a user from Confluence.
 boolean doesDraftExist(java.lang.String token, java.lang.String contentId, java.lang.String owner, java.lang.String draftType, java.lang.String spaceKey)
          Determines if a draft of the specified type and belonging to the specified owner exists.
 boolean enableCaptcha(java.lang.String token, boolean enable)
          Sets the captcha mode
 boolean enableCaptchaDebugMode(java.lang.String token, boolean enable)
          Sets the captcha mode into debug mode.
 boolean enableDailyReportNotification(java.lang.String token, java.lang.String userName, boolean dailyReportEnabled)
          Sets the Daily Report email for a user to enabled or disabled.
 boolean enableElevatedSecurityCheck(java.lang.String token, boolean enabled)
           
 boolean enablePlugin(java.lang.String token, java.lang.String pluginKey)
          Deprecated. 
 boolean enablePluginModule(java.lang.String token, java.lang.String pluginKey, java.lang.String moduleKey)
          Deprecated. since 5.6. Use PluginsRpc in test client code.
 boolean enablePublicSignUp(java.lang.String token, boolean enabled)
          Sets the public sign up enabled status
 boolean enableSiteFeature(java.lang.String token, java.lang.String featureKey)
          Deprecated. since 5.6. Use the REST resource.
 boolean enableUserFeature(java.lang.String token, java.lang.String featureKey)
          Deprecated. since 5.6. Use the REST resource.
 boolean enableWebSudo(java.lang.String token, boolean enabled)
          Sets the web sudo enabled status
 java.util.Vector<java.lang.String> finishLoggingRequests(java.lang.String token)
          Finish logging http request and return any requests made.
 boolean flushAllCaches(java.lang.String token)
          Deprecated. since 5.6. Use FuncTestAdminCacheResource.
 boolean followUser(java.lang.String token, java.lang.String userName, boolean followUser)
          Follows or stops following a user.
 java.util.Vector<java.util.Hashtable> getAliveThreads(java.lang.String token)
           
 java.util.Hashtable<java.lang.String,java.lang.Object> getAllContentForAllLabels(java.lang.String token, int offset, int maxResults, java.lang.String labelsString)
          Returns current and trashed CEOs having all of the labels supplied in the string.
 java.lang.String getAnonyimizedClusterNodeIdentifier(java.lang.String token)
           
 java.lang.Object getApplicationConfigProperty(java.lang.String token, java.lang.String propertyKey)
          Returns a property of the global ApplicationConfiguration instance.
 java.lang.Object getBandanaValue(java.lang.String token, java.lang.String space, java.lang.String key)
          Deprecated. since 5.6. Use FuncTestAdminBandanaResource.
 java.lang.Integer getCacheMaximumNumberOfElements(java.lang.String token, java.lang.String cacheName)
          Deprecated. since 5.6. Use FuncTestAdminCacheResource.
 java.util.Hashtable getCacheStatistics(java.lang.String token, java.lang.String cacheName)
          Deprecated. since 5.6. Use FuncTestAdminCacheResource.
 java.util.Vector<java.lang.String> getCacheStatisticsCapabilities(java.lang.String token)
          Deprecated. since 5.6. Use FuncTestAdminCacheResource.
 java.lang.String getConfiguredThemeForSpace(java.lang.String token, java.lang.String spaceKey)
          Deprecated. since 5.6. Use FuncTestAdminThemeResource.
 java.util.Hashtable<java.lang.String,java.lang.Object> getContentForAllLabels(java.lang.String token, int offset, int maxResults, java.lang.String labels)
          Returns CEOs having all of the labels supplied in the string.
 java.util.Hashtable<java.lang.String,java.lang.Object> getContentInSpacesForAllLabels(java.lang.String token, int offset, int maxResults, java.lang.String spaceKeysString, java.lang.String labelsString)
          Returns CEOs in the given spaces having all of the labels supplied in the string.
 java.lang.String getContentPropertiesString(java.lang.String token, java.lang.String entityId, java.lang.String key)
          Get the string value of a ContentProperty associated with a content entity given its id and the property name
 java.lang.String getContentPropertiesStringForSpace(java.lang.String token, java.lang.String spaceKey, java.lang.String key)
          Get the string value of a ContentProperty associated with the SpaceDescription of the space
 java.lang.String getContentProperty(java.lang.String token, java.lang.String entityId, java.lang.String key)
          Get the content property value for a content entity given its id and the property key
 java.util.Vector getContentPropertyKeys(java.lang.String token, java.lang.String entityId)
          Get the content property keys for a content entity given its id
 java.lang.String getDatabaseStatistics(java.lang.String token)
          Return database statistics.
 java.lang.String getExportBuildNumber(java.lang.String token)
          Returns the backward-compatibility of an export
 java.util.Hashtable<java.lang.String,java.lang.Object> getForLabels(java.lang.String token, java.lang.String labelableType, int offset, int maxResults, java.lang.String labelsString)
          Returns any kind of Labelable entities having all of the labels supplied in the string.
 java.lang.String getGlobalConfiguredTheme(java.lang.String token)
          Deprecated. since 5.6. Use FuncTestAdminThemeResource.
 java.lang.String[] getGlobalPermissionsForGroup(java.lang.String token, java.lang.String groupName)
          Gets the global permissions that the given group has.
 java.lang.String getIdOfPagePermission(java.lang.String token, java.lang.String contentId, java.lang.String permissionType, java.lang.String username)
           
 boolean getIgnoreBaseURLWarning(java.lang.String token)
          Whether the warning message for an un-advisable value for the Base URL is ignored or not.
 java.lang.String getLeastRecentTestAppenderLogMessage(java.lang.String token, java.lang.String className)
           
 java.lang.String getLocaleForUser(java.lang.String token, java.lang.String username)
          Gets the locale preference for the user.
 java.lang.String getLocalisedText(java.lang.String token, java.lang.String messageKey)
          Get the localised string for given the message key in the logged-in user's locale.
 int getNumberOfActiveUsers(java.lang.String token)
          Returns the number of active users, i.e.
 int getNumberOfIndexTasksInQueue(java.lang.String token)
          Returns the size of the index queue.
 java.lang.String getOldestSpaceImportAllowed(java.lang.String token)
          Returns the backwards-compatibility of a space import
 java.lang.String getPersonalInformationId(java.lang.String token, java.lang.String username)
          Gets the personal information id for a given username
 java.lang.String getPluginExportCompatibility(java.lang.String token, java.lang.String pluginKey)
          Returns the plugin compatibility matrix for exports
 int getQueueSize(java.lang.String token, java.lang.String queueName)
          Returns the size of the task queue with the specified name.
 java.util.Hashtable<java.lang.String,java.lang.String> getSystemProperty(java.lang.String token, java.lang.String name)
          Retrieve the value of a system property.
 java.util.Vector getUsersForActivity(java.lang.String key)
          Call getUsersForActivity on the heartbeatManager bean
 int getVersionForPage(java.lang.String token, java.lang.String pageId)
          Get the version number for the page with pageId
 boolean isCurrentApplicationSet(java.lang.String token)
          Check whether or not the trustedApplicationManager has its currentApplication set.
 boolean isImportTaskRunning(java.lang.String token)
           
 boolean isPluginModuleEnabled(java.lang.String token, java.lang.String pluginKey, java.lang.String moduleKey)
          Deprecated. since 5.6. Use PluginsRpc in test client code.
 boolean isPluginUpgradeTasksComplete(java.lang.String token)
          Returns true if the plugin dependent upgrade tasks
 boolean isSpringComponentPresent(java.lang.String token, java.lang.String name)
          Returns true if a Spring component with the given name exists in the application context.
 boolean isUnlimitedUserLicense(java.lang.String token)
           
 boolean logMessage(java.lang.String token, java.lang.String destination, java.lang.String message)
          Deprecated. since 5.6. Use a FuncTestAdminLoggingResource REST call.
 boolean logTestMessageForClass(java.lang.String token, java.lang.String className, java.lang.String message, java.lang.String level)
           
 boolean massCreateAttachments(java.lang.String token, java.lang.String pageId, java.lang.String prefix, java.lang.String numAttachments)
          Create a whole series of attachments on a single page.
 boolean pauseAllJobs(java.lang.String token)
          Deprecated. since 5.6. Use FuncTestAdminSchedulerResource.
 boolean pauseJob(java.lang.String token, java.lang.String jobSpec)
          Deprecated. since 5.6. Use FuncTestAdminSchedulerResource.
 boolean pauseJobGroup(java.lang.String token, java.lang.String jobGroupName)
          Deprecated. since 5.6. Use FuncTestAdminSchedulerResource.
 boolean putStringMappingInCache(java.lang.String token, java.lang.String cacheName, java.lang.String key, java.lang.String value)
          Deprecated. since 5.6. Use FuncTestAdminCacheResource.
 boolean registerEventListener(java.lang.String token, java.lang.String eventClassName)
          Registers a temporary event listener on the server to listen for the specified event.
 boolean registerTestAppenderForClass(java.lang.String token, java.lang.String className)
           
 boolean removeAllJohnsonEvents(java.lang.String token)
          Removes all Johnson events from Confluence
 boolean removeAllSpaces(java.lang.String token)
          Kill all the spaces and flush all the queues and caches.
 boolean removeAllTrustedApplications(java.lang.String token)
          Removes all trusted applications from the database.
 boolean removeAttachmentUncleanly(java.lang.String token, java.lang.String contentId, java.lang.String attachmentFileName)
          Removes an attachment without cleaning up associated attachment info
 boolean removeBandanaKey(java.lang.String token, java.lang.String space, java.lang.String key)
          Deprecated. since 5.6. Use FuncTestAdminBandanaResource.
 boolean removeDrafts(java.lang.String token, java.lang.String username)
          Removes all drafts owned by the specified User.
 boolean removeGroupUncleanly(java.lang.String token, java.lang.String groupname)
          Remove a Group without removing the things that refer to that group.
 boolean removeMailServer(java.lang.String token, java.lang.String serverName)
          Remove the named mail server.
 boolean removePersonalInformation(java.lang.String token, java.lang.String username)
          PersonalInformation gets created automatically by the standard create user methods.
 boolean removeTestData(java.lang.String token, java.util.Vector<java.lang.String> usersToKeep, java.util.Vector<java.lang.String> groupsToKeep, java.util.Hashtable<java.lang.String,java.util.Vector<java.lang.String>> userGroupMemberships)
          Big Kahuna remove method.
 boolean removeTestDataAfterExternalUserManagement(java.lang.String token)
          Called at the start of tests for which User management is handled by an external server such as LDAP or Crowd.
 int removeTestUsers(java.lang.String token, int count)
          Removes test users with usernames "testuser0", "testuser1", etc.
 boolean removeUserDirectory(java.lang.String token, java.lang.String directoryId)
          Removes user directory
 boolean removeUserMacro(java.lang.String token, java.lang.String name)
          Remove a User Macro with the given name if it exists.
 boolean removeUserUncleanly(java.lang.String token, java.lang.String username)
          Remove a User without removing the things that refer to that user.
 boolean resetDatabaseStatistics(java.lang.String token)
          Reset database statistics.
 boolean resetWelcomeMessage(java.lang.String token)
           
 boolean restoreAbstractPage(java.lang.String token, java.lang.String abstractPageId)
          Restores an abstract page from the trash.
 boolean resumeAllJobs(java.lang.String token)
          Deprecated. since 5.6. Use FuncTestAdminSchedulerResource.
 boolean resumeJob(java.lang.String token, java.lang.String jobSpec)
          Deprecated. since 5.6. Use FuncTestAdminSchedulerResource.
 boolean runGarbageCollection(java.lang.String token)
           
 boolean saveDateFormat(java.lang.String token, java.lang.String dateFormat)
           
 boolean saveDateTimeFormat(java.lang.String token, java.lang.String dateTimeFormat)
           
 boolean setApplicationConfigProperty(java.lang.String token, java.lang.String propertyKey, java.lang.String propertyValue)
          Sets a property on the global ApplicationConfiguration instance.
 boolean setBandanaKey(java.lang.String token, java.lang.String space, java.lang.String key, java.lang.String value)
          Deprecated. since 5.6. Use FuncTestAdminBandanaResource.
 boolean setBandanaKeyBoolean(java.lang.String token, java.lang.String space, java.lang.String key, boolean value)
          Deprecated. since 5.6. Use FuncTestAdminBandanaResource.
 boolean setBandanaKeyInteger(java.lang.String token, java.lang.String space, java.lang.String key, int value)
          Deprecated. since 5.6. Use FuncTestAdminBandanaResource.
 boolean setBandanaStringList(java.lang.String token, java.lang.String space, java.lang.String key, java.util.Vector<java.lang.String> value)
          Deprecated. since 5.6. Use FuncTestAdminBandanaResource.
 boolean setBandanaStringSet(java.lang.String token, java.lang.String space, java.lang.String key, java.util.Vector<java.lang.String> value)
          Deprecated. since 5.6. Use FuncTestAdminBandanaResource.
 boolean setBooleanUserPreference(java.lang.String token, java.lang.String userName, java.lang.String preferenceKey, java.lang.String value)
          Sets a boolean user preference.
 boolean setCacheMaximumNumberOfElements(java.lang.String token, java.lang.String cacheName, int maxNumElements)
          Deprecated. since 5.6. Use FuncTestAdminCacheResource.
 boolean setContentPropertiesString(java.lang.String token, java.lang.String entityId, java.lang.String key, java.lang.String value)
          Sets the string value of a ContentProperty associated with a content entity given its id and the property name
 boolean setContentPropertiesStringForSpace(java.lang.String token, java.lang.String spaceKey, java.lang.String key, java.lang.String value)
          Sets the string value of a ContentProperty associated with the SpaceDescription of the space
 boolean setContentTextProperty(java.lang.String token, java.lang.String entityId, java.lang.String key, java.lang.String value)
          Sets a text content property for a content entity given its id
 boolean setDirectoryPasswordEncoder(java.lang.String token, java.lang.String directoryName, java.lang.String encoder)
          Changes the password encoder for the given directory
 boolean setDraftSaveInterval(java.lang.String token, int seconds)
          Sets the given draft save interval.
 boolean setEnableAnonymousRpc(java.lang.String token, java.lang.String value)
          Toggle the setting to allow/deny anonymous RPC calls.
 boolean setGlobalLanguage(java.lang.String token, java.lang.String language)
          Changes to the default site language
 boolean setGlobalTheme(java.lang.String token, java.lang.String themeKey)
          Deprecated. since 5.6. Use FuncTestAdminThemeResource.
 boolean setIgnoreBaseURLWarning(java.lang.String token, boolean value)
          Affects whether the warning message for an un-advisable value for the Base URL is ignored or not.
 boolean setKeyboardShortcutPref(java.lang.String token, java.lang.String username, java.lang.String enabled)
          Enables/Disables keyboard shortcuts for the given uesr
 boolean setLocaleForUser(java.lang.String token, java.lang.String username, java.lang.String locale)
          Sets the locale preference for the user to the given named locale.
 boolean setNetworkNotificationForUser(java.lang.String token, java.lang.String userName, boolean watchNetwork)
          Sets Network watch emails for a user to enabled or disabled.
 boolean setSiteBlogNotificationForUser(java.lang.String token, java.lang.String userName, boolean globalBlogWatchForUser)
          Sets Site Blog watch emails for a user to enabled or disabled.
 boolean setSmtpServer(java.lang.String token, java.lang.String name, java.lang.String from, java.lang.String subjectPrefix, java.lang.String hostname, int port)
          Remove all existing SMTP servers and add the given server.
 boolean setSmtpServer(java.lang.String token, java.lang.String name, java.lang.String from, java.lang.String subjectPrefix, java.lang.String hostname, int port, java.lang.String fromName)
          Remove all existing SMTP servers and add the given server.
 boolean setStringUserPreference(java.lang.String token, java.lang.String userName, java.lang.String preferenceKey, java.lang.String value)
          Sets a string user preference.
 java.lang.Boolean setSystemProperty(java.lang.String token, java.lang.String name, java.lang.String value)
          Set a system property on the server to the supplied value.
 boolean setThemeForSpace(java.lang.String token, java.lang.String spaceKey, java.lang.String themeKey)
          Deprecated. since 5.6. Use FuncTestAdminThemeResource.
 boolean setUserDetailProperty(java.lang.String token, java.lang.String username, java.lang.String propertyKey, java.lang.String propertyValue)
          Sets a single UserDetails property through the UserDetailsManager.
 boolean setUserDetails(java.lang.String token, java.lang.String username, java.lang.String fullName, java.lang.String email)
          Sets the fullname and email address of a user with a given username.
 java.lang.String setUserStatus(java.lang.String token, java.lang.String wikiStatus)
          Set the current user's status.
 boolean setWatchOwnContentPref(java.lang.String token, java.lang.String username, java.lang.String enabled)
          Enables/Disables autowatching for the given uesr
 boolean setWatchSpace(java.lang.String token, java.lang.String username, java.lang.String spaceKey, java.lang.String contentType, java.lang.String enabled)
          Enables/Disables watching a space for the given user and content type.
 boolean setWebSudoTimeout(java.lang.String token, int timeout)
          Sets the web sudo timeout in minutes
 boolean setWelcomeMessage(java.lang.String token, java.lang.String welcomeMessage)
           
 boolean shutdownQuartz(java.lang.String token)
          Deprecated. since 5.6. Use FuncTestAdminSchedulerResource.
 boolean startActivity(java.lang.String key, java.lang.String user)
          Call startActivity on the heartbeatManager bean
 boolean startLoggingRequests(java.lang.String token)
          Start logging http request urls.
 java.util.Hashtable storeXhtmlPage(java.lang.String token, java.util.Hashtable pageStruct)
          The Confluence remote API store page performs wiki to XHTML conversion on the page content.
 boolean synchroniseUserDirectories(java.lang.String token)
          Synchronizes all remote user directories with the local database cache
 boolean triggerJob(java.lang.String token, java.lang.String jobSpec, boolean pauseBackgroundJobs)
          Deprecated. since 5.6. Use FuncTestAdminSchedulerResource.
 boolean uninstallPlugin(java.lang.String token, java.lang.String pluginKey)
          Deprecated. since 5.6. Use PluginsRpc in test client code.
 boolean unregisterEventListener(java.lang.String token, java.lang.String eventClassName)
          Unregisters the temporary listener registered for the specified event.
 boolean unregisterTestAppenderForClass(java.lang.String token, java.lang.String className)
           
 java.util.Hashtable updateDraft(java.lang.String token, java.util.Hashtable draft)
          Updates a draft located using the draft owner and draft type.
 boolean updateGlobalSettingBoolean(java.lang.String token, java.lang.String name, boolean value)
          Update a Settings boolean field.
 java.lang.String updateGlobalSettingString(java.lang.String token, java.lang.String name, java.lang.String value)
          Update a Settings String field.
 boolean waitForEvent(java.lang.String token, java.lang.String eventClassName, java.lang.String timeout, java.lang.String timeUnit)
          Waits for an event to occur and returns when it has finished.
 boolean waitForEventQueue(java.lang.String token, java.lang.String timeoutStr, java.lang.String timeUnitStr)
          Waits for all events in queue to be processed.
 

Method Detail

logMessage

@Deprecated
boolean logMessage(java.lang.String token,
                              java.lang.String destination,
                              java.lang.String message)
                   throws RemoteException
Deprecated. since 5.6. Use a FuncTestAdminLoggingResource REST call.

Log a message to the server's console.

Only administrators can log messages.

The destination of the message has the following valid values:

Parameters:
token - The token idenfitying the user.
destination - The destination of the message to be logged
message - The text message to be logged to the console
Returns:
boolean True if the message is logged (ie destination is a valid level)
Throws:
RemoteException

changeLoggerLevel

@Deprecated
java.lang.String changeLoggerLevel(java.lang.String token,
                                              java.lang.String loggerName,
                                              java.lang.String level)
                                   throws RemoteException
Deprecated. since 5.6. Use a FuncTestAdminLoggingResource REST call.

Change the level of the specified logger.

The level parameter can be one of -


removeTestData

boolean removeTestData(java.lang.String token,
                       java.util.Vector<java.lang.String> usersToKeep,
                       java.util.Vector<java.lang.String> groupsToKeep,
                       java.util.Hashtable<java.lang.String,java.util.Vector<java.lang.String>> userGroupMemberships)
                       throws RemoteException
Big Kahuna remove method. Removes EVERYTHING that is meant to be removed on test setup, keeping only the users, groups and memberships specified. This includes removing global templates.

Parameters:
token - the token identifying the user.
usersToKeep - users like admin and sysadmin that should not be removed
groupsToKeep - groups like admins and users that should not be removed
userGroupMemberships - a map where the keys are group names and the values are lists of usernames in the group
Throws:
NotPermittedException
RemoteException

removeTestDataAfterExternalUserManagement

boolean removeTestDataAfterExternalUserManagement(java.lang.String token)
                                                  throws java.lang.Exception
Called at the start of tests for which User management is handled by an external server such as LDAP or Crowd. All remove/create User calls can be made to that server in one batch, and then the Confluence instance data can be cleaned up. Generally this will take part in three stages: 1. Clean up requiring the 'old' users, groups and memberships to exist (e.g. personal spaces, permissions) 2. Sync with the external server, which will reset the user, groups and memberships 3. Perform any other clean-up required, from removing spaces to flushing caches. see ServerStateManager.removeTestData()

Throws:
java.lang.Exception

removeAllSpaces

boolean removeAllSpaces(java.lang.String token)
                        throws RemoteException
Kill all the spaces and flush all the queues and caches.

Throws:
RemoteException

createTemplate

java.lang.String createTemplate(java.lang.String token,
                                java.lang.String templateName,
                                java.lang.String content,
                                java.lang.String spaceKey)
                                throws RemoteException,
                                       XhtmlException
Create a new template. If spaceKey is not defined, a global template will be created.

Returns:
template id
Throws:
RemoteException
XhtmlException

createTemplateWithStorageFormat

java.lang.String createTemplateWithStorageFormat(java.lang.String token,
                                                 java.lang.String templateName,
                                                 java.lang.String storageFormat,
                                                 java.lang.String spaceKey)
                                                 throws RemoteException,
                                                        XhtmlException
Create a new template from storage format code. If spaceKey is not defined, a global template will be created.

Returns:
template id
Throws:
RemoteException
XhtmlException

getGlobalPermissionsForGroup

java.lang.String[] getGlobalPermissionsForGroup(java.lang.String token,
                                                java.lang.String groupName)
                                                throws RemoteException
Gets the global permissions that the given group has.

Throws:
RemoteException

disconnectUser

boolean disconnectUser(java.lang.String token,
                       java.lang.String username)
                       throws RemoteException
Disconnect a user from Confluence. Removes all their permissions, group memberships, their profile information and their personal space.

Throws:
RemoteException

disconnectGroup

boolean disconnectGroup(java.lang.String token,
                        java.lang.String groupName)
                        throws RemoteException
Disconnect a group from Confluence. Removes all its permissions.

Throws:
RemoteException

isCurrentApplicationSet

boolean isCurrentApplicationSet(java.lang.String token)
                                throws NotPermittedException
Check whether or not the trustedApplicationManager has its currentApplication set.

Throws:
NotPermittedException

removeAllTrustedApplications

boolean removeAllTrustedApplications(java.lang.String token)
                                     throws java.lang.Exception
Removes all trusted applications from the database.

Throws:
java.lang.Exception

massCreateAttachments

boolean massCreateAttachments(java.lang.String token,
                              java.lang.String pageId,
                              java.lang.String prefix,
                              java.lang.String numAttachments)
                              throws java.lang.Exception
Create a whole series of attachments on a single page.

Throws:
java.lang.Exception

getGlobalConfiguredTheme

@Deprecated
java.lang.String getGlobalConfiguredTheme(java.lang.String token)
                                          throws java.lang.Exception
Deprecated. since 5.6. Use FuncTestAdminThemeResource.

Get the key of the configured global theme, whether or not that theme exists.

Throws:
java.lang.Exception

getConfiguredThemeForSpace

@Deprecated
java.lang.String getConfiguredThemeForSpace(java.lang.String token,
                                                       java.lang.String spaceKey)
                                            throws java.lang.Exception
Deprecated. since 5.6. Use FuncTestAdminThemeResource.

Get the key of the configured theme for a space, whether or not that theme exists.

Throws:
java.lang.Exception

setGlobalTheme

@Deprecated
boolean setGlobalTheme(java.lang.String token,
                                  java.lang.String themeKey)
                       throws java.lang.Exception
Deprecated. since 5.6. Use FuncTestAdminThemeResource.

Sets the global theme

Parameters:
themeKey - - the complete theme key
Throws:
java.lang.Exception

setThemeForSpace

@Deprecated
boolean setThemeForSpace(java.lang.String token,
                                    java.lang.String spaceKey,
                                    java.lang.String themeKey)
                         throws java.lang.Exception
Deprecated. since 5.6. Use FuncTestAdminThemeResource.

Sets the theme for the specified space

Parameters:
spaceKey - - the key of the space to change
themeKey - - the complete theme key
Throws:
java.lang.Exception

clearCustomHtml

boolean clearCustomHtml(java.lang.String token)
                        throws java.lang.Exception
Clears the global custom html.

Returns:
true always.
Throws:
java.lang.Exception

uninstallPlugin

@Deprecated
boolean uninstallPlugin(java.lang.String token,
                                   java.lang.String pluginKey)
                        throws NotPermittedException
Deprecated. since 5.6. Use PluginsRpc in test client code.

Uninstall a plugin. (There's an install method in the standard rpc plugin)

Returns:
true because a return type is required by XMLRPC
Throws:
NotPermittedException

disablePlugin

@Deprecated
boolean disablePlugin(java.lang.String token,
                                 java.lang.String pluginKey)
                      throws NotPermittedException
Deprecated. since 5.6. Use PluginsRpc in test client code.

Disable a plugin.

Returns:
true because a return type is required by XMLRPC
Throws:
NotPermittedException

disablePluginWithoutPersisting

boolean disablePluginWithoutPersisting(java.lang.String token,
                                       java.lang.String pluginKey)
                                       throws NotPermittedException
Disable a plugin without persisting.

Returns:
true because a return type is required by XMLRPC
Throws:
NotPermittedException

enablePlugin

@Deprecated
boolean enablePlugin(java.lang.String token,
                                java.lang.String pluginKey)
                     throws NotPermittedException
Deprecated. 

Enable a plugin.

Returns:
true because a return type is required by XMLRPC
Throws:
NotPermittedException

enablePluginModule

@Deprecated
boolean enablePluginModule(java.lang.String token,
                                      java.lang.String pluginKey,
                                      java.lang.String moduleKey)
                           throws NotPermittedException
Deprecated. since 5.6. Use PluginsRpc in test client code.

Enable plugin module

Parameters:
pluginKey - the key of the plugin
moduleKey - the key of the module
Returns:
true because a return type is required by XMLRPC
Throws:
NotPermittedException

disablePluginModule

@Deprecated
boolean disablePluginModule(java.lang.String tokdis,
                                       java.lang.String pluginKey,
                                       java.lang.String moduleKey)
                            throws NotPermittedException
Deprecated. since 5.6. Use PluginsRpc in test client code.

Disable plugin module

Parameters:
pluginKey - the key of the plugin
moduleKey - the key of the module
Returns:
true because a return type is required by XMLRPC
Throws:
NotPermittedException

isPluginModuleEnabled

@Deprecated
boolean isPluginModuleEnabled(java.lang.String token,
                                         java.lang.String pluginKey,
                                         java.lang.String moduleKey)
                              throws NotPermittedException
Deprecated. since 5.6. Use PluginsRpc in test client code.

Find out if a plugin module is enabled or not. If the plugin exists and is enabled and the module exists and is enabled, then this method should return true, otherwise it should return false.

Parameters:
pluginKey - the key of the plugin
moduleKey - the key of the module excluding the plugin key
Returns:
true if the plugin module exists and is enabled, false otherwise
Throws:
NotPermittedException

isSpringComponentPresent

boolean isSpringComponentPresent(java.lang.String token,
                                 java.lang.String name)
Returns true if a Spring component with the given name exists in the application context.


isPluginUpgradeTasksComplete

boolean isPluginUpgradeTasksComplete(java.lang.String token)
Returns true if the plugin dependent upgrade tasks


pauseAllJobs

@Deprecated
boolean pauseAllJobs(java.lang.String token)
                     throws java.lang.Exception
Deprecated. since 5.6. Use FuncTestAdminSchedulerResource.

Pauses the quartz scheduler.

Throws:
java.lang.Exception

resumeAllJobs

@Deprecated
boolean resumeAllJobs(java.lang.String token)
                      throws java.lang.Exception
Deprecated. since 5.6. Use FuncTestAdminSchedulerResource.

Resume the quartz scheduler. Returns true on success and exception on error.

Throws:
java.lang.Exception

pauseJobGroup

@Deprecated
boolean pauseJobGroup(java.lang.String token,
                                 java.lang.String jobGroupName)
                      throws java.lang.Exception
Deprecated. since 5.6. Use FuncTestAdminSchedulerResource.

Pauses the named job group in the quartz scheduler.

Throws:
java.lang.Exception

pauseJob

@Deprecated
boolean pauseJob(java.lang.String token,
                            java.lang.String jobSpec)
                 throws java.lang.Exception
Deprecated. since 5.6. Use FuncTestAdminSchedulerResource.

Pauses the named job in the quartz scheduler. Supports groupname:jobname for the jobSpec.

Throws:
java.lang.Exception

resumeJob

@Deprecated
boolean resumeJob(java.lang.String token,
                             java.lang.String jobSpec)
                  throws java.lang.Exception
Deprecated. since 5.6. Use FuncTestAdminSchedulerResource.

Resumes the named job in the quartz scheduler. Supports groupname:jobname for the jobSpec.

Throws:
java.lang.Exception

triggerJob

@Deprecated
boolean triggerJob(java.lang.String token,
                              java.lang.String jobSpec,
                              boolean pauseBackgroundJobs)
                   throws java.lang.Exception
Deprecated. since 5.6. Use FuncTestAdminSchedulerResource.

Triggers the named job in the quartz scheduler synchronously. Note that Quartz's triggerJob function is asynchronous, but we use a listener internally to provide synchronicity. Supports groupname:jobname for the jobSpec.

Throws:
java.lang.Exception

waitForEvent

boolean waitForEvent(java.lang.String token,
                     java.lang.String eventClassName,
                     java.lang.String timeout,
                     java.lang.String timeUnit)
                     throws java.lang.Exception
Waits for an event to occur and returns when it has finished.

Parameters:
eventClassName - the fully qualified classname of the event to wait for.
timeout - number of milliseconds to wait for the event before giving up completely.
timeUnit - See TimeUnit.name
Returns:
true if the event occurs within the timeout.
Throws:
java.lang.Exception

waitForEventQueue

boolean waitForEventQueue(java.lang.String token,
                          java.lang.String timeoutStr,
                          java.lang.String timeUnitStr)
                          throws java.lang.Exception
Waits for all events in queue to be processed.

Returns:
true if queue was exhausted, false on timeout or any error.
Throws:
java.lang.Exception

shutdownQuartz

@Deprecated
boolean shutdownQuartz(java.lang.String token)
                       throws java.lang.Exception
Deprecated. since 5.6. Use FuncTestAdminSchedulerResource.

Shutdown the quartz scheduler to ensure single threadedness for testing

Throws:
java.lang.Exception

removeBandanaKey

@Deprecated
boolean removeBandanaKey(java.lang.String token,
                                    java.lang.String space,
                                    java.lang.String key)
Deprecated. since 5.6. Use FuncTestAdminBandanaResource.

Remove a key from Bandana


setBandanaStringSet

@Deprecated
boolean setBandanaStringSet(java.lang.String token,
                                       java.lang.String space,
                                       java.lang.String key,
                                       java.util.Vector<java.lang.String> value)
Deprecated. since 5.6. Use FuncTestAdminBandanaResource.

Sets a key in Bandana with a Set of Strings as value


setBandanaStringList

@Deprecated
boolean setBandanaStringList(java.lang.String token,
                                        java.lang.String space,
                                        java.lang.String key,
                                        java.util.Vector<java.lang.String> value)
Deprecated. since 5.6. Use FuncTestAdminBandanaResource.

Sets a key in Bandana with a List of Strings as value


setBandanaKey

@Deprecated
boolean setBandanaKey(java.lang.String token,
                                 java.lang.String space,
                                 java.lang.String key,
                                 java.lang.String value)
Deprecated. since 5.6. Use FuncTestAdminBandanaResource.

Sets a key in Bandana


setBandanaKeyBoolean

@Deprecated
boolean setBandanaKeyBoolean(java.lang.String token,
                                        java.lang.String space,
                                        java.lang.String key,
                                        boolean value)
Deprecated. since 5.6. Use FuncTestAdminBandanaResource.

Sets a key in Bandana


setBandanaKeyInteger

@Deprecated
boolean setBandanaKeyInteger(java.lang.String token,
                                        java.lang.String space,
                                        java.lang.String key,
                                        int value)
Deprecated. since 5.6. Use FuncTestAdminBandanaResource.

Sets a key in Bandana


getBandanaValue

@Deprecated
java.lang.Object getBandanaValue(java.lang.String token,
                                            java.lang.String space,
                                            java.lang.String key)
Deprecated. since 5.6. Use FuncTestAdminBandanaResource.

Gets a value from Bandana


getContentPropertyKeys

java.util.Vector getContentPropertyKeys(java.lang.String token,
                                        java.lang.String entityId)
Get the content property keys for a content entity given its id


getContentProperty

java.lang.String getContentProperty(java.lang.String token,
                                    java.lang.String entityId,
                                    java.lang.String key)
Get the content property value for a content entity given its id and the property key


getContentPropertiesString

java.lang.String getContentPropertiesString(java.lang.String token,
                                            java.lang.String entityId,
                                            java.lang.String key)
Get the string value of a ContentProperty associated with a content entity given its id and the property name


getContentPropertiesStringForSpace

java.lang.String getContentPropertiesStringForSpace(java.lang.String token,
                                                    java.lang.String spaceKey,
                                                    java.lang.String key)
Get the string value of a ContentProperty associated with the SpaceDescription of the space


setContentTextProperty

boolean setContentTextProperty(java.lang.String token,
                               java.lang.String entityId,
                               java.lang.String key,
                               java.lang.String value)
Sets a text content property for a content entity given its id


setContentPropertiesString

boolean setContentPropertiesString(java.lang.String token,
                                   java.lang.String entityId,
                                   java.lang.String key,
                                   java.lang.String value)
Sets the string value of a ContentProperty associated with a content entity given its id and the property name


setContentPropertiesStringForSpace

boolean setContentPropertiesStringForSpace(java.lang.String token,
                                           java.lang.String spaceKey,
                                           java.lang.String key,
                                           java.lang.String value)
Sets the string value of a ContentProperty associated with the SpaceDescription of the space


getPersonalInformationId

java.lang.String getPersonalInformationId(java.lang.String token,
                                          java.lang.String username)
Gets the personal information id for a given username


removePersonalInformation

boolean removePersonalInformation(java.lang.String token,
                                  java.lang.String username)
                                  throws NotPermittedException
PersonalInformation gets created automatically by the standard create user methods. This method exists to allow testing that the PersonalInformation will get created appropriately when it doesn't exist (eg for LDAP users logging in).

Parameters:
username - user whose personalInformation will be removed
Returns:
true because it has to return something
Throws:
NotPermittedException

getLocaleForUser

java.lang.String getLocaleForUser(java.lang.String token,
                                  java.lang.String username)
Gets the locale preference for the user.


setLocaleForUser

boolean setLocaleForUser(java.lang.String token,
                         java.lang.String username,
                         java.lang.String locale)
                         throws RemoteException
Sets the locale preference for the user to the given named locale.

Throws:
RemoteException

setGlobalLanguage

boolean setGlobalLanguage(java.lang.String token,
                          java.lang.String language)
                          throws RemoteException
Changes to the default site language

Throws:
RemoteException

setKeyboardShortcutPref

boolean setKeyboardShortcutPref(java.lang.String token,
                                java.lang.String username,
                                java.lang.String enabled)
                                throws RemoteException
Enables/Disables keyboard shortcuts for the given uesr

Throws:
RemoteException

setWatchOwnContentPref

boolean setWatchOwnContentPref(java.lang.String token,
                               java.lang.String username,
                               java.lang.String enabled)
                               throws RemoteException
Enables/Disables autowatching for the given uesr

Throws:
RemoteException

setWatchSpace

boolean setWatchSpace(java.lang.String token,
                      java.lang.String username,
                      java.lang.String spaceKey,
                      java.lang.String contentType,
                      java.lang.String enabled)
                      throws RemoteException
Enables/Disables watching a space for the given user and content type.

Throws:
RemoteException

setUserDetails

boolean setUserDetails(java.lang.String token,
                       java.lang.String username,
                       java.lang.String fullName,
                       java.lang.String email)
                       throws RemoteException
Sets the fullname and email address of a user with a given username.

Returns:
true because XMLRPC methods have to return something
Throws:
RemoteException - if the user was not found.

setUserDetailProperty

boolean setUserDetailProperty(java.lang.String token,
                              java.lang.String username,
                              java.lang.String propertyKey,
                              java.lang.String propertyValue)
Sets a single UserDetails property through the UserDetailsManager.

Returns:
true because XMLRPC methods have to return something
Throws:
RemoteException - if the user was not found.

putStringMappingInCache

@Deprecated
boolean putStringMappingInCache(java.lang.String token,
                                           java.lang.String cacheName,
                                           java.lang.String key,
                                           java.lang.String value)
                                throws java.lang.Exception
Deprecated. since 5.6. Use FuncTestAdminCacheResource.

Map a key to a value for a given cache. Only accepts strings. This allows us to manipulate the number of entries in the cache. This method will create the named cache if it doesn't exist.

Returns:
true because void is not allowed.
Throws:
java.lang.Exception

getCacheStatistics

@Deprecated
java.util.Hashtable getCacheStatistics(java.lang.String token,
                                                  java.lang.String cacheName)
                                       throws java.lang.Exception
Deprecated. since 5.6. Use FuncTestAdminCacheResource.

Returns the cache statistics for a particular named cache.

Parameters:
cacheName - the key of the cache, rather than the "niceName"
Returns:
A hashtable representing the cache statistics
Throws:
java.lang.Exception

getCacheMaximumNumberOfElements

@Deprecated
java.lang.Integer getCacheMaximumNumberOfElements(java.lang.String token,
                                                             java.lang.String cacheName)
                                                  throws java.lang.Exception
Deprecated. since 5.6. Use FuncTestAdminCacheResource.

Returns the configured maximum number of elements in the given cache

Parameters:
cacheName - the key of the cache, rather than the "niceName"
Throws:
java.lang.Exception

setCacheMaximumNumberOfElements

@Deprecated
boolean setCacheMaximumNumberOfElements(java.lang.String token,
                                                   java.lang.String cacheName,
                                                   int maxNumElements)
                                        throws java.lang.Exception
Deprecated. since 5.6. Use FuncTestAdminCacheResource.

(Re)configures the maximum number of elements in the given cache

Parameters:
cacheName - the key of the cache, rather than the "niceName"
Throws:
java.lang.Exception

getCacheStatisticsCapabilities

@Deprecated
java.util.Vector<java.lang.String> getCacheStatisticsCapabilities(java.lang.String token)
                                                                  throws NotPermittedException
Deprecated. since 5.6. Use FuncTestAdminCacheResource.

Returns the capabiltiies exposed by the cache statics service.

Throws:
NotPermittedException

flushAllCaches

@Deprecated
boolean flushAllCaches(java.lang.String token)
                       throws java.lang.Exception
Deprecated. since 5.6. Use FuncTestAdminCacheResource.

Flushes all the caches.

Returns:
true because void isn't allowed.
Throws:
java.lang.Exception

enableWebSudo

boolean enableWebSudo(java.lang.String token,
                      boolean enabled)
                      throws java.lang.Exception
Sets the web sudo enabled status

Returns:
true because void isn't allowed.
Throws:
java.lang.Exception

setWebSudoTimeout

boolean setWebSudoTimeout(java.lang.String token,
                          int timeout)
                          throws java.lang.Exception
Sets the web sudo timeout in minutes

Returns:
true because void isn't allowed.
Throws:
java.lang.Exception

enableElevatedSecurityCheck

boolean enableElevatedSecurityCheck(java.lang.String token,
                                    boolean enabled)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

enablePublicSignUp

boolean enablePublicSignUp(java.lang.String token,
                           boolean enabled)
                           throws java.lang.Exception
Sets the public sign up enabled status

Returns:
true because void isn't allowed.
Throws:
java.lang.Exception

startActivity

boolean startActivity(java.lang.String key,
                      java.lang.String user)
                      throws java.lang.Exception
Call startActivity on the heartbeatManager bean

Throws:
java.lang.Exception

getUsersForActivity

java.util.Vector getUsersForActivity(java.lang.String key)
                                     throws java.lang.Exception
Call getUsersForActivity on the heartbeatManager bean

Throws:
java.lang.Exception

removeUserUncleanly

boolean removeUserUncleanly(java.lang.String token,
                            java.lang.String username)
                            throws java.lang.Exception
Remove a User without removing the things that refer to that user.

Throws:
java.lang.Exception

removeGroupUncleanly

boolean removeGroupUncleanly(java.lang.String token,
                             java.lang.String groupname)
                             throws java.lang.Exception
Remove a Group without removing the things that refer to that group.

Throws:
java.lang.Exception

doesDraftExist

boolean doesDraftExist(java.lang.String token,
                       java.lang.String contentId,
                       java.lang.String owner,
                       java.lang.String draftType,
                       java.lang.String spaceKey)
Determines if a draft of the specified type and belonging to the specified owner exists.

Parameters:
token - rpc authentication token
contentId - id of the content this draft is for ('0' for new content)
owner - owner/author of the draft
draftType - type of content this draft is for
spaceKey - space key, to allow new drafts in multiple spaces
Returns:
true if a draft of the specified type and belonging to the specified owner exists, else false

countDrafts

int countDrafts(java.lang.String token,
                java.lang.String owner)

createDraft

java.util.Hashtable createDraft(java.lang.String token,
                                java.util.Hashtable draft)
Creates a draft for the draft owner and draft type with the specified title and content. If the draft already exists the current draft is updated.

Parameters:
token - rpc authentication token
draft - the draft object to create Required: "owner" - the username of owner/author of the draft. Set to null for anonymous users. "draftType" - type of content the draft is for i.e. BlogPost.getType() or Page.getType(). "title" - title of the draft. "content" - content of the draft as a String in Confluence XML storage format. Optional: "pageId" - page that the draft is associated with. "spaceKey" - if no there is no page, the space that the draft is written in.
Returns:
the draft created returned in the same format as above, with the additional field id.

updateDraft

java.util.Hashtable updateDraft(java.lang.String token,
                                java.util.Hashtable draft)
Updates a draft located using the draft owner and draft type. Draft is then updated with the specified title and content

Parameters:
token - rpc authentication token
draft - the draft object to create see #createDraft(java.lang.String, java.util.Hashtable)
Returns:
the draft updated returns null if the draft does not exist

removeDrafts

boolean removeDrafts(java.lang.String token,
                     java.lang.String username)
Removes all drafts owned by the specified User.

Parameters:
token - rpc authentication token
username - user to remove drafts for
Returns:
true if this is successful, false if no user with this name.

setDraftSaveInterval

boolean setDraftSaveInterval(java.lang.String token,
                             int seconds)
Sets the given draft save interval.

Parameters:
token - rpc authentication token
seconds - number of seconds for which the draft save interval should be
Returns:
true if this is successful, false if not set

clearQueue

boolean clearQueue(java.lang.String token,
                   java.lang.String queueName)
Removes all items from the specified queue

Returns:
true if this is successful, false if no queue with this name exists

getQueueSize

int getQueueSize(java.lang.String token,
                 java.lang.String queueName)
Returns the size of the task queue with the specified name.

Returns:
the size of the task queue with the specified name.

getNumberOfIndexTasksInQueue

int getNumberOfIndexTasksInQueue(java.lang.String token)
Returns the size of the index queue.

Parameters:
token -
Returns:

removeMailServer

boolean removeMailServer(java.lang.String token,
                         java.lang.String serverName)
                         throws java.lang.Exception
Remove the named mail server.

Parameters:
token - the rpc authentication token
serverName - the name of the server to be removed.
Returns:
true if the named server was removed (or there was no server by that name), otherwise false.
Throws:
java.lang.Exception

getLeastRecentTestAppenderLogMessage

java.lang.String getLeastRecentTestAppenderLogMessage(java.lang.String token,
                                                      java.lang.String className)

registerTestAppenderForClass

boolean registerTestAppenderForClass(java.lang.String token,
                                     java.lang.String className)

unregisterTestAppenderForClass

boolean unregisterTestAppenderForClass(java.lang.String token,
                                       java.lang.String className)

logTestMessageForClass

boolean logTestMessageForClass(java.lang.String token,
                               java.lang.String className,
                               java.lang.String message,
                               java.lang.String level)

getLocalisedText

java.lang.String getLocalisedText(java.lang.String token,
                                  java.lang.String messageKey)
Get the localised string for given the message key in the logged-in user's locale.

Parameters:
token - the rpc authentication token
messageKey - the i18n message key
Returns:
the localised version of the message key in the logged-in user's locale, or the message key itself if it does not have a corresponding value.

addUserAnyCase

boolean addUserAnyCase(java.lang.String token,
                       java.lang.String username,
                       java.lang.String email,
                       java.lang.String fullname,
                       java.lang.String password)
                       throws RemoteException
Allows addition of a user without enforcing that the username be all lower case. This is for use in tests where you need mixed case user - useful for emulating an external provider such as LDAP.

Throws:
NotPermittedException - if you do not have permissions to add the user.
RemoteException

addGroupAnyCase

boolean addGroupAnyCase(java.lang.String token,
                        java.lang.String groupname)
                        throws RemoteException
Allows addition of a group without enforcing that the name be all lower case. This is for use in tests where you need mixed case user - useful for emulating an external provider such as LDAP.

Parameters:
groupname - the name of the group to add
Returns:
true if successfully added, otherwise false
Throws:
RemoteException

changeSpaceCreatedDate

boolean changeSpaceCreatedDate(java.lang.String token,
                               java.lang.String spaceKey,
                               java.util.Date createdDate)
                               throws RemoteException
Change the created date of a space

Parameters:
spaceKey - the space key of the space to change the created date
Throws:
RemoteException

changeCommentCreatedDate

boolean changeCommentCreatedDate(java.lang.String token,
                                 java.lang.String commentId,
                                 java.util.Date createdDate)
                                 throws RemoteException
Change the created date of a comment

Throws:
RemoteException

changePageCreatedDate

boolean changePageCreatedDate(java.lang.String token,
                              java.lang.String pageId,
                              java.util.Date createdDate)
                              throws RemoteException
Change the created date of a page

Parameters:
pageId - the page id of the page to change the created date
Throws:
RemoteException

removeAttachmentUncleanly

boolean removeAttachmentUncleanly(java.lang.String token,
                                  java.lang.String contentId,
                                  java.lang.String attachmentFileName)
                                  throws RemoteException
Removes an attachment without cleaning up associated attachment info

Parameters:
token - the authentication
contentId - the content that the attachment is attached to
attachmentFileName - the attachment
Returns:
true
Throws:
RemoteException

changeAttachmentCreatedDate

boolean changeAttachmentCreatedDate(java.lang.String token,
                                    java.lang.String contentId,
                                    java.lang.String attachmentFileName,
                                    java.util.Date createdDate)
                                    throws RemoteException
Change the created date of an attachment

Parameters:
contentId - the id of the page or blogpost the attachment is attached to
attachmentFileName - the attachment file name of the attachment to change the created date
Throws:
RemoteException

changeBlogPostModificationDate

boolean changeBlogPostModificationDate(java.lang.String token,
                                       java.lang.String blogId,
                                       java.util.Date modificationDate)
                                       throws RemoteException
Change the modification date of a blog post

Parameters:
blogId - the id of the blog to modify
modificationDate - the last modification date to be set.
Returns:
true if successful, otherwise false.
Throws:
RemoteException

changePageModificationDate

boolean changePageModificationDate(java.lang.String token,
                                   java.lang.String pageId,
                                   java.util.Date modificationDate)
                                   throws RemoteException
Change the modification date of a page

Parameters:
pageId - the page id of the page to change the modification date
modificationDate - the last modification date to be set.
Throws:
RemoteException

getVersionForPage

int getVersionForPage(java.lang.String token,
                      java.lang.String pageId)
                      throws RemoteException
Get the version number for the page with pageId

Throws:
RemoteException

saveDateFormat

boolean saveDateFormat(java.lang.String token,
                       java.lang.String dateFormat)

saveDateTimeFormat

boolean saveDateTimeFormat(java.lang.String token,
                           java.lang.String dateTimeFormat)

addMailServer

@Deprecated
boolean addMailServer(java.lang.String token,
                                 java.lang.String name,
                                 java.lang.String from,
                                 java.lang.String subjectPrefix,
                                 java.lang.String hostname,
                                 int port,
                                 java.lang.String fromName)
Deprecated. since 5.0. Use addSmtpServer instead.


addMailServer

@Deprecated
boolean addMailServer(java.lang.String token,
                                 java.lang.String name,
                                 java.lang.String from,
                                 java.lang.String subjectPrefix,
                                 java.lang.String hostname,
                                 int port)
Deprecated. since 5.0. Use addSmtpServer instead.


addSmtpServer

boolean addSmtpServer(java.lang.String token,
                      java.lang.String name,
                      java.lang.String from,
                      java.lang.String subjectPrefix,
                      java.lang.String hostname,
                      int port,
                      java.lang.String fromName)

addSmtpServer

boolean addSmtpServer(java.lang.String token,
                      java.lang.String name,
                      java.lang.String from,
                      java.lang.String subjectPrefix,
                      java.lang.String hostname,
                      int port)
Add an SMTP mail server.


setSmtpServer

boolean setSmtpServer(java.lang.String token,
                      java.lang.String name,
                      java.lang.String from,
                      java.lang.String subjectPrefix,
                      java.lang.String hostname,
                      int port)
Remove all existing SMTP servers and add the given server.


setSmtpServer

boolean setSmtpServer(java.lang.String token,
                      java.lang.String name,
                      java.lang.String from,
                      java.lang.String subjectPrefix,
                      java.lang.String hostname,
                      int port,
                      java.lang.String fromName)
Remove all existing SMTP servers and add the given server.


addMailServer

boolean addMailServer(java.lang.String token,
                      java.lang.String serverName,
                      java.lang.String protocol,
                      java.lang.String hostname,
                      int port,
                      java.lang.String username,
                      java.lang.String password,
                      java.lang.String toAddress)
Add a POP server to poll for emails in a particular account. The account's associated email address must also be passed.


convertMarkupToXhtml

java.lang.String convertMarkupToXhtml(java.lang.String token,
                                      java.lang.String wikiMarkup,
                                      java.lang.String pageId)
Render a page as XHTML.


convertXhtmlToMarkup

java.lang.String convertXhtmlToMarkup(java.lang.String token,
                                      java.lang.String xhtml,
                                      java.lang.String pageId)
Convert XHTML to WikiMarkup.


createJohnsonEvent

boolean createJohnsonEvent(java.lang.String token,
                           java.lang.String message)
Creates a Johnson event inside Confluence. This method is used to test the ConfluenceJohnsonFilter.

Parameters:
message - the description of the event to create

removeAllJohnsonEvents

boolean removeAllJohnsonEvents(java.lang.String token)
Removes all Johnson events from Confluence


enableCaptcha

boolean enableCaptcha(java.lang.String token,
                      boolean enable)
Sets the captcha mode


enableCaptchaDebugMode

boolean enableCaptchaDebugMode(java.lang.String token,
                               boolean enable)
Sets the captcha mode into debug mode. See CaptchaManager.setDebugMode(boolean).


getSystemProperty

java.util.Hashtable<java.lang.String,java.lang.String> getSystemProperty(java.lang.String token,
                                                                         java.lang.String name)
Retrieve the value of a system property. The property is returned as a map of the property key to its value, as XML-RPC doesn't support nulls and it's reasonably important to be able to tell if the property is set.

Parameters:
name - the name of the property
Returns:
a hash mapping the requested key to its value, if the property is set. Otherwise an empty map.

setSystemProperty

java.lang.Boolean setSystemProperty(java.lang.String token,
                                    java.lang.String name,
                                    java.lang.String value)
Set a system property on the server to the supplied value.

Parameters:
name - the name of the property
value - the value of the property
Returns:
always true since XML RPC can't handle void

clearSystemProperty

java.lang.Boolean clearSystemProperty(java.lang.String token,
                                      java.lang.String name)
Unset a system property.

Parameters:
name - the name of the property
Returns:
always true since XML RPC can't handle void

clearIndex

boolean clearIndex(java.lang.String token)
Blows away the main Confluence search index.


restoreAbstractPage

boolean restoreAbstractPage(java.lang.String token,
                            java.lang.String abstractPageId)
Restores an abstract page from the trash.


getIdOfPagePermission

java.lang.String getIdOfPagePermission(java.lang.String token,
                                       java.lang.String contentId,
                                       java.lang.String permissionType,
                                       java.lang.String username)
Returns:
the id of the identified content permission or 0 if there is no match found.

createTestUsers

int createTestUsers(java.lang.String token,
                    int count)
Create test users with usernames "testuser0", "testuser1", etc. Each user's password is the same as their username.

Returns:
the number of users created

removeTestUsers

int removeTestUsers(java.lang.String token,
                    int count)
Removes test users with usernames "testuser0", "testuser1", etc. Logs a warning if a user cannot be removed.

Returns:
the number of users removed

createUserMacro

boolean createUserMacro(java.lang.String token,
                        java.lang.String name,
                        boolean hasBody,
                        java.lang.String bodyType,
                        java.lang.String outputType,
                        java.lang.String template,
                        java.lang.String title,
                        java.lang.String description,
                        java.lang.String category,
                        java.lang.String iconUrl,
                        java.lang.String documentationUrl,
                        boolean hidden)
                        throws NotPermittedException
Create a User Macro

Parameters:
bodyType - how the body should be treated. "raw", "escapehtml", or "rendered". May be null only if hasBody is false.
outputType - whether the macro is expected to return html or wiki markup. "html" or "wiki".
template - the velocity rendered by the macro
title - the title of the macro that appears in the Macro Browser
description - the description of the macro that appears in the Macro Browser
category - the category the macro should be listed under in the Macro Browser
iconUrl - the URL of the macro icon that appears in the Macro Browser
documentationUrl - the URL of the macro documentation
hidden - true if the Macro should not be searchable in the Macro Browser
Returns:
true all the time because XMLRPC methods need a non-void return type.
Throws:
java.lang.RuntimeException - if the macro already exists
NotPermittedException

removeUserMacro

boolean removeUserMacro(java.lang.String token,
                        java.lang.String name)
                        throws NotPermittedException
Remove a User Macro with the given name if it exists.

Returns:
true all the time because XMLRPC methods need a non-void return type.
Throws:
NotPermittedException

registerEventListener

boolean registerEventListener(java.lang.String token,
                              java.lang.String eventClassName)
                              throws java.lang.Exception
Registers a temporary event listener on the server to listen for the specified event. It is recommended that clients also unregister the event listener using unregisterEventListener(String, String) in a finally clause to ensure the temporary listener is cleaned up.

Once the listener is registered, clients can use waitForEvent(String, String, String, String) to block until the event is published.

Throws:
java.lang.Exception

unregisterEventListener

boolean unregisterEventListener(java.lang.String token,
                                java.lang.String eventClassName)
                                throws java.lang.Exception
Unregisters the temporary listener registered for the specified event.

Throws:
java.lang.Exception

clearEventListeners

boolean clearEventListeners(java.lang.String token)
                            throws java.lang.Exception
Removes all temporary event listeners, regardless of their state.

Returns:
true because some result is required.
Throws:
java.lang.Exception

setApplicationConfigProperty

boolean setApplicationConfigProperty(java.lang.String token,
                                     java.lang.String propertyKey,
                                     java.lang.String propertyValue)
Sets a property on the global ApplicationConfiguration instance.

Returns:
the previous value of the property

getApplicationConfigProperty

java.lang.Object getApplicationConfigProperty(java.lang.String token,
                                              java.lang.String propertyKey)
Returns a property of the global ApplicationConfiguration instance.

Parameters:
propertyKey -
Returns:
the property mapped to propertyKey

followUser

boolean followUser(java.lang.String token,
                   java.lang.String userName,
                   boolean followUser)
                   throws RemoteException
Follows or stops following a user. Can be done by any user, not just admins.

Parameters:
followUser - true to follow a user, false to stop following
Throws:
RemoteException

setUserStatus

java.lang.String setUserStatus(java.lang.String token,
                               java.lang.String wikiStatus)
                               throws java.lang.Exception
Set the current user's status. Can be done by any user, not just admins.

Parameters:
wikiStatus - the status string in wiki markup.
Returns:
the id of the new status, converted to a String
Throws:
java.lang.Exception

storeXhtmlPage

java.util.Hashtable storeXhtmlPage(java.lang.String token,
                                   java.util.Hashtable pageStruct)
                                   throws RemoteException
The Confluence remote API store page performs wiki to XHTML conversion on the page content. This version will store the supplied content exactly as it is. This is necessary for tests where the automatic conversion is not helpful, such as user macro testing.

Parameters:
token -
pageStruct -
Returns:
the created page
Throws:
RemoteException

synchroniseUserDirectories

boolean synchroniseUserDirectories(java.lang.String token)
                                   throws java.lang.Exception
Synchronizes all remote user directories with the local database cache

Returns:
true
Throws:
java.lang.Exception

setDirectoryPasswordEncoder

boolean setDirectoryPasswordEncoder(java.lang.String token,
                                    java.lang.String directoryName,
                                    java.lang.String encoder)
                                    throws java.lang.Exception
Changes the password encoder for the given directory

Returns:
true
Throws:
java.lang.Exception

removeUserDirectory

boolean removeUserDirectory(java.lang.String token,
                            java.lang.String directoryId)
                            throws java.lang.Exception
Removes user directory

Parameters:
directoryId - the id of the directory
Returns:
true if the directory existed and was removed
Throws:
java.lang.Exception

addExistingProfilePicture

boolean addExistingProfilePicture(java.lang.String token,
                                  java.lang.String userName,
                                  java.lang.String fileName)
                                  throws java.lang.Exception
Attempts to add a existing profile picture to a user's profile.

Parameters:
userName - the user name of the profile
fileName - file name of the picture
Returns:
true if the picture is successfully added
Throws:
java.lang.Exception

setBooleanUserPreference

boolean setBooleanUserPreference(java.lang.String token,
                                 java.lang.String userName,
                                 java.lang.String preferenceKey,
                                 java.lang.String value)
                                 throws RemoteException
Sets a boolean user preference.

Parameters:
userName - the user name to set the preference for
preferenceKey - the key of the preference to set
value - the string "true" or "false" to set as the preference
Throws:
RemoteException

setStringUserPreference

boolean setStringUserPreference(java.lang.String token,
                                java.lang.String userName,
                                java.lang.String preferenceKey,
                                java.lang.String value)
                                throws RemoteException
Sets a string user preference.

Parameters:
userName - the user name to set the preference for
preferenceKey - the key of the preference to set
value - a string to set as the preference
Throws:
RemoteException

enableDailyReportNotification

boolean enableDailyReportNotification(java.lang.String token,
                                      java.lang.String userName,
                                      boolean dailyReportEnabled)
Sets the Daily Report email for a user to enabled or disabled.

Parameters:
userName - the user name to set the report state for
dailyReportEnabled - true if the daily report should be sent, false if not

setNetworkNotificationForUser

boolean setNetworkNotificationForUser(java.lang.String token,
                                      java.lang.String userName,
                                      boolean watchNetwork)
Sets Network watch emails for a user to enabled or disabled.

Parameters:
userName - the user name to set the watch state for
watchNetwork - true if the user should watch their network, false if not

setSiteBlogNotificationForUser

boolean setSiteBlogNotificationForUser(java.lang.String token,
                                       java.lang.String userName,
                                       boolean globalBlogWatchForUser)
Sets Site Blog watch emails for a user to enabled or disabled.

Parameters:
userName - the user name to set the watch state for
globalBlogWatchForUser - true if the user should watch all blogs on the site network, false if not

getIgnoreBaseURLWarning

boolean getIgnoreBaseURLWarning(java.lang.String token)
Whether the warning message for an un-advisable value for the Base URL is ignored or not.

Returns:
true if the warning message is ignored.

setIgnoreBaseURLWarning

boolean setIgnoreBaseURLWarning(java.lang.String token,
                                boolean value)
                                throws RemoteException
Affects whether the warning message for an un-advisable value for the Base URL is ignored or not. If ignored, any warning messages about the Base URL will not be displayed.

Parameters:
value - set to true to ignore the warning.
Throws:
RemoteException

enableUserFeature

@Deprecated
boolean enableUserFeature(java.lang.String token,
                                     java.lang.String featureKey)
                          throws RemoteException
Deprecated. since 5.6. Use the REST resource.

Enables a given dark feature for the logged in user.

Parameters:
featureKey - - the key of the feature to enable
Throws:
RemoteException

disableUserFeature

@Deprecated
boolean disableUserFeature(java.lang.String token,
                                      java.lang.String featureKey)
                           throws RemoteException
Deprecated. since 5.6. Use the REST resource.

Disables a given dark feature for the logged in user.

Parameters:
featureKey - - the key of the feature to disable
Throws:
RemoteException

enableSiteFeature

@Deprecated
boolean enableSiteFeature(java.lang.String token,
                                     java.lang.String featureKey)
                          throws RemoteException
Deprecated. since 5.6. Use the REST resource.

Enables a given dark feature for the entire site.

Parameters:
featureKey - - the key of the feature to enable
Throws:
RemoteException

disableSiteFeature

@Deprecated
boolean disableSiteFeature(java.lang.String token,
                                      java.lang.String featureKey)
                           throws RemoteException
Deprecated. since 5.6. Use the REST resource.

Disables a given dark feature for the entire site.

Parameters:
featureKey - - the key of the feature to disable
Throws:
RemoteException

setWelcomeMessage

boolean setWelcomeMessage(java.lang.String token,
                          java.lang.String welcomeMessage)

resetWelcomeMessage

boolean resetWelcomeMessage(java.lang.String token)

createPagesFromPrototype

java.util.Vector<java.util.Hashtable> createPagesFromPrototype(java.lang.String token,
                                                               java.util.Hashtable pageStruct,
                                                               int count)
                                                               throws RemoteException
Creates a series of pages based on a prototype. Each page will have the same parent and content, and the title will be that of the template plus a space and an index. e.g. if the page title passed is "Hey Ho", the created pages will be "Hey Ho 1", "Hey Ho 2" and so on.

Parameters:
pageStruct - a template page to create multiple pages from
count - the number of pages to create - pages created are 1-indexed
Throws:
RemoteException

updateGlobalSettingBoolean

boolean updateGlobalSettingBoolean(java.lang.String token,
                                   java.lang.String name,
                                   boolean value)
                                   throws RemoteException
Update a Settings boolean field.

Parameters:
token -
name - name of the field used to store the setting (see field names inside Settings.
value -
Returns:
the old value
Throws:
RemoteException

updateGlobalSettingString

java.lang.String updateGlobalSettingString(java.lang.String token,
                                           java.lang.String name,
                                           java.lang.String value)
                                           throws RemoteException
Update a Settings String field.

Parameters:
name - name of the field used to store the setting (see field names inside Settings.
value - the String value the field should take
Returns:
the old value
Throws:
RemoteException

createSpaces

java.util.Vector<java.lang.String> createSpaces(java.lang.String token,
                                                int count)
                                                throws RemoteException
Creates a bunch of spaces.

Parameters:
count - the number to create
Returns:
the keys of the spaces created
Throws:
RemoteException - if you are not awesome enough to use this method

getNumberOfActiveUsers

int getNumberOfActiveUsers(java.lang.String token)
                           throws RemoteException
Returns the number of active users, i.e. the number of users used for license purposes.

Returns:
the number of active users
Throws:
RemoteException

getExportBuildNumber

java.lang.String getExportBuildNumber(java.lang.String token)
Returns the backward-compatibility of an export

Parameters:
token - the authentication
Returns:
the build number

getOldestSpaceImportAllowed

java.lang.String getOldestSpaceImportAllowed(java.lang.String token)
Returns the backwards-compatibility of a space import

Parameters:
token - the authentication
Returns:
the oldest build number allowed

getPluginExportCompatibility

java.lang.String getPluginExportCompatibility(java.lang.String token,
                                              java.lang.String pluginKey)
Returns the plugin compatibility matrix for exports

Parameters:
token - the authentication
pluginKey - the plugin key
Returns:
a version range in the form "4.3..5.0", separated by 2 dots, or null

isUnlimitedUserLicense

boolean isUnlimitedUserLicense(java.lang.String token)
                               throws RemoteException
Returns:
true if the current licence has no user limit, false otherwise
Throws:
RemoteException

getAliveThreads

java.util.Vector<java.util.Hashtable> getAliveThreads(java.lang.String token)
                                                      throws RemoteException
Throws:
RemoteException

setEnableAnonymousRpc

boolean setEnableAnonymousRpc(java.lang.String token,
                              java.lang.String value)
                              throws RemoteException
Toggle the setting to allow/deny anonymous RPC calls. You will also need to enable anonymous access at the permissions level using the Admin RPC interface.

Throws:
RemoteException

getContentForAllLabels

java.util.Hashtable<java.lang.String,java.lang.Object> getContentForAllLabels(java.lang.String token,
                                                                              int offset,
                                                                              int maxResults,
                                                                              java.lang.String labels)
Returns CEOs having all of the labels supplied in the string. Labels are space-separated.


getContentInSpacesForAllLabels

java.util.Hashtable<java.lang.String,java.lang.Object> getContentInSpacesForAllLabels(java.lang.String token,
                                                                                      int offset,
                                                                                      int maxResults,
                                                                                      java.lang.String spaceKeysString,
                                                                                      java.lang.String labelsString)
Returns CEOs in the given spaces having all of the labels supplied in the string. Labels and space keys are space-separated.


getAllContentForAllLabels

java.util.Hashtable<java.lang.String,java.lang.Object> getAllContentForAllLabels(java.lang.String token,
                                                                                 int offset,
                                                                                 int maxResults,
                                                                                 java.lang.String labelsString)
Returns current and trashed CEOs having all of the labels supplied in the string. Labels are space-separated.


getForLabels

java.util.Hashtable<java.lang.String,java.lang.Object> getForLabels(java.lang.String token,
                                                                    java.lang.String labelableType,
                                                                    int offset,
                                                                    int maxResults,
                                                                    java.lang.String labelsString)
Returns any kind of Labelable entities having all of the labels supplied in the string. Labels are space-separated.


addLabelToLabelable

int addLabelToLabelable(java.lang.String token,
                        java.lang.String labelName,
                        java.lang.String labelableId,
                        java.lang.String labelableType)
Adds a label to a labelable, because the public RPC API doesn't let you do it. Feel free to turn it all into REST to make the pain go away.


startLoggingRequests

boolean startLoggingRequests(java.lang.String token)
Start logging http request urls.

Call finishLoggingRequests(String) to stop logging and to retrieve results.

Returns:
true

finishLoggingRequests

java.util.Vector<java.lang.String> finishLoggingRequests(java.lang.String token)
Finish logging http request and return any requests made.

Logging must have been previously started using startLoggingRequests(String).

Returns:
url of each request made

resetDatabaseStatistics

boolean resetDatabaseStatistics(java.lang.String token)
Reset database statistics.

Call getDatabaseStatistics(String) to get results since the last reset.

Returns:
true

getDatabaseStatistics

java.lang.String getDatabaseStatistics(java.lang.String token)
Return database statistics.

Statistics since the last call to resetDatabaseStatistics(String) are returned.

Returns:
stabase statistics

runGarbageCollection

boolean runGarbageCollection(java.lang.String token)

isImportTaskRunning

boolean isImportTaskRunning(java.lang.String token)

getAnonyimizedClusterNodeIdentifier

java.lang.String getAnonyimizedClusterNodeIdentifier(java.lang.String token)

assertThatIndexQueueEntryHasBeenProcessed

boolean assertThatIndexQueueEntryHasBeenProcessed(java.lang.String token,
                                                  java.lang.String searchableClassname,
                                                  java.lang.String searchableId)
                                                  throws RemoteException
Throws:
RemoteException


Copyright © 2003-2014 Atlassian. All Rights Reserved.