|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.test.rpc.FuncTestRpcHandlerImpl
public class FuncTestRpcHandlerImpl
| Constructor Summary | |
|---|---|
FuncTestRpcHandlerImpl()
|
|
| Method Summary | |
|---|---|
boolean |
addExistingProfilePicture(String token,
String userName,
String fileName)
Attempts to add a existing profile picture to a user's profile. |
boolean |
addGroupAnyCase(String token,
String groupname)
Allows addition of a group without enforcing that the name be all lower case. |
int |
addLabelToLabelable(String token,
String labelName,
String labelableId,
String labelableType)
Adds a label to a labelable, because the public RPC API doesn't let you do it. |
boolean |
addMailServer(String token,
String serverName,
String protocol,
String hostname,
int port,
String username,
String password,
String toAddress)
Add a POP server to poll for emails in a particular account. |
boolean |
addMailServer(String token,
String name,
String from,
String subjectPrefix,
String hostname,
int port)
|
boolean |
addMailServer(String token,
String name,
String from,
String subjectPrefix,
String hostname,
int port,
String fromName)
|
boolean |
addSmtpServer(String token,
String name,
String from,
String subjectPrefix,
String hostname,
int port)
Add an SMTP mail server. |
boolean |
addSmtpServer(String token,
String name,
String from,
String subjectPrefix,
String hostname,
int port,
String fromName)
|
boolean |
addUserAnyCase(String token,
String username,
String email,
String fullname,
String password)
Allows addition of a user without enforcing that the username be all lower case. |
boolean |
assertThatIndexQueueEntryHasBeenProcessed(String unusedToken,
String searchableClassname,
String searchableId)
|
boolean |
changeAttachmentCreatedDate(String token,
String contentId,
String attachmentFileName,
Date createdDate)
Change the created date of an attachment |
boolean |
changeBlogPostModificationDate(String token,
String blogId,
Date modificationDate)
Change the modification date of a blog post |
boolean |
changeCommentCreatedDate(String token,
String commentId,
Date createdDate)
Change the created date of a comment |
String |
changeLoggerLevel(String token,
String loggerName,
String level)
Deprecated. |
boolean |
changePageCreatedDate(String token,
String pageId,
Date createdDate)
Change the created date of a page |
boolean |
changePageModificationDate(String token,
String pageId,
Date modificationDate)
Change the modification date of a page |
boolean |
changeSpaceCreatedDate(String token,
String spaceKey,
Date createdDate)
Change the created date of a space |
boolean |
clearCustomHtml(String token)
Clears the global custom html. |
boolean |
clearEventListeners(String token)
Removes all temporary event listeners, regardless of their state. |
boolean |
clearIndex(String token)
Blows away the main Confluence search index. |
boolean |
clearQueue(String token,
String queueName)
Removes all items from the specified queue |
Boolean |
clearSystemProperty(String token,
String name)
Unset a system property. |
String |
convertMarkupToXhtml(String token,
String wikiMarkup,
String pageId)
Render a page as XHTML. |
String |
convertXhtmlToMarkup(String token,
String xhtml,
String pageId)
Convert XHTML to WikiMarkup. |
int |
countDrafts(String token,
String owner)
|
Hashtable |
createDraft(String token,
Hashtable draftStruct)
Creates a draft for the draft owner and draft type with the specified title and content. |
boolean |
createJohnsonEvent(String token,
String message)
Creates a Johnson event inside Confluence. |
Vector<Hashtable> |
createPagesFromPrototype(String token,
Hashtable pageStruct,
int count)
Creates a series of pages based on a prototype. |
Vector<String> |
createSpaces(String token,
int count)
Creates a bunch of spaces. |
String |
createTemplate(String token,
String templateName,
String content,
String spaceKey)
Create a new template. |
String |
createTemplateWithStorageFormat(String token,
String templateName,
String storageFormat,
String spaceKey)
Create a new template from storage format code. |
int |
createTestUsers(String token,
int count)
Create test users with usernames "testuser0", "testuser1", etc. |
boolean |
createUserMacro(String token,
String name,
boolean hasBody,
String bodyType,
String outputType,
String template,
String title,
String description,
String category,
String iconUrl,
String documentationUrl,
boolean hidden)
Create a User Macro |
boolean |
disablePlugin(String token,
String pluginKey)
Deprecated. |
boolean |
disablePluginModule(String token,
String pluginKey,
String moduleKey)
Deprecated. |
boolean |
disablePluginWithoutPersisting(String token,
String pluginKey)
Deprecated. |
boolean |
disableSiteFeature(String token,
String featureKey)
Deprecated. |
boolean |
disableUserFeature(String token,
String featureKey)
Deprecated. |
boolean |
disconnectGroup(String token,
String groupName)
Disconnect a group from Confluence. |
boolean |
disconnectUser(String token,
String userName)
Disconnect a user from Confluence. |
boolean |
doesDraftExist(String token,
String contentId,
String owner,
String draftType,
String spaceKey)
Determines if a draft of the specified type and belonging to the specified owner exists. |
boolean |
enableCaptcha(String token,
boolean enable)
Sets the captcha mode |
boolean |
enableCaptchaDebugMode(String token,
boolean enable)
Sets the captcha mode into debug mode. |
boolean |
enableDailyReportNotification(String token,
String userName,
boolean dailyReportEnabled)
Sets the Daily Report email for a user to enabled or disabled. |
boolean |
enableElevatedSecurityCheck(String token,
boolean enabled)
|
boolean |
enablePlugin(String token,
String pluginKey)
Deprecated. |
boolean |
enablePluginModule(String token,
String pluginKey,
String moduleKey)
Deprecated. |
boolean |
enablePublicSignUp(String token,
boolean enabled)
Sets the public sign up enabled status |
boolean |
enableSiteFeature(String token,
String featureKey)
Deprecated. |
boolean |
enableUserFeature(String token,
String featureKey)
Deprecated. |
boolean |
enableWebSudo(String token,
boolean enabled)
Sets the web sudo enabled status |
Vector<String> |
finishLoggingRequests(String token)
Finish logging http request and return any requests made. |
boolean |
flushAllCaches(String token)
Deprecated. |
boolean |
followUser(String token,
String userName,
boolean follow)
Follows or stops following a user. |
Vector<Hashtable> |
getAliveThreads(String token)
|
Hashtable<String,Object> |
getAllContentForAllLabels(String token,
int offset,
int maxResults,
String labelsString)
Returns current and trashed CEOs having all of the labels supplied in the string. |
String |
getAnonyimizedClusterNodeIdentifier(String unusedToken)
|
Object |
getApplicationConfigProperty(String token,
String propertyKey)
Returns a property of the global ApplicationConfiguration instance. |
Object |
getBandanaValue(String token,
String space,
String key)
Deprecated. |
Integer |
getCacheMaximumNumberOfElements(String token,
String cacheName)
Deprecated. |
Hashtable |
getCacheStatistics(String token,
String cacheName)
Deprecated. |
Vector<String> |
getCacheStatisticsCapabilities(String token)
Returns the capabiltiies exposed by the cache statics service. |
String |
getConfiguredThemeForSpace(String token,
String spaceKey)
Deprecated. |
Hashtable<String,Object> |
getContentForAllLabels(String token,
int offset,
int maxResults,
String labelsString)
Returns CEOs having all of the labels supplied in the string. |
Hashtable<String,Object> |
getContentInSpacesForAllLabels(String token,
int offset,
int maxResults,
String spaceKeysString,
String labelsString)
Returns CEOs in the given spaces having all of the labels supplied in the string. |
String |
getContentPropertiesString(String token,
String entityId,
String key)
Get the string value of a ContentProperty associated with
a content entity given its id and the property name |
String |
getContentPropertiesStringForSpace(String token,
String spaceKey,
String key)
Get the string value of a ContentProperty associated with
the SpaceDescription of the space |
String |
getContentProperty(String token,
String entityId,
String key)
Get the content property value for a content entity given its id and the property key |
Vector |
getContentPropertyKeys(String token,
String entityId)
Get the content property keys for a content entity given its id |
String |
getDatabaseStatistics(String token)
Return database statistics. |
String |
getExportBuildNumber(String token)
Returns the backward-compatibility of an export |
Hashtable<String,Object> |
getForLabels(String token,
String labelableType,
int offset,
int maxResults,
String labelsString)
Returns any kind of Labelable entities having all of the labels supplied in the string. |
String |
getGlobalConfiguredTheme(String token)
Deprecated. |
String[] |
getGlobalPermissionsForGroup(String token,
String groupName)
Gets the global permissions that the given group has. |
String |
getIdOfPagePermission(String token,
String contentId,
String permissionType,
String username)
|
boolean |
getIgnoreBaseURLWarning(String token)
Whether the warning message for an un-advisable value for the Base URL is ignored or not. |
String |
getLeastRecentTestAppenderLogMessage(String token,
String className)
|
String |
getLocaleForUser(String token,
String username)
Gets the locale preference for the user. |
String |
getLocalisedText(String token,
String messageKey)
Get the localised string for given the message key in the logged-in user's locale. |
Iterable<String> |
getNames(Iterable<? extends com.atlassian.user.User> iterable)
|
int |
getNumberOfActiveUsers(String token)
Returns the number of active users, i.e. |
int |
getNumberOfIndexTasksInQueue(String token)
Returns the size of the index queue. |
String |
getOldestSpaceImportAllowed(String token)
Returns the backwards-compatibility of a space import |
String |
getPersonalInformationId(String token,
String username)
Gets the personal information id for a given username |
String |
getPluginExportCompatibility(String token,
String pluginKey)
Returns the plugin compatibility matrix for exports |
int |
getQueueSize(String token,
String queueName)
Returns the size of the task queue with the specified name. |
Hashtable<String,String> |
getSystemProperty(String token,
String name)
Retrieve the value of a system property. |
Vector |
getUsersForActivity(String key)
Call getUsersForActivity on the heartbeatManager bean |
int |
getVersionForPage(String token,
String pageId)
Get the version number for the page with pageId |
boolean |
isCurrentApplicationSet(String token)
Check whether or not the trustedApplicationManager has its currentApplication set. |
boolean |
isImportTaskRunning(String token)
|
boolean |
isPluginModuleEnabled(String token,
String pluginKey,
String moduleKey)
Deprecated. |
boolean |
isPluginUpgradeTasksComplete(String token)
Returns true if the plugin dependent upgrade tasks |
boolean |
isSpringComponentPresent(String token,
String name)
Returns true if a Spring component with the given name exists in the application context. |
boolean |
isUnlimitedUserLicense(String token)
|
boolean |
logMessage(String token,
String destination,
String message)
Deprecated. |
boolean |
logTestMessageForClass(String token,
String className,
String message,
String level)
|
boolean |
massCreateAttachments(String token,
String pageId,
String prefix,
String numAttachments)
Create a whole series of attachments on a single page. |
boolean |
moveBlogPost(String token,
String blogPostId,
String targetSpaceKey)
|
boolean |
pauseAllJobs(String token)
Deprecated. |
boolean |
pauseJob(String token,
String jobSpecStr)
Pauses the named job in the quartz scheduler. |
boolean |
pauseJobGroup(String token,
String jobGroupName)
Pauses the named job group in the quartz scheduler. |
boolean |
putStringMappingInCache(String token,
String cacheName,
String key,
String value)
Deprecated. |
boolean |
registerEventListener(String token,
String eventClassName)
Registers a temporary event listener on the server to listen for the specified event. |
boolean |
registerTestAppenderForClass(String token,
String className)
|
boolean |
removeAllJohnsonEvents(String token)
Removes all Johnson events from Confluence |
boolean |
removeAllSpaces(String token)
Kill all the spaces and flush all the queues and caches. |
boolean |
removeAllTrustedApplications(String token)
Removes all trusted applications from the database. |
boolean |
removeAttachmentUncleanly(String token,
String contentId,
String attachmentFileName)
Removes an attachment without cleaning up associated attachment info |
boolean |
removeBandanaKey(String token,
String space,
String key)
Deprecated. |
boolean |
removeDrafts(String token,
String username)
Removes all drafts owned by the specified User. |
boolean |
removeGroupUncleanly(String token,
String groupname)
Remove a Group without removing the things that refer to that group. |
boolean |
removeMailServer(String token,
String serverName)
Remove the named mail server. |
boolean |
removePersonalInformation(String token,
String username)
PersonalInformation gets created automatically by the standard create user methods. |
boolean |
removeTestData(String token,
Vector<String> usersToKeep,
Vector<String> groupsToKeep,
Hashtable<String,Vector<String>> userGroupMembershipsToKeep)
Big Kahuna remove method. |
boolean |
removeTestDataAfterExternalUserManagement(String token)
Remove the dependencies of all users and groups, except the default dependencies of the default groups, the listed extra groups, the current user, and the listed extra users. |
int |
removeTestUsers(String token,
int count)
Removes test users with usernames "testuser0", "testuser1", etc. |
boolean |
removeUserDirectory(String token,
String directoryId)
Removes user directory |
boolean |
removeUserMacro(String token,
String name)
Remove a User Macro with the given name if it exists. |
boolean |
removeUserUncleanly(String token,
String username)
Remove a User without removing the things that refer to that user. |
boolean |
resetDatabaseStatistics(String token)
Reset database statistics. |
boolean |
resetWelcomeMessage(String token)
|
boolean |
restoreAbstractPage(String token,
String abstractPageId)
Restores an abstract page from the trash. |
boolean |
resumeAllJobs(String token)
Deprecated. |
boolean |
resumeJob(String token,
String jobSpecStr)
Resumes the named job in the quartz scheduler. |
boolean |
runGarbageCollection(String token)
|
boolean |
saveDateFormat(String token,
String dateFormat)
|
boolean |
saveDateTimeFormat(String token,
String dateTimeFormat)
|
void |
setAnonymousUserPermissionsService(AnonymousUserPermissionsService anonymousUserPermissionsService)
|
void |
setAnyTypeDao(AnyTypeDao anyTypeDao)
|
void |
setApplicationConfig(com.atlassian.config.ApplicationConfiguration applicationConfiguration)
|
boolean |
setApplicationConfigProperty(String token,
String propertyKey,
String propertyValue)
Sets a property on the global ApplicationConfiguration instance. |
void |
setAttachmentManager(AttachmentManager attachmentManager)
|
boolean |
setBandanaKey(String token,
String space,
String key,
String value)
Deprecated. |
boolean |
setBandanaKeyBoolean(String token,
String space,
String key,
boolean value)
Deprecated. |
boolean |
setBandanaKeyInteger(String token,
String space,
String key,
int value)
Deprecated. |
void |
setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
|
boolean |
setBandanaStringList(String token,
String space,
String key,
Vector<String> value)
Deprecated. |
boolean |
setBandanaStringSet(String token,
String space,
String key,
Vector<String> value)
Deprecated. |
void |
setBatchOperationManager(BatchOperationManager batchOperationManager)
|
boolean |
setBooleanUserPreference(String token,
String userName,
String preferenceKey,
String value)
Sets a boolean user preference. |
void |
setCacheConfigManager(CacheConfigManager cacheConfigManager)
|
void |
setCacheManager(com.atlassian.cache.CacheManager cacheManager)
|
boolean |
setCacheMaximumNumberOfElements(String token,
String cacheName,
int maxNumElements)
Deprecated. |
void |
setCacheStatisticsManager(CacheStatisticsManager cacheStatisticsManager)
|
void |
setCaptchaManager(CaptchaManager captchaManager)
|
void |
setClusterManager(ClusterManager clusterManager)
|
void |
setCommentManager(CommentManager commentManager)
|
void |
setConfluenceUserDao(ConfluenceUserDao confluenceUserDao)
|
void |
setConfluenceWysiwygConverter(ConfluenceWysiwygConverter wysiwygConverter)
|
void |
setContentEntityManager(ContentEntityManager contentEntityManager)
|
void |
setContentPermissionManager(ContentPermissionManager contentPermissionManager)
|
boolean |
setContentPropertiesString(String token,
String entityId,
String key,
String value)
Sets the string value of a ContentProperty associated with
a content entity given its id and the property name |
boolean |
setContentPropertiesStringForSpace(String token,
String spaceKey,
String key,
String value)
Sets the string value of a ContentProperty associated with
the SpaceDescription of the space |
void |
setContentPropertyManager(ContentPropertyManager contentPropertyManager)
|
boolean |
setContentTextProperty(String token,
String entityId,
String key,
String value)
Sets a text content property for a content entity given its id |
void |
setCrowdDirectoryService(com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService)
|
void |
setCustomContentManager(CustomContentManager customContentManager)
|
void |
setDarkFeaturesManager(DarkFeaturesManager darkFeaturesManager)
|
void |
setDbStatCollector(DbStatCollector dbStatCollector)
|
boolean |
setDirectoryPasswordEncoder(String token,
String directoryName,
String encoder)
Changes the password encoder for the given directory |
void |
setDraftManager(DraftManager draftManager)
|
boolean |
setDraftSaveInterval(String token,
int seconds)
Sets the given draft save interval. |
boolean |
setEnableAnonymousRpc(String token,
String value)
Toggle the setting to allow/deny anonymous RPC calls. |
void |
setEventDispatcher(com.atlassian.event.spi.EventDispatcher eventDispatcher)
|
void |
setEventLatchManager(EventLatchManager eventLatchManager)
|
void |
setEventManager(com.atlassian.event.EventManager eventManager)
|
void |
setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
|
void |
setFollowManager(FollowManager followManager)
|
void |
setFormatConverter(FormatConverter formatConverter)
|
boolean |
setGlobalLanguage(String token,
String language)
Changes to the default site language |
boolean |
setGlobalTheme(String token,
String themeKey)
Deprecated. |
void |
setGroupManager(com.atlassian.user.GroupManager groupManager)
|
void |
setHeartbeatManager(HeartbeatManager heartbeatManager)
|
void |
setHibernateConfig(com.atlassian.config.db.HibernateConfig hibernateConfig)
|
void |
setHibernateSessionManager(HibernateSessionManager sessionManager)
|
boolean |
setIgnoreBaseURLWarning(String token,
boolean ignored)
Affects whether the warning message for an un-advisable value for the Base URL is ignored or not. |
void |
setIndexManager(ConfluenceIndexManager indexManager)
|
void |
setJournalDao(JournalDao journalDao)
|
void |
setJournalManager(JournalManagerBackdoor journalManagerBackdoor)
|
void |
setJournalStateStore(JournalStateStore journalStateStore)
|
boolean |
setKeyboardShortcutPref(String token,
String username,
String enabled)
Enables/Disables keyboard shortcuts for the given uesr |
void |
setLabelManager(LabelManager labelManager)
|
boolean |
setLocaleForUser(String token,
String username,
String locale)
Sets the locale preference for the user to the given named locale. |
void |
setLuceneConnection(com.atlassian.bonnie.ILuceneConnection luceneConnection)
|
void |
setMailServerManager(com.atlassian.mail.server.MailServerManager mailServerManager)
|
boolean |
setNetworkNotificationForUser(String token,
String userName,
boolean watchNetwork)
Sets Network watch emails for a user to enabled or disabled. |
void |
setNotificationManager(NotificationManager notificationManager)
|
void |
setPageManager(PageManager pageManager)
|
void |
setPageTemplateManager(PageTemplateManager pageTemplateManager)
|
void |
setPermissionManager(PermissionManager permissionManager)
|
void |
setPersonalInformationManager(PersonalInformationManager personalInformationManager)
|
void |
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
|
void |
setPluginController(com.atlassian.plugin.PluginController pluginController)
|
void |
setRequestLogger(RequestLogger requestLogger)
|
void |
setScheduler(org.quartz.Scheduler scheduler)
|
void |
setSettingsManager(SettingsManager settingsManager)
|
boolean |
setSiteBlogNotificationForUser(String token,
String userName,
boolean globalBlogWatchForUser)
Sets Site Blog watch emails for a user to enabled or disabled. |
boolean |
setSmtpServer(String token,
String name,
String from,
String subjectPrefix,
String hostname,
int port)
Remove all existing SMTP servers and add the given server. |
boolean |
setSmtpServer(String token,
String name,
String from,
String subjectPrefix,
String hostname,
int port,
String fromName)
Remove all existing SMTP servers and add the given server. |
void |
setSpaceManager(SpaceManager spaceManager)
|
void |
setSpacePermissionDefaultsStoreFactory(SpacePermissionDefaultsStoreFactory spacePermissionDefaultsStoreFactory)
|
void |
setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
|
boolean |
setStringUserPreference(String token,
String userName,
String preferenceKey,
String value)
Sets a string user preference. |
Boolean |
setSystemProperty(String token,
String name,
String value)
Set a system property on the server to the supplied value. |
void |
setTaskManager(com.atlassian.core.task.MultiQueueTaskManager taskManager)
|
boolean |
setThemeForSpace(String token,
String spaceKey,
String themeKey)
Deprecated. |
void |
setThemeManager(ThemeManager themeManager)
|
void |
setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
|
void |
setTrustedApplicationsManager(TrustedApplicationsManager trustedApplicationsManager)
|
void |
setUpgradeGate(UpgradeGate upgradeGate)
|
void |
setUpgradeManager(UpgradeManager upgradeManager)
|
void |
setUserAccessor(UserAccessor userAccessor)
|
void |
setUserChecker(UserChecker userChecker)
|
boolean |
setUserDetailProperty(String token,
String username,
String propertyKey,
String propertyValue)
Sets a single UserDetails property through the UserDetailsManager. |
boolean |
setUserDetails(String token,
String username,
String fullName,
String email)
Sets the fullname and email address of a user with a given username. |
void |
setUserDetailsManager(UserDetailsManager userDetailsManager)
|
boolean |
setUserFollows(String token,
String followingUsername,
Hashtable followUsers)
Change the follow or unfollow state between a follower user and s a set of folowees users |
void |
setUserMacroLibrary(UserMacroLibrary userMacroLibrary)
|
void |
setUserManager(com.atlassian.user.UserManager userManager)
|
String |
setUserStatus(String token,
String wikiStatus)
Set the current user's status. |
void |
setUserStatusManager(UserStatusManager userStatusManager)
|
boolean |
setWatchOwnContentPref(String token,
String username,
String enabled)
Enables/Disables autowatching for the given uesr |
boolean |
setWatchSpace(String token,
String username,
String spaceKey,
String contentTypeStr,
String enabled)
Enables/Disables watching a space for the given user and content type. |
boolean |
setWatchSpaces(String token,
String username,
String contentTypeStr,
Hashtable spaces)
Enables/Disables watching spaces for the given user and content type. |
boolean |
setWebSudoTimeout(String token,
int timeout)
Sets the web sudo timeout in minutes |
boolean |
setWelcomeMessage(String token,
String welcomeMessage)
|
void |
setWelcomeMessageService(WelcomeMessageService welcomeMessageService)
|
void |
setXhtmlRpcHandler(ConfluenceXmlRpcHandler confluenceXmlRpcHandler)
|
boolean |
shutdownQuartz(String token)
Deprecated. |
boolean |
startActivity(String key,
String user)
Call startActivity on the heartbeatManager bean |
boolean |
startLoggingRequests(String token)
Start logging http request urls. |
Hashtable |
storeXhtmlPage(String token,
Hashtable pageStruct)
The Confluence remote API store page performs wiki to XHTML conversion on the page content. |
boolean |
synchroniseUserDirectories(String token)
Synchronizes all remote user directories with the local database cache |
boolean |
triggerJob(String token,
String jobSpecStr,
boolean pauseBackgroundJobs)
Deprecated. |
boolean |
uninstallPlugin(String token,
String pluginKey)
Deprecated. |
boolean |
unregisterEventListener(String token,
String eventClassName)
Unregisters the temporary listener registered for the specified event. |
boolean |
unregisterTestAppenderForClass(String token,
String className)
|
Hashtable |
updateDraft(String token,
Hashtable draftStruct)
Updates a draft located using the draft owner and draft type. |
boolean |
updateGlobalSettingBoolean(String token,
String name,
boolean value)
Update a Settings boolean field. |
String |
updateGlobalSettingString(String token,
String name,
String value)
Update a Settings String field. |
boolean |
waitForEvent(String token,
String eventClassName,
String timeoutStr,
String timeUnitStr)
Waits for an event to occur and returns when it has finished. |
boolean |
waitForEventQueue(String token,
String timeoutStr,
String timeUnitStr)
Waits for all events in queue to be processed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FuncTestRpcHandlerImpl()
| Method Detail |
|---|
@Deprecated
public boolean logMessage(String token,
String destination,
String message)
FuncTestRpcHandler
logMessage in interface FuncTestRpcHandlertoken - The token idenfitying the user.destination - The destination of the message to be loggedmessage - The text message to be logged to the console
@Deprecated
public String changeLoggerLevel(String token,
String loggerName,
String level)
throws RemoteException
FuncTestRpcHandlerChange the level of the specified logger.
The level parameter can be one of -
changeLoggerLevel in interface FuncTestRpcHandlertoken - the token identifying the user.loggerName - the full name of the logger e.g. com.atlassian.confluence.test.rpc.FuncTestRpcHandlerlevel - the level to change the logger to
RemoteException
public String createTemplate(String token,
String templateName,
String content,
String spaceKey)
throws RemoteException,
XhtmlException
FuncTestRpcHandler
createTemplate in interface FuncTestRpcHandlerRemoteException
XhtmlException
public String createTemplateWithStorageFormat(String token,
String templateName,
String storageFormat,
String spaceKey)
throws RemoteException,
XhtmlException
FuncTestRpcHandler
createTemplateWithStorageFormat in interface FuncTestRpcHandlerRemoteException
XhtmlException
public boolean removeAllSpaces(String token)
throws RemoteException
FuncTestRpcHandler
removeAllSpaces in interface FuncTestRpcHandlerRemoteException
public boolean removeTestData(String token,
Vector<String> usersToKeep,
Vector<String> groupsToKeep,
Hashtable<String,Vector<String>> userGroupMembershipsToKeep)
throws RemoteException
FuncTestRpcHandler
removeTestData in interface FuncTestRpcHandlertoken - the token identifying the user.usersToKeep - users like admin and sysadmin that should not be removedgroupsToKeep - groups like admins and users that should not be removeduserGroupMembershipsToKeep - a map where the keys are group names and the values are lists of usernames in the group
NotPermittedException
RemoteException
public boolean removeTestDataAfterExternalUserManagement(String token)
throws Exception
removeTestDataAfterExternalUserManagement in interface FuncTestRpcHandlerException
public boolean disconnectUser(String token,
String userName)
throws NotPermittedException
FuncTestRpcHandler
disconnectUser in interface FuncTestRpcHandlerNotPermittedException
public boolean disconnectGroup(String token,
String groupName)
throws NotPermittedException
FuncTestRpcHandler
disconnectGroup in interface FuncTestRpcHandlerNotPermittedException
public String[] getGlobalPermissionsForGroup(String token,
String groupName)
throws RemoteException
FuncTestRpcHandler
getGlobalPermissionsForGroup in interface FuncTestRpcHandlerRemoteException
public boolean isCurrentApplicationSet(String token)
throws NotPermittedException
FuncTestRpcHandler
isCurrentApplicationSet in interface FuncTestRpcHandlerNotPermittedExceptionpublic boolean removeAllTrustedApplications(String token)
FuncTestRpcHandler
removeAllTrustedApplications in interface FuncTestRpcHandler
public boolean massCreateAttachments(String token,
String pageId,
String prefix,
String numAttachments)
throws Exception
FuncTestRpcHandler
massCreateAttachments in interface FuncTestRpcHandlerException
@Deprecated
public String getGlobalConfiguredTheme(String token)
throws Exception
FuncTestRpcHandler
getGlobalConfiguredTheme in interface FuncTestRpcHandlerException
@Deprecated
public String getConfiguredThemeForSpace(String token,
String spaceKey)
throws Exception
FuncTestRpcHandler
getConfiguredThemeForSpace in interface FuncTestRpcHandlerException
@Deprecated
public boolean setGlobalTheme(String token,
String themeKey)
throws Exception
FuncTestRpcHandler
setGlobalTheme in interface FuncTestRpcHandlerthemeKey - - the complete theme key
Exception
@Deprecated
public boolean setThemeForSpace(String token,
String spaceKey,
String themeKey)
throws Exception
FuncTestRpcHandler
setThemeForSpace in interface FuncTestRpcHandlerspaceKey - - the key of the space to changethemeKey - - the complete theme key
Exception
public boolean clearCustomHtml(String token)
throws Exception
FuncTestRpcHandler
clearCustomHtml in interface FuncTestRpcHandlerException
@Deprecated
public boolean uninstallPlugin(String token,
String pluginKey)
throws NotPermittedException
FuncTestRpcHandler
uninstallPlugin in interface FuncTestRpcHandlerNotPermittedException
@Deprecated
public boolean disablePlugin(String token,
String pluginKey)
throws NotPermittedException
FuncTestRpcHandler
disablePlugin in interface FuncTestRpcHandlerNotPermittedException
@Deprecated
public boolean disablePluginWithoutPersisting(String token,
String pluginKey)
throws NotPermittedException
FuncTestRpcHandler
disablePluginWithoutPersisting in interface FuncTestRpcHandlerNotPermittedException
@Deprecated
public boolean enablePlugin(String token,
String pluginKey)
throws NotPermittedException
FuncTestRpcHandler
enablePlugin in interface FuncTestRpcHandlerNotPermittedException
@Deprecated
public boolean enablePluginModule(String token,
String pluginKey,
String moduleKey)
throws NotPermittedException
FuncTestRpcHandler
enablePluginModule in interface FuncTestRpcHandlerpluginKey - the key of the pluginmoduleKey - the key of the module
NotPermittedException
@Deprecated
public boolean disablePluginModule(String token,
String pluginKey,
String moduleKey)
throws NotPermittedException
FuncTestRpcHandler
disablePluginModule in interface FuncTestRpcHandlerpluginKey - the key of the pluginmoduleKey - the key of the module
NotPermittedException
@Deprecated
public boolean isPluginModuleEnabled(String token,
String pluginKey,
String moduleKey)
throws NotPermittedException
FuncTestRpcHandler
isPluginModuleEnabled in interface FuncTestRpcHandlerpluginKey - the key of the pluginmoduleKey - the key of the module excluding the plugin key
NotPermittedException
public boolean isSpringComponentPresent(String token,
String name)
FuncTestRpcHandler
isSpringComponentPresent in interface FuncTestRpcHandlerpublic boolean isPluginUpgradeTasksComplete(String token)
FuncTestRpcHandler
isPluginUpgradeTasksComplete in interface FuncTestRpcHandler
@Deprecated
public boolean pauseAllJobs(String token)
throws Exception
FuncTestRpcHandler
pauseAllJobs in interface FuncTestRpcHandlerException
@Deprecated
public boolean resumeAllJobs(String token)
throws Exception
FuncTestRpcHandler
resumeAllJobs in interface FuncTestRpcHandlerException
public boolean pauseJobGroup(String token,
String jobGroupName)
throws Exception
FuncTestRpcHandler
pauseJobGroup in interface FuncTestRpcHandlerException
public boolean pauseJob(String token,
String jobSpecStr)
throws Exception
FuncTestRpcHandler
pauseJob in interface FuncTestRpcHandlerException
public boolean resumeJob(String token,
String jobSpecStr)
throws Exception
FuncTestRpcHandler
resumeJob in interface FuncTestRpcHandlerException
@Deprecated
public boolean triggerJob(String token,
String jobSpecStr,
boolean pauseBackgroundJobs)
throws Exception
FuncTestRpcHandler
triggerJob in interface FuncTestRpcHandlerException
public boolean registerEventListener(String token,
String eventClassName)
throws Exception
FuncTestRpcHandlerFuncTestRpcHandler.unregisterEventListener(String, String) in a finally clause to
ensure the temporary listener is cleaned up.
Once the listener is registered, clients can use FuncTestRpcHandler.waitForEvent(String, String, String, String) to block until the event
is published.
registerEventListener in interface FuncTestRpcHandlerException
public boolean unregisterEventListener(String token,
String eventClassName)
throws Exception
FuncTestRpcHandler
unregisterEventListener in interface FuncTestRpcHandlerException
public boolean clearEventListeners(String token)
throws Exception
FuncTestRpcHandler
clearEventListeners in interface FuncTestRpcHandlerException
public boolean waitForEvent(String token,
String eventClassName,
String timeoutStr,
String timeUnitStr)
throws Exception
FuncTestRpcHandler
waitForEvent in interface FuncTestRpcHandlereventClassName - the fully qualified classname of the event to wait for.timeoutStr - number of milliseconds to wait for the event before giving up completely.timeUnitStr - See TimeUnit.name
Exception
public boolean waitForEventQueue(String token,
String timeoutStr,
String timeUnitStr)
throws Exception
FuncTestRpcHandler
waitForEventQueue in interface FuncTestRpcHandlerException
@Deprecated
public boolean shutdownQuartz(String token)
throws Exception
FuncTestRpcHandler
shutdownQuartz in interface FuncTestRpcHandlerException
@Deprecated
public boolean removeBandanaKey(String token,
String space,
String key)
FuncTestRpcHandler
removeBandanaKey in interface FuncTestRpcHandler
@Deprecated
public boolean setBandanaStringSet(String token,
String space,
String key,
Vector<String> value)
FuncTestRpcHandler
setBandanaStringSet in interface FuncTestRpcHandler
@Deprecated
public boolean setBandanaStringList(String token,
String space,
String key,
Vector<String> value)
FuncTestRpcHandler
setBandanaStringList in interface FuncTestRpcHandler
@Deprecated
public boolean setBandanaKey(String token,
String space,
String key,
String value)
FuncTestRpcHandler
setBandanaKey in interface FuncTestRpcHandler
@Deprecated
public boolean setBandanaKeyBoolean(String token,
String space,
String key,
boolean value)
FuncTestRpcHandler
setBandanaKeyBoolean in interface FuncTestRpcHandler
@Deprecated
public boolean setBandanaKeyInteger(String token,
String space,
String key,
int value)
FuncTestRpcHandler
setBandanaKeyInteger in interface FuncTestRpcHandler
@Deprecated
public Object getBandanaValue(String token,
String space,
String key)
FuncTestRpcHandler
getBandanaValue in interface FuncTestRpcHandler
public Vector getContentPropertyKeys(String token,
String entityId)
FuncTestRpcHandler
getContentPropertyKeys in interface FuncTestRpcHandler
public String getContentProperty(String token,
String entityId,
String key)
FuncTestRpcHandler
getContentProperty in interface FuncTestRpcHandler
public String getContentPropertiesString(String token,
String entityId,
String key)
FuncTestRpcHandlerContentProperty associated with
a content entity given its id and the property name
getContentPropertiesString in interface FuncTestRpcHandler
public String getContentPropertiesStringForSpace(String token,
String spaceKey,
String key)
FuncTestRpcHandlerContentProperty associated with
the SpaceDescription of the space
getContentPropertiesStringForSpace in interface FuncTestRpcHandler
public boolean setContentTextProperty(String token,
String entityId,
String key,
String value)
FuncTestRpcHandler
setContentTextProperty in interface FuncTestRpcHandler
public boolean setContentPropertiesString(String token,
String entityId,
String key,
String value)
FuncTestRpcHandlerContentProperty associated with
a content entity given its id and the property name
setContentPropertiesString in interface FuncTestRpcHandler
public boolean setContentPropertiesStringForSpace(String token,
String spaceKey,
String key,
String value)
FuncTestRpcHandlerContentProperty associated with
the SpaceDescription of the space
setContentPropertiesStringForSpace in interface FuncTestRpcHandler
public String getPersonalInformationId(String token,
String username)
FuncTestRpcHandler
getPersonalInformationId in interface FuncTestRpcHandler
public boolean removePersonalInformation(String token,
String username)
throws NotPermittedException
FuncTestRpcHandler
removePersonalInformation in interface FuncTestRpcHandlerusername - user whose personalInformation will be removed
NotPermittedException
public String getLocaleForUser(String token,
String username)
FuncTestRpcHandler
getLocaleForUser in interface FuncTestRpcHandler
public boolean setLocaleForUser(String token,
String username,
String locale)
throws RemoteException
FuncTestRpcHandler
setLocaleForUser in interface FuncTestRpcHandlerRemoteException
public boolean setGlobalLanguage(String token,
String language)
throws RemoteException
FuncTestRpcHandler
setGlobalLanguage in interface FuncTestRpcHandlerRemoteException
public boolean setKeyboardShortcutPref(String token,
String username,
String enabled)
throws RemoteException
FuncTestRpcHandler
setKeyboardShortcutPref in interface FuncTestRpcHandlerRemoteException
public boolean setWatchOwnContentPref(String token,
String username,
String enabled)
throws RemoteException
FuncTestRpcHandler
setWatchOwnContentPref in interface FuncTestRpcHandlerRemoteException
public boolean setWatchSpaces(String token,
String username,
String contentTypeStr,
Hashtable spaces)
throws RemoteException
FuncTestRpcHandler
setWatchSpaces in interface FuncTestRpcHandlerRemoteException
public boolean setWatchSpace(String token,
String username,
String spaceKey,
String contentTypeStr,
String enabled)
throws RemoteException
FuncTestRpcHandler
setWatchSpace in interface FuncTestRpcHandlerRemoteException
public boolean setUserDetails(String token,
String username,
String fullName,
String email)
throws NotPermittedException
FuncTestRpcHandler
setUserDetails in interface FuncTestRpcHandlerNotPermittedException
public boolean setUserDetailProperty(String token,
String username,
String propertyKey,
String propertyValue)
FuncTestRpcHandler
setUserDetailProperty in interface FuncTestRpcHandler
@Deprecated
public boolean putStringMappingInCache(String token,
String cacheName,
String key,
String value)
throws NotPermittedException
FuncTestRpcHandler
putStringMappingInCache in interface FuncTestRpcHandlerNotPermittedException
@Deprecated
public Hashtable getCacheStatistics(String token,
String cacheName)
throws NotPermittedException
FuncTestRpcHandler
getCacheStatistics in interface FuncTestRpcHandlercacheName - the key of the cache, rather than the "niceName"
NotPermittedException
public Vector<String> getCacheStatisticsCapabilities(String token)
throws NotPermittedException
FuncTestRpcHandler
getCacheStatisticsCapabilities in interface FuncTestRpcHandlerNotPermittedException
@Deprecated
public Integer getCacheMaximumNumberOfElements(String token,
String cacheName)
throws Exception
FuncTestRpcHandler
getCacheMaximumNumberOfElements in interface FuncTestRpcHandlercacheName - the key of the cache, rather than the "niceName"
Exception
@Deprecated
public boolean setCacheMaximumNumberOfElements(String token,
String cacheName,
int maxNumElements)
throws Exception
FuncTestRpcHandler
setCacheMaximumNumberOfElements in interface FuncTestRpcHandlercacheName - the key of the cache, rather than the "niceName"
Exception
@Deprecated
public boolean flushAllCaches(String token)
throws NotPermittedException
FuncTestRpcHandler
flushAllCaches in interface FuncTestRpcHandlerNotPermittedException
public boolean enableWebSudo(String token,
boolean enabled)
throws Exception
FuncTestRpcHandler
enableWebSudo in interface FuncTestRpcHandlerException
public boolean setWebSudoTimeout(String token,
int timeout)
throws Exception
FuncTestRpcHandler
setWebSudoTimeout in interface FuncTestRpcHandlerException
public boolean enableElevatedSecurityCheck(String token,
boolean enabled)
throws Exception
enableElevatedSecurityCheck in interface FuncTestRpcHandlerException
public boolean enablePublicSignUp(String token,
boolean enabled)
throws Exception
FuncTestRpcHandler
enablePublicSignUp in interface FuncTestRpcHandlerException
public boolean startActivity(String key,
String user)
throws Exception
FuncTestRpcHandler
startActivity in interface FuncTestRpcHandlerException
public Vector getUsersForActivity(String key)
throws Exception
FuncTestRpcHandler
getUsersForActivity in interface FuncTestRpcHandlerException
public boolean removeUserUncleanly(String token,
String username)
throws com.atlassian.user.EntityException
FuncTestRpcHandler
removeUserUncleanly in interface FuncTestRpcHandlercom.atlassian.user.EntityException
public boolean removeGroupUncleanly(String token,
String groupname)
throws com.atlassian.user.EntityException
FuncTestRpcHandler
removeGroupUncleanly in interface FuncTestRpcHandlercom.atlassian.user.EntityException
public boolean doesDraftExist(String token,
String contentId,
String owner,
String draftType,
String spaceKey)
FuncTestRpcHandler
doesDraftExist in interface FuncTestRpcHandlertoken - rpc authentication tokencontentId - id of the content this draft is for ('0' for new content)owner - owner/author of the draftdraftType - type of content this draft is forspaceKey - space key, to allow new drafts in multiple spaces
public int countDrafts(String token,
String owner)
countDrafts in interface FuncTestRpcHandler
public Hashtable createDraft(String token,
Hashtable draftStruct)
FuncTestRpcHandler
createDraft in interface FuncTestRpcHandlertoken - rpc authentication tokendraftStruct - 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.
id.
public Hashtable updateDraft(String token,
Hashtable draftStruct)
FuncTestRpcHandler
updateDraft in interface FuncTestRpcHandlertoken - rpc authentication tokendraftStruct - the draft object to create see #createDraft(java.lang.String, java.util.Hashtable)
public boolean removeDrafts(String token,
String username)
FuncTestRpcHandler
removeDrafts in interface FuncTestRpcHandlertoken - rpc authentication tokenusername - user to remove drafts for
public boolean setDraftSaveInterval(String token,
int seconds)
FuncTestRpcHandler
setDraftSaveInterval in interface FuncTestRpcHandlertoken - rpc authentication tokenseconds - number of seconds for which the draft save interval should be
public boolean clearQueue(String token,
String queueName)
FuncTestRpcHandler
clearQueue in interface FuncTestRpcHandler
public int getQueueSize(String token,
String queueName)
FuncTestRpcHandler
getQueueSize in interface FuncTestRpcHandlerIllegalArgumentException - if no queue could be found with the specified queueName.public int getNumberOfIndexTasksInQueue(String token)
FuncTestRpcHandler
getNumberOfIndexTasksInQueue in interface FuncTestRpcHandler
public boolean removeMailServer(String token,
String serverName)
throws Exception
FuncTestRpcHandler
removeMailServer in interface FuncTestRpcHandlertoken - the rpc authentication tokenserverName - the name of the server to be removed.
Exception
public boolean addUserAnyCase(String token,
String username,
String email,
String fullname,
String password)
throws RemoteException
FuncTestRpcHandler
addUserAnyCase in interface FuncTestRpcHandlerNotPermittedException - if you do not have permissions to add the user.
RemoteExceptionpublic Iterable<String> getNames(Iterable<? extends com.atlassian.user.User> iterable)
public boolean addGroupAnyCase(String token,
String groupname)
throws RemoteException
FuncTestRpcHandler
addGroupAnyCase in interface FuncTestRpcHandlergroupname - the name of the group to add
RemoteException
public boolean changeSpaceCreatedDate(String token,
String spaceKey,
Date createdDate)
throws RemoteException
FuncTestRpcHandler
changeSpaceCreatedDate in interface FuncTestRpcHandlerspaceKey - the space key of the space to change the created date
RemoteException
public boolean changeCommentCreatedDate(String token,
String commentId,
Date createdDate)
throws RemoteException
FuncTestRpcHandler
changeCommentCreatedDate in interface FuncTestRpcHandlerRemoteException
public boolean changePageCreatedDate(String token,
String pageId,
Date createdDate)
throws RemoteException
FuncTestRpcHandler
changePageCreatedDate in interface FuncTestRpcHandlerpageId - the page id of the page to change the created date
RemoteException
public boolean removeAttachmentUncleanly(String token,
String contentId,
String attachmentFileName)
throws RemoteException
FuncTestRpcHandler
removeAttachmentUncleanly in interface FuncTestRpcHandlertoken - the authenticationcontentId - the content that the attachment is attached toattachmentFileName - the attachment
RemoteException
public boolean changeAttachmentCreatedDate(String token,
String contentId,
String attachmentFileName,
Date createdDate)
throws RemoteException
FuncTestRpcHandler
changeAttachmentCreatedDate in interface FuncTestRpcHandlercontentId - the id of the page or blogpost the attachment is attached toattachmentFileName - the attachment file name of the attachment to change the created date
RemoteException
public boolean changeBlogPostModificationDate(String token,
String blogId,
Date modificationDate)
throws RemoteException
FuncTestRpcHandler
changeBlogPostModificationDate in interface FuncTestRpcHandlerblogId - the id of the blog to modifymodificationDate - the last modification date to be set.
RemoteException
public boolean changePageModificationDate(String token,
String pageId,
Date modificationDate)
throws RemoteException
FuncTestRpcHandler
changePageModificationDate in interface FuncTestRpcHandlerpageId - the page id of the page to change the modification datemodificationDate - the last modification date to be set.
RemoteException
public int getVersionForPage(String token,
String pageId)
throws RemoteException
FuncTestRpcHandler
getVersionForPage in interface FuncTestRpcHandlerRemoteException
public String getLeastRecentTestAppenderLogMessage(String token,
String className)
getLeastRecentTestAppenderLogMessage in interface FuncTestRpcHandler
public boolean registerTestAppenderForClass(String token,
String className)
registerTestAppenderForClass in interface FuncTestRpcHandler
public boolean unregisterTestAppenderForClass(String token,
String className)
unregisterTestAppenderForClass in interface FuncTestRpcHandler
public boolean logTestMessageForClass(String token,
String className,
String message,
String level)
logTestMessageForClass in interface FuncTestRpcHandler
public boolean setUserFollows(String token,
String followingUsername,
Hashtable followUsers)
throws RemoteException
FuncTestRpcHandler
setUserFollows in interface FuncTestRpcHandlerfollowingUsername - The username of the user that is doing the followingfollowUsers - A map of usernames to bbe followed/unfollowed, and a boolean indicating the desired follow status
RemoteException
public boolean followUser(String token,
String userName,
boolean follow)
throws RemoteException
FuncTestRpcHandler
followUser in interface FuncTestRpcHandlerfollow - true to follow a user, false to stop following
RemoteException
public String setUserStatus(String token,
String wikiStatus)
throws RemoteException
FuncTestRpcHandler
setUserStatus in interface FuncTestRpcHandlerwikiStatus - the status string in wiki markup.
RemoteException
public boolean synchroniseUserDirectories(String token)
throws Exception
FuncTestRpcHandler
synchroniseUserDirectories in interface FuncTestRpcHandlerException
public boolean setDirectoryPasswordEncoder(String token,
String directoryName,
String encoder)
throws Exception
FuncTestRpcHandler
setDirectoryPasswordEncoder in interface FuncTestRpcHandlerException
public boolean removeUserDirectory(String token,
String directoryId)
throws Exception
FuncTestRpcHandler
removeUserDirectory in interface FuncTestRpcHandlerdirectoryId - the id of the directory
Exception
public String convertMarkupToXhtml(String token,
String wikiMarkup,
String pageId)
FuncTestRpcHandler
convertMarkupToXhtml in interface FuncTestRpcHandler
public String convertXhtmlToMarkup(String token,
String xhtml,
String pageId)
FuncTestRpcHandler
convertXhtmlToMarkup in interface FuncTestRpcHandler
public String getLocalisedText(String token,
String messageKey)
FuncTestRpcHandler
getLocalisedText in interface FuncTestRpcHandlertoken - the rpc authentication tokenmessageKey - the i18n message key
public void setIndexManager(ConfluenceIndexManager indexManager)
public void setJournalManager(JournalManagerBackdoor journalManagerBackdoor)
public void setJournalDao(JournalDao journalDao)
public void setJournalStateStore(JournalStateStore journalStateStore)
public void setSpaceManager(SpaceManager spaceManager)
public void setPermissionManager(PermissionManager permissionManager)
public void setUserAccessor(UserAccessor userAccessor)
public void setConfluenceUserDao(ConfluenceUserDao confluenceUserDao)
public void setAttachmentManager(AttachmentManager attachmentManager)
public void setClusterManager(ClusterManager clusterManager)
public void setPageManager(PageManager pageManager)
public void setThemeManager(ThemeManager themeManager)
public void setCaptchaManager(CaptchaManager captchaManager)
public void setScheduler(org.quartz.Scheduler scheduler)
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
public void setContentPropertyManager(ContentPropertyManager contentPropertyManager)
public void setContentEntityManager(ContentEntityManager contentEntityManager)
public void setCustomContentManager(CustomContentManager customContentManager)
public void setPersonalInformationManager(PersonalInformationManager personalInformationManager)
public void setCacheManager(com.atlassian.cache.CacheManager cacheManager)
public void setCacheConfigManager(CacheConfigManager cacheConfigManager)
public void setCacheStatisticsManager(CacheStatisticsManager cacheStatisticsManager)
public void setHeartbeatManager(HeartbeatManager heartbeatManager)
public void setSettingsManager(SettingsManager settingsManager)
public void setUserManager(com.atlassian.user.UserManager userManager)
public void setGroupManager(com.atlassian.user.GroupManager groupManager)
public void setDraftManager(DraftManager draftManager)
public void setHibernateSessionManager(HibernateSessionManager sessionManager)
public void setTaskManager(com.atlassian.core.task.MultiQueueTaskManager taskManager)
public void setMailServerManager(com.atlassian.mail.server.MailServerManager mailServerManager)
public void setEventManager(com.atlassian.event.EventManager eventManager)
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
public void setEventDispatcher(com.atlassian.event.spi.EventDispatcher eventDispatcher)
public void setUserStatusManager(UserStatusManager userStatusManager)
public void setCrowdDirectoryService(com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService)
public void setFollowManager(FollowManager followManager)
public void setNotificationManager(NotificationManager notificationManager)
public void setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
public void setSpacePermissionDefaultsStoreFactory(SpacePermissionDefaultsStoreFactory spacePermissionDefaultsStoreFactory)
public void setUserDetailsManager(UserDetailsManager userDetailsManager)
public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
public void setTrustedApplicationsManager(TrustedApplicationsManager trustedApplicationsManager)
public void setCommentManager(CommentManager commentManager)
public void setConfluenceWysiwygConverter(ConfluenceWysiwygConverter wysiwygConverter)
public void setContentPermissionManager(ContentPermissionManager contentPermissionManager)
public void setAnonymousUserPermissionsService(AnonymousUserPermissionsService anonymousUserPermissionsService)
public void setUpgradeManager(UpgradeManager upgradeManager)
public void setLabelManager(LabelManager labelManager)
public void setRequestLogger(RequestLogger requestLogger)
public void setDbStatCollector(DbStatCollector dbStatCollector)
public boolean saveDateFormat(String token,
String dateFormat)
saveDateFormat in interface FuncTestRpcHandler
public boolean saveDateTimeFormat(String token,
String dateTimeFormat)
saveDateTimeFormat in interface FuncTestRpcHandler
public boolean addMailServer(String token,
String name,
String from,
String subjectPrefix,
String hostname,
int port)
addMailServer in interface FuncTestRpcHandler
public boolean addMailServer(String token,
String name,
String from,
String subjectPrefix,
String hostname,
int port,
String fromName)
addMailServer in interface FuncTestRpcHandler
public boolean addSmtpServer(String token,
String name,
String from,
String subjectPrefix,
String hostname,
int port)
FuncTestRpcHandler
addSmtpServer in interface FuncTestRpcHandler
public boolean addSmtpServer(String token,
String name,
String from,
String subjectPrefix,
String hostname,
int port,
String fromName)
addSmtpServer in interface FuncTestRpcHandler
public boolean setSmtpServer(String token,
String name,
String from,
String subjectPrefix,
String hostname,
int port)
FuncTestRpcHandler
setSmtpServer in interface FuncTestRpcHandler
public boolean setSmtpServer(String token,
String name,
String from,
String subjectPrefix,
String hostname,
int port,
String fromName)
FuncTestRpcHandler
setSmtpServer in interface FuncTestRpcHandler
public boolean addMailServer(String token,
String serverName,
String protocol,
String hostname,
int port,
String username,
String password,
String toAddress)
FuncTestRpcHandler
addMailServer in interface FuncTestRpcHandlerpublic boolean removeAllJohnsonEvents(String token)
FuncTestRpcHandler
removeAllJohnsonEvents in interface FuncTestRpcHandler
public boolean createJohnsonEvent(String token,
String message)
FuncTestRpcHandlerConfluenceJohnsonFilter.
createJohnsonEvent in interface FuncTestRpcHandlermessage - the description of the event to create
public boolean enableCaptcha(String token,
boolean enable)
FuncTestRpcHandler
enableCaptcha in interface FuncTestRpcHandler
public boolean enableCaptchaDebugMode(String token,
boolean enable)
FuncTestRpcHandlerCaptchaManager.setDebugMode(boolean).
enableCaptchaDebugMode in interface FuncTestRpcHandler
public Hashtable<String,String> getSystemProperty(String token,
String name)
FuncTestRpcHandler
getSystemProperty in interface FuncTestRpcHandlername - the name of the property
public Boolean setSystemProperty(String token,
String name,
String value)
FuncTestRpcHandler
setSystemProperty in interface FuncTestRpcHandlername - the name of the propertyvalue - the value of the property
public Boolean clearSystemProperty(String token,
String name)
FuncTestRpcHandler
clearSystemProperty in interface FuncTestRpcHandlername - the name of the property
public boolean clearIndex(String token)
FuncTestRpcHandler
clearIndex in interface FuncTestRpcHandler
public boolean restoreAbstractPage(String token,
String abstractPageId)
FuncTestRpcHandler
restoreAbstractPage in interface FuncTestRpcHandlerpublic void setLuceneConnection(com.atlassian.bonnie.ILuceneConnection luceneConnection)
public String getIdOfPagePermission(String token,
String contentId,
String permissionType,
String username)
getIdOfPagePermission in interface FuncTestRpcHandler
public int createTestUsers(String token,
int count)
FuncTestRpcHandler
createTestUsers in interface FuncTestRpcHandler
public int removeTestUsers(String token,
int count)
FuncTestRpcHandler
removeTestUsers in interface FuncTestRpcHandler
public boolean createUserMacro(String token,
String name,
boolean hasBody,
String bodyType,
String outputType,
String template,
String title,
String description,
String category,
String iconUrl,
String documentationUrl,
boolean hidden)
throws NotPermittedException
FuncTestRpcHandler
createUserMacro in interface FuncTestRpcHandlerbodyType - 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 macrotitle - the title of the macro that appears in the Macro Browserdescription - the description of the macro that appears in the Macro Browsercategory - the category the macro should be listed under in the Macro BrowsericonUrl - the URL of the macro icon that appears in the Macro BrowserdocumentationUrl - the URL of the macro documentationhidden - true if the Macro should not be searchable in the Macro Browser
NotPermittedException
public boolean removeUserMacro(String token,
String name)
throws NotPermittedException
FuncTestRpcHandler
removeUserMacro in interface FuncTestRpcHandlerNotPermittedException
public boolean setApplicationConfigProperty(String token,
String propertyKey,
String propertyValue)
FuncTestRpcHandlerApplicationConfiguration instance.
setApplicationConfigProperty in interface FuncTestRpcHandler
public Hashtable storeXhtmlPage(String token,
Hashtable pageStruct)
throws RemoteException
FuncTestRpcHandler
storeXhtmlPage in interface FuncTestRpcHandlerRemoteException
public Object getApplicationConfigProperty(String token,
String propertyKey)
FuncTestRpcHandlerApplicationConfiguration instance.
getApplicationConfigProperty in interface FuncTestRpcHandlerpropertyKey
public boolean setBooleanUserPreference(String token,
String userName,
String preferenceKey,
String value)
throws RemoteException
FuncTestRpcHandler
setBooleanUserPreference in interface FuncTestRpcHandleruserName - the user name to set the preference forpreferenceKey - the key of the preference to setvalue - the string "true" or "false" to set as the preference
RemoteException
public boolean setStringUserPreference(String token,
String userName,
String preferenceKey,
String value)
throws RemoteException
FuncTestRpcHandler
setStringUserPreference in interface FuncTestRpcHandleruserName - the user name to set the preference forpreferenceKey - the key of the preference to setvalue - a string to set as the preference
RemoteException
public boolean enableDailyReportNotification(String token,
String userName,
boolean dailyReportEnabled)
FuncTestRpcHandler
enableDailyReportNotification in interface FuncTestRpcHandleruserName - the user name to set the report state fordailyReportEnabled - true if the daily report should be sent, false if not
public boolean setNetworkNotificationForUser(String token,
String userName,
boolean watchNetwork)
FuncTestRpcHandler
setNetworkNotificationForUser in interface FuncTestRpcHandleruserName - the user name to set the watch state forwatchNetwork - true if the user should watch their network, false if not
public boolean setSiteBlogNotificationForUser(String token,
String userName,
boolean globalBlogWatchForUser)
FuncTestRpcHandler
setSiteBlogNotificationForUser in interface FuncTestRpcHandleruserName - the user name to set the watch state forglobalBlogWatchForUser - true if the user should watch all blogs on the site network, false if notpublic boolean getIgnoreBaseURLWarning(String token)
FuncTestRpcHandler
getIgnoreBaseURLWarning in interface FuncTestRpcHandler
public boolean setIgnoreBaseURLWarning(String token,
boolean ignored)
throws RemoteException
FuncTestRpcHandler
setIgnoreBaseURLWarning in interface FuncTestRpcHandlerignored - set to true to ignore the warning.
RemoteException
@Deprecated
public boolean enableUserFeature(String token,
String featureKey)
throws RemoteException
FuncTestRpcHandler
enableUserFeature in interface FuncTestRpcHandlerfeatureKey - - the key of the feature to enable
RemoteException
@Deprecated
public boolean disableUserFeature(String token,
String featureKey)
throws RemoteException
FuncTestRpcHandler
disableUserFeature in interface FuncTestRpcHandlerfeatureKey - - the key of the feature to disable
RemoteException
@Deprecated
public boolean enableSiteFeature(String token,
String featureKey)
throws RemoteException
FuncTestRpcHandler
enableSiteFeature in interface FuncTestRpcHandlerfeatureKey - - the key of the feature to enable
RemoteException
@Deprecated
public boolean disableSiteFeature(String token,
String featureKey)
throws RemoteException
FuncTestRpcHandler
disableSiteFeature in interface FuncTestRpcHandlerfeatureKey - - the key of the feature to disable
RemoteException
public boolean setWelcomeMessage(String token,
String welcomeMessage)
setWelcomeMessage in interface FuncTestRpcHandlerpublic boolean resetWelcomeMessage(String token)
resetWelcomeMessage in interface FuncTestRpcHandlerpublic String getExportBuildNumber(String token)
FuncTestRpcHandler
getExportBuildNumber in interface FuncTestRpcHandlertoken - the authentication
public String getOldestSpaceImportAllowed(String token)
FuncTestRpcHandler
getOldestSpaceImportAllowed in interface FuncTestRpcHandlertoken - the authentication
public String getPluginExportCompatibility(String token,
String pluginKey)
FuncTestRpcHandler
getPluginExportCompatibility in interface FuncTestRpcHandlertoken - the authenticationpluginKey - the plugin key
public Vector<Hashtable> createPagesFromPrototype(String token,
Hashtable pageStruct,
int count)
throws RemoteException
FuncTestRpcHandler
createPagesFromPrototype in interface FuncTestRpcHandlerpageStruct - a template page to create multiple pages fromcount - the number of pages to create - pages created are 1-indexed
RemoteException
public boolean updateGlobalSettingBoolean(String token,
String name,
boolean value)
throws RemoteException
FuncTestRpcHandlerSettings boolean field.
updateGlobalSettingBoolean in interface FuncTestRpcHandlername - name of the field used to store the setting (see field names inside Settings.
RemoteException
public String updateGlobalSettingString(String token,
String name,
String value)
throws RemoteException
FuncTestRpcHandlerSettings String field.
updateGlobalSettingString in interface FuncTestRpcHandlername - name of the field used to store the setting (see field names inside Settings.value - the String value the field should take
RemoteException
public Vector<String> createSpaces(String token,
int count)
throws RemoteException
FuncTestRpcHandler
createSpaces in interface FuncTestRpcHandlercount - the number to create
RemoteException - if you are not awesome enough to use this method
public int getNumberOfActiveUsers(String token)
throws RemoteException
FuncTestRpcHandler
getNumberOfActiveUsers in interface FuncTestRpcHandlerRemoteException
public boolean isUnlimitedUserLicense(String token)
throws RemoteException
isUnlimitedUserLicense in interface FuncTestRpcHandlerRemoteExceptionpublic void setPluginController(com.atlassian.plugin.PluginController pluginController)
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
public void setUserMacroLibrary(UserMacroLibrary userMacroLibrary)
public void setEventLatchManager(EventLatchManager eventLatchManager)
public void setApplicationConfig(com.atlassian.config.ApplicationConfiguration applicationConfiguration)
public void setDarkFeaturesManager(DarkFeaturesManager darkFeaturesManager)
public boolean addExistingProfilePicture(String token,
String userName,
String fileName)
FuncTestRpcHandler
addExistingProfilePicture in interface FuncTestRpcHandleruserName - the user name of the profilefileName - file name of the picture
public void setXhtmlRpcHandler(ConfluenceXmlRpcHandler confluenceXmlRpcHandler)
public void setBatchOperationManager(BatchOperationManager batchOperationManager)
public void setPageTemplateManager(PageTemplateManager pageTemplateManager)
public void setHibernateConfig(com.atlassian.config.db.HibernateConfig hibernateConfig)
public void setAnyTypeDao(AnyTypeDao anyTypeDao)
public void setUpgradeGate(UpgradeGate upgradeGate)
public void setUserChecker(UserChecker userChecker)
public void setWelcomeMessageService(WelcomeMessageService welcomeMessageService)
public void setFormatConverter(FormatConverter formatConverter)
public Vector<Hashtable> getAliveThreads(String token)
throws RemoteException
getAliveThreads in interface FuncTestRpcHandlerRemoteException
public boolean setEnableAnonymousRpc(String token,
String value)
throws RemoteException
FuncTestRpcHandler
setEnableAnonymousRpc in interface FuncTestRpcHandlerRemoteException
public Hashtable<String,Object> getContentForAllLabels(String token,
int offset,
int maxResults,
String labelsString)
FuncTestRpcHandler
getContentForAllLabels in interface FuncTestRpcHandler
public Hashtable<String,Object> getContentInSpacesForAllLabels(String token,
int offset,
int maxResults,
String spaceKeysString,
String labelsString)
FuncTestRpcHandler
getContentInSpacesForAllLabels in interface FuncTestRpcHandler
public Hashtable<String,Object> getAllContentForAllLabels(String token,
int offset,
int maxResults,
String labelsString)
FuncTestRpcHandler
getAllContentForAllLabels in interface FuncTestRpcHandler
public Hashtable<String,Object> getForLabels(String token,
String labelableType,
int offset,
int maxResults,
String labelsString)
FuncTestRpcHandler
getForLabels in interface FuncTestRpcHandler
public int addLabelToLabelable(String token,
String labelName,
String labelableId,
String labelableType)
FuncTestRpcHandler
addLabelToLabelable in interface FuncTestRpcHandlerpublic boolean startLoggingRequests(String token)
FuncTestRpcHandler
Call FuncTestRpcHandler.finishLoggingRequests(String) to stop logging and to retrieve results.
startLoggingRequests in interface FuncTestRpcHandlerpublic Vector<String> finishLoggingRequests(String token)
FuncTestRpcHandler
Logging must have been previously started using FuncTestRpcHandler.startLoggingRequests(String).
finishLoggingRequests in interface FuncTestRpcHandlerpublic boolean resetDatabaseStatistics(String token)
FuncTestRpcHandler
Call FuncTestRpcHandler.getDatabaseStatistics(String) to get results since the last reset.
resetDatabaseStatistics in interface FuncTestRpcHandlerpublic String getDatabaseStatistics(String token)
FuncTestRpcHandler
Statistics since the last call to FuncTestRpcHandler.resetDatabaseStatistics(String) are returned.
getDatabaseStatistics in interface FuncTestRpcHandlerpublic boolean runGarbageCollection(String token)
runGarbageCollection in interface FuncTestRpcHandlerpublic boolean isImportTaskRunning(String token)
isImportTaskRunning in interface FuncTestRpcHandlerpublic String getAnonyimizedClusterNodeIdentifier(String unusedToken)
getAnonyimizedClusterNodeIdentifier in interface FuncTestRpcHandler
public boolean moveBlogPost(String token,
String blogPostId,
String targetSpaceKey)
moveBlogPost in interface FuncTestRpcHandler
public boolean assertThatIndexQueueEntryHasBeenProcessed(String unusedToken,
String searchableClassname,
String searchableId)
throws RemoteException
assertThatIndexQueueEntryHasBeenProcessed in interface FuncTestRpcHandlerRemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||