Class XhtmlSoapService
- All Implemented Interfaces:
- SecureRpc,- ConfluenceSoapService
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Liststatic final Liststatic final Liststatic final Liststatic final Liststatic final ListFields inherited from interface com.atlassian.confluence.rpc.soap.ConfluenceSoapServiceADMIN_SPACE_PERMISSION, COMMENT_PERMISSION, MODIFY_PERMISSION, VIEW_PERMISSION
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanaddAnonymousPermissionsToSpace(String token, String[] permissions, String spaceKey) Add Space Permissions for anonymous usersbooleanaddAnonymousPermissionToSpace(String token, String permission, String spaceKey) Add a Space Permission for anonymous usersbooleanaddAnonymousUsePermission(String token) booleanThis permission can only be set if the anonymous user already has 'use' permission.addAttachment(String token, long contentId, RemoteAttachment attachment, byte[] attachmentData) Add a new attachment to a ContentEntityObject.addComment(String token, RemoteComment comment) Adds a comment to a page or blog postbooleanaddGlobalPermission(String token, String permission, String remoteEntityName) Add global permissions for a user or groupbooleanaddGlobalPermissions(String token, String[] permissions, String remoteEntityName) Add a global permission for a user or groupbooleanAdds a new groupbooleanaddLabelById(String token, long labelId, long objectId) Adds a label with the given ID to the object with the given ContentEntityObject ID.booleanaddLabelByName(String token, String labelName, long objectId) Adds a label to the object with the given ContentEntityObject ID.booleanaddLabelByNameToSpace(String token, String labelName, String spaceKey) Adds a label to the object with the given ContentEntityObject ID.booleanaddLabelByObject(String token, RemoteLabel labelObject, long objectId) Adds the given label object to the object with the given ContentEntityObject ID.booleanaddPermissionsToSpace(String token, String[] permissions, String remoteEntityName, String spaceKey) Add Space Permissions for a user or groupbooleanaddPermissionToSpace(String token, String permission, String remoteEntityName, String spaceKey) Add a Space Permission for a user or groupaddPersonalSpace(String token, RemoteSpace space, String username) addPersonalSpaceWithDefaultPermissions(String token, RemoteSpace space, String username) booleanaddProfilePicture(String token, String userName, String fileName, String mimeType, byte[] pictureData) Add a profile picture to a user's profileaddSpace(String token, RemoteSpace space) addSpaceGroup(String token, RemoteSpaceGroup spaceGroup) Add a space Group to ConfluenceaddSpaceWithDefaultPermissions(String token, RemoteSpace space) voidaddUser(String token, RemoteUser remoteUser, String password) Adds a user with the given RemoteUser object and passwordvoidaddUser(String token, RemoteUser remoteUser, String password, boolean notifyUser) Adds a user with the given RemoteUser object and passwordbooleanaddUserToGroup(String token, String username, String groupname) booleanchangeMyPassword(String token, String oldPass, String newPass) Change the current user's passwordbooleanchangeUserPassword(String token, String username, String newPass) Change a user's passwordbooleanclearIndexQueue(String token) convertWikiToStorageFormat(String token, String markup) Converts a string from wiki markup to the XHTML based storage format.booleandeactivateUser(String token, String username) Deactivates the given usereditComment(String token, RemoteComment comment) Updates a commentbooleaneditUser(String token, RemoteUser remoteUser) Edits a user with the values in the given RemoteUser objectemptyTrash(String token, String spaceKey) Remove all content from the trash in the given space, deleting them permanently.booleanflushIndexQueue(String token) String[]getActiveUsers(String token, boolean viewAll) Returns a list of the current system usersgetAncestors(String token, long pageId) Returns all direct ancestor pages of the page with the given pageId the user authenticated by token is allowed to view.getAttachment(String token, long contentId, String fileName, int version) Retrieve information about an attachment.byte[]getAttachmentData(String token, long contentId, String fileName, int version) Retrieve the contents of an attachment.getAttachments(String token, long pageId) getBlogEntries(String token, String spaceKey) getBlogEntry(String token, long entryId) getBlogEntryByDateAndTitle(String token, String spaceKey, int year, int month, int dayOfMonth, String postTitle) Retrieves a blog post in the given space, with the title and date as specified.getBlogEntryByDayAndTitle(String token, String spaceKey, int dayOfMonth, String postTitle) Retrieves a blog post in the Space with the given spaceKey, with the title 'postTitle' and posted on the day 'dayOfMonth'getChildren(String token, long pageId) Returns all child pages of the page with the given pageId the user authenticated by token is allowed to view.getClusterInformation(String token) getClusterNodeStatuses(String token) Retrieves the status of all nodes in the clustergetComment(String token, long commentId) Retrieves a comment with the given IDgetComments(String token, long pageId) Retrieves the comments for a given abstract pagegetContentPermissionSet(String token, long contentId, String permissionType) Get the content permission set of a certain type for a particular piece of contentgetContentPermissionSets(String token, long contentId) Get the content permission sets for a particular piece of contentgetDescendents(String token, long pageId) Returns all descendent pages of the page with the given pageId the user authenticated by token is allowed to view.String[]Retrieves a list of user groupsgetLabelContentById(String token, long labelId) Returns the content for a given label IDgetLabelContentByName(String token, String labelName) Returns the content for a given label namegetLabelContentByObject(String token, RemoteLabel labelObject) Returns the content for a given label objectRetrieves the labels matching the given labelName, namespace or owner.getLabelsById(String token, long objectId) Returns all labels for the given ContentEntityObject ID.getMostPopularLabels(String token, int maxCount) Returns the most popular labels for the Confluence instance, with a specified maximum number of results.getMostPopularLabelsInSpace(String token, String spaceKey, int maxCount) Returns the most popular labels for the given spaceKey, with a specified maximum number of results.getPageHistory(String token, long pageId) getPagePermissions(String token, long pageId) Returns all pages of the space with the given spaceKey the user authenticated by token is allowed to view.getPageSummary(String token, long pageId) getPageSummary(String token, String spaceKey, String pageTitle) String[]getPermissions(String token, String spaceKey) String[]getPermissionsForUser(String token, String spaceKey, String userName) getRecentlyUsedLabels(String token, int maxResults) Returns the recently used labels for the Confluence instance, with a specified maximum number of results.getRecentlyUsedLabelsInSpace(String token, String spaceKey, int maxResults) Returns the recently used labels for the given spaceKey, with a specified maximum number of results.getRelatedLabels(String token, String labelName, int maxResults) Returns the labels related to the given label name, with a specified maximum number of results.getRelatedLabelsInSpace(String token, String labelName, String spaceKey, int maxResults) Returns the labels related to the given label name for the given spaceKey, with a specified maximum number of results.getServerInfo(String token) getSpaceGroup(String token, String spaceGroupKey) getSpaceGroups(String token) String[]getSpaceLevelPermissions(String token) getSpacePermissionSet(String token, String spaceKey, String permissionType) getSpacePermissionSets(String token, String spaceKey) getSpacesContainingContentWithLabel(String token, String labelName) Returns all Spaces that have content labelled with labelNamegetSpacesInGroup(String token, String spaceGroupKey) getSpaceStatus(String token, String spaceKey) getSpacesWithLabel(String token, String labelName) Returns an array of Spaces that have been labelled with labelNamegetTopLevelPages(String token, String spaceKey) Returns all top level pages of the space with the given spaceKey the user authenticated by token is allowed to view.getTrashContents(String token, String spaceKey, int offset, int count) Get the contents of the trash for the given space, starting at 'offset' and returning at most 'count' items.getUserByKey(String token, String key) Retrieves a user with the given user key.getUserByName(String token, String username) Retrieves a user with the given username.String[]getUserGroups(String token, String username) Retrieves the groups that a given user belongs togetUserInformation(String token, String username) Retrieves a user's informationbooleangetUserPreferenceBoolean(String token, String username, String key) Get a user preference as a boolean value.longgetUserPreferenceLong(String token, String username, String key) Get a user preference as a long integer value.getUserPreferenceString(String token, String username, String key) Get a user preference as a String value.getWatchersForPage(String token, long pageId) Returns the list of users watching the page or blog post with the given ID.getWatchersForSpace(String token, String spaceKey) Returns the list of users watching the space with the given key.booleanDetermines whether a group existsbooleanDetermines whether a user existsbooleaninstallPlugin(String token, String pluginFileName, byte[] pluginData) Installs a plugin.booleanisActiveUser(String token, String username) Checks if a given user is active.booleanisDarkFeatureEnabled(String token, String key) booleanisPluginEnabled(String token, String pluginKey) Returns true if the specified plugin is enabled.booleanisPluginInstalled(String token, String pluginKey) Returns true if the specified plugin is installed.booleanisWatchingPage(String token, long pageId, String username) Returns true if the specified user is watching the page or blog post with the given ID, otherwise false.booleanisWatchingSpace(String token, String spaceKey, String username) Returns true if the specified user is watching the space with the given key, otherwise false.booleanisWatchingSpaceForType(String token, String spaceKey, String contentType, String username) Returns true if the specified user is watching the specified type of content in space with the given key, otherwise false.booleanbooleanmoveAttachment(String token, long originalContentId, String originalFileName, long newContentId, String newFileName) Move or rename an attachmentmovePageToTopLevel(String token, long pageId, String targetSpaceKey) purgeFromTrash(String token, String spaceKey, long pageId) booleanreactivateUser(String token, String username) Reactivates the given userbooleanrecoverMainIndex(String token) booleanrefreshIndex(String token) Refresh the index immediately, which publishes its most recent changes and makes them available for searching.booleanremoveAllPermissionsForGroup(String token, String groupname) Deletes all global and space permissions for the given groupbooleanremoveAnonymousPermissionFromSpace(String token, String permission, String spaceKey) Removes a Space Permission for anonymous usersbooleanRemove anonymous use permission.booleanbooleanremoveAttachment(String token, long contentId, String fileName) Remove an attachment.booleanremoveComment(String token, long commentId) Removes a comment with the given IDbooleanremoveGlobalPermission(String token, String permission, String remoteEntityName) Remove a global permissionbooleanremoveGroup(String token, String groupname, String defaultGroupName) Removes an existing groupbooleanremoveLabelById(String token, long labelId, long objectId) Removes the label with the given ID from the object with the given ContentEntityObject ID.booleanremoveLabelByName(String token, String labelName, long objectId) Removes the given label from the object with the given ContentEntityObject ID.booleanremoveLabelByNameFromSpace(String token, String labelName, String spaceKey) Removes the given label from the given SpacebooleanremoveLabelByObject(String token, RemoteLabel labelObject, long objectId) Removes the given label object from the object with the given ContentEntityObject ID.removePage(String token, long pageId) removePageVersionById(String token, long historicalPageId) Remove a historical version of a page.removePageVersionByVersion(String token, long pageId, int version) Remove the identified version of a page.booleanremovePageWatch(String token, long pageId) Remove a watch for the current user on the page or blog post with the specified page ID.booleanremovePageWatchForUser(String token, long pageId, String username) Removes a watch from a specific page or blog post for a particular user.booleanremovePermissionFromSpace(String token, String permission, String remoteEntityName, String spaceKey) Removes a Space Permission for a user or groupremoveSpace(String token, String spaceKey) booleanremoveSpaceGroup(String token, String spaceGroupKey) Removes a Space Group from Confluence without removing the space it contains.booleanremoveSpaceWatch(String token, String spaceKey) Removes a watch for the current user on the space with the specified space key.booleanremoveUser(String token, String username) Removes a user with the given usernamebooleanremoveUserFromGroup(String token, String username, String groupname) Removes the given user from a groupbooleanrenameUser(String token, String oldUsername, String newUsername) Change user's usernameString[]renameUsers(String token, Map<String, String> oldUsernamesToNewUsernames) Change usernames for a set of usersrenderContent(String token, String spaceKey, long pageId, String newContent) renderContent(String token, String spaceKey, long pageId, String newContent, Map renderParameters) Search Confluence for the supplied query String.Search Confluence for the supplied query String.voidsetAdminSoapService(AdminSoapService adminSoapService) voidsetAttachmentsSoapService(AttachmentsSoapService attachmentsService) voidsetBlogsSoapService(BlogsSoapService blogsService) voidsetContentEntityObjectDao(ContentEntityObjectDao contentEntityObjectDao) booleansetContentPermissions(String token, long contentId, String permissionType, RemoteContentPermission[] remoteContentPermissions) Set the content permissions for a particular permission type on some content.booleansetEnableAnonymousAccess(String token, boolean value) voidsetGlobalSoapService(AdminSoapService adminSoapService) voidsetLabelsSoapService(LabelsSoapService labelsSoapService) voidsetMailServerManager(com.atlassian.mail.server.MailServerManager mailServerManager) voidsetNotificationsSoapService(NotificationsSoapService notificationsSoapService) voidsetPagesSoapService(PagesSoapService pagesService) voidsetSpacesSoapService(SpacesSoapService spacesService) setSpaceStatus(String token, String spaceKey, String status) booleansetUserInformation(String token, RemoteUserInformation userInfo) Updates a user's informationbooleansetUserPreferenceBoolean(String token, String username, String key, boolean value) Set a user preference to a boolean value.booleansetUserPreferenceLong(String token, String username, String key, long value) Set a user preference to an long integer value.booleansetUserPreferenceString(String token, String username, String key, String value) Set a user preference to a String value.voidsetUsersSoapService(UsersSoapService usersService) voidsetWikiToXhtmlMigrator(ExceptionTolerantMigrator wikiToXhtmlMigrator) voidsetXhtmlRoundTripMigrator(ExceptionTolerantMigrator xhtmlRoundTripMigrator) booleanstartActivity(String token, String key, String user) Call startActivity on the heartbeat manager beanbooleanstopActivity(String token, String key, String user) Call stopActivity on the heartbeat manager beanstoreBlogEntry(String token, RemoteBlogEntry blogEntry) storePage(String token, RemotePage page) storeSpace(String token, RemoteSpace remoteSpace) Allows for modifying space details via the remote API.updatePage(String token, RemotePage page, RemotePageUpdateOptions options) booleanAdds a watch for the current user on the page or blog post with the specified page ID.booleanwatchPageForUser(String token, long pageId, String username) Adds a watch to a specific page or blog post for a particular user.booleanwatchSpace(String token, String spaceKey) Adds a watch for the current user on the space with the specified space key.
- 
Field Details- 
VIEW_SPACE_PERMISSION_TYPES
- 
MODIFY_SPACE_PERMISSION_TYPES
- 
ADMINISTER_PERMISSION_TYPES
- 
SPACE_ADMIN_PERMISSION_TYPES
- 
REMOVE_PAGE_PERMISSION_TYPES
- 
EXPORT_SPACE_PERMISSION_TYPES
 
- 
- 
Constructor Details- 
XhtmlSoapServicepublic XhtmlSoapService()
 
- 
- 
Method Details- 
setSpacesSoapService
- 
setPagesSoapService
- 
setUsersSoapService
- 
setBlogsSoapService
- 
setGlobalSoapService
- 
setAdminSoapService
- 
setLabelsSoapService
- 
setAttachmentsSoapService
- 
setNotificationsSoapService
- 
login- Specified by:
- loginin interface- ConfluenceSoapService
- Specified by:
- loginin interface- SecureRpc
 
- 
logout- Specified by:
- logoutin interface- ConfluenceSoapService
- Specified by:
- logoutin interface- SecureRpc
 
- 
getSpaces- Specified by:
- getSpacesin interface- ConfluenceSoapService
 
- 
getSpacesInGroup- Specified by:
- getSpacesInGroupin interface- ConfluenceSoapService
 
- 
addSpaceWithDefaultPermissionspublic RemoteSpace addSpaceWithDefaultPermissions(String token, RemoteSpace space) throws RemoteException - Specified by:
- addSpaceWithDefaultPermissionsin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
addSpace- Specified by:
- addSpacein interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
storeSpaceDescription copied from interface:ConfluenceSoapServiceAllows for modifying space details via the remote API. Currently you can update the following space properties:- Name
- Homepage
- SpaceGroup
 - Specified by:
- storeSpacein interface- ConfluenceSoapService
- Parameters:
- remoteSpace-
- Returns:
- the updated space
- Throws:
- RemoteException
 
- 
addSpaceGrouppublic RemoteSpaceGroup addSpaceGroup(String token, RemoteSpaceGroup spaceGroup) throws RemoteException Description copied from interface:ConfluenceSoapServiceAdd a space Group to Confluence- Specified by:
- addSpaceGroupin interface- ConfluenceSoapService
- Parameters:
- token- the authentication token
- spaceGroup- the spacegroup to add
- Returns:
- the space group
- Throws:
- RemoteException
 
- 
getSpaceGroup- Specified by:
- getSpaceGroupin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
getSpaceGroups- Specified by:
- getSpaceGroupsin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
removeSpaceGroupDescription copied from interface:ConfluenceSoapServiceRemoves a Space Group from Confluence without removing the space it contains. Currently requires global administration rights- Specified by:
- removeSpaceGroupin interface- ConfluenceSoapService
- Parameters:
- token- the authentication token
- spaceGroupKey- the id of the spacegroup to be removed
- Returns:
- true, if the space group was removed
- Throws:
- RemoteException
 
- 
addPersonalSpacepublic RemoteSpace addPersonalSpace(String token, RemoteSpace space, String username) throws RemoteException - Specified by:
- addPersonalSpacein interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
addPersonalSpaceWithDefaultPermissionspublic RemoteSpace addPersonalSpaceWithDefaultPermissions(String token, RemoteSpace space, String username) throws RemoteException - Specified by:
- addPersonalSpaceWithDefaultPermissionsin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
removeSpace- Specified by:
- removeSpacein interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
getSpace- Specified by:
- getSpacein interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
getSpaceStatus- Specified by:
- getSpaceStatusin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
setSpaceStatus- Specified by:
- setSpaceStatusin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
getPermissions- Specified by:
- getPermissionsin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
getPermissionsForUserpublic String[] getPermissionsForUser(String token, String spaceKey, String userName) throws RemoteException - Specified by:
- getPermissionsForUserin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
getSpacePermissionSetspublic RemoteSpacePermissionSet[] getSpacePermissionSets(String token, String spaceKey) throws RemoteException - Specified by:
- getSpacePermissionSetsin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
getSpacePermissionSetpublic RemoteSpacePermissionSet getSpacePermissionSet(String token, String spaceKey, String permissionType) throws RemoteException - Specified by:
- getSpacePermissionSetin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
addPermissionToSpacepublic boolean addPermissionToSpace(String token, String permission, String remoteEntityName, String spaceKey) throws RemoteException Description copied from interface:ConfluenceSoapServiceAdd a Space Permission for a user or group- Specified by:
- addPermissionToSpacein interface- ConfluenceSoapService
- Parameters:
- token- the authentication token
- permission- the Space Permission to add
- remoteEntityName- the name of the user or group
- spaceKey- the key of the Space affected by this action
- Returns:
- True if successful, false otherwise
- Throws:
- RemoteException- if the Space Permission is null
- RemoteException- if the Space does not exist
- RemoteException- if the remoteEntityName is null or does not match a user or group
 
- 
addPermissionsToSpacepublic boolean addPermissionsToSpace(String token, String[] permissions, String remoteEntityName, String spaceKey) throws RemoteException Description copied from interface:ConfluenceSoapServiceAdd Space Permissions for a user or group- Specified by:
- addPermissionsToSpacein interface- ConfluenceSoapService
- Parameters:
- token- the authentication token
- permissions- the Space Permissions to add
- remoteEntityName- the name of the user or group
- spaceKey- the key of the Space affected by this action
- Returns:
- True if successful, false otherwise
- Throws:
- RemoteException- if the Space Permissions array is null
- RemoteException- if the Space does not exist
- RemoteException- if the remoteEntityName is null or does not match a user or group
 
- 
removePermissionFromSpacepublic boolean removePermissionFromSpace(String token, String permission, String remoteEntityName, String spaceKey) throws RemoteException Description copied from interface:ConfluenceSoapServiceRemoves a Space Permission for a user or group- Specified by:
- removePermissionFromSpacein interface- ConfluenceSoapService
- Parameters:
- token- the authentication token
- permission- the Space Permission to remove
- remoteEntityName- the name of the user or group
- spaceKey- the key of the Space affected by this action
- Returns:
- True if successful, false otherwise
- Throws:
- RemoteException- if the Space does not exist
- RemoteException- if the remoteEntityName is null or does not match a user or group
 
- 
addGlobalPermissionpublic boolean addGlobalPermission(String token, String permission, String remoteEntityName) throws RemoteException Description copied from interface:ConfluenceSoapServiceAdd global permissions for a user or group- Specified by:
- addGlobalPermissionin interface- ConfluenceSoapService
- Parameters:
- token- the login token
- permission- the Space Permission to add
- remoteEntityName- the name of the user or group
- Returns:
- True if successful, false otherwise
- Throws:
- RemoteException
 
- 
addGlobalPermissionspublic boolean addGlobalPermissions(String token, String[] permissions, String remoteEntityName) throws RemoteException Description copied from interface:ConfluenceSoapServiceAdd a global permission for a user or group- Specified by:
- addGlobalPermissionsin interface- ConfluenceSoapService
- Parameters:
- token- the login token
- permissions- Array of permissions to add
- remoteEntityName- the name of the user or group
- Returns:
- True if successful, false otherwise
- Throws:
- RemoteException
 
- 
removeGlobalPermissionpublic boolean removeGlobalPermission(String token, String permission, String remoteEntityName) throws RemoteException Description copied from interface:ConfluenceSoapServiceRemove a global permission- Specified by:
- removeGlobalPermissionin interface- ConfluenceSoapService
- Parameters:
- token- the login token
- permission- the Space Permission to add
- remoteEntityName- the name of the user or group
- Returns:
- True if successful, false otherwise
- Throws:
- RemoteException
 
- 
addAnonymousUsePermission- Specified by:
- addAnonymousUsePermissionin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
removeAnonymousUsePermissionDescription copied from interface:ConfluenceSoapServiceRemove anonymous use permission. If the anonymous user also has 'view user profile' permission then this will also be removed.- Specified by:
- removeAnonymousUsePermissionin interface- ConfluenceSoapService
- Parameters:
- token- the login token
- Returns:
- true if successful, false otherwise.
- Throws:
- RemoteException
 
- 
addAnonymousViewUserProfilePermissionDescription copied from interface:ConfluenceSoapServiceThis permission can only be set if the anonymous user already has 'use' permission. If this is not the case then false will be returned.- Specified by:
- addAnonymousViewUserProfilePermissionin interface- ConfluenceSoapService
- Parameters:
- token- the login token
- Returns:
- true if successfully set; otherwise false.
- Throws:
- RemoteException
 
- 
removeAnonymousViewUserProfilePermission- Specified by:
- removeAnonymousViewUserProfilePermissionin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
addAnonymousPermissionToSpacepublic boolean addAnonymousPermissionToSpace(String token, String permission, String spaceKey) throws RemoteException Description copied from interface:ConfluenceSoapServiceAdd a Space Permission for anonymous users- Specified by:
- addAnonymousPermissionToSpacein interface- ConfluenceSoapService
- Parameters:
- token- the authentication token
- permission- the Space Permission to add
- spaceKey- the key of the Space affected by this action
- Returns:
- True if successful, false otherwise
- Throws:
- RemoteException- if the Space Permission is null
- RemoteException- if the Space does not exist
- RemoteException- if the remoteEntityName is null or does not match a user or group
 
- 
addAnonymousPermissionsToSpacepublic boolean addAnonymousPermissionsToSpace(String token, String[] permissions, String spaceKey) throws RemoteException Description copied from interface:ConfluenceSoapServiceAdd Space Permissions for anonymous users- Specified by:
- addAnonymousPermissionsToSpacein interface- ConfluenceSoapService
- Parameters:
- token- the authentication token
- permissions- the Space Permissions to add
- spaceKey- the key of the Space affected by this action
- Returns:
- True if successful, false otherwise
- Throws:
- RemoteException- if the Space Permissions array is null
- RemoteException- if the Space does not exist
- RemoteException- if the remoteEntityName is null or does not match a user or group
 
- 
removeAnonymousPermissionFromSpacepublic boolean removeAnonymousPermissionFromSpace(String token, String permission, String spaceKey) throws RemoteException Description copied from interface:ConfluenceSoapServiceRemoves a Space Permission for anonymous users- Specified by:
- removeAnonymousPermissionFromSpacein interface- ConfluenceSoapService
- Parameters:
- token- the authentication token
- permission- the Space Permission to remove
- spaceKey- the key of the Space affected by this action
- Returns:
- True if successful, false otherwise
- Throws:
- RemoteException- if the Space does not exist
- RemoteException- if the remoteEntityName is null or does not match a user or group
 
- 
getSpaceLevelPermissions- Specified by:
- getSpaceLevelPermissionsin interface- ConfluenceSoapService
 
- 
getPagesDescription copied from interface:ConfluenceSoapServiceReturns all pages of the space with the given spaceKey the user authenticated by token is allowed to view. The result is not ordered.- Specified by:
- getPagesin interface- ConfluenceSoapService
- Parameters:
- token- the authentication token
- spaceKey- the key of the space which pages are to be returned
- Throws:
- RemoteException
 
- 
getPage- Specified by:
- getPagein interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
getPage- Specified by:
- getPagein interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
getPageSummarypublic RemotePageSummary getPageSummary(String token, String spaceKey, String pageTitle) throws RemoteException - Specified by:
- getPageSummaryin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
getPageSummary- Specified by:
- getPageSummaryin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
getCommentsDescription copied from interface:ConfluenceSoapServiceRetrieves the comments for a given abstract page- Specified by:
- getCommentsin interface- ConfluenceSoapService
- Parameters:
- token- the authentication token
- pageId- the content ID of the abstract page
- Returns:
- RemoteComment object with the comment details
- Throws:
- RemoteException- if the object for the pageId is null, or the user lacks permissions
 
- 
getCommentDescription copied from interface:ConfluenceSoapServiceRetrieves a comment with the given ID- Specified by:
- getCommentin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- commentId- The ID of the comment to be retrieved
- Returns:
- A RemoteComment object containing the comment information
- Throws:
- RemoteException- if the comment cannot be found
- RemoteException- if the comment cannot be viewed by the user
- RemoteException- if the page the comment is on cannot be viewed by the user
- RemoteException- if the retrieved object is not a comment
 
- 
addCommentDescription copied from interface:ConfluenceSoapServiceAdds a comment to a page or blog post- Specified by:
- addCommentin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- comment- The RemoteComment object containing the comment information
- Returns:
- RemoteComment object
- Throws:
- RemoteException- if the user does not have permission to view the page the comment is being posted to, or it does not exist
 
- 
editCommentDescription copied from interface:ConfluenceSoapServiceUpdates a comment- Specified by:
- editCommentin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- comment- The RemoteComment object containing the comment information
- Returns:
- RemoteComment object
- Throws:
- RemoteException- if the user does not have permission to view the page the comment is being posted to, or it does not exist
 
- 
removeCommentDescription copied from interface:ConfluenceSoapServiceRemoves a comment with the given ID- Specified by:
- removeCommentin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- commentId- The ID of the comment to remove
- Returns:
- True if successful, false otherwise
- Throws:
- RemoteException- if the user does not have permission to view the page the comment is on, or it does not exist
- RemoteException- if the comment does not exist
 
- 
getTopLevelPagesDescription copied from interface:ConfluenceSoapServiceReturns all top level pages of the space with the given spaceKey the user authenticated by token is allowed to view. The result is ordered by child page order.- Specified by:
- getTopLevelPagesin interface- ConfluenceSoapService
- Parameters:
- token- the authentication token
- spaceKey- the key of the space which pages are to be returned
- Throws:
- RemoteException
 
- 
getAncestorsDescription copied from interface:ConfluenceSoapServiceReturns all direct ancestor pages of the page with the given pageId the user authenticated by token is allowed to view. The result is not ordered.- Specified by:
- getAncestorsin interface- ConfluenceSoapService
- Parameters:
- token- the authentication token
- pageId- the id of the page which child pages are to be returned
- Throws:
- RemoteException
 
- 
getChildrenDescription copied from interface:ConfluenceSoapServiceReturns all child pages of the page with the given pageId the user authenticated by token is allowed to view. The result is ordered by child page order.- Specified by:
- getChildrenin interface- ConfluenceSoapService
- Parameters:
- token- the authentication token
- pageId- the id of the page which child pages are to be returned
- Throws:
- RemoteException
 
- 
getDescendentsDescription copied from interface:ConfluenceSoapServiceReturns all descendent pages of the page with the given pageId the user authenticated by token is allowed to view. The result is not ordered.- Specified by:
- getDescendentsin interface- ConfluenceSoapService
- Parameters:
- token- the authentication token
- pageId- the id of the page which child pages are to be returned
- Throws:
- RemoteException
 
- 
getAttachments- Specified by:
- getAttachmentsin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
getPageHistory- Specified by:
- getPageHistoryin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
watchPageDescription copied from interface:ConfluenceSoapServiceAdds a watch for the current user on the page or blog post with the specified page ID.- Specified by:
- watchPagein interface- ConfluenceSoapService
- Returns:
- true if the watch was added, or false if it already exists
- Throws:
- RemoteException- if the watch could not be added
 
- 
watchSpaceDescription copied from interface:ConfluenceSoapServiceAdds a watch for the current user on the space with the specified space key.- Specified by:
- watchSpacein interface- ConfluenceSoapService
- Returns:
- true if the watch was added, or false if it already exists
- Throws:
- RemoteException- if the watch could not be added
 
- 
watchPageForUserDescription copied from interface:ConfluenceSoapServiceAdds a watch to a specific page or blog post for a particular user. This is only permitted for administrators of the space containing the page or blog post.- Specified by:
- watchPageForUserin interface- ConfluenceSoapService
- Returns:
- true if the watch was added, or false if it already exists
- Throws:
- RemoteException- if the watch could not be added, or the current user does not have permission to add it
 
- 
removePageWatchDescription copied from interface:ConfluenceSoapServiceRemove a watch for the current user on the page or blog post with the specified page ID.- Specified by:
- removePageWatchin interface- ConfluenceSoapService
- Returns:
- true if the watch was removed, or false if it doesn't exist
- Throws:
- RemoteException- if the watch could not be removed
 
- 
removeSpaceWatchDescription copied from interface:ConfluenceSoapServiceRemoves a watch for the current user on the space with the specified space key.- Specified by:
- removeSpaceWatchin interface- ConfluenceSoapService
- Returns:
- true if the watch was remove, or false if it doesn't exist
- Throws:
- RemoteException- if the watch could not be removed
 
- 
removePageWatchForUserpublic boolean removePageWatchForUser(String token, long pageId, String username) throws RemoteException Description copied from interface:ConfluenceSoapServiceRemoves a watch from a specific page or blog post for a particular user. This is only permitted for administrators of the space containing the page or blog post.- Specified by:
- removePageWatchForUserin interface- ConfluenceSoapService
- Returns:
- true if the watch was removed, or false if it doesn't exist
- Throws:
- RemoteException- if the watch could not be removed, or the current user does not have permission to remove it
 
- 
isWatchingPageDescription copied from interface:ConfluenceSoapServiceReturns true if the specified user is watching the page or blog post with the given ID, otherwise false. This information is only available to administrators of the space containing the page or blog post, if the username is not the same as the current user's.- Specified by:
- isWatchingPagein interface- ConfluenceSoapService
- Returns:
- true if the user is watching the page, otherwise false
- Throws:
- RemoteException- if the current user does not have permission to see the page or administer the space, or if the page or user does not exist
 
- 
isWatchingSpacepublic boolean isWatchingSpace(String token, String spaceKey, String username) throws RemoteException Description copied from interface:ConfluenceSoapServiceReturns true if the specified user is watching the space with the given key, otherwise false. This information is only available to administrators of the space if the username is not the same as the current user's.- Specified by:
- isWatchingSpacein interface- ConfluenceSoapService
- Returns:
- true if the user is watching the space, otherwise false
- Throws:
- RemoteException- if the current user does not have permission to administer the space, or if the user does not exist
 
- 
isWatchingSpaceForTypepublic boolean isWatchingSpaceForType(String token, String spaceKey, String contentType, String username) throws RemoteException Description copied from interface:ConfluenceSoapServiceReturns true if the specified user is watching the specified type of content in space with the given key, otherwise false. This information is only available to administrators of the space if the username is not the same as the current user's.Note that this method will return false if the user is watching the entire space and not just the given type. - Specified by:
- isWatchingSpaceForTypein interface- ConfluenceSoapService
- Returns:
- true if the user is watching the space for the type, otherwise false
- Throws:
- RemoteException- if the current user does not have permission to administer the space, or if the user does not exist
 
- 
getWatchersForPageDescription copied from interface:ConfluenceSoapServiceReturns the list of users watching the page or blog post with the given ID. This information is only available to administrators of the space containing the page or blog post.- Specified by:
- getWatchersForPagein interface- ConfluenceSoapService
- Returns:
- the list of users watching the page
- Throws:
- RemoteException- if the current user does not have permission to see the page or administer the space, or if the page does not exist
 
- 
getWatchersForSpaceDescription copied from interface:ConfluenceSoapServiceReturns the list of users watching the space with the given key. This information is only available to administrators of the space.- Specified by:
- getWatchersForSpacein interface- ConfluenceSoapService
- Returns:
- the list of users watching the space
- Throws:
- RemoteException- if the current user does not have permission to administer the space, or if the space does not exist
 
- 
searchpublic RemoteSearchResult[] search(String token, String query, int maxResults) throws RemoteException Description copied from interface:ConfluenceSoapServiceSearch Confluence for the supplied query String. Please be sensible in your use of the maxResults parameter. Too large a value will result in this call taking a long time. - Specified by:
- searchin interface- ConfluenceSoapService
- Parameters:
- token- the authentication token
- query- the query term for the search
- maxResults- the maximum number of results to be returned.
- Returns:
- an array of RemoteSearchResults. If there are no results then an empty array will be returned.
- Throws:
- RemoteException
 
- 
searchpublic RemoteSearchResult[] search(String token, String query, Map params, int maxResults) throws RemoteException Description copied from interface:ConfluenceSoapServiceSearch Confluence for the supplied query String. Please be sensible in your use of the maxResults parameter. A Map of search criteria can be specified. The following keys are understood - - spaceKey - a key representing a single space to limit the search to.
- type - the type of content to limit the search to.
- modified - a String representation of a time range.
 - Specified by:
- searchin interface- ConfluenceSoapService
- Parameters:
- token- the authentication token
- query- the query term for the search
- params- a- Map<String,String>providing criteria to the search.
- maxResults- the maximum number of results to be returned.
- Returns:
- an array of RemoteSearchResults. If there are no results then an empty array will be returned.
- Throws:
- RemoteException
 
- 
getBlogEntryByDayAndTitlepublic RemoteBlogEntry getBlogEntryByDayAndTitle(String token, String spaceKey, int dayOfMonth, String postTitle) throws RemoteException Description copied from interface:ConfluenceSoapServiceRetrieves a blog post in the Space with the given spaceKey, with the title 'postTitle' and posted on the day 'dayOfMonth'- Specified by:
- getBlogEntryByDayAndTitlein interface- ConfluenceSoapService
- Parameters:
- token- the authentication token
- spaceKey- the key of the Space the blog post belongs to
- dayOfMonth- the day of the month the blog post was made
- postTitle- the title of the blog post
- Returns:
- A RemoteBlogEntry object
- Throws:
- RemoteException- if the user does not have permission to view the blog post, or it does not exist
 
- 
getBlogEntryByDateAndTitlepublic RemoteBlogEntry getBlogEntryByDateAndTitle(String token, String spaceKey, int year, int month, int dayOfMonth, String postTitle) throws RemoteException Description copied from interface:ConfluenceSoapServiceRetrieves a blog post in the given space, with the title and date as specified.- Specified by:
- getBlogEntryByDateAndTitlein interface- ConfluenceSoapService
- Returns:
- a blog post matching the criteria
- Throws:
- RemoteException- if the user does not have permission to view the blog post or it does not exist
 
- 
renderContentpublic String renderContent(String token, String spaceKey, long pageId, String newContent) throws RemoteException - Specified by:
- renderContentin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
renderContentpublic String renderContent(String token, String spaceKey, long pageId, String newContent, Map renderParameters) throws RemoteException - Specified by:
- renderContentin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
convertWikiToStorageFormatDescription copied from interface:ConfluenceSoapServiceConverts a string from wiki markup to the XHTML based storage format.- Specified by:
- convertWikiToStorageFormatin interface- ConfluenceSoapService
- Returns:
- a string converted to the storage format
- Throws:
- RemoteException
 
- 
addAttachmentpublic RemoteAttachment addAttachment(String token, long contentId, RemoteAttachment attachment, byte[] attachmentData) throws RemoteException Description copied from interface:ConfluenceSoapServiceAdd a new attachment to a ContentEntityObject.- Specified by:
- addAttachmentin interface- ConfluenceSoapService
- Parameters:
- token- the authentication token
- contentId- the id of the ContentEntityObject to receive the new attachment.
- attachment- RemoteAttachment object containing attachment information
- attachmentData- a byte[] continaing the contents of the attachment.
- Returns:
- the newly created attachment
- Throws:
- RemoteException
 
- 
getAttachmentpublic RemoteAttachment getAttachment(String token, long contentId, String fileName, int version) throws RemoteException Description copied from interface:ConfluenceSoapServiceRetrieve information about an attachment.- Specified by:
- getAttachmentin interface- ConfluenceSoapService
- Parameters:
- token- the authentication token.
- contentId- the id of the ContentEntityObject the attachemt belongs to.
- fileName- the name of the attachment.
- version- the version number of the attachment.
- Returns:
- the attachment
- Throws:
- RemoteException
 
- 
getAttachmentDatapublic byte[] getAttachmentData(String token, long contentId, String fileName, int version) throws RemoteException Description copied from interface:ConfluenceSoapServiceRetrieve the contents of an attachment.- Specified by:
- getAttachmentDatain interface- ConfluenceSoapService
- Parameters:
- token- the authentication token.
- contentId- the id of the ContentEntityObject the attachemt belongs to.
- fileName- the name of the attachment.
- version- the version number of the attachment.
- Returns:
- the attachment's data
- Throws:
- RemoteException
 
- 
removeAttachmentpublic boolean removeAttachment(String token, long contentId, String fileName) throws RemoteException Description copied from interface:ConfluenceSoapServiceRemove an attachment.- Specified by:
- removeAttachmentin interface- ConfluenceSoapService
- Parameters:
- token- the authentication token.
- contentId- the id of the ContentEntityObject the attachment belongs to.
- fileName- the name of the attachment.
- Returns:
- true if the attachment was deleted.
- Throws:
- RemoteException
 
- 
moveAttachmentpublic boolean moveAttachment(String token, long originalContentId, String originalFileName, long newContentId, String newFileName) throws RemoteException Description copied from interface:ConfluenceSoapServiceMove or rename an attachment- Specified by:
- moveAttachmentin interface- ConfluenceSoapService
- Parameters:
- token- the authentication token.
- originalContentId- the id of the ContentEntityObject the attachment belongs to.
- originalFileName- the name of the attachment.
- newContentId- the id of the ContentEntityObject the attachment is to be moved to.
- newFileName- the name the attachment is to be renamed to.
- Returns:
- true
- Throws:
- RemoteException
 
- 
movePageToTopLevelpublic Boolean movePageToTopLevel(String token, long pageId, String targetSpaceKey) throws RemoteException - Specified by:
- movePageToTopLevelin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
movePagepublic Boolean movePage(String token, long sourcePageId, long targetPageId, String position) throws RemoteException - Specified by:
- movePagein interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
removePage- Specified by:
- removePagein interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
removePageVersionByIdDescription copied from interface:ConfluenceSoapServiceRemove a historical version of a page. The id supplied must identify a historical version of a page rather than the latest version of the page. If you want to remove the latest version of a page and its full version history then seeConfluenceSoapService.removePage(String, long).- Specified by:
- removePageVersionByIdin interface- ConfluenceSoapService
- Parameters:
- token-
- historicalPageId- the id of a historical version of a page
- Returns:
- true if successfully remove, otherwise false.
- Throws:
- RemoteException
 
- 
removePageVersionByVersionpublic Boolean removePageVersionByVersion(String token, long pageId, int version) throws RemoteException Description copied from interface:ConfluenceSoapServiceRemove the identified version of a page. The pageId must identify a current page.- Specified by:
- removePageVersionByVersionin interface- ConfluenceSoapService
- Parameters:
- token-
- pageId- the id of the page which you want to remove a version from.
- version- the version of the page to be removed (with 1 being the first).
- Returns:
- true if successful; otherwise false.
- Throws:
- RemoteException
 
- 
storePage- Specified by:
- storePagein interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
updatePagepublic RemotePage updatePage(String token, RemotePage page, RemotePageUpdateOptions options) throws RemoteException - Specified by:
- updatePagein interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
getPagePermissions- Specified by:
- getPagePermissionsin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
getTrashContentspublic RemoteContentSummaries getTrashContents(String token, String spaceKey, int offset, int count) throws RemoteException Description copied from interface:ConfluenceSoapServiceGet the contents of the trash for the given space, starting at 'offset' and returning at most 'count' items.- Specified by:
- getTrashContentsin interface- ConfluenceSoapService
- Parameters:
- token-
- spaceKey- the key of the space which trash contents are to be returned
- offset- the first result to return
- count- the maximum number of items to retrieve
- Returns:
- RemoteContentSummaries of retrieved trash contents
- Throws:
- RemoteException
 
- 
purgeFromTrash- Specified by:
- purgeFromTrashin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
emptyTrashDescription copied from interface:ConfluenceSoapServiceRemove all content from the trash in the given space, deleting them permanently.- Specified by:
- emptyTrashin interface- ConfluenceSoapService
- Parameters:
- token-
- spaceKey- the key of the space which trash is to be removed
- Returns:
- true if successfully remove, otherwise false.
- Throws:
- RemoteException
 
- 
getBlogEntry- Specified by:
- getBlogEntryin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
getBlogEntriespublic RemoteBlogEntrySummary[] getBlogEntries(String token, String spaceKey) throws RemoteException - Specified by:
- getBlogEntriesin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
storeBlogEntrypublic RemoteBlogEntry storeBlogEntry(String token, RemoteBlogEntry blogEntry) throws RemoteException - Specified by:
- storeBlogEntryin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
getGroupsDescription copied from interface:ConfluenceSoapServiceRetrieves a list of user groups- Specified by:
- getGroupsin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- Returns:
- An array of group names
- Throws:
- RemoteException
 
- 
hasGroupDescription copied from interface:ConfluenceSoapServiceDetermines whether a group exists- Specified by:
- hasGroupin interface- ConfluenceSoapService
- Parameters:
- token- the token identifying the current user
- groupname- the group to look up
- Returns:
- True if the user exists, false otherwise
- Throws:
- NotPermittedException
 
- 
addGroupDescription copied from interface:ConfluenceSoapServiceAdds a new group- Specified by:
- addGroupin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- groupname- The name of the group to be added
- Returns:
- True when the group was successfully added, false if it already exists
- Throws:
- RemoteException
 
- 
removeGrouppublic boolean removeGroup(String token, String groupname, String defaultGroupName) throws RemoteException Description copied from interface:ConfluenceSoapServiceRemoves an existing groupIf a valid defaultGroupName is specified, users will be added to the new group (defaultGroupName). - Specified by:
- removeGroupin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- groupname- The name of the group to be removed
- defaultGroupName- The name of the group that users will be moved to
- Returns:
- True if successful, false otherwise.
- Throws:
- RemoteException- if the given groupname does not exist
- RemoteException- if the given defaultGroupName does not exist
 
- 
removeAllPermissionsForGroupDescription copied from interface:ConfluenceSoapServiceDeletes all global and space permissions for the given group- Specified by:
- removeAllPermissionsForGroupin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- groupname- The group to delete permissions for
- Returns:
- True if successful, false otherwise.
- Throws:
- RemoteException- if the given groupname does not exist
 
- 
getUserGroupsDescription copied from interface:ConfluenceSoapServiceRetrieves the groups that a given user belongs to- Specified by:
- getUserGroupsin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- username- The username to retrieve groups for
- Returns:
- An array of group names as Strings
- Throws:
- RemoteException- if the given username does not exist
 
- 
addUserToGrouppublic boolean addUserToGroup(String token, String username, String groupname) throws RemoteException - Specified by:
- addUserToGroupin interface- ConfluenceSoapService
- Parameters:
- token-
- username-
- groupname-
- Returns:
- True if successful, false otherwise
- Throws:
- RemoteException- if the given username does not exist
- RemoteException- if the given groupname does not exist
 
- 
removeUserFromGrouppublic boolean removeUserFromGroup(String token, String username, String groupname) throws RemoteException Description copied from interface:ConfluenceSoapServiceRemoves the given user from a group- Specified by:
- removeUserFromGroupin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- username- The username to remove from a group
- groupname- The name of the group the user is to be removed from
- Returns:
- True if successful, false otherwise
- Throws:
- RemoteException- if the given username does not exist
- RemoteException- if the given groupname does not exist
 
- 
getUserByNameDescription copied from interface:ConfluenceSoapServiceRetrieves a user with the given username.- Specified by:
- getUserByNamein interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- username- The username of the user to be retrieved
- Returns:
- A RemoteConfluenceUser object, containing the user key, username, full name, email and URL
- Throws:
- RemoteException- if a user with the given username cannot be found
 
- 
getUserByKeyDescription copied from interface:ConfluenceSoapServiceRetrieves a user with the given user key.- Specified by:
- getUserByKeyin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- key- The user key of the user to be retrieved
- Returns:
- A RemoteUser object, containing the user key, username, full name, email and URL
- Throws:
- RemoteException- if a user with the given user key cannot be found
 
- 
setUserPreferenceBooleanpublic boolean setUserPreferenceBoolean(String token, String username, String key, boolean value) throws RemoteException Description copied from interface:ConfluenceSoapServiceSet a user preference to a boolean value.- Specified by:
- setUserPreferenceBooleanin interface- ConfluenceSoapService
- Parameters:
- token- the token identifying the current user
- key- The user preference key
- value- The value
- Throws:
- RemoteException- If any other exception occurred
 
- 
getUserPreferenceBooleanpublic boolean getUserPreferenceBoolean(String token, String username, String key) throws RemoteException Description copied from interface:ConfluenceSoapServiceGet a user preference as a boolean value.- Specified by:
- getUserPreferenceBooleanin interface- ConfluenceSoapService
- Parameters:
- token- the token identifying the current user
- key- The user preference key
- Throws:
- RemoteException- If any other exception occurred (including not being able to find the key)
 
- 
setUserPreferenceLongpublic boolean setUserPreferenceLong(String token, String username, String key, long value) throws RemoteException Description copied from interface:ConfluenceSoapServiceSet a user preference to an long integer value.- Specified by:
- setUserPreferenceLongin interface- ConfluenceSoapService
- Parameters:
- token- the token identifying the current user
- key- The user preference key
- value- The value
- Throws:
- RemoteException- If any other exception occurred
 
- 
getUserPreferenceLongDescription copied from interface:ConfluenceSoapServiceGet a user preference as a long integer value.- Specified by:
- getUserPreferenceLongin interface- ConfluenceSoapService
- Parameters:
- token- the token identifying the current user
- key- The user preference key
- Throws:
- RemoteException- If any other exception occurred (including not being able to find the key)
 
- 
setUserPreferenceStringpublic boolean setUserPreferenceString(String token, String username, String key, String value) throws RemoteException Description copied from interface:ConfluenceSoapServiceSet a user preference to a String value.- Specified by:
- setUserPreferenceStringin interface- ConfluenceSoapService
- Parameters:
- token- the token identifying the current user
- key- The user preference key
- value- The value
- Throws:
- RemoteException- If any other exception occurred
 
- 
getUserPreferenceStringpublic String getUserPreferenceString(String token, String username, String key) throws RemoteException Description copied from interface:ConfluenceSoapServiceGet a user preference as a String value.- Specified by:
- getUserPreferenceStringin interface- ConfluenceSoapService
- Parameters:
- token- the token identifying the current user
- key- The user preference key
- Throws:
- RemoteException- If any other exception occurred (including not being able to find the key)
 
- 
hasUserDescription copied from interface:ConfluenceSoapServiceDetermines whether a user exists- Specified by:
- hasUserin interface- ConfluenceSoapService
- Parameters:
- token- the token identifying the current user
- username- the username to look up
- Returns:
- True if the user exists, false otherwise
 
- 
addUserDescription copied from interface:ConfluenceSoapServiceAdds a user with the given RemoteUser object and password- Specified by:
- addUserin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- remoteUser- The object containing the user information
- password- The password of the user
- Throws:
- RemoteException- if a user with the given username cannot be found
 
- 
addUserpublic void addUser(String token, RemoteUser remoteUser, String password, boolean notifyUser) throws RemoteException Description copied from interface:ConfluenceSoapServiceAdds a user with the given RemoteUser object and password- Specified by:
- addUserin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- remoteUser- The object containing the user information
- password- The password of the user
- notifyUser- Whether or not you want the new user to be notified of their new account
- Throws:
- RemoteException- if a user with the given username cannot be found
 
- 
removeUserDescription copied from interface:ConfluenceSoapServiceRemoves a user with the given username- Specified by:
- removeUserin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- username- The username of the user to be removed
- Returns:
- True if successful, false otherwise
- Throws:
- RemoteException- if the given username cannot be found
- RemoteException- if the user has authored content
 
- 
editUserDescription copied from interface:ConfluenceSoapServiceEdits a user with the values in the given RemoteUser objectCurrently this will only update the user's full name and email - Specified by:
- editUserin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- remoteUser- The object containing the user information
- Throws:
- RemoteException- if a user with the given username cannot be found
 
- 
deactivateUserDescription copied from interface:ConfluenceSoapServiceDeactivates the given user- Specified by:
- deactivateUserin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- username- The username of the user to deactivate
- Returns:
- True if the user was successfully deactivated, false otherwise
- Throws:
- RemoteException- if the given username cannot be found
- RemoteException- if the user has already been deactivated
 
- 
reactivateUserDescription copied from interface:ConfluenceSoapServiceReactivates the given user- Specified by:
- reactivateUserin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- username- The username of the user to reactivate
- Returns:
- True if the user was successfully reactivated, false otherwise
- Throws:
- RemoteException- if the given username cannot be found
- RemoteException- if the user is already active
 
- 
isActiveUserDescription copied from interface:ConfluenceSoapServiceChecks if a given user is active.- Specified by:
- isActiveUserin interface- ConfluenceSoapService
- Parameters:
- username- The username to check
- Returns:
- True if the user is active or does not exist, false otherwise.
- Throws:
- RemoteException- If the username does not exist
 
- 
getActiveUsersDescription copied from interface:ConfluenceSoapServiceReturns a list of the current system users- Specified by:
- getActiveUsersin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- viewAll- Whether all users should be shown. When it is false, all users in the default users group will be returned. Otherwise, every registered user is returned.
- Returns:
- An array of usernames as Strings
- Throws:
- RemoteException
 
- 
setUserInformationpublic boolean setUserInformation(String token, RemoteUserInformation userInfo) throws RemoteException Description copied from interface:ConfluenceSoapServiceUpdates a user's informationCurrently this will only update a user's "description", stored in the 'content' attribute - Specified by:
- setUserInformationin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- userInfo- A RemoteUserInformation object, containing the username, email, fullname, url and information
- Throws:
- RemoteException- if there was an error saving the personal information
 
- 
getUserInformationpublic RemoteUserInformation getUserInformation(String token, String username) throws RemoteException Description copied from interface:ConfluenceSoapServiceRetrieves a user's information- Specified by:
- getUserInformationin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- username- The name of the user to get information on
- Throws:
- RemoteException- if a user with the given username cannot be found
 
- 
changeMyPasswordpublic boolean changeMyPassword(String token, String oldPass, String newPass) throws RemoteException Description copied from interface:ConfluenceSoapServiceChange the current user's password- Specified by:
- changeMyPasswordin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- oldPass- The old password of the user, required for security purposes
- newPass- The new password for the user
- Throws:
- RemoteException- if oldPass does not match the user's password
- RemoteException- if newPass is null or an empty String
- RemoteException- if there are problems setting the password in the UserAccessor
 
- 
changeUserPasswordpublic boolean changeUserPassword(String token, String username, String newPass) throws RemoteException Description copied from interface:ConfluenceSoapServiceChange a user's password- Specified by:
- changeUserPasswordin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- username- The username of the user we are changing the password for
- newPass- The new password for the user
- Throws:
- RemoteException- if the user cannot be found
- RemoteException- if newPass is null or an empty String
- RemoteException- if there are problems setting the password in the UserAccessor
 
- 
addProfilePicturepublic boolean addProfilePicture(String token, String userName, String fileName, String mimeType, byte[] pictureData) throws RemoteException Description copied from interface:ConfluenceSoapServiceAdd a profile picture to a user's profile- Specified by:
- addProfilePicturein interface- ConfluenceSoapService
- Parameters:
- userName- The user name of the profile
- fileName- File name of the picture
- mimeType- Image mime type (must be from image/*)
- pictureData- The image data
- Returns:
- true if successful
- Throws:
- RemoteException- if the user can not be found
- RemoteException- if the mimeType is not from image/*
- RemoteException- if the image can not be processed
 
- 
renameUserpublic boolean renameUser(String token, String oldUsername, String newUsername) throws RemoteException Description copied from interface:ConfluenceSoapServiceChange user's username- Specified by:
- renameUserin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- oldUsername- current username of the user
- newUsername- new username of the user
- Returns:
- true if successful
- Throws:
- RemoteException- if the new username does not meet username requirements
- RemoteException- if the user could not be renamed
 
- 
renameUsersDescription copied from interface:ConfluenceSoapServiceChange usernames for a set of users- Specified by:
- renameUsersin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- oldUsernamesToNewUsernames- mapping of current usernames to new usernames of users
- Returns:
- empty array if the operation was successful or usernames of users that could not be renamed
 
- 
getServerInfo- Specified by:
- getServerInfoin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
flushIndexQueue- Specified by:
- flushIndexQueuein interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
clearIndexQueue- Specified by:
- clearIndexQueuein interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
recoverMainIndex- Specified by:
- recoverMainIndexin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
getClusterInformation- Specified by:
- getClusterInformationin interface- ConfluenceSoapService
 
- 
getClusterNodeStatusesDescription copied from interface:ConfluenceSoapServiceRetrieves the status of all nodes in the cluster- Specified by:
- getClusterNodeStatusesin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- Returns:
- An array of RemoteNodeStatus objects
- Throws:
- RemoteException
 
- 
getLabelsByIdDescription copied from interface:ConfluenceSoapServiceReturns all labels for the given ContentEntityObject ID.- Specified by:
- getLabelsByIdin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- objectId- The ID of the ContentEntityObject the method will retrieve the labels for
- Returns:
- An array of RemoteLabel objects
- Throws:
- RemoteException- if the object cannot be retrieved from the ContentEntityManager
- RemoteException- if the given user does not have VIEW permissions for the object
 
- 
getMostPopularLabelsDescription copied from interface:ConfluenceSoapServiceReturns the most popular labels for the Confluence instance, with a specified maximum number of results.- Specified by:
- getMostPopularLabelsin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- maxCount- The maximum number of labels to return. A maxCount of 0 means there is no limit.
- Returns:
- An array of RemoteLabel objects, sorted by descending popularity
- Throws:
- RemoteException
 
- 
getMostPopularLabelsInSpacepublic RemoteLabel[] getMostPopularLabelsInSpace(String token, String spaceKey, int maxCount) throws RemoteException Description copied from interface:ConfluenceSoapServiceReturns the most popular labels for the given spaceKey, with a specified maximum number of results.- Specified by:
- getMostPopularLabelsInSpacein interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- spaceKey- The key of the space to limit the labels to
- maxCount- The maximum number of labels to return. A maxCount of 0 means there is no limit.
- Returns:
- An array of RemoteLabel objects, sorted by descending popularity
- Throws:
- RemoteException- if the space cannot be retrieved from the SpaceManager
 
- 
getRecentlyUsedLabelsDescription copied from interface:ConfluenceSoapServiceReturns the recently used labels for the Confluence instance, with a specified maximum number of results.- Specified by:
- getRecentlyUsedLabelsin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- maxResults- The maximum number of labels to return. A value of 0 means the default is used.
- Returns:
- An array of RemoteLabel objects, sorted by most recent use
 
- 
getRecentlyUsedLabelsInSpacepublic RemoteLabel[] getRecentlyUsedLabelsInSpace(String token, String spaceKey, int maxResults) throws RemoteException Description copied from interface:ConfluenceSoapServiceReturns the recently used labels for the given spaceKey, with a specified maximum number of results.- Specified by:
- getRecentlyUsedLabelsInSpacein interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- spaceKey- The key of the space to limit the labels to
- maxResults- The maximum number of labels to return. A value of 0 means the default is used.
- Returns:
- An array of RemoteLabel objects, sorted by most recent use
- Throws:
- RemoteException- if the space does not exist, or the user lacks permission to view it
 
- 
getSpacesWithLabelDescription copied from interface:ConfluenceSoapServiceReturns an array of Spaces that have been labelled with labelName- Specified by:
- getSpacesWithLabelin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- labelName- The name of the label (namespace prefixes permitted)
- Returns:
- An array of RemoteSpace instances
- Throws:
- RemoteException- if labelName is an empty string or null
- RemoteException- if labelName contains an invalid namespace prefix
- RemoteException- if a label named labelName cannot be found
 
- 
getRelatedLabelspublic RemoteLabel[] getRelatedLabels(String token, String labelName, int maxResults) throws RemoteException Description copied from interface:ConfluenceSoapServiceReturns the labels related to the given label name, with a specified maximum number of results.- Specified by:
- getRelatedLabelsin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- labelName- The name of the label (namespace prefixes permitted)
- maxResults- The maximum number of labels to return. A value of 0 means the default is used.
- Returns:
- An array of RemoteLabel objects (sorted by frequency of use)
- Throws:
- RemoteException- if labelName is an empty string or null
- RemoteException- if labelName contains an invalid namespace prefix
- RemoteException- if a label named labelName cannot be found
 
- 
getRelatedLabelsInSpacepublic RemoteLabel[] getRelatedLabelsInSpace(String token, String labelName, String spaceKey, int maxResults) throws RemoteException Description copied from interface:ConfluenceSoapServiceReturns the labels related to the given label name for the given spaceKey, with a specified maximum number of results.- Specified by:
- getRelatedLabelsInSpacein interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- labelName- The name of the label (namespace prefixes permitted)
- spaceKey- The key of the space to limit the labels to
- maxResults- The maximum number of labels to return. A maxCount of 0 means the default is used.
- Returns:
- An array of RemoteLabel objects (sorted by frequency of use)
- Throws:
- RemoteException- if labelName is an empty string or null
- RemoteException- if labelName contains an invalid namespace prefix
- RemoteException- if a label named labelName cannot be found
- RemoteException- if the Space does not exist, or the user does not have VIEW permissions
 
- 
getLabelsByDetailpublic RemoteLabel[] getLabelsByDetail(String token, String labelName, String namespace, String spaceKey, String owner) throws RemoteException Description copied from interface:ConfluenceSoapServiceRetrieves the labels matching the given labelName, namespace or owner.This method can be used to retrieve labels of a specfic type, such as personal labels, by setting the namespace. Parameters with empty strings are ignored. - Specified by:
- getLabelsByDetailin interface- ConfluenceSoapService
- Parameters:
- token- the authentication token for the user
- labelName- the name of the label to search for (not parsed for prefixes)
- namespace- the namespace to restrict by
- spaceKey- the key of the space to restrict by
- owner- the owner of the labels
- Returns:
- an array of matching RemoteLabel objects
- Throws:
- RemoteException- if labelName is an empty string or null
- RemoteException- if labelName contains an invalid namespace prefix
- RemoteException- if a label named labelName cannot be found
- RemoteException- if the Space does not exist, or the user does not have VIEW permissions
- RemoteException- if the owner is not a valid user
- See Also:
 
- 
getLabelContentByIdDescription copied from interface:ConfluenceSoapServiceReturns the content for a given label ID- Specified by:
- getLabelContentByIdin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- labelId- The ID of the label
- Returns:
- An array of RemoteSearchResult objects
- Throws:
- RemoteException- if a Label could not be retrieved for the given ID
 
- 
getLabelContentByNamepublic RemoteSearchResult[] getLabelContentByName(String token, String labelName) throws RemoteException Description copied from interface:ConfluenceSoapServiceReturns the content for a given label name- Specified by:
- getLabelContentByNamein interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- labelName- The name of a label (namespace prefixes permitted)
- Returns:
- An array of RemoteSearchResult objects
- Throws:
- RemoteException- if the label name is null
- RemoteException- if the label name is an empty String
- RemoteException- if a Label could not be retrieved for the given ID
 
- 
getLabelContentByObjectpublic RemoteSearchResult[] getLabelContentByObject(String token, RemoteLabel labelObject) throws RemoteException Description copied from interface:ConfluenceSoapServiceReturns the content for a given label object- Specified by:
- getLabelContentByObjectin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- labelObject- The RemoteLabel object
- Returns:
- An array of RemoteSearchResult objects
- Throws:
- RemoteException- if the RemoteLabel object is null
- RemoteException- if a Label could not be retrieved for the given ID
 
- 
getSpacesContainingContentWithLabelpublic RemoteSpace[] getSpacesContainingContentWithLabel(String token, String labelName) throws RemoteException Description copied from interface:ConfluenceSoapServiceReturns all Spaces that have content labelled with labelName- Specified by:
- getSpacesContainingContentWithLabelin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- labelName- The label to retrieve the content for (namespace prefixes permitted)
- Returns:
- An array of RemoteSpace instances (order undefined)
- Throws:
- RemoteException- if labelName is an empty string or null
- RemoteException- if labelName contains an invalid namespace prefix
- RemoteException- if a label named labelName cannot be found
 
- 
addLabelByNameDescription copied from interface:ConfluenceSoapServiceAdds a label to the object with the given ContentEntityObject ID.- Specified by:
- addLabelByNamein interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- labelName- The name of the label(s) to be added to the ContentEntityObject, in the form of a space-separated string
- objectId- The ID of the ContentEntityObject the method will act on
- Returns:
- True if successfully added, false otherwise.
- Throws:
- RemoteException- if the label name is null or an empty String
- RemoteException- if the split label name is invalid (as determined by LabelUtil.split())
- RemoteException- if the object was not valid
- RemoteException- if the user does not have VIEW permissions for the object
- RemoteException- if the label could not be created
 
- 
addLabelByIdDescription copied from interface:ConfluenceSoapServiceAdds a label with the given ID to the object with the given ContentEntityObject ID.- Specified by:
- addLabelByIdin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- labelId- The ID of the label to be added to the ContentEntityObject
- objectId- The ID of the ContentEntityObject the method will act on
- Returns:
- True if successfully added, false otherwise.
- Throws:
- RemoteException- if a Label could not be retrieved for the given ID
- RemoteException- if the object was not valid
- RemoteException- if the user lacks VIEW permissions for the object
 
- 
addLabelByObjectpublic boolean addLabelByObject(String token, RemoteLabel labelObject, long objectId) throws RemoteException Description copied from interface:ConfluenceSoapServiceAdds the given label object to the object with the given ContentEntityObject ID.- Specified by:
- addLabelByObjectin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- labelObject- The label to be added to the ContentEntityObject
- objectId- The ID of the ContentEntityObject the method will act on
- Returns:
- True if successfully added, false otherwise.
- Throws:
- RemoteException- if the given RemoteLabel object is null
- RemoteException- if a Label could not be retrieved for the given ID
- RemoteException- if the object was not valid
- RemoteException- if the user lacks VIEW permissions for the object
 
- 
addLabelByNameToSpacepublic boolean addLabelByNameToSpace(String token, String labelName, String spaceKey) throws RemoteException Description copied from interface:ConfluenceSoapServiceAdds a label to the object with the given ContentEntityObject ID.- Specified by:
- addLabelByNameToSpacein interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- labelName- The name of the label(s) to be added to the Space, in the form of a space-separated string
- spaceKey- The Space to add the label to
- Returns:
- True if successfully added, false otherwise.
- Throws:
- RemoteException- if the label name is null or an empty String
- RemoteException- if the split label name is invalid (as determined by LabelUtil.split())
- RemoteException- if the space does not exist, or the user does not have VIEW permissions
- RemoteException- if the label could not be created
 
- 
removeLabelByNamepublic boolean removeLabelByName(String token, String labelName, long objectId) throws RemoteException Description copied from interface:ConfluenceSoapServiceRemoves the given label from the object with the given ContentEntityObject ID.- Specified by:
- removeLabelByNamein interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- labelName- The name of the label(s) to be removed from the ContentEntityObject, in the form of a space-separated String
- objectId- The ID of the ContentEntityObject the method will act on
- Returns:
- True if successfully removed, false otherwise.
- Throws:
- RemoteException- if the label name is null
- RemoteException- if the label name is an empty String
- RemoteException- if one of the given label names does not exist (occurs before removing labels)
- RemoteException- if the object was not valid
- RemoteException- if the user lacks VIEW permissions for the object
 
- 
removeLabelByIdDescription copied from interface:ConfluenceSoapServiceRemoves the label with the given ID from the object with the given ContentEntityObject ID.- Specified by:
- removeLabelByIdin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- labelId- The ID of the label to be removed from the ContentEntityObject
- objectId- The ID of the ContentEntityObject the method will act on
- Returns:
- True if successfully removed, false otherwise.
- Throws:
- RemoteException- if a Label could not be retrieved for the given ID
- RemoteException- if the object was not valid
- RemoteException- if the user lacks VIEW permissions for the object
 
- 
removeLabelByObjectpublic boolean removeLabelByObject(String token, RemoteLabel labelObject, long objectId) throws RemoteException Description copied from interface:ConfluenceSoapServiceRemoves the given label object from the object with the given ContentEntityObject ID.- Specified by:
- removeLabelByObjectin interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- labelObject- The label to be removed from the ContentEntityObject
- objectId- The ID of the ContentEntityObject the method will act on
- Returns:
- True if successfully removed, false otherwise.
- Throws:
- RemoteException- if the RemoteLabel object is null
- RemoteException- if a Label could not be retrieved for the given ID
- RemoteException- if the object was not valid
- RemoteException- if the user lacks VIEW permissions for the object
 
- 
removeLabelByNameFromSpacepublic boolean removeLabelByNameFromSpace(String token, String labelName, String spaceKey) throws RemoteException Description copied from interface:ConfluenceSoapServiceRemoves the given label from the given Space- Specified by:
- removeLabelByNameFromSpacein interface- ConfluenceSoapService
- Parameters:
- token- The token identifying the current user
- labelName- The name of the label(s) to be removed from the Space, in the form of a space-separated String
- spaceKey- The Space the method will act on
- Returns:
- True if successfully removed, false otherwise.
- Throws:
- RemoteException- if the label name is null
- RemoteException- if the label name is an empty String
- RemoteException- if one of the given label names does not exist (occurs before removing labels)
- RemoteException- if the space does not exist, or the user lacks VIEW permissions
 
- 
getContentPermissionSetspublic RemoteContentPermissionSet[] getContentPermissionSets(String token, long contentId) throws RemoteException Description copied from interface:ConfluenceSoapServiceGet the content permission sets for a particular piece of content- Specified by:
- getContentPermissionSetsin interface- ConfluenceSoapService
- Parameters:
- token- the login token for the current user
- contentId- the content ID of the content to be looked up
- Returns:
- an array of the permission sets applied to that content
- Throws:
- RemoteException- if something random goes wrong
 
- 
getContentPermissionSetpublic RemoteContentPermissionSet getContentPermissionSet(String token, long contentId, String permissionType) throws RemoteException Description copied from interface:ConfluenceSoapServiceGet the content permission set of a certain type for a particular piece of content- Specified by:
- getContentPermissionSetin interface- ConfluenceSoapService
- Parameters:
- token- the login token for the current user
- contentId- the content ID of the content to be looked up
- permissionType- type of content permission
- Returns:
- a content permission set of the specified type on the content object to be looked up
- Throws:
- RemoteException- if something random goes wrong
 
- 
setContentPermissionspublic boolean setContentPermissions(String token, long contentId, String permissionType, RemoteContentPermission[] remoteContentPermissions) throws RemoteException Description copied from interface:ConfluenceSoapServiceSet the content permissions for a particular permission type on some content. These permissions will replace any permissions that already exist for that permission type.- Specified by:
- setContentPermissionsin interface- ConfluenceSoapService
- Parameters:
- token- the login token
- contentId- the id of the content to have permissions set on it
- permissionType- the type of the permissions (one of the constants from- ContentPermission)
- remoteContentPermissions- the permissions to set
- Returns:
- true (because RPC methods can't be void)
- Throws:
- RemoteException- if something random goes wrong
 
- 
setEnableAnonymousAccess- Specified by:
- setEnableAnonymousAccessin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
isPluginEnabledDescription copied from interface:ConfluenceSoapServiceReturns true if the specified plugin is enabled.- Specified by:
- isPluginEnabledin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
isPluginInstalledDescription copied from interface:ConfluenceSoapServiceReturns true if the specified plugin is installed.- Specified by:
- isPluginInstalledin interface- ConfluenceSoapService
- Throws:
- RemoteException
 
- 
installPluginpublic boolean installPlugin(String token, String pluginFileName, byte[] pluginData) throws RemoteException Description copied from interface:ConfluenceSoapServiceInstalls a plugin.- Specified by:
- installPluginin interface- ConfluenceSoapService
- Parameters:
- pluginFileName- the original filename of the plugin. It should end with the correct file extension .xml or .jar.
- pluginData- a byte[] containing the contents of the plugin xml or jar file.
- Throws:
- RemoteException
 
- 
isDarkFeatureEnabled- Specified by:
- isDarkFeatureEnabledin interface- ConfluenceSoapService
 
- 
startActivityDescription copied from interface:ConfluenceSoapServiceCall startActivity on the heartbeat manager bean- Specified by:
- startActivityin interface- ConfluenceSoapService
- Parameters:
- token- rpc authentication token
- key- the activity key to start
- user- the username of the user starting the activity
- Returns:
- true if executes startActivity without error.
- Throws:
- RemoteException
 
- 
stopActivityDescription copied from interface:ConfluenceSoapServiceCall stopActivity on the heartbeat manager bean- Specified by:
- stopActivityin interface- ConfluenceSoapService
- Parameters:
- token- rpc authentication token
- key- the activity key to stop
- user- the username of the user stopping the activity
- Returns:
- true if executes stopActivity without error.
- Throws:
- RemoteException
 
- 
setWikiToXhtmlMigrator
- 
setXhtmlRoundTripMigrator
- 
setContentEntityObjectDao
- 
setMailServerManagerpublic void setMailServerManager(com.atlassian.mail.server.MailServerManager mailServerManager) 
- 
refreshIndexDescription copied from interface:ConfluenceSoapServiceRefresh the index immediately, which publishes its most recent changes and makes them available for searching. This method is only applicable to the OpenSearch platform.- Specified by:
- refreshIndexin interface- ConfluenceSoapService
- Parameters:
- token- rpc authentication token
 
 
-