|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.test.rpc.FuncTestRpcHandlerImpl
public class FuncTestRpcHandlerImpl
Field Summary | |
---|---|
static java.lang.String |
ALACARTE_USERS
|
static int |
INDEXING_WAIT
|
static java.lang.String |
ONDEMAND_CONFLUENCE_ADMINISTRATORS
|
static java.lang.String |
ONDEMAND_SYSTEM_ADMINISTRATORS
|
static java.lang.String |
SOUT
|
Constructor Summary | |
---|---|
FuncTestRpcHandlerImpl()
|
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)
|
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)
|
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 |
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)
Change the level of the specified logger. |
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 draftStruct)
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)
Disable a plugin. |
boolean |
disablePluginModule(java.lang.String token,
java.lang.String pluginKey,
java.lang.String moduleKey)
Disable plugin module |
boolean |
disableSiteFeature(java.lang.String token,
java.lang.String featureKey)
Disables a given dark feature for the entire site. |
boolean |
disableUserFeature(java.lang.String token,
java.lang.String featureKey)
Disables a given dark feature for the logged in user. |
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 |
enablePlugin(java.lang.String token,
java.lang.String pluginKey)
Enable a plugin. |
boolean |
enablePluginModule(java.lang.String token,
java.lang.String pluginKey,
java.lang.String moduleKey)
Enable plugin module |
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)
Enables a given dark feature for the entire site. |
boolean |
enableUserFeature(java.lang.String token,
java.lang.String featureKey)
Enables a given dark feature for the logged in user. |
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)
Flushes all the caches. |
boolean |
followUser(java.lang.String token,
java.lang.String userName,
boolean follow)
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.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)
Gets a value from Bandana |
java.lang.Integer |
getCacheMaximumNumberOfElements(java.lang.String token,
java.lang.String cacheName)
Returns the configured maximum number of elements in the given cache |
java.util.Hashtable |
getCacheStatistics(java.lang.String token,
java.lang.String cacheName)
Returns the cache statistics for a particular named cache. |
java.util.Vector<java.lang.String> |
getCacheStatisticsCapabilities(java.lang.String token)
Returns the capabiltiies exposed by the cache statics service. |
java.lang.String |
getConfiguredThemeForSpace(java.lang.String token,
java.lang.String spaceKey)
Get the key of the configured theme for a space, whether or not that theme exists. |
java.util.Hashtable<java.lang.String,java.lang.Object> |
getContentForAllLabels(java.lang.String token,
int offset,
int maxResults,
java.lang.String labelsString)
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 |
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)
Get the key of the configured global theme, whether or not that theme exists. |
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. |
java.lang.Iterable<java.lang.String> |
getNames(java.lang.Iterable<? extends com.atlassian.user.User> iterable)
|
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 |
isPluginModuleEnabled(java.lang.String token,
java.lang.String pluginKey,
java.lang.String moduleKey)
Find out if a plugin module is enabled or not. |
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)
Log a message to the server's console. |
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)
Pauses the quartz scheduler. |
boolean |
pauseJob(java.lang.String token,
java.lang.String jobSpecStr)
Pauses the named job in the quartz scheduler. |
boolean |
pauseJobGroup(java.lang.String token,
java.lang.String jobGroupName)
Pauses the named job group in the quartz scheduler. |
boolean |
putStringMappingInCache(java.lang.String token,
java.lang.String cacheName,
java.lang.String key,
java.lang.String value)
Map a key to a value for a given cache. |
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)
Remove a key from Bandana |
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>> userGroupMembershipsToKeep)
Big Kahuna remove method. |
boolean |
removeTestDataAfterExternalUserManagement(java.lang.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(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)
Resume the quartz scheduler. |
boolean |
resumeJob(java.lang.String token,
java.lang.String jobSpecStr)
Resumes the named job in the quartz scheduler. |
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)
|
void |
setAnonymousUserPermissionsService(AnonymousUserPermissionsService anonymousUserPermissionsService)
|
void |
setAnyTypeDao(AnyTypeDao anyTypeDao)
|
void |
setApplicationConfig(com.atlassian.config.ApplicationConfiguration applicationConfiguration)
|
boolean |
setApplicationConfigProperty(java.lang.String token,
java.lang.String propertyKey,
java.lang.String propertyValue)
Sets a property on the global ApplicationConfiguration instance. |
void |
setAttachmentManager(AttachmentManager attachmentManager)
|
boolean |
setBandanaKey(java.lang.String token,
java.lang.String space,
java.lang.String key,
java.lang.String value)
Sets a key in Bandana |
boolean |
setBandanaKeyBoolean(java.lang.String token,
java.lang.String space,
java.lang.String key,
boolean value)
Sets a key in Bandana |
boolean |
setBandanaKeyInteger(java.lang.String token,
java.lang.String space,
java.lang.String key,
int value)
Sets a key in Bandana |
void |
setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
|
boolean |
setBandanaStringList(java.lang.String token,
java.lang.String space,
java.lang.String key,
java.util.Vector<java.lang.String> value)
Sets a key in Bandana with a List of Strings as value |
boolean |
setBandanaStringSet(java.lang.String token,
java.lang.String space,
java.lang.String key,
java.util.Vector<java.lang.String> value)
Sets a key in Bandana with a Set of Strings as value |
void |
setBatchOperationManager(BatchOperationManager batchOperationManager)
|
boolean |
setBooleanUserPreference(java.lang.String token,
java.lang.String userName,
java.lang.String preferenceKey,
java.lang.String value)
Sets a boolean user preference. |
void |
setCacheManager(com.atlassian.cache.CacheManager cacheManager)
|
boolean |
setCacheMaximumNumberOfElements(java.lang.String token,
java.lang.String cacheName,
int maxNumElements)
(Re)configures the maximum number of elements in the given cache |
void |
setCacheStatisticsManager(CacheStatisticsManager cacheStatisticsManager)
|
void |
setCaptchaManager(CaptchaManager captchaManager)
|
void |
setCommentManager(CommentManager commentManager)
|
void |
setConfluenceUserDao(ConfluenceUserDao confluenceUserDao)
|
void |
setConfluenceWysiwygConverter(ConfluenceWysiwygConverter wysiwygConverter)
|
void |
setContentEntityManager(ContentEntityManager contentEntityManager)
|
void |
setContentPermissionManager(ContentPermissionManager contentPermissionManager)
|
void |
setContentPropertyManager(ContentPropertyManager contentPropertyManager)
|
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 |
void |
setCrowdDirectoryService(com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService)
|
void |
setCustomContentManager(CustomContentManager customContentManager)
|
void |
setDarkFeaturesManager(DarkFeaturesManager darkFeaturesManager)
|
void |
setDbStatCollector(DbStatCollector dbStatCollector)
|
boolean |
setDirectoryPasswordEncoder(java.lang.String token,
java.lang.String directoryName,
java.lang.String encoder)
Changes the password encoder for the given directory |
void |
setDraftManager(DraftManager draftManager)
|
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. |
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(java.lang.String token,
java.lang.String language)
Changes to the default site language |
boolean |
setGlobalTheme(java.lang.String token,
java.lang.String themeKey)
Sets the global theme |
void |
setGroupManager(com.atlassian.user.GroupManager groupManager)
|
void |
setHeartbeatManager(HeartbeatManager heartbeatManager)
|
void |
setHibernateSessionManager(HibernateSessionManager sessionManager)
|
boolean |
setIgnoreBaseURLWarning(java.lang.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)
|
boolean |
setKeyboardShortcutPref(java.lang.String token,
java.lang.String username,
java.lang.String enabled)
Enables/Disables keyboard shortcuts for the given uesr |
void |
setLabelManager(LabelManager labelManager)
|
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. |
void |
setLuceneConnection(com.atlassian.bonnie.ILuceneConnection luceneConnection)
|
void |
setMailServerManager(com.atlassian.mail.server.MailServerManager mailServerManager)
|
boolean |
setNetworkNotificationForUser(java.lang.String token,
java.lang.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(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. |
void |
setSpaceManager(SpaceManager spaceManager)
|
void |
setSpacePermissionDefaultsStoreFactory(SpacePermissionDefaultsStoreFactory spacePermissionDefaultsStoreFactory)
|
void |
setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
|
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. |
void |
setTaskManager(com.atlassian.core.task.MultiQueueTaskManager taskManager)
|
boolean |
setThemeForSpace(java.lang.String token,
java.lang.String spaceKey,
java.lang.String themeKey)
Sets the theme for the specified space |
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(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. |
void |
setUserDetailsManager(UserDetailsManager userDetailsManager)
|
void |
setUserMacroLibrary(UserMacroLibrary userMacroLibrary)
|
void |
setUserManager(com.atlassian.user.UserManager userManager)
|
java.lang.String |
setUserStatus(java.lang.String token,
java.lang.String wikiStatus)
Set the current user's status. |
void |
setUserStatusManager(UserStatusManager userStatusManager)
|
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 contentTypeStr,
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)
|
void |
setWelcomeMessageService(WelcomeMessageService welcomeMessageService)
|
void |
setXhtmlRpcHandler(ConfluenceXmlRpcHandler confluenceXmlRpcHandler)
|
boolean |
shutdownQuartz(java.lang.String token)
Shutdown the quartz scheduler to ensure single threadedness for testing |
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 jobSpecStr,
boolean pauseBackgroundJobs)
Triggers the named job in the quartz scheduler synchronously. |
boolean |
uninstallPlugin(java.lang.String token,
java.lang.String pluginKey)
Uninstall a plugin. |
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 draftStruct)
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 timeoutStr,
java.lang.String timeUnitStr)
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ONDEMAND_SYSTEM_ADMINISTRATORS
public static final java.lang.String ONDEMAND_CONFLUENCE_ADMINISTRATORS
public static final java.lang.String ALACARTE_USERS
public static final int INDEXING_WAIT
public static final java.lang.String SOUT
Constructor Detail |
---|
public FuncTestRpcHandlerImpl()
Method Detail |
---|
public boolean logMessage(java.lang.String token, java.lang.String destination, java.lang.String message)
FuncTestRpcHandler
logMessage
in interface FuncTestRpcHandler
token
- The token idenfitying the user.destination
- The destination of the message to be loggedmessage
- The text message to be logged to the console
public java.lang.String changeLoggerLevel(java.lang.String token, java.lang.String loggerName, java.lang.String level) throws RemoteException
FuncTestRpcHandler
Change the level of the specified logger.
The level parameter can be one of -
changeLoggerLevel
in interface FuncTestRpcHandler
token
- 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 java.lang.String createTemplate(java.lang.String token, java.lang.String templateName, java.lang.String content, java.lang.String spaceKey) throws RemoteException, XhtmlException
FuncTestRpcHandler
createTemplate
in interface FuncTestRpcHandler
RemoteException
XhtmlException
public java.lang.String createTemplateWithStorageFormat(java.lang.String token, java.lang.String templateName, java.lang.String storageFormat, java.lang.String spaceKey) throws RemoteException, XhtmlException
FuncTestRpcHandler
createTemplateWithStorageFormat
in interface FuncTestRpcHandler
RemoteException
XhtmlException
public boolean removeAllSpaces(java.lang.String token) throws RemoteException
FuncTestRpcHandler
removeAllSpaces
in interface FuncTestRpcHandler
RemoteException
public 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>> userGroupMembershipsToKeep) throws RemoteException
FuncTestRpcHandler
removeTestData
in interface FuncTestRpcHandler
token
- 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(java.lang.String token) throws java.lang.Exception
removeTestDataAfterExternalUserManagement
in interface FuncTestRpcHandler
java.lang.Exception
public boolean disconnectUser(java.lang.String token, java.lang.String userName) throws NotPermittedException
FuncTestRpcHandler
disconnectUser
in interface FuncTestRpcHandler
NotPermittedException
public boolean disconnectGroup(java.lang.String token, java.lang.String groupName) throws NotPermittedException
FuncTestRpcHandler
disconnectGroup
in interface FuncTestRpcHandler
NotPermittedException
public java.lang.String[] getGlobalPermissionsForGroup(java.lang.String token, java.lang.String groupName) throws RemoteException
FuncTestRpcHandler
getGlobalPermissionsForGroup
in interface FuncTestRpcHandler
RemoteException
public boolean isCurrentApplicationSet(java.lang.String token) throws NotPermittedException
FuncTestRpcHandler
isCurrentApplicationSet
in interface FuncTestRpcHandler
NotPermittedException
public boolean removeAllTrustedApplications(java.lang.String token)
FuncTestRpcHandler
removeAllTrustedApplications
in interface FuncTestRpcHandler
public boolean massCreateAttachments(java.lang.String token, java.lang.String pageId, java.lang.String prefix, java.lang.String numAttachments) throws java.lang.Exception
FuncTestRpcHandler
massCreateAttachments
in interface FuncTestRpcHandler
java.lang.Exception
public java.lang.String getGlobalConfiguredTheme(java.lang.String token) throws java.lang.Exception
FuncTestRpcHandler
getGlobalConfiguredTheme
in interface FuncTestRpcHandler
java.lang.Exception
public java.lang.String getConfiguredThemeForSpace(java.lang.String token, java.lang.String spaceKey) throws java.lang.Exception
FuncTestRpcHandler
getConfiguredThemeForSpace
in interface FuncTestRpcHandler
java.lang.Exception
public boolean setGlobalTheme(java.lang.String token, java.lang.String themeKey) throws java.lang.Exception
FuncTestRpcHandler
setGlobalTheme
in interface FuncTestRpcHandler
themeKey
- - the complete theme key
java.lang.Exception
public boolean setThemeForSpace(java.lang.String token, java.lang.String spaceKey, java.lang.String themeKey) throws java.lang.Exception
FuncTestRpcHandler
setThemeForSpace
in interface FuncTestRpcHandler
spaceKey
- - the key of the space to changethemeKey
- - the complete theme key
java.lang.Exception
public boolean clearCustomHtml(java.lang.String token) throws java.lang.Exception
FuncTestRpcHandler
clearCustomHtml
in interface FuncTestRpcHandler
java.lang.Exception
public boolean uninstallPlugin(java.lang.String token, java.lang.String pluginKey) throws NotPermittedException
FuncTestRpcHandler
uninstallPlugin
in interface FuncTestRpcHandler
NotPermittedException
public boolean disablePlugin(java.lang.String token, java.lang.String pluginKey) throws NotPermittedException
FuncTestRpcHandler
disablePlugin
in interface FuncTestRpcHandler
NotPermittedException
public boolean enablePlugin(java.lang.String token, java.lang.String pluginKey) throws NotPermittedException
FuncTestRpcHandler
enablePlugin
in interface FuncTestRpcHandler
NotPermittedException
public boolean enablePluginModule(java.lang.String token, java.lang.String pluginKey, java.lang.String moduleKey) throws NotPermittedException
FuncTestRpcHandler
enablePluginModule
in interface FuncTestRpcHandler
pluginKey
- the key of the pluginmoduleKey
- the key of the module
NotPermittedException
public boolean disablePluginModule(java.lang.String token, java.lang.String pluginKey, java.lang.String moduleKey) throws NotPermittedException
FuncTestRpcHandler
disablePluginModule
in interface FuncTestRpcHandler
pluginKey
- the key of the pluginmoduleKey
- the key of the module
NotPermittedException
public boolean isPluginModuleEnabled(java.lang.String token, java.lang.String pluginKey, java.lang.String moduleKey) throws NotPermittedException
FuncTestRpcHandler
isPluginModuleEnabled
in interface FuncTestRpcHandler
pluginKey
- the key of the pluginmoduleKey
- the key of the module excluding the plugin key
NotPermittedException
public boolean isSpringComponentPresent(java.lang.String token, java.lang.String name)
FuncTestRpcHandler
isSpringComponentPresent
in interface FuncTestRpcHandler
public boolean isPluginUpgradeTasksComplete(java.lang.String token)
FuncTestRpcHandler
isPluginUpgradeTasksComplete
in interface FuncTestRpcHandler
public boolean pauseAllJobs(java.lang.String token) throws java.lang.Exception
FuncTestRpcHandler
pauseAllJobs
in interface FuncTestRpcHandler
java.lang.Exception
public boolean resumeAllJobs(java.lang.String token) throws java.lang.Exception
FuncTestRpcHandler
resumeAllJobs
in interface FuncTestRpcHandler
java.lang.Exception
public boolean pauseJobGroup(java.lang.String token, java.lang.String jobGroupName) throws java.lang.Exception
FuncTestRpcHandler
pauseJobGroup
in interface FuncTestRpcHandler
java.lang.Exception
public boolean pauseJob(java.lang.String token, java.lang.String jobSpecStr) throws java.lang.Exception
FuncTestRpcHandler
pauseJob
in interface FuncTestRpcHandler
java.lang.Exception
public boolean resumeJob(java.lang.String token, java.lang.String jobSpecStr) throws java.lang.Exception
FuncTestRpcHandler
resumeJob
in interface FuncTestRpcHandler
java.lang.Exception
public boolean triggerJob(java.lang.String token, java.lang.String jobSpecStr, boolean pauseBackgroundJobs) throws java.lang.Exception
FuncTestRpcHandler
triggerJob
in interface FuncTestRpcHandler
java.lang.Exception
public boolean registerEventListener(java.lang.String token, java.lang.String eventClassName) throws java.lang.Exception
FuncTestRpcHandler
FuncTestRpcHandler.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 FuncTestRpcHandler
java.lang.Exception
public boolean unregisterEventListener(java.lang.String token, java.lang.String eventClassName) throws java.lang.Exception
FuncTestRpcHandler
unregisterEventListener
in interface FuncTestRpcHandler
java.lang.Exception
public boolean clearEventListeners(java.lang.String token) throws java.lang.Exception
FuncTestRpcHandler
clearEventListeners
in interface FuncTestRpcHandler
java.lang.Exception
public boolean waitForEvent(java.lang.String token, java.lang.String eventClassName, java.lang.String timeoutStr, java.lang.String timeUnitStr) throws java.lang.Exception
FuncTestRpcHandler
waitForEvent
in interface FuncTestRpcHandler
eventClassName
- 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
java.lang.Exception
public boolean waitForEventQueue(java.lang.String token, java.lang.String timeoutStr, java.lang.String timeUnitStr) throws java.lang.Exception
FuncTestRpcHandler
waitForEventQueue
in interface FuncTestRpcHandler
java.lang.Exception
public boolean shutdownQuartz(java.lang.String token) throws java.lang.Exception
FuncTestRpcHandler
shutdownQuartz
in interface FuncTestRpcHandler
java.lang.Exception
public boolean removeBandanaKey(java.lang.String token, java.lang.String space, java.lang.String key)
FuncTestRpcHandler
removeBandanaKey
in interface FuncTestRpcHandler
public boolean setBandanaStringSet(java.lang.String token, java.lang.String space, java.lang.String key, java.util.Vector<java.lang.String> value)
FuncTestRpcHandler
setBandanaStringSet
in interface FuncTestRpcHandler
public boolean setBandanaStringList(java.lang.String token, java.lang.String space, java.lang.String key, java.util.Vector<java.lang.String> value)
FuncTestRpcHandler
setBandanaStringList
in interface FuncTestRpcHandler
public boolean setBandanaKey(java.lang.String token, java.lang.String space, java.lang.String key, java.lang.String value)
FuncTestRpcHandler
setBandanaKey
in interface FuncTestRpcHandler
public boolean setBandanaKeyBoolean(java.lang.String token, java.lang.String space, java.lang.String key, boolean value)
FuncTestRpcHandler
setBandanaKeyBoolean
in interface FuncTestRpcHandler
public boolean setBandanaKeyInteger(java.lang.String token, java.lang.String space, java.lang.String key, int value)
FuncTestRpcHandler
setBandanaKeyInteger
in interface FuncTestRpcHandler
public java.lang.Object getBandanaValue(java.lang.String token, java.lang.String space, java.lang.String key)
FuncTestRpcHandler
getBandanaValue
in interface FuncTestRpcHandler
public java.util.Vector getContentPropertyKeys(java.lang.String token, java.lang.String entityId)
FuncTestRpcHandler
getContentPropertyKeys
in interface FuncTestRpcHandler
public java.lang.String getContentProperty(java.lang.String token, java.lang.String entityId, java.lang.String key)
FuncTestRpcHandler
getContentProperty
in interface FuncTestRpcHandler
public boolean setContentTextProperty(java.lang.String token, java.lang.String entityId, java.lang.String key, java.lang.String value)
FuncTestRpcHandler
setContentTextProperty
in interface FuncTestRpcHandler
public java.lang.String getPersonalInformationId(java.lang.String token, java.lang.String username)
FuncTestRpcHandler
getPersonalInformationId
in interface FuncTestRpcHandler
public boolean removePersonalInformation(java.lang.String token, java.lang.String username) throws NotPermittedException
FuncTestRpcHandler
removePersonalInformation
in interface FuncTestRpcHandler
username
- user whose personalInformation will be removed
NotPermittedException
public java.lang.String getLocaleForUser(java.lang.String token, java.lang.String username)
FuncTestRpcHandler
getLocaleForUser
in interface FuncTestRpcHandler
public boolean setLocaleForUser(java.lang.String token, java.lang.String username, java.lang.String locale) throws RemoteException
FuncTestRpcHandler
setLocaleForUser
in interface FuncTestRpcHandler
RemoteException
public boolean setGlobalLanguage(java.lang.String token, java.lang.String language) throws RemoteException
FuncTestRpcHandler
setGlobalLanguage
in interface FuncTestRpcHandler
RemoteException
public boolean setKeyboardShortcutPref(java.lang.String token, java.lang.String username, java.lang.String enabled) throws RemoteException
FuncTestRpcHandler
setKeyboardShortcutPref
in interface FuncTestRpcHandler
RemoteException
public boolean setWatchOwnContentPref(java.lang.String token, java.lang.String username, java.lang.String enabled) throws RemoteException
FuncTestRpcHandler
setWatchOwnContentPref
in interface FuncTestRpcHandler
RemoteException
public boolean setWatchSpace(java.lang.String token, java.lang.String username, java.lang.String spaceKey, java.lang.String contentTypeStr, java.lang.String enabled) throws RemoteException
FuncTestRpcHandler
setWatchSpace
in interface FuncTestRpcHandler
RemoteException
public boolean setUserDetails(java.lang.String token, java.lang.String username, java.lang.String fullName, java.lang.String email) throws NotPermittedException
FuncTestRpcHandler
setUserDetails
in interface FuncTestRpcHandler
NotPermittedException
public boolean setUserDetailProperty(java.lang.String token, java.lang.String username, java.lang.String propertyKey, java.lang.String propertyValue)
FuncTestRpcHandler
setUserDetailProperty
in interface FuncTestRpcHandler
public boolean putStringMappingInCache(java.lang.String token, java.lang.String cacheName, java.lang.String key, java.lang.String value) throws NotPermittedException
FuncTestRpcHandler
putStringMappingInCache
in interface FuncTestRpcHandler
NotPermittedException
public java.util.Hashtable getCacheStatistics(java.lang.String token, java.lang.String cacheName) throws NotPermittedException
FuncTestRpcHandler
getCacheStatistics
in interface FuncTestRpcHandler
cacheName
- the key of the cache, rather than the "niceName"
NotPermittedException
public java.util.Vector<java.lang.String> getCacheStatisticsCapabilities(java.lang.String token) throws NotPermittedException
FuncTestRpcHandler
getCacheStatisticsCapabilities
in interface FuncTestRpcHandler
NotPermittedException
public java.lang.Integer getCacheMaximumNumberOfElements(java.lang.String token, java.lang.String cacheName) throws java.lang.Exception
FuncTestRpcHandler
getCacheMaximumNumberOfElements
in interface FuncTestRpcHandler
cacheName
- the key of the cache, rather than the "niceName"
java.lang.Exception
public boolean setCacheMaximumNumberOfElements(java.lang.String token, java.lang.String cacheName, int maxNumElements) throws java.lang.Exception
FuncTestRpcHandler
setCacheMaximumNumberOfElements
in interface FuncTestRpcHandler
cacheName
- the key of the cache, rather than the "niceName"
java.lang.Exception
public boolean flushAllCaches(java.lang.String token) throws NotPermittedException
FuncTestRpcHandler
flushAllCaches
in interface FuncTestRpcHandler
NotPermittedException
public boolean enableWebSudo(java.lang.String token, boolean enabled) throws java.lang.Exception
FuncTestRpcHandler
enableWebSudo
in interface FuncTestRpcHandler
java.lang.Exception
public boolean setWebSudoTimeout(java.lang.String token, int timeout) throws java.lang.Exception
FuncTestRpcHandler
setWebSudoTimeout
in interface FuncTestRpcHandler
java.lang.Exception
public boolean enablePublicSignUp(java.lang.String token, boolean enabled) throws java.lang.Exception
FuncTestRpcHandler
enablePublicSignUp
in interface FuncTestRpcHandler
java.lang.Exception
public boolean startActivity(java.lang.String key, java.lang.String user) throws java.lang.Exception
FuncTestRpcHandler
startActivity
in interface FuncTestRpcHandler
java.lang.Exception
public java.util.Vector getUsersForActivity(java.lang.String key) throws java.lang.Exception
FuncTestRpcHandler
getUsersForActivity
in interface FuncTestRpcHandler
java.lang.Exception
public boolean removeUserUncleanly(java.lang.String token, java.lang.String username) throws com.atlassian.user.EntityException
FuncTestRpcHandler
removeUserUncleanly
in interface FuncTestRpcHandler
com.atlassian.user.EntityException
public boolean removeGroupUncleanly(java.lang.String token, java.lang.String groupname) throws com.atlassian.user.EntityException
FuncTestRpcHandler
removeGroupUncleanly
in interface FuncTestRpcHandler
com.atlassian.user.EntityException
public boolean doesDraftExist(java.lang.String token, java.lang.String contentId, java.lang.String owner, java.lang.String draftType, java.lang.String spaceKey)
FuncTestRpcHandler
doesDraftExist
in interface FuncTestRpcHandler
token
- 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(java.lang.String token, java.lang.String owner)
countDrafts
in interface FuncTestRpcHandler
public java.util.Hashtable createDraft(java.lang.String token, java.util.Hashtable draftStruct)
FuncTestRpcHandler
createDraft
in interface FuncTestRpcHandler
token
- 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 java.util.Hashtable updateDraft(java.lang.String token, java.util.Hashtable draftStruct)
FuncTestRpcHandler
updateDraft
in interface FuncTestRpcHandler
token
- rpc authentication tokendraftStruct
- the draft object to create see #createDraft(java.lang.String, java.util.Hashtable)
public boolean removeDrafts(java.lang.String token, java.lang.String username)
FuncTestRpcHandler
removeDrafts
in interface FuncTestRpcHandler
token
- rpc authentication tokenusername
- user to remove drafts for
public boolean setDraftSaveInterval(java.lang.String token, int seconds)
FuncTestRpcHandler
setDraftSaveInterval
in interface FuncTestRpcHandler
token
- rpc authentication tokenseconds
- number of seconds for which the draft save interval should be
public boolean clearQueue(java.lang.String token, java.lang.String queueName)
FuncTestRpcHandler
clearQueue
in interface FuncTestRpcHandler
public int getQueueSize(java.lang.String token, java.lang.String queueName)
FuncTestRpcHandler
getQueueSize
in interface FuncTestRpcHandler
java.lang.IllegalArgumentException
- if no queue could be found with the specified queueName.public int getNumberOfIndexTasksInQueue(java.lang.String token)
FuncTestRpcHandler
getNumberOfIndexTasksInQueue
in interface FuncTestRpcHandler
public boolean removeMailServer(java.lang.String token, java.lang.String serverName) throws java.lang.Exception
FuncTestRpcHandler
removeMailServer
in interface FuncTestRpcHandler
token
- the rpc authentication tokenserverName
- the name of the server to be removed.
java.lang.Exception
public boolean addUserAnyCase(java.lang.String token, java.lang.String username, java.lang.String email, java.lang.String fullname, java.lang.String password) throws RemoteException
FuncTestRpcHandler
addUserAnyCase
in interface FuncTestRpcHandler
NotPermittedException
- if you do not have permissions to add the user.
RemoteException
public java.lang.Iterable<java.lang.String> getNames(java.lang.Iterable<? extends com.atlassian.user.User> iterable)
public boolean addGroupAnyCase(java.lang.String token, java.lang.String groupname) throws RemoteException
FuncTestRpcHandler
addGroupAnyCase
in interface FuncTestRpcHandler
groupname
- the name of the group to add
RemoteException
public boolean changeSpaceCreatedDate(java.lang.String token, java.lang.String spaceKey, java.util.Date createdDate) throws RemoteException
FuncTestRpcHandler
changeSpaceCreatedDate
in interface FuncTestRpcHandler
spaceKey
- the space key of the space to change the created date
RemoteException
public boolean changeCommentCreatedDate(java.lang.String token, java.lang.String commentId, java.util.Date createdDate) throws RemoteException
FuncTestRpcHandler
changeCommentCreatedDate
in interface FuncTestRpcHandler
RemoteException
public boolean changePageCreatedDate(java.lang.String token, java.lang.String pageId, java.util.Date createdDate) throws RemoteException
FuncTestRpcHandler
changePageCreatedDate
in interface FuncTestRpcHandler
pageId
- the page id of the page to change the created date
RemoteException
public boolean removeAttachmentUncleanly(java.lang.String token, java.lang.String contentId, java.lang.String attachmentFileName) throws RemoteException
FuncTestRpcHandler
removeAttachmentUncleanly
in interface FuncTestRpcHandler
token
- the authenticationcontentId
- the content that the attachment is attached toattachmentFileName
- the attachment
RemoteException
public boolean changeAttachmentCreatedDate(java.lang.String token, java.lang.String contentId, java.lang.String attachmentFileName, java.util.Date createdDate) throws RemoteException
FuncTestRpcHandler
changeAttachmentCreatedDate
in interface FuncTestRpcHandler
contentId
- 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(java.lang.String token, java.lang.String blogId, java.util.Date modificationDate) throws RemoteException
FuncTestRpcHandler
changeBlogPostModificationDate
in interface FuncTestRpcHandler
blogId
- the id of the blog to modifymodificationDate
- the last modification date to be set.
RemoteException
public boolean changePageModificationDate(java.lang.String token, java.lang.String pageId, java.util.Date modificationDate) throws RemoteException
FuncTestRpcHandler
changePageModificationDate
in interface FuncTestRpcHandler
pageId
- the page id of the page to change the modification datemodificationDate
- the last modification date to be set.
RemoteException
public int getVersionForPage(java.lang.String token, java.lang.String pageId) throws RemoteException
FuncTestRpcHandler
getVersionForPage
in interface FuncTestRpcHandler
RemoteException
public java.lang.String getLeastRecentTestAppenderLogMessage(java.lang.String token, java.lang.String className)
getLeastRecentTestAppenderLogMessage
in interface FuncTestRpcHandler
public boolean registerTestAppenderForClass(java.lang.String token, java.lang.String className)
registerTestAppenderForClass
in interface FuncTestRpcHandler
public boolean unregisterTestAppenderForClass(java.lang.String token, java.lang.String className)
unregisterTestAppenderForClass
in interface FuncTestRpcHandler
public boolean logTestMessageForClass(java.lang.String token, java.lang.String className, java.lang.String message, java.lang.String level)
logTestMessageForClass
in interface FuncTestRpcHandler
public boolean followUser(java.lang.String token, java.lang.String userName, boolean follow) throws RemoteException
FuncTestRpcHandler
followUser
in interface FuncTestRpcHandler
follow
- true to follow a user, false to stop following
RemoteException
public java.lang.String setUserStatus(java.lang.String token, java.lang.String wikiStatus) throws RemoteException
FuncTestRpcHandler
setUserStatus
in interface FuncTestRpcHandler
wikiStatus
- the status string in wiki markup.
RemoteException
public boolean synchroniseUserDirectories(java.lang.String token) throws java.lang.Exception
FuncTestRpcHandler
synchroniseUserDirectories
in interface FuncTestRpcHandler
java.lang.Exception
public boolean setDirectoryPasswordEncoder(java.lang.String token, java.lang.String directoryName, java.lang.String encoder) throws java.lang.Exception
FuncTestRpcHandler
setDirectoryPasswordEncoder
in interface FuncTestRpcHandler
java.lang.Exception
public boolean removeUserDirectory(java.lang.String token, java.lang.String directoryId) throws java.lang.Exception
FuncTestRpcHandler
removeUserDirectory
in interface FuncTestRpcHandler
directoryId
- the id of the directory
java.lang.Exception
public java.lang.String convertMarkupToXhtml(java.lang.String token, java.lang.String wikiMarkup, java.lang.String pageId)
FuncTestRpcHandler
convertMarkupToXhtml
in interface FuncTestRpcHandler
public java.lang.String convertXhtmlToMarkup(java.lang.String token, java.lang.String xhtml, java.lang.String pageId)
FuncTestRpcHandler
convertXhtmlToMarkup
in interface FuncTestRpcHandler
public java.lang.String getLocalisedText(java.lang.String token, java.lang.String messageKey)
FuncTestRpcHandler
getLocalisedText
in interface FuncTestRpcHandler
token
- the rpc authentication tokenmessageKey
- the i18n message key
public void setIndexManager(ConfluenceIndexManager indexManager)
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 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 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(java.lang.String token, java.lang.String dateFormat)
saveDateFormat
in interface FuncTestRpcHandler
public boolean saveDateTimeFormat(java.lang.String token, java.lang.String dateTimeFormat)
saveDateTimeFormat
in interface FuncTestRpcHandler
public boolean addMailServer(java.lang.String token, java.lang.String name, java.lang.String from, java.lang.String subjectPrefix, java.lang.String hostname, int port)
addMailServer
in interface FuncTestRpcHandler
public 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)
addMailServer
in interface FuncTestRpcHandler
public boolean addSmtpServer(java.lang.String token, java.lang.String name, java.lang.String from, java.lang.String subjectPrefix, java.lang.String hostname, int port)
FuncTestRpcHandler
addSmtpServer
in interface FuncTestRpcHandler
public 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
in interface FuncTestRpcHandler
public boolean setSmtpServer(java.lang.String token, java.lang.String name, java.lang.String from, java.lang.String subjectPrefix, java.lang.String hostname, int port)
FuncTestRpcHandler
setSmtpServer
in interface FuncTestRpcHandler
public 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)
FuncTestRpcHandler
setSmtpServer
in interface FuncTestRpcHandler
public 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)
FuncTestRpcHandler
addMailServer
in interface FuncTestRpcHandler
public boolean removeAllJohnsonEvents(java.lang.String token)
FuncTestRpcHandler
removeAllJohnsonEvents
in interface FuncTestRpcHandler
public boolean createJohnsonEvent(java.lang.String token, java.lang.String message)
FuncTestRpcHandler
ConfluenceJohnsonFilter
.
createJohnsonEvent
in interface FuncTestRpcHandler
message
- the description of the event to createpublic boolean enableCaptcha(java.lang.String token, boolean enable)
FuncTestRpcHandler
enableCaptcha
in interface FuncTestRpcHandler
public boolean enableCaptchaDebugMode(java.lang.String token, boolean enable)
FuncTestRpcHandler
CaptchaManager.setDebugMode(boolean)
.
enableCaptchaDebugMode
in interface FuncTestRpcHandler
public java.util.Hashtable<java.lang.String,java.lang.String> getSystemProperty(java.lang.String token, java.lang.String name)
FuncTestRpcHandler
getSystemProperty
in interface FuncTestRpcHandler
name
- the name of the property
public java.lang.Boolean setSystemProperty(java.lang.String token, java.lang.String name, java.lang.String value)
FuncTestRpcHandler
setSystemProperty
in interface FuncTestRpcHandler
name
- the name of the propertyvalue
- the value of the property
public java.lang.Boolean clearSystemProperty(java.lang.String token, java.lang.String name)
FuncTestRpcHandler
clearSystemProperty
in interface FuncTestRpcHandler
name
- the name of the property
public boolean clearIndex(java.lang.String token)
FuncTestRpcHandler
clearIndex
in interface FuncTestRpcHandler
public boolean restoreAbstractPage(java.lang.String token, java.lang.String abstractPageId)
FuncTestRpcHandler
restoreAbstractPage
in interface FuncTestRpcHandler
public void setLuceneConnection(com.atlassian.bonnie.ILuceneConnection luceneConnection)
public java.lang.String getIdOfPagePermission(java.lang.String token, java.lang.String contentId, java.lang.String permissionType, java.lang.String username)
getIdOfPagePermission
in interface FuncTestRpcHandler
public int createTestUsers(java.lang.String token, int count)
FuncTestRpcHandler
createTestUsers
in interface FuncTestRpcHandler
public int removeTestUsers(java.lang.String token, int count)
FuncTestRpcHandler
removeTestUsers
in interface FuncTestRpcHandler
public 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
FuncTestRpcHandler
createUserMacro
in interface FuncTestRpcHandler
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 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(java.lang.String token, java.lang.String name) throws NotPermittedException
FuncTestRpcHandler
removeUserMacro
in interface FuncTestRpcHandler
NotPermittedException
public boolean setApplicationConfigProperty(java.lang.String token, java.lang.String propertyKey, java.lang.String propertyValue)
FuncTestRpcHandler
ApplicationConfiguration
instance.
setApplicationConfigProperty
in interface FuncTestRpcHandler
public java.util.Hashtable storeXhtmlPage(java.lang.String token, java.util.Hashtable pageStruct) throws RemoteException
FuncTestRpcHandler
storeXhtmlPage
in interface FuncTestRpcHandler
RemoteException
public java.lang.Object getApplicationConfigProperty(java.lang.String token, java.lang.String propertyKey)
FuncTestRpcHandler
ApplicationConfiguration
instance.
getApplicationConfigProperty
in interface FuncTestRpcHandler
propertyKey
public boolean setBooleanUserPreference(java.lang.String token, java.lang.String userName, java.lang.String preferenceKey, java.lang.String value) throws RemoteException
FuncTestRpcHandler
setBooleanUserPreference
in interface FuncTestRpcHandler
userName
- 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(java.lang.String token, java.lang.String userName, java.lang.String preferenceKey, java.lang.String value) throws RemoteException
FuncTestRpcHandler
setStringUserPreference
in interface FuncTestRpcHandler
userName
- 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(java.lang.String token, java.lang.String userName, boolean dailyReportEnabled)
FuncTestRpcHandler
enableDailyReportNotification
in interface FuncTestRpcHandler
userName
- the user name to set the report state fordailyReportEnabled
- true if the daily report should be sent, false if notpublic boolean setNetworkNotificationForUser(java.lang.String token, java.lang.String userName, boolean watchNetwork)
FuncTestRpcHandler
setNetworkNotificationForUser
in interface FuncTestRpcHandler
userName
- the user name to set the watch state forwatchNetwork
- true if the user should watch their network, false if notpublic boolean setSiteBlogNotificationForUser(java.lang.String token, java.lang.String userName, boolean globalBlogWatchForUser)
FuncTestRpcHandler
setSiteBlogNotificationForUser
in interface FuncTestRpcHandler
userName
- 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(java.lang.String token)
FuncTestRpcHandler
getIgnoreBaseURLWarning
in interface FuncTestRpcHandler
public boolean setIgnoreBaseURLWarning(java.lang.String token, boolean ignored) throws RemoteException
FuncTestRpcHandler
setIgnoreBaseURLWarning
in interface FuncTestRpcHandler
ignored
- set to true to ignore the warning.
RemoteException
public boolean enableUserFeature(java.lang.String token, java.lang.String featureKey) throws RemoteException
FuncTestRpcHandler
enableUserFeature
in interface FuncTestRpcHandler
featureKey
- - the key of the feature to enable
RemoteException
public boolean disableUserFeature(java.lang.String token, java.lang.String featureKey) throws RemoteException
FuncTestRpcHandler
disableUserFeature
in interface FuncTestRpcHandler
featureKey
- - the key of the feature to disable
RemoteException
public boolean enableSiteFeature(java.lang.String token, java.lang.String featureKey) throws RemoteException
FuncTestRpcHandler
enableSiteFeature
in interface FuncTestRpcHandler
featureKey
- - the key of the feature to enable
RemoteException
public boolean disableSiteFeature(java.lang.String token, java.lang.String featureKey) throws RemoteException
FuncTestRpcHandler
disableSiteFeature
in interface FuncTestRpcHandler
featureKey
- - the key of the feature to disable
RemoteException
public boolean setWelcomeMessage(java.lang.String token, java.lang.String welcomeMessage)
setWelcomeMessage
in interface FuncTestRpcHandler
public boolean resetWelcomeMessage(java.lang.String token)
resetWelcomeMessage
in interface FuncTestRpcHandler
public java.lang.String getExportBuildNumber(java.lang.String token)
FuncTestRpcHandler
getExportBuildNumber
in interface FuncTestRpcHandler
token
- the authentication
public java.lang.String getOldestSpaceImportAllowed(java.lang.String token)
FuncTestRpcHandler
getOldestSpaceImportAllowed
in interface FuncTestRpcHandler
token
- the authentication
public java.lang.String getPluginExportCompatibility(java.lang.String token, java.lang.String pluginKey)
FuncTestRpcHandler
getPluginExportCompatibility
in interface FuncTestRpcHandler
token
- the authenticationpluginKey
- the plugin key
public java.util.Vector<java.util.Hashtable> createPagesFromPrototype(java.lang.String token, java.util.Hashtable pageStruct, int count) throws RemoteException
FuncTestRpcHandler
createPagesFromPrototype
in interface FuncTestRpcHandler
pageStruct
- a template page to create multiple pages fromcount
- the number of pages to create - pages created are 1-indexed
RemoteException
public boolean updateGlobalSettingBoolean(java.lang.String token, java.lang.String name, boolean value) throws RemoteException
FuncTestRpcHandler
Settings
boolean field.
updateGlobalSettingBoolean
in interface FuncTestRpcHandler
name
- name of the field used to store the setting (see field names inside Settings
.
RemoteException
public java.lang.String updateGlobalSettingString(java.lang.String token, java.lang.String name, java.lang.String value) throws RemoteException
FuncTestRpcHandler
Settings
String field.
updateGlobalSettingString
in interface FuncTestRpcHandler
name
- name of the field used to store the setting (see field names inside Settings
.value
- the String
value the field should take
RemoteException
public java.util.Vector<java.lang.String> createSpaces(java.lang.String token, int count) throws RemoteException
FuncTestRpcHandler
createSpaces
in interface FuncTestRpcHandler
count
- the number to create
RemoteException
- if you are not awesome enough to use this methodpublic int getNumberOfActiveUsers(java.lang.String token) throws RemoteException
FuncTestRpcHandler
getNumberOfActiveUsers
in interface FuncTestRpcHandler
RemoteException
public boolean isUnlimitedUserLicense(java.lang.String token) throws RemoteException
isUnlimitedUserLicense
in interface FuncTestRpcHandler
RemoteException
public 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(java.lang.String token, java.lang.String userName, java.lang.String fileName)
FuncTestRpcHandler
addExistingProfilePicture
in interface FuncTestRpcHandler
userName
- 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 setAnyTypeDao(AnyTypeDao anyTypeDao)
public void setUpgradeGate(UpgradeGate upgradeGate)
public void setUserChecker(UserChecker userChecker)
public void setWelcomeMessageService(WelcomeMessageService welcomeMessageService)
public void setFormatConverter(FormatConverter formatConverter)
public java.util.Vector<java.util.Hashtable> getAliveThreads(java.lang.String token) throws RemoteException
getAliveThreads
in interface FuncTestRpcHandler
RemoteException
public boolean setEnableAnonymousRpc(java.lang.String token, java.lang.String value) throws RemoteException
FuncTestRpcHandler
setEnableAnonymousRpc
in interface FuncTestRpcHandler
RemoteException
public java.util.Hashtable<java.lang.String,java.lang.Object> getContentForAllLabels(java.lang.String token, int offset, int maxResults, java.lang.String labelsString)
FuncTestRpcHandler
getContentForAllLabels
in interface FuncTestRpcHandler
public 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)
FuncTestRpcHandler
getContentInSpacesForAllLabels
in interface FuncTestRpcHandler
public java.util.Hashtable<java.lang.String,java.lang.Object> getAllContentForAllLabels(java.lang.String token, int offset, int maxResults, java.lang.String labelsString)
FuncTestRpcHandler
getAllContentForAllLabels
in interface FuncTestRpcHandler
public 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)
FuncTestRpcHandler
getForLabels
in interface FuncTestRpcHandler
public int addLabelToLabelable(java.lang.String token, java.lang.String labelName, java.lang.String labelableId, java.lang.String labelableType)
FuncTestRpcHandler
addLabelToLabelable
in interface FuncTestRpcHandler
public boolean startLoggingRequests(java.lang.String token)
FuncTestRpcHandler
Call FuncTestRpcHandler.finishLoggingRequests(String)
to stop logging and to retrieve results.
startLoggingRequests
in interface FuncTestRpcHandler
public java.util.Vector<java.lang.String> finishLoggingRequests(java.lang.String token)
FuncTestRpcHandler
Logging must have been previously started using FuncTestRpcHandler.startLoggingRequests(String)
.
finishLoggingRequests
in interface FuncTestRpcHandler
public boolean resetDatabaseStatistics(java.lang.String token)
FuncTestRpcHandler
Call FuncTestRpcHandler.getDatabaseStatistics(String)
to get results since the last reset.
resetDatabaseStatistics
in interface FuncTestRpcHandler
public java.lang.String getDatabaseStatistics(java.lang.String token)
FuncTestRpcHandler
Statistics since the last call to FuncTestRpcHandler.resetDatabaseStatistics(String)
are returned.
getDatabaseStatistics
in interface FuncTestRpcHandler
public boolean runGarbageCollection(java.lang.String token)
runGarbageCollection
in interface FuncTestRpcHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |