| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.rpc.soap.WikiSoapService
public class WikiSoapService
SOAP API for wikimarkup formatted input and output.
All methods that retrieve remote objects (for example RemotePage) that contain wiki markup throw exceptions. As of 4.0, all wiki content is migrated to xhtml storage format and as such, there will be no wiki formatted content to return. Throwing an exception is preferable because we don't want scripts to continue to operate on content that it assumes to be wiki markup but is not. This can lead to corrupted content being saved.
| Field Summary | 
|---|
| Fields inherited from interface com.atlassian.confluence.rpc.soap.ConfluenceSoapService | 
|---|
ADMIN_SPACE_PERMISSION, COMMENT_PERMISSION, MODIFY_PERMISSION, VIEW_PERMISSION | 
| Constructor Summary | |
|---|---|
WikiSoapService()
 | 
|
| Method Summary | |
|---|---|
 boolean | 
addAnonymousPermissionsToSpace(java.lang.String token,
                               java.lang.String[] permissions,
                               java.lang.String spaceKey)
Add Space Permissions for anonymous users  | 
 boolean | 
addAnonymousPermissionToSpace(java.lang.String token,
                              java.lang.String permission,
                              java.lang.String spaceKey)
Add a Space Permission for anonymous users  | 
 boolean | 
addAnonymousUsePermission(java.lang.String token)
 | 
 boolean | 
addAnonymousViewUserProfilePermission(java.lang.String token)
This permission can only be set if the anonymous user already has 'use' permission.  | 
 RemoteAttachment | 
addAttachment(java.lang.String token,
              long contentId,
              RemoteAttachment attachment,
              byte[] attachmentData)
Add a new attachment to a ContentEntityObject.  | 
 RemoteAttachment | 
addAttachment(java.lang.String token,
              RemoteAttachment attachment,
              byte[] attachmentData)
Deprecated.  | 
 RemoteComment | 
addComment(java.lang.String token,
           RemoteComment comment)
Adds a comment to a page or blog post  | 
 boolean | 
addGlobalPermission(java.lang.String token,
                    java.lang.String permission,
                    java.lang.String remoteEntityName)
Add global permissions for a user or group  | 
 boolean | 
addGlobalPermissions(java.lang.String token,
                     java.lang.String[] permissions,
                     java.lang.String remoteEntityName)
Add a global permission for a user or group  | 
 boolean | 
addGroup(java.lang.String token,
         java.lang.String groupname)
Adds a new group  | 
 boolean | 
addLabelById(java.lang.String token,
             long labelId,
             long objectId)
Adds a label with the given ID to the object with the given ContentEntityObject ID.  | 
 boolean | 
addLabelByName(java.lang.String token,
               java.lang.String labelName,
               long objectId)
Adds a label to the object with the given ContentEntityObject ID.  | 
 boolean | 
addLabelByNameToSpace(java.lang.String token,
                      java.lang.String labelName,
                      java.lang.String spaceKey)
Adds a label to the object with the given ContentEntityObject ID.  | 
 boolean | 
addLabelByObject(java.lang.String token,
                 RemoteLabel labelObject,
                 long objectId)
Adds the given label object to the object with the given ContentEntityObject ID.  | 
 boolean | 
addPermissionsToSpace(java.lang.String token,
                      java.lang.String[] permissions,
                      java.lang.String remoteEntityName,
                      java.lang.String spaceKey)
Add Space Permissions for a user or group  | 
 boolean | 
addPermissionToSpace(java.lang.String token,
                     java.lang.String permission,
                     java.lang.String remoteEntityName,
                     java.lang.String spaceKey)
Add a Space Permission for a user or group  | 
 RemoteSpace | 
addPersonalSpace(java.lang.String token,
                 RemoteSpace space,
                 java.lang.String username)
 | 
 RemoteSpace | 
addPersonalSpaceWithDefaultPermissions(java.lang.String token,
                                       RemoteSpace space,
                                       java.lang.String username)
 | 
 boolean | 
addProfilePicture(java.lang.String token,
                  java.lang.String userName,
                  java.lang.String fileName,
                  java.lang.String mimeType,
                  byte[] pictureData)
Add a profile picture to a user's profile  | 
 RemoteSpace | 
addSpace(java.lang.String token,
         RemoteSpace space)
 | 
 RemoteSpaceGroup | 
addSpaceGroup(java.lang.String token,
              RemoteSpaceGroup spaceGroup)
Add a space Group to Confluence  | 
 RemoteSpace | 
addSpaceWithDefaultPermissions(java.lang.String token,
                               RemoteSpace space)
 | 
 void | 
addUser(java.lang.String token,
        RemoteUser remoteUser,
        java.lang.String password)
Adds a user with the given RemoteUser object and password  | 
 void | 
addUser(java.lang.String token,
        RemoteUser remoteUser,
        java.lang.String password,
        boolean notifyUser)
Adds a user with the given RemoteUser object and password  | 
 boolean | 
addUserToGroup(java.lang.String token,
               java.lang.String username,
               java.lang.String groupname)
 | 
 boolean | 
changeMyPassword(java.lang.String token,
                 java.lang.String oldPass,
                 java.lang.String newPass)
Change the current user's password  | 
 boolean | 
changeUserPassword(java.lang.String token,
                   java.lang.String username,
                   java.lang.String newPass)
Change a user's password  | 
 boolean | 
clearIndexQueue(java.lang.String token)
 | 
 java.lang.String | 
convertWikiToStorageFormat(java.lang.String token,
                           java.lang.String markup)
Converts a string from wiki markup to the XHTML based storage format.  | 
 boolean | 
deactivateUser(java.lang.String token,
               java.lang.String username)
Deactivates the given user  | 
 RemoteComment | 
editComment(java.lang.String token,
            RemoteComment comment)
Updates a comment  | 
 boolean | 
editUser(java.lang.String token,
         RemoteUser remoteUser)
Edits a user with the values in the given RemoteUser object Currently this will only update the user's full name and email  | 
 java.lang.Boolean | 
emptyTrash(java.lang.String token,
           java.lang.String spaceKey)
 | 
 java.lang.String | 
exportSite(java.lang.String token,
           boolean exportAttachments)
 | 
 java.lang.String | 
exportSpace(java.lang.String token,
            java.lang.String spaceKey,
            java.lang.String exportType)
 | 
 java.lang.String | 
exportSpace(java.lang.String token,
            java.lang.String spaceKey,
            java.lang.String exportType,
            boolean exportAll)
 | 
 boolean | 
flushIndexQueue(java.lang.String token)
 | 
 java.lang.String[] | 
getActiveUsers(java.lang.String token,
               boolean viewAll)
Returns a list of the current system users  | 
 RemotePageSummary[] | 
getAncestors(java.lang.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.  | 
 RemoteAttachment | 
getAttachment(java.lang.String token,
              long entityId,
              java.lang.String fileName,
              int version)
Retrieve information about an attachment.  | 
 byte[] | 
getAttachmentData(java.lang.String token,
                  long entityId,
                  java.lang.String fileName,
                  int version)
Retrieve the contents of an attachment.  | 
 RemoteAttachment[] | 
getAttachments(java.lang.String token,
               long pageId)
 | 
 RemoteBlogEntrySummary[] | 
getBlogEntries(java.lang.String token,
               java.lang.String spaceKey)
 | 
 RemoteBlogEntry | 
getBlogEntry(java.lang.String token,
             long entryId)
 | 
 RemoteBlogEntry | 
getBlogEntryByDateAndTitle(java.lang.String token,
                           java.lang.String spaceKey,
                           int year,
                           int month,
                           int dayOfMonth,
                           java.lang.String postTitle)
Retrieves a blog post in the given space, with the title and date as specified.  | 
 RemoteBlogEntry | 
getBlogEntryByDayAndTitle(java.lang.String token,
                          java.lang.String spaceKey,
                          int dayOfMonth,
                          java.lang.String postTitle)
Retrieves a blog post in the Space with the given spaceKey, with the title 'postTitle' and posted on the day 'dayOfMonth'  | 
 RemotePageSummary[] | 
getChildren(java.lang.String token,
            long pageId)
Returns all child pages of the page with the given pageId the user authenticated by token is allowed to view.  | 
 RemoteClusterInformation | 
getClusterInformation(java.lang.String token)
 | 
 RemoteNodeStatus[] | 
getClusterNodeStatuses(java.lang.String token)
 | 
 RemoteComment | 
getComment(java.lang.String token,
           long commentId)
Retrieves a comment with the given ID  | 
 RemoteComment[] | 
getComments(java.lang.String token,
            long pageId)
Retrieves the comments for a given abstract page  | 
 RemoteContentPermissionSet | 
getContentPermissionSet(java.lang.String token,
                        long contentId,
                        java.lang.String permissionType)
Get the content permission set of a certain type for a particular piece of content  | 
 RemoteContentPermissionSet[] | 
getContentPermissionSets(java.lang.String token,
                         long contentId)
Get the content permission sets for a particular piece of content  | 
 RemotePageSummary[] | 
getDescendents(java.lang.String token,
               long pageId)
Returns all descendent pages of the page with the given pageId the user authenticated by token is allowed to view.  | 
 java.lang.String[] | 
getGroups(java.lang.String token)
Retrieves a list of user groups  | 
 RemoteSearchResult[] | 
getLabelContentById(java.lang.String token,
                    long labelId)
Returns the content for a given label ID  | 
 RemoteSearchResult[] | 
getLabelContentByName(java.lang.String token,
                      java.lang.String labelName)
Returns the content for a given label name  | 
 RemoteSearchResult[] | 
getLabelContentByObject(java.lang.String token,
                        RemoteLabel labelObject)
Returns the content for a given label object  | 
 RemoteLabel[] | 
getLabelsByDetail(java.lang.String token,
                  java.lang.String labelName,
                  java.lang.String namespace,
                  java.lang.String spaceKey,
                  java.lang.String owner)
Retrieves the labels matching the given labelName, namespace or owner.  | 
 RemoteLabel[] | 
getLabelsById(java.lang.String token,
              long objectId)
Returns all labels for the given ContentEntityObject ID.  | 
 RemoteLabel[] | 
getMostPopularLabels(java.lang.String token,
                     int maxCount)
Returns the most popular labels for the Confluence instance, with a specified maximum number of results.  | 
 RemoteLabel[] | 
getMostPopularLabelsInSpace(java.lang.String token,
                            java.lang.String spaceKey,
                            int maxCount)
Returns the most popular labels for the given spaceKey, with a specified maximum number of results.  | 
 RemotePage | 
getPage(java.lang.String token,
        long pageId)
 | 
 RemotePage | 
getPage(java.lang.String token,
        java.lang.String spaceKey,
        java.lang.String pageTitle)
 | 
 RemotePageHistory[] | 
getPageHistory(java.lang.String token,
               long pageId)
 | 
 RemotePermission[] | 
getPagePermissions(java.lang.String token,
                   long pageId)
 | 
 RemotePageSummary[] | 
getPages(java.lang.String token,
         java.lang.String spaceKey)
Returns all pages of the space with the given spaceKey the user authenticated by token is allowed to view.  | 
 RemotePageSummary | 
getPageSummary(java.lang.String token,
               long pageId)
 | 
 RemotePageSummary | 
getPageSummary(java.lang.String token,
               java.lang.String spaceKey,
               java.lang.String pageTitle)
 | 
 java.lang.String[] | 
getPermissions(java.lang.String token,
               java.lang.String spaceKey)
 | 
 java.lang.String[] | 
getPermissionsForUser(java.lang.String token,
                      java.lang.String spaceKey,
                      java.lang.String userName)
 | 
 RemoteLabel[] | 
getRecentlyUsedLabels(java.lang.String token,
                      int maxResults)
Returns the recently used labels for the Confluence instance, with a specified maximum number of results.  | 
 RemoteLabel[] | 
getRecentlyUsedLabelsInSpace(java.lang.String token,
                             java.lang.String spaceKey,
                             int maxResults)
Returns the recently used labels for the given spaceKey, with a specified maximum number of results.  | 
 RemoteLabel[] | 
getRelatedLabels(java.lang.String token,
                 java.lang.String labelName,
                 int maxResults)
Returns the labels related to the given label name, with a specified maximum number of results.  | 
 RemoteLabel[] | 
getRelatedLabelsInSpace(java.lang.String token,
                        java.lang.String labelName,
                        java.lang.String spaceKey,
                        int maxResults)
Returns the labels related to the given label name for the given spaceKey, with a specified maximum number of results.  | 
 RemoteServerInfo | 
getServerInfo(java.lang.String token)
 | 
 RemoteSpace | 
getSpace(java.lang.String token,
         java.lang.String spaceKey)
 | 
 RemoteSpaceGroup | 
getSpaceGroup(java.lang.String token,
              java.lang.String spaceGroup)
 | 
 RemoteSpaceGroup[] | 
getSpaceGroups(java.lang.String token)
 | 
 java.lang.String[] | 
getSpaceLevelPermissions(java.lang.String token)
 | 
 RemoteSpacePermissionSet | 
getSpacePermissionSet(java.lang.String token,
                      java.lang.String spaceKey,
                      java.lang.String permissionType)
 | 
 RemoteSpacePermissionSet[] | 
getSpacePermissionSets(java.lang.String token,
                       java.lang.String spaceKey)
 | 
 RemoteSpaceSummary[] | 
getSpaces(java.lang.String token)
 | 
 RemoteSpace[] | 
getSpacesContainingContentWithLabel(java.lang.String token,
                                    java.lang.String labelName)
Returns all Spaces that have content labelled with labelName  | 
 RemoteSpaceSummary[] | 
getSpacesInGroup(java.lang.String token,
                 java.lang.String spaceGroupKey)
 | 
 java.lang.String | 
getSpaceStatus(java.lang.String token,
               java.lang.String spaceKey)
 | 
 RemoteSpace[] | 
getSpacesWithLabel(java.lang.String token,
                   java.lang.String labelName)
Returns an array of Spaces that have been labelled with labelName  | 
 RemotePageSummary[] | 
getTopLevelPages(java.lang.String token,
                 java.lang.String spaceKey)
Returns all top level pages of the space with the given spaceKey the user authenticated by token is allowed to view.  | 
 RemoteContentSummaries | 
getTrashContents(java.lang.String token,
                 java.lang.String spaceKey,
                 int offset,
                 int count)
 | 
 RemoteUser | 
getUser(java.lang.String token,
        java.lang.String username)
Retrieves a user with the given username  | 
 RemoteConfluenceUser | 
getUserByKey(java.lang.String token,
             java.lang.String key)
Retrieves a user with the given user key.  | 
 RemoteConfluenceUser | 
getUserByName(java.lang.String token,
              java.lang.String username)
Retrieves a user with the given username.  | 
 java.lang.String[] | 
getUserGroups(java.lang.String token,
              java.lang.String username)
Retrieves the groups that a given user belongs to  | 
 RemoteUserInformation | 
getUserInformation(java.lang.String token,
                   java.lang.String username)
Retrieves a user's information  | 
 boolean | 
getUserPreferenceBoolean(java.lang.String token,
                         java.lang.String username,
                         java.lang.String key)
Get a user preference as a boolean value.  | 
 long | 
getUserPreferenceLong(java.lang.String token,
                      java.lang.String username,
                      java.lang.String key)
Get a user preference as a long integer value.  | 
 java.lang.String | 
getUserPreferenceString(java.lang.String token,
                        java.lang.String username,
                        java.lang.String key)
Get a user preference as a String value.  | 
 RemoteUser[] | 
getWatchersForPage(java.lang.String token,
                   long pageId)
Returns the list of users watching the page or blog post with the given ID.  | 
 RemoteUser[] | 
getWatchersForSpace(java.lang.String token,
                    java.lang.String spaceKey)
Returns the list of users watching the space with the given key.  | 
 boolean | 
hasGroup(java.lang.String token,
         java.lang.String groupname)
Determines whether a group exists  | 
 boolean | 
hasUser(java.lang.String token,
        java.lang.String username)
Determines whether a user exists  | 
 boolean | 
importSpace(java.lang.String token,
            byte[] importData)
Import a space in a compressed XML format  | 
 boolean | 
installPlugin(java.lang.String token,
              java.lang.String pluginFileName,
              byte[] pluginData)
Installs a plugin.  | 
 boolean | 
isActiveUser(java.lang.String token,
             java.lang.String username)
Checks if a given user is active.  | 
 boolean | 
isDarkFeatureEnabled(java.lang.String token,
                     java.lang.String key)
 | 
 boolean | 
isPluginEnabled(java.lang.String token,
                java.lang.String pluginKey)
Returns true if the specified plugin is enabled.  | 
 boolean | 
isPluginInstalled(java.lang.String token,
                  java.lang.String pluginKey)
Returns true if the specified plugin is installed.  | 
 boolean | 
isWatchingPage(java.lang.String token,
               long pageId,
               java.lang.String username)
Returns true if the specified user is watching the page or blog post with the given ID, otherwise false.  | 
 boolean | 
isWatchingSpace(java.lang.String token,
                java.lang.String spaceKey,
                java.lang.String username)
Returns true if the specified user is watching the space with the given key, otherwise false.  | 
 boolean | 
isWatchingSpaceForType(java.lang.String token,
                       java.lang.String spaceKey,
                       java.lang.String contentType,
                       java.lang.String username)
Returns true if the specified user is watching the specified type of content in space with the given key, otherwise false.  | 
 java.lang.String | 
login(java.lang.String username,
      java.lang.String password)
 | 
 boolean | 
logout(java.lang.String token)
 | 
 boolean | 
moveAttachment(java.lang.String token,
               long originalContentId,
               java.lang.String originalFileName,
               long newContentId,
               java.lang.String newFileName)
Move or rename an attachment  | 
 java.lang.Boolean | 
movePage(java.lang.String token,
         long sourcePageId,
         long targetPageId,
         java.lang.String position)
 | 
 java.lang.Boolean | 
movePageToTopLevel(java.lang.String token,
                   long pageId,
                   java.lang.String targetSpaceKey)
 | 
 java.lang.String | 
performBackup(java.lang.String token,
              boolean exportAttachments)
 | 
 java.lang.Boolean | 
purgeFromTrash(java.lang.String token,
               java.lang.String spaceKey,
               long pageId)
 | 
 boolean | 
reactivateUser(java.lang.String token,
               java.lang.String username)
Reactivates the given user  | 
 boolean | 
removeAllPermissionsForGroup(java.lang.String token,
                             java.lang.String groupname)
Deletes all global and space permissions for the given group  | 
 boolean | 
removeAnonymousPermissionFromSpace(java.lang.String token,
                                   java.lang.String permission,
                                   java.lang.String spaceKey)
Removes a Space Permission for anonymous users  | 
 boolean | 
removeAnonymousUsePermission(java.lang.String token)
Remove anonymous use permission.  | 
 boolean | 
removeAnonymousViewUserProfilePermission(java.lang.String token)
 | 
 boolean | 
removeAttachment(java.lang.String token,
                 long contentId,
                 java.lang.String fileName)
Remove an attachment.  | 
 boolean | 
removeComment(java.lang.String token,
              long commentId)
Removes a comment with the given ID  | 
 boolean | 
removeGlobalPermission(java.lang.String token,
                       java.lang.String permission,
                       java.lang.String remoteEntityName)
Remove a global permission  | 
 boolean | 
removeGroup(java.lang.String token,
            java.lang.String groupname,
            java.lang.String defaultGroupName)
Removes an existing group If a valid defaultGroupName is specified, users will be added to the new group (defaultGroupName).  | 
 boolean | 
removeLabelById(java.lang.String token,
                long labelId,
                long objectId)
Removes the label with the given ID from the object with the given ContentEntityObject ID.  | 
 boolean | 
removeLabelByName(java.lang.String token,
                  java.lang.String labelName,
                  long objectId)
Removes the given label from the object with the given ContentEntityObject ID.  | 
 boolean | 
removeLabelByNameFromSpace(java.lang.String token,
                           java.lang.String labelName,
                           java.lang.String spaceKey)
Removes the given label from the given Space  | 
 boolean | 
removeLabelByObject(java.lang.String token,
                    RemoteLabel labelObject,
                    long objectId)
Removes the given label object from the object with the given ContentEntityObject ID.  | 
 java.lang.Boolean | 
removePage(java.lang.String token,
           long pageId)
 | 
 java.lang.Boolean | 
removePageVersionById(java.lang.String token,
                      long historicalPageId)
Remove a historical version of a page.  | 
 java.lang.Boolean | 
removePageVersionByVersion(java.lang.String token,
                           long pageId,
                           int version)
Remove the identified version of a page.  | 
 boolean | 
removePageWatch(java.lang.String token,
                long pageId)
Remove a watch for the current user on the page or blog post with the specified page ID.  | 
 boolean | 
removePageWatchForUser(java.lang.String token,
                       long pageId,
                       java.lang.String username)
Removes a watch from a specific page or blog post for a particular user.  | 
 boolean | 
removePermissionFromSpace(java.lang.String token,
                          java.lang.String permission,
                          java.lang.String remoteEntityName,
                          java.lang.String spaceKey)
Removes a Space Permission for a user or group  | 
 java.lang.Boolean | 
removeSpace(java.lang.String token,
            java.lang.String spaceKey)
 | 
 boolean | 
removeSpaceGroup(java.lang.String token,
                 java.lang.String spaceGroupKey)
Removes a Space Group from Confluence without removeing the space it contains.  | 
 boolean | 
removeSpaceWatch(java.lang.String token,
                 java.lang.String spaceKey)
Removes a watch for the current user on the space with the specified space key.  | 
 boolean | 
removeUser(java.lang.String token,
           java.lang.String username)
Removes a user with the given username  | 
 boolean | 
removeUserFromGroup(java.lang.String token,
                    java.lang.String username,
                    java.lang.String groupname)
Removes the given user from a group  | 
 boolean | 
renameUser(java.lang.String token,
           java.lang.String oldUsername,
           java.lang.String newUsername)
Change user's username  | 
 java.lang.String[] | 
renameUsers(java.lang.String token,
            java.util.Map<java.lang.String,java.lang.String> oldUsernamesToNewUsernames)
Change usernames for a set of users  | 
 java.lang.String | 
renderContent(java.lang.String token,
              java.lang.String spaceKey,
              long pageId,
              java.lang.String newContent)
 | 
 java.lang.String | 
renderContent(java.lang.String token,
              java.lang.String spaceKey,
              long pageId,
              java.lang.String newContent,
              java.util.Map renderParameters)
 | 
 RemoteSearchResult[] | 
search(java.lang.String token,
       java.lang.String query,
       int maxResults)
Search Confluence for the supplied query String.  | 
 RemoteSearchResult[] | 
search(java.lang.String token,
       java.lang.String query,
       java.util.Map params,
       int maxResults)
Search Confluence for the supplied query String.  | 
 void | 
setContentEntityObjectDao(ContentEntityObjectDao contentEntityObjectDao)
 | 
 boolean | 
setContentPermissions(java.lang.String token,
                      long contentId,
                      java.lang.String permissionType,
                      RemoteContentPermission[] remoteContentPermissions)
Set the content permissions for a particular permission type on some content.  | 
 boolean | 
setEnableAnonymousAccess(java.lang.String token,
                         boolean value)
 | 
 boolean | 
setEnableWysiwyg(java.lang.String token,
                 boolean value)
Deprecated. since 4.0. You can no longer disable the wysiwyg editor.  | 
 void | 
setSettingsManager(SettingsManager settingsManager)
 | 
 java.lang.Boolean | 
setSpaceStatus(java.lang.String token,
               java.lang.String spaceKey,
               java.lang.String status)
 | 
 boolean | 
setUserInformation(java.lang.String token,
                   RemoteUserInformation userInfo)
Updates a user's information Currently this will only update a user's "description", stored in the 'content' attribute  | 
 boolean | 
setUserPreferenceBoolean(java.lang.String token,
                         java.lang.String username,
                         java.lang.String key,
                         boolean value)
Set a user preference to a boolean value.  | 
 boolean | 
setUserPreferenceLong(java.lang.String token,
                      java.lang.String username,
                      java.lang.String key,
                      long value)
Set a user preference to an long integer value.  | 
 boolean | 
setUserPreferenceString(java.lang.String token,
                        java.lang.String username,
                        java.lang.String key,
                        java.lang.String value)
Set a user preference to a String value.  | 
 void | 
setWikiToXhtmlMigrator(ExceptionTolerantMigrator wikiToXhtmlMigrator)
 | 
 void | 
setXhtmlSoapService(ConfluenceSoapService soapService)
 | 
 RemoteBlogEntry | 
storeBlogEntry(java.lang.String token,
               RemoteBlogEntry blogEntry)
 | 
 RemotePage | 
storePage(java.lang.String token,
          RemotePage page)
 | 
 RemoteSpace | 
storeSpace(java.lang.String token,
           RemoteSpace remoteSpace)
Allows for modifying space details via the remote API.  | 
 RemotePage | 
updatePage(java.lang.String token,
           RemotePage page,
           RemotePageUpdateOptions options)
 | 
 boolean | 
watchPage(java.lang.String token,
          long pageId)
Adds a watch for the current user on the page or blog post with the specified page ID.  | 
 boolean | 
watchPageForUser(java.lang.String token,
                 long pageId,
                 java.lang.String username)
Adds a watch to a specific page or blog post for a particular user.  | 
 boolean | 
watchSpace(java.lang.String token,
           java.lang.String spaceKey)
Adds a watch for the current user on the space with the specified space key.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public WikiSoapService()
| Method Detail | 
|---|
public RemoteBlogEntry getBlogEntryByDayAndTitle(java.lang.String token,
                                                 java.lang.String spaceKey,
                                                 int dayOfMonth,
                                                 java.lang.String postTitle)
                                          throws RemoteException
ConfluenceSoapService
getBlogEntryByDayAndTitle in interface ConfluenceSoapServicetoken - the authentication tokenspaceKey - the key of the Space the blog post belongs todayOfMonth - the day of the month the blog post was madepostTitle - the title of the blog post
RemoteException - if the user does not have permission to view the blog post, or it does not exist
public RemoteBlogEntry getBlogEntryByDateAndTitle(java.lang.String token,
                                                  java.lang.String spaceKey,
                                                  int year,
                                                  int month,
                                                  int dayOfMonth,
                                                  java.lang.String postTitle)
                                           throws RemoteException
ConfluenceSoapService
getBlogEntryByDateAndTitle in interface ConfluenceSoapServiceRemoteException - if the user does not have permission to view the blog post or it does not exist
public RemoteBlogEntry getBlogEntry(java.lang.String token,
                                    long entryId)
                             throws RemoteException
getBlogEntry in interface ConfluenceSoapServiceRemoteException
public RemotePage getPage(java.lang.String token,
                          java.lang.String spaceKey,
                          java.lang.String pageTitle)
                   throws InvalidSessionException,
                          RemoteException
getPage in interface ConfluenceSoapServiceInvalidSessionException
RemoteException
public RemotePageSummary getPageSummary(java.lang.String token,
                                        java.lang.String spaceKey,
                                        java.lang.String pageTitle)
                                 throws InvalidSessionException,
                                        RemoteException
getPageSummary in interface ConfluenceSoapServiceInvalidSessionException
RemoteException
public RemotePage getPage(java.lang.String token,
                          long pageId)
                   throws InvalidSessionException,
                          RemoteException
getPage in interface ConfluenceSoapServiceInvalidSessionException
RemoteException
public RemotePageSummary getPageSummary(java.lang.String token,
                                        long pageId)
                                 throws InvalidSessionException,
                                        RemoteException
getPageSummary in interface ConfluenceSoapServiceInvalidSessionException
RemoteException
public RemoteComment[] getComments(java.lang.String token,
                                   long pageId)
                            throws InvalidSessionException,
                                   RemoteException
ConfluenceSoapService
getComments in interface ConfluenceSoapServicetoken - the authentication tokenpageId - the content ID of the abstract page
InvalidSessionException
RemoteException - if the object for the pageId is null, or the user lacks permissions
public RemoteComment getComment(java.lang.String token,
                                long commentId)
                         throws InvalidSessionException,
                                RemoteException
ConfluenceSoapService
getComment in interface ConfluenceSoapServicetoken - The token identifying the current usercommentId - The ID of the comment to be retrieved
InvalidSessionException
RemoteException - if the comment cannot be found
public java.lang.String login(java.lang.String username,
                              java.lang.String password)
                       throws AuthenticationFailedException,
                              RemoteException
login in interface SecureRpclogin in interface ConfluenceSoapServiceAuthenticationFailedException
RemoteException
public boolean logout(java.lang.String token)
               throws RemoteException
logout in interface SecureRpclogout in interface ConfluenceSoapServiceRemoteException
public RemoteSpaceSummary[] getSpaces(java.lang.String token)
                               throws InvalidSessionException,
                                      RemoteException
getSpaces in interface ConfluenceSoapServiceInvalidSessionException
RemoteException
public RemoteSpaceSummary[] getSpacesInGroup(java.lang.String token,
                                             java.lang.String spaceGroupKey)
                                      throws RemoteException
getSpacesInGroup in interface ConfluenceSoapServiceRemoteException
public RemoteSpace addSpaceWithDefaultPermissions(java.lang.String token,
                                                  RemoteSpace space)
                                           throws NotPermittedException,
                                                  InvalidSessionException,
                                                  AlreadyExistsException,
                                                  RemoteException
addSpaceWithDefaultPermissions in interface ConfluenceSoapServiceNotPermittedException
InvalidSessionException
AlreadyExistsException
RemoteException
public RemoteSpace addSpace(java.lang.String token,
                            RemoteSpace space)
                     throws NotPermittedException,
                            InvalidSessionException,
                            AlreadyExistsException,
                            RemoteException
addSpace in interface ConfluenceSoapServiceNotPermittedException
InvalidSessionException
AlreadyExistsException
RemoteException
public RemoteSpace storeSpace(java.lang.String token,
                              RemoteSpace remoteSpace)
                       throws RemoteException
ConfluenceSoapService
storeSpace in interface ConfluenceSoapServiceRemoteException
public RemoteSpaceGroup addSpaceGroup(java.lang.String token,
                                      RemoteSpaceGroup spaceGroup)
                               throws NotPermittedException,
                                      InvalidSessionException,
                                      AlreadyExistsException,
                                      RemoteException
ConfluenceSoapService
addSpaceGroup in interface ConfluenceSoapServicetoken - the authentication tokenspaceGroup - the spacegroup to add
NotPermittedException - if the user lacks permissions to perform the action
InvalidSessionException
AlreadyExistsException - if a group with the same key already exists
RemoteException
public RemoteSpaceGroup getSpaceGroup(java.lang.String token,
                                      java.lang.String spaceGroup)
                               throws NotPermittedException,
                                      InvalidSessionException,
                                      AlreadyExistsException,
                                      RemoteException
getSpaceGroup in interface ConfluenceSoapServiceNotPermittedException
InvalidSessionException
AlreadyExistsException
RemoteException
public RemoteSpaceGroup[] getSpaceGroups(java.lang.String token)
                                  throws InvalidSessionException,
                                         RemoteException
getSpaceGroups in interface ConfluenceSoapServiceInvalidSessionException
RemoteException
public boolean removeSpaceGroup(java.lang.String token,
                                java.lang.String spaceGroupKey)
                         throws RemoteException
ConfluenceSoapService
removeSpaceGroup in interface ConfluenceSoapServicetoken - the authentication tokenspaceGroupKey - the id of the spacegroup to be removed
RemoteException
public RemoteSpace addPersonalSpace(java.lang.String token,
                                    RemoteSpace space,
                                    java.lang.String username)
                             throws NotPermittedException,
                                    InvalidSessionException,
                                    AlreadyExistsException,
                                    RemoteException
addPersonalSpace in interface ConfluenceSoapServiceNotPermittedException
InvalidSessionException
AlreadyExistsException
RemoteException
public RemoteSpace addPersonalSpaceWithDefaultPermissions(java.lang.String token,
                                                          RemoteSpace space,
                                                          java.lang.String username)
                                                   throws NotPermittedException,
                                                          InvalidSessionException,
                                                          AlreadyExistsException,
                                                          RemoteException
addPersonalSpaceWithDefaultPermissions in interface ConfluenceSoapServiceNotPermittedException
InvalidSessionException
AlreadyExistsException
RemoteException
public java.lang.Boolean removeSpace(java.lang.String token,
                                     java.lang.String spaceKey)
                              throws NotPermittedException,
                                     InvalidSessionException,
                                     RemoteException
removeSpace in interface ConfluenceSoapServiceNotPermittedException
InvalidSessionException
RemoteException
public RemoteSpace getSpace(java.lang.String token,
                            java.lang.String spaceKey)
                     throws InvalidSessionException,
                            RemoteException
getSpace in interface ConfluenceSoapServiceInvalidSessionException
RemoteException
public java.lang.String[] getPermissions(java.lang.String token,
                                         java.lang.String spaceKey)
                                  throws InvalidSessionException,
                                         RemoteException
getPermissions in interface ConfluenceSoapServiceInvalidSessionException
RemoteException
public java.lang.String[] getPermissionsForUser(java.lang.String token,
                                                java.lang.String spaceKey,
                                                java.lang.String userName)
                                         throws InvalidSessionException,
                                                RemoteException
getPermissionsForUser in interface ConfluenceSoapServiceInvalidSessionException
RemoteException
public RemoteSpacePermissionSet[] getSpacePermissionSets(java.lang.String token,
                                                         java.lang.String spaceKey)
                                                  throws InvalidSessionException,
                                                         NotPermittedException,
                                                         RemoteException
getSpacePermissionSets in interface ConfluenceSoapServiceInvalidSessionException
NotPermittedException
RemoteException
public RemoteSpacePermissionSet getSpacePermissionSet(java.lang.String token,
                                                      java.lang.String spaceKey,
                                                      java.lang.String permissionType)
                                               throws InvalidSessionException,
                                                      NotPermittedException,
                                                      RemoteException
getSpacePermissionSet in interface ConfluenceSoapServiceInvalidSessionException
NotPermittedException
RemoteException
public boolean addPermissionToSpace(java.lang.String token,
                                    java.lang.String permission,
                                    java.lang.String remoteEntityName,
                                    java.lang.String spaceKey)
                             throws RemoteException
ConfluenceSoapService
addPermissionToSpace in interface ConfluenceSoapServicetoken - the authentication tokenpermission - the Space Permission to addremoteEntityName - the name of the user or groupspaceKey - the key of the Space affected by this action
RemoteException - if the Space Permission is null
NotPermittedException - if the user lacks permissions to perform the action
public boolean addPermissionsToSpace(java.lang.String token,
                                     java.lang.String[] permissions,
                                     java.lang.String remoteEntityName,
                                     java.lang.String spaceKey)
                              throws RemoteException
ConfluenceSoapService
addPermissionsToSpace in interface ConfluenceSoapServicetoken - the authentication tokenpermissions - the Space Permissions to addremoteEntityName - the name of the user or groupspaceKey - the key of the Space affected by this action
RemoteException - if the Space Permissions array is null
NotPermittedException - if the user lacks permissions to perform the action
public boolean removePermissionFromSpace(java.lang.String token,
                                         java.lang.String permission,
                                         java.lang.String remoteEntityName,
                                         java.lang.String spaceKey)
                                  throws NotPermittedException,
                                         RemoteException
ConfluenceSoapService
removePermissionFromSpace in interface ConfluenceSoapServicetoken - the authentication tokenpermission - the Space Permission to removeremoteEntityName - the name of the user or groupspaceKey - the key of the Space affected by this action
NotPermittedException - if the user lacks permissions to perform the action
RemoteException - if the Space does not exist
public boolean addAnonymousPermissionToSpace(java.lang.String token,
                                             java.lang.String permission,
                                             java.lang.String spaceKey)
                                      throws RemoteException
ConfluenceSoapService
addAnonymousPermissionToSpace in interface ConfluenceSoapServicetoken - the authentication tokenpermission - the Space Permission to addspaceKey - the key of the Space affected by this action
RemoteException - if the Space Permission is null
NotPermittedException - if the user lacks permissions to perform the action
public boolean addAnonymousPermissionsToSpace(java.lang.String token,
                                              java.lang.String[] permissions,
                                              java.lang.String spaceKey)
                                       throws RemoteException
ConfluenceSoapService
addAnonymousPermissionsToSpace in interface ConfluenceSoapServicetoken - the authentication tokenpermissions - the Space Permissions to addspaceKey - the key of the Space affected by this action
RemoteException - if the Space Permissions array is null
NotPermittedException - if the user lacks permissions to perform the action
public boolean removeAnonymousPermissionFromSpace(java.lang.String token,
                                                  java.lang.String permission,
                                                  java.lang.String spaceKey)
                                           throws NotPermittedException,
                                                  RemoteException
ConfluenceSoapService
removeAnonymousPermissionFromSpace in interface ConfluenceSoapServicetoken - the authentication tokenpermission - the Space Permission to removespaceKey - the key of the Space affected by this action
NotPermittedException - if the user lacks permissions to perform the action
RemoteException - if the Space does not exist
public java.lang.String[] getSpaceLevelPermissions(java.lang.String token)
                                            throws RemoteException
getSpaceLevelPermissions in interface ConfluenceSoapServiceRemoteException
public RemotePageSummary[] getPages(java.lang.String token,
                                    java.lang.String spaceKey)
                             throws InvalidSessionException,
                                    RemoteException
ConfluenceSoapService
getPages in interface ConfluenceSoapServicetoken - the authentication tokenspaceKey - the key of the space which pages are to be returned
InvalidSessionException
RemoteException
public RemoteComment addComment(java.lang.String token,
                                RemoteComment comment)
                         throws InvalidSessionException,
                                NotPermittedException,
                                RemoteException
ConfluenceSoapService
addComment in interface ConfluenceSoapServicetoken - The token identifying the current usercomment - The RemoteComment object containing the comment information
InvalidSessionException
NotPermittedException - if the user is unable to post the comment
RemoteException - if the user does not have permission to view the page the comment is being posted to, or it does not exist
public RemoteComment editComment(java.lang.String token,
                                 RemoteComment comment)
                          throws InvalidSessionException,
                                 NotPermittedException,
                                 RemoteException
ConfluenceSoapService
editComment in interface ConfluenceSoapServicetoken - The token identifying the current usercomment - The RemoteComment object containing the comment information
InvalidSessionException
NotPermittedException - if the user is unable to edit the comment
RemoteException - if the user does not have permission to view the page the comment is being posted to, or it does not exist
public boolean removeComment(java.lang.String token,
                             long commentId)
                      throws InvalidSessionException,
                             NotPermittedException,
                             RemoteException
ConfluenceSoapService
removeComment in interface ConfluenceSoapServicetoken - The token identifying the current usercommentId - The ID of the comment to remove
InvalidSessionException
NotPermittedException - if the user does not have permission to remove the comment
RemoteException - if the user does not have permission to view the page the comment is on, or it does not exist
public RemotePageSummary[] getTopLevelPages(java.lang.String token,
                                            java.lang.String spaceKey)
                                     throws RemoteException
ConfluenceSoapService
getTopLevelPages in interface ConfluenceSoapServicetoken - the authentication tokenspaceKey - the key of the space which pages are to be returned
RemoteException
public RemotePageSummary[] getAncestors(java.lang.String token,
                                        long pageId)
                                 throws InvalidSessionException,
                                        RemoteException
ConfluenceSoapService
getAncestors in interface ConfluenceSoapServicetoken - the authentication tokenpageId - the id of the page which child pages are to be returned
InvalidSessionException
RemoteException
public RemotePageSummary[] getChildren(java.lang.String token,
                                       long pageId)
                                throws InvalidSessionException,
                                       RemoteException
ConfluenceSoapService
getChildren in interface ConfluenceSoapServicetoken - the authentication tokenpageId - the id of the page which child pages are to be returned
InvalidSessionException
RemoteException
public RemotePageSummary[] getDescendents(java.lang.String token,
                                          long pageId)
                                   throws InvalidSessionException,
                                          RemoteException
ConfluenceSoapService
getDescendents in interface ConfluenceSoapServicetoken - the authentication tokenpageId - the id of the page which child pages are to be returned
InvalidSessionException
RemoteException
public RemoteAttachment[] getAttachments(java.lang.String token,
                                         long pageId)
                                  throws InvalidSessionException,
                                         RemoteException
getAttachments in interface ConfluenceSoapServiceInvalidSessionException
RemoteException
public RemotePageHistory[] getPageHistory(java.lang.String token,
                                          long pageId)
                                   throws InvalidSessionException,
                                          RemoteException
getPageHistory in interface ConfluenceSoapServiceInvalidSessionException
RemoteException
public boolean watchPage(java.lang.String token,
                         long pageId)
                  throws RemoteException
ConfluenceSoapService
watchPage in interface ConfluenceSoapServiceRemoteException - if the watch could not be added
public boolean watchSpace(java.lang.String token,
                          java.lang.String spaceKey)
                   throws RemoteException
ConfluenceSoapService
watchSpace in interface ConfluenceSoapServiceRemoteException - if the watch could not be added
public boolean watchPageForUser(java.lang.String token,
                                long pageId,
                                java.lang.String username)
                         throws RemoteException
ConfluenceSoapService
watchPageForUser in interface ConfluenceSoapServiceRemoteException - if the watch could not be added, or the current user does not have permission to add it
public boolean removePageWatch(java.lang.String token,
                               long pageId)
                        throws RemoteException
ConfluenceSoapService
removePageWatch in interface ConfluenceSoapServiceRemoteException - if the watch could not be removed
public boolean removeSpaceWatch(java.lang.String token,
                                java.lang.String spaceKey)
                         throws RemoteException
ConfluenceSoapService
removeSpaceWatch in interface ConfluenceSoapServiceRemoteException - if the watch could not be removed
public boolean removePageWatchForUser(java.lang.String token,
                                      long pageId,
                                      java.lang.String username)
                               throws RemoteException
ConfluenceSoapService
removePageWatchForUser in interface ConfluenceSoapServiceRemoteException - if the watch could not be removed, or the current user does not have permission to remove it
public boolean isWatchingPage(java.lang.String token,
                              long pageId,
                              java.lang.String username)
                       throws RemoteException
ConfluenceSoapService
isWatchingPage in interface ConfluenceSoapServiceRemoteException - 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
public boolean isWatchingSpace(java.lang.String token,
                               java.lang.String spaceKey,
                               java.lang.String username)
                        throws RemoteException
ConfluenceSoapService
isWatchingSpace in interface ConfluenceSoapServiceRemoteException - if the current user does not have permission to administer the space, or if the user does
                         not exist
public boolean isWatchingSpaceForType(java.lang.String token,
                                      java.lang.String spaceKey,
                                      java.lang.String contentType,
                                      java.lang.String username)
                               throws RemoteException
ConfluenceSoapService
isWatchingSpaceForType in interface ConfluenceSoapServiceRemoteException - if the current user does not have permission to administer the space, or if the user does
                         not exist
public RemoteUser[] getWatchersForPage(java.lang.String token,
                                       long pageId)
                                throws RemoteException
ConfluenceSoapService
getWatchersForPage in interface ConfluenceSoapServiceRemoteException - if the current user does not have permission to see the page or administer the space, or
                         if the page does not exist
public RemoteUser[] getWatchersForSpace(java.lang.String token,
                                        java.lang.String spaceKey)
                                 throws RemoteException
ConfluenceSoapService
getWatchersForSpace in interface ConfluenceSoapServiceRemoteException - if the current user does not have permission to administer the space, or if the space does not exist
public java.lang.String renderContent(java.lang.String token,
                                      java.lang.String spaceKey,
                                      long pageId,
                                      java.lang.String newContent)
                               throws InvalidSessionException,
                                      RemoteException
renderContent in interface ConfluenceSoapServiceInvalidSessionException
RemoteException
public java.lang.String renderContent(java.lang.String token,
                                      java.lang.String spaceKey,
                                      long pageId,
                                      java.lang.String newContent,
                                      java.util.Map renderParameters)
                               throws RemoteException
renderContent in interface ConfluenceSoapServiceRemoteException
public java.lang.String convertWikiToStorageFormat(java.lang.String token,
                                                   java.lang.String markup)
                                            throws RemoteException
ConfluenceSoapService
convertWikiToStorageFormat in interface ConfluenceSoapServiceRemoteException
public RemoteAttachment addAttachment(java.lang.String token,
                                      long contentId,
                                      RemoteAttachment attachment,
                                      byte[] attachmentData)
                               throws RemoteException
ConfluenceSoapService
addAttachment in interface ConfluenceSoapServicetoken - the authentication tokencontentId - the id of the ContentEntityObject to receive the new attachment.attachment - RemoteAttachment object containing attachment informationattachmentData - a byte[] continaing the contents of the attachment.
RemoteException
@Deprecated
public RemoteAttachment addAttachment(java.lang.String token,
                                                 RemoteAttachment attachment,
                                                 byte[] attachmentData)
                               throws RemoteException
addAttachment in interface ConfluenceSoapServiceRemoteException
public RemoteAttachment getAttachment(java.lang.String token,
                                      long entityId,
                                      java.lang.String fileName,
                                      int version)
                               throws RemoteException
ConfluenceSoapService
getAttachment in interface ConfluenceSoapServicetoken - the authentication token.entityId - the id of the ContentEntityObject the attachemt belongs to.fileName - the name of the attachment.version - the version number of the attachment.
RemoteException
public byte[] getAttachmentData(java.lang.String token,
                                long entityId,
                                java.lang.String fileName,
                                int version)
                         throws RemoteException
ConfluenceSoapService
getAttachmentData in interface ConfluenceSoapServicetoken - the authentication token.entityId - the id of the ContentEntityObject the attachemt belongs to.fileName - the name of the attachment.version - the version number of the attachment.
RemoteException
public boolean removeAttachment(java.lang.String token,
                                long contentId,
                                java.lang.String fileName)
                         throws RemoteException
ConfluenceSoapService
removeAttachment in interface ConfluenceSoapServicetoken - the authentication token.contentId - the id of the ContentEntityObject the attachment belongs to.fileName - the name of the attachment.
RemoteException
public boolean moveAttachment(java.lang.String token,
                              long originalContentId,
                              java.lang.String originalFileName,
                              long newContentId,
                              java.lang.String newFileName)
                       throws RemoteException
ConfluenceSoapService
moveAttachment in interface ConfluenceSoapServicetoken - 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.
RemoteException
public RemotePage storePage(java.lang.String token,
                            RemotePage page)
                     throws VersionMismatchException,
                            NotPermittedException,
                            InvalidSessionException,
                            RemoteException
storePage in interface ConfluenceSoapServiceVersionMismatchException
NotPermittedException
InvalidSessionException
RemoteException
public RemotePage updatePage(java.lang.String token,
                             RemotePage page,
                             RemotePageUpdateOptions options)
                      throws VersionMismatchException,
                             NotPermittedException,
                             InvalidSessionException,
                             RemoteException
updatePage in interface ConfluenceSoapServiceVersionMismatchException
NotPermittedException
InvalidSessionException
RemoteException
public java.lang.Boolean movePageToTopLevel(java.lang.String token,
                                            long pageId,
                                            java.lang.String targetSpaceKey)
                                     throws RemoteException
movePageToTopLevel in interface ConfluenceSoapServiceRemoteException
public java.lang.Boolean movePage(java.lang.String token,
                                  long sourcePageId,
                                  long targetPageId,
                                  java.lang.String position)
                           throws RemoteException
movePage in interface ConfluenceSoapServiceRemoteException
public java.lang.Boolean removePage(java.lang.String token,
                                    long pageId)
                             throws NotPermittedException,
                                    InvalidSessionException,
                                    RemoteException
removePage in interface ConfluenceSoapServiceNotPermittedException
InvalidSessionException
RemoteException
public java.lang.Boolean removePageVersionById(java.lang.String token,
                                               long historicalPageId)
                                        throws NotPermittedException,
                                               InvalidSessionException,
                                               RemoteException
ConfluenceSoapServiceConfluenceSoapService.removePage(String, long).
removePageVersionById in interface ConfluenceSoapServicehistoricalPageId - the id of a historical version of a page
NotPermittedException
InvalidSessionException
RemoteException
public java.lang.Boolean removePageVersionByVersion(java.lang.String token,
                                                    long pageId,
                                                    int version)
                                             throws NotPermittedException,
                                                    InvalidSessionException,
                                                    RemoteException
ConfluenceSoapService
removePageVersionByVersion in interface ConfluenceSoapServicepageId - 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).
NotPermittedException
InvalidSessionException
RemoteException
public RemoteSearchResult[] search(java.lang.String token,
                                   java.lang.String query,
                                   int maxResults)
                            throws InvalidSessionException,
                                   RemoteException
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.
search in interface ConfluenceSoapServicetoken - the authentication tokenquery - the query term for the searchmaxResults - the maximum number of results to be returned.
RemoteSearchResults. If there are no results then an empty array will be returned.
InvalidSessionException
RemoteException
public RemoteSearchResult[] search(java.lang.String token,
                                   java.lang.String query,
                                   java.util.Map params,
                                   int maxResults)
                            throws RemoteException
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 -
com.atlassian.bonnie.search.SinceDateQueryFactory for a list of understood representations.
 
search in interface ConfluenceSoapServicetoken - the authentication tokenquery - the query term for the searchparams - a MapmaxResults - the maximum number of results to be returned.
RemoteSearchResults. If there are no results then an empty array will be returned.
RemoteException
public RemoteBlogEntrySummary[] getBlogEntries(java.lang.String token,
                                               java.lang.String spaceKey)
                                        throws InvalidSessionException,
                                               RemoteException
getBlogEntries in interface ConfluenceSoapServiceInvalidSessionException
RemoteException
public RemoteBlogEntry storeBlogEntry(java.lang.String token,
                                      RemoteBlogEntry blogEntry)
                               throws VersionMismatchException,
                                      NotPermittedException,
                                      InvalidSessionException,
                                      RemoteException
storeBlogEntry in interface ConfluenceSoapServiceVersionMismatchException
NotPermittedException
InvalidSessionException
RemoteException
public RemoteServerInfo getServerInfo(java.lang.String token)
                               throws InvalidSessionException,
                                      RemoteException
getServerInfo in interface ConfluenceSoapServiceInvalidSessionException
RemoteException
public RemotePermission[] getPagePermissions(java.lang.String token,
                                             long pageId)
                                      throws InvalidSessionException,
                                             RemoteException
getPagePermissions in interface ConfluenceSoapServiceInvalidSessionException
RemoteException
public java.lang.String exportSpace(java.lang.String token,
                                    java.lang.String spaceKey,
                                    java.lang.String exportType)
                             throws RemoteException
exportSpace in interface ConfluenceSoapServiceRemoteException
public java.lang.String exportSpace(java.lang.String token,
                                    java.lang.String spaceKey,
                                    java.lang.String exportType,
                                    boolean exportAll)
                             throws RemoteException
exportSpace in interface ConfluenceSoapServiceRemoteException
public java.lang.String exportSite(java.lang.String token,
                                   boolean exportAttachments)
                            throws RemoteException
exportSite in interface ConfluenceSoapServiceRemoteException
public java.lang.String performBackup(java.lang.String token,
                                      boolean exportAttachments)
                               throws RemoteException
performBackup in interface ConfluenceSoapServiceRemoteException
public boolean importSpace(java.lang.String token,
                           byte[] importData)
                    throws RemoteException
ConfluenceSoapService
importSpace in interface ConfluenceSoapServicetoken - The authentication tokenimportData - The contents of the Space export file
RemoteException - If the space exists or the export file is invalid
public boolean flushIndexQueue(java.lang.String token)
                        throws RemoteException
flushIndexQueue in interface ConfluenceSoapServiceRemoteException
public boolean clearIndexQueue(java.lang.String token)
                        throws RemoteException
clearIndexQueue in interface ConfluenceSoapServiceRemoteException
public RemoteClusterInformation getClusterInformation(java.lang.String token)
                                               throws RemoteException
getClusterInformation in interface ConfluenceSoapServiceRemoteException
public RemoteNodeStatus[] getClusterNodeStatuses(java.lang.String token)
                                          throws RemoteException
getClusterNodeStatuses in interface ConfluenceSoapServiceRemoteException
public java.lang.String[] getGroups(java.lang.String token)
                             throws RemoteException
ConfluenceSoapService
getGroups in interface ConfluenceSoapServicetoken - The token identifying the current user
NotPermittedException - if the current user lacks permission to administer
RemoteException
public boolean hasGroup(java.lang.String token,
                        java.lang.String groupname)
                 throws InvalidSessionException,
                        RemoteException
ConfluenceSoapService
hasGroup in interface ConfluenceSoapServicetoken - the token identifying the current usergroupname - the group to look up
InvalidSessionException
RemoteException
public boolean addGroup(java.lang.String token,
                        java.lang.String groupname)
                 throws NotPermittedException,
                        InvalidSessionException,
                        RemoteException
ConfluenceSoapService
addGroup in interface ConfluenceSoapServicetoken - The token identifying the current usergroupname - The name of the group to be added
NotPermittedException - if the current user lacks permission to administer
InvalidSessionException
RemoteException
public boolean removeGroup(java.lang.String token,
                           java.lang.String groupname,
                           java.lang.String defaultGroupName)
                    throws NotPermittedException,
                           InvalidSessionException,
                           RemoteException
ConfluenceSoapService
removeGroup in interface ConfluenceSoapServicetoken - The token identifying the current usergroupname - The name of the group to be removeddefaultGroupName - The name of the group that users will be moved to
NotPermittedException - if the current user lacks permission to administer
InvalidSessionException
RemoteException - if the given groupname does not exist
public boolean removeAllPermissionsForGroup(java.lang.String token,
                                            java.lang.String groupname)
                                     throws RemoteException
ConfluenceSoapService
removeAllPermissionsForGroup in interface ConfluenceSoapServicetoken - The token identifying the current usergroupname - The group to delete permissions for
NotPermittedException - if the current user lacks permission to administer
RemoteException - if the given groupname does not exist
public java.lang.String[] getUserGroups(java.lang.String token,
                                        java.lang.String username)
                                 throws NotPermittedException,
                                        InvalidSessionException,
                                        RemoteException
ConfluenceSoapService
getUserGroups in interface ConfluenceSoapServicetoken - The token identifying the current userusername - The username to retrieve groups for
NotPermittedException - if the current user lacks permission to administer
InvalidSessionException
RemoteException - if the given username does not exist
public boolean addUserToGroup(java.lang.String token,
                              java.lang.String username,
                              java.lang.String groupname)
                       throws NotPermittedException,
                              InvalidSessionException,
                              RemoteException
addUserToGroup in interface ConfluenceSoapServiceNotPermittedException - if the current user lacks permission to administer
InvalidSessionException
RemoteException - if the given username does not exist
public boolean removeUserFromGroup(java.lang.String token,
                                   java.lang.String username,
                                   java.lang.String groupname)
                            throws NotPermittedException,
                                   InvalidSessionException,
                                   RemoteException
ConfluenceSoapService
removeUserFromGroup in interface ConfluenceSoapServicetoken - The token identifying the current userusername - The username to remove from a groupgroupname - The name of the group the user is to be removed from
NotPermittedException - if the current user lacks permission to administer
InvalidSessionException
RemoteException - if the given username does not exist
public RemoteUser getUser(java.lang.String token,
                          java.lang.String username)
                   throws InvalidSessionException,
                          RemoteException
ConfluenceSoapService
getUser in interface ConfluenceSoapServicetoken - The token identifying the current userusername - The username of the user to be retrieved
InvalidSessionException
RemoteException - if a user with the given username cannot be found
public RemoteConfluenceUser getUserByName(java.lang.String token,
                                          java.lang.String username)
                                   throws InvalidSessionException,
                                          RemoteException
ConfluenceSoapService
getUserByName in interface ConfluenceSoapServicetoken - The token identifying the current userusername - The username of the user to be retrieved
InvalidSessionException
RemoteException - if a user with the given username cannot be found
public RemoteConfluenceUser getUserByKey(java.lang.String token,
                                         java.lang.String key)
                                  throws InvalidSessionException,
                                         RemoteException
ConfluenceSoapService
getUserByKey in interface ConfluenceSoapServicetoken - The token identifying the current userkey - The user key of the user to be retrieved
InvalidSessionException
RemoteException - if a user with the given user key cannot be found
public boolean setUserPreferenceBoolean(java.lang.String token,
                                        java.lang.String username,
                                        java.lang.String key,
                                        boolean value)
                                 throws InvalidSessionException,
                                        RemoteException
ConfluenceSoapService
setUserPreferenceBoolean in interface ConfluenceSoapServicetoken - the token identifying the current userkey - The user preference keyvalue - The value
InvalidSessionException - If the rpc token expired
RemoteException - If any other exception occurred
public boolean getUserPreferenceBoolean(java.lang.String token,
                                        java.lang.String username,
                                        java.lang.String key)
                                 throws InvalidSessionException,
                                        RemoteException
ConfluenceSoapService
getUserPreferenceBoolean in interface ConfluenceSoapServicetoken - the token identifying the current userkey - The user preference key
InvalidSessionException - If the rpc token expired
RemoteException - If any other exception occurred (including not being able to find the key)
public boolean setUserPreferenceLong(java.lang.String token,
                                     java.lang.String username,
                                     java.lang.String key,
                                     long value)
                              throws InvalidSessionException,
                                     RemoteException
ConfluenceSoapService
setUserPreferenceLong in interface ConfluenceSoapServicetoken - the token identifying the current userkey - The user preference keyvalue - The value
InvalidSessionException - If the rpc token expired
RemoteException - If any other exception occurred
public long getUserPreferenceLong(java.lang.String token,
                                  java.lang.String username,
                                  java.lang.String key)
                           throws InvalidSessionException,
                                  RemoteException
ConfluenceSoapService
getUserPreferenceLong in interface ConfluenceSoapServicetoken - the token identifying the current userkey - The user preference key
InvalidSessionException - If the rpc token expired
RemoteException - If any other exception occurred (including not being able to find the key)
public boolean setUserPreferenceString(java.lang.String token,
                                       java.lang.String username,
                                       java.lang.String key,
                                       java.lang.String value)
                                throws InvalidSessionException,
                                       RemoteException
ConfluenceSoapService
setUserPreferenceString in interface ConfluenceSoapServicetoken - the token identifying the current userkey - The user preference keyvalue - The value
InvalidSessionException - If the rpc token expired
RemoteException - If any other exception occurred
public java.lang.String getUserPreferenceString(java.lang.String token,
                                                java.lang.String username,
                                                java.lang.String key)
                                         throws InvalidSessionException,
                                                RemoteException
ConfluenceSoapService
getUserPreferenceString in interface ConfluenceSoapServicetoken - the token identifying the current userkey - The user preference key
InvalidSessionException - If the rpc token expired
RemoteException - If any other exception occurred (including not being able to find the key)
public boolean hasUser(java.lang.String token,
                       java.lang.String username)
                throws InvalidSessionException,
                       RemoteException
ConfluenceSoapService
hasUser in interface ConfluenceSoapServicetoken - the token identifying the current userusername - the username to look up
InvalidSessionException
RemoteException
public void addUser(java.lang.String token,
                    RemoteUser remoteUser,
                    java.lang.String password)
             throws NotPermittedException,
                    InvalidSessionException,
                    RemoteException
ConfluenceSoapService
addUser in interface ConfluenceSoapServicetoken - The token identifying the current userremoteUser - The object containing the user informationpassword - The password of the user
NotPermittedException - if the current user lacks permissions to create new users
InvalidSessionException
RemoteException - if a user with the given username cannot be found
public void addUser(java.lang.String token,
                    RemoteUser remoteUser,
                    java.lang.String password,
                    boolean notifyUser)
             throws NotPermittedException,
                    InvalidSessionException,
                    RemoteException
ConfluenceSoapService
addUser in interface ConfluenceSoapServicetoken - The token identifying the current userremoteUser - The object containing the user informationpassword - The password of the usernotifyUser - Whether or not you want the new user to be notified of their new account
NotPermittedException - if the current user lacks permissions to create new users
InvalidSessionException
RemoteException - if a user with the given username cannot be found
public boolean removeUser(java.lang.String token,
                          java.lang.String username)
                   throws NotPermittedException,
                          InvalidSessionException,
                          RemoteException
ConfluenceSoapService
removeUser in interface ConfluenceSoapServicetoken - The token identifying the current userusername - The username of the user to be removed
NotPermittedException - if the current user lacks the permission to remove users
InvalidSessionException
RemoteException - if the given username cannot be found
public boolean editUser(java.lang.String token,
                        RemoteUser remoteUser)
                 throws NotPermittedException,
                        InvalidSessionException,
                        RemoteException
ConfluenceSoapService
editUser in interface ConfluenceSoapServicetoken - The token identifying the current userremoteUser - The object containing the user information
NotPermittedException - if the current user cannot administer users or is not the actual user
InvalidSessionException
RemoteException - if a user with the given username cannot be found
public boolean deactivateUser(java.lang.String token,
                              java.lang.String username)
                       throws NotPermittedException,
                              InvalidSessionException,
                              RemoteException
ConfluenceSoapService
deactivateUser in interface ConfluenceSoapServicetoken - The token identifying the current userusername - The username of the user to deactivate
NotPermittedException - if the current user does not have permissions to perform the action
InvalidSessionException
RemoteException - if the given username cannot be found
public boolean reactivateUser(java.lang.String token,
                              java.lang.String username)
                       throws NotPermittedException,
                              InvalidSessionException,
                              RemoteException
ConfluenceSoapService
reactivateUser in interface ConfluenceSoapServicetoken - The token identifying the current userusername - The username of the user to reactivate
NotPermittedException - if the current user does not have permissions to perform the action
InvalidSessionException
RemoteException - if the given username cannot be found
public boolean isActiveUser(java.lang.String token,
                            java.lang.String username)
                     throws NotPermittedException,
                            RemoteException
ConfluenceSoapService
isActiveUser in interface ConfluenceSoapServiceusername - The username to check
RemoteException - If the username does not exist
NotPermittedException
public java.lang.String[] getActiveUsers(java.lang.String token,
                                         boolean viewAll)
                                  throws InvalidSessionException,
                                         RemoteException
ConfluenceSoapService
getActiveUsers in interface ConfluenceSoapServicetoken - The token identifying the current userviewAll - 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.
InvalidSessionException
NotPermittedException - if the current user does not have administration permissions
RemoteException
public boolean setUserInformation(java.lang.String token,
                                  RemoteUserInformation userInfo)
                           throws NotPermittedException,
                                  InvalidSessionException,
                                  RemoteException
ConfluenceSoapService
setUserInformation in interface ConfluenceSoapServicetoken - The token identifying the current useruserInfo - A RemoteUserInformation object, containing the username, email, fullname, url and information
NotPermittedException - if the current user cannot administer users or is not the actual user
InvalidSessionException
RemoteException - if there was an error saving the personal information
public RemoteUserInformation getUserInformation(java.lang.String token,
                                                java.lang.String username)
                                         throws InvalidSessionException,
                                                RemoteException
ConfluenceSoapService
getUserInformation in interface ConfluenceSoapServicetoken - The token identifying the current userusername - The name of the user to get information on
InvalidSessionException
RemoteException - if a user with the given username cannot be found
public boolean changeMyPassword(java.lang.String token,
                                java.lang.String oldPass,
                                java.lang.String newPass)
                         throws InvalidSessionException,
                                RemoteException
ConfluenceSoapService
changeMyPassword in interface ConfluenceSoapServicetoken - The token identifying the current useroldPass - The old password of the user, required for security purposesnewPass - The new password for the user
InvalidSessionException
NotPermittedException - if newPass was incorrect
RemoteException - if oldPass does not match the user's password
public boolean changeUserPassword(java.lang.String token,
                                  java.lang.String username,
                                  java.lang.String newPass)
                           throws NotPermittedException,
                                  InvalidSessionException,
                                  RemoteException
ConfluenceSoapService
changeUserPassword in interface ConfluenceSoapServicetoken - The token identifying the current userusername - The username of the user we are changing the password fornewPass - The new password for the user
NotPermittedException - if the current user does not have permission to administer the user
InvalidSessionException
RemoteException - if the user cannot be found
public boolean addProfilePicture(java.lang.String token,
                                 java.lang.String userName,
                                 java.lang.String fileName,
                                 java.lang.String mimeType,
                                 byte[] pictureData)
                          throws NotPermittedException,
                                 InvalidSessionException,
                                 RemoteException
ConfluenceSoapService
addProfilePicture in interface ConfluenceSoapServiceuserName - The user name of the profilefileName - File name of the picturemimeType - Image mime type (must be from image/*)pictureData - The image data
NotPermittedException - Principal is not permitted to add pictures to the specified profile
InvalidSessionException
RemoteException - if the user can not be found
public boolean renameUser(java.lang.String token,
                          java.lang.String oldUsername,
                          java.lang.String newUsername)
                   throws RemoteException
ConfluenceSoapService
renameUser in interface ConfluenceSoapServicetoken - The token identifying the current useroldUsername - current username of the usernewUsername - new username of the user
NotPermittedException - if the current user does not have permissions to perform the action
InvalidSessionException
RemoteException - if the new username does not meet username requirements
public java.lang.String[] renameUsers(java.lang.String token,
                                      java.util.Map<java.lang.String,java.lang.String> oldUsernamesToNewUsernames)
                               throws RemoteException
ConfluenceSoapService
renameUsers in interface ConfluenceSoapServicetoken - The token identifying the current useroldUsernamesToNewUsernames - mapping of current usernames to new usernames of users
NotPermittedException - if the current user does not have permissions to perform the action
InvalidSessionException
RemoteException - if a new username does not meet username requirements
public RemoteLabel[] getLabelsById(java.lang.String token,
                                   long objectId)
                            throws InvalidSessionException,
                                   RemoteException
ConfluenceSoapService
getLabelsById in interface ConfluenceSoapServicetoken - The token identifying the current userobjectId - The ID of the ContentEntityObject the method will retrieve the labels for
RemoteException - if the object cannot be retrieved from the ContentEntityManager
InvalidSessionException
public RemoteLabel[] getMostPopularLabels(java.lang.String token,
                                          int maxCount)
                                   throws InvalidSessionException,
                                          RemoteException
ConfluenceSoapService
getMostPopularLabels in interface ConfluenceSoapServicetoken - The token identifying the current usermaxCount - The maximum number of labels to return. A maxCount of 0 means there is no limit.
InvalidSessionException
RemoteException
public RemoteLabel[] getMostPopularLabelsInSpace(java.lang.String token,
                                                 java.lang.String spaceKey,
                                                 int maxCount)
                                          throws InvalidSessionException,
                                                 RemoteException
ConfluenceSoapService
getMostPopularLabelsInSpace in interface ConfluenceSoapServicetoken - The token identifying the current userspaceKey - The key of the space to limit the labels tomaxCount - The maximum number of labels to return. A maxCount of 0 means there is no limit.
RemoteException - if the space cannot be retrieved from the SpaceManager
NotPermittedException - if the given user does not have VIEW permissions for the space
InvalidSessionException
public RemoteLabel[] getRecentlyUsedLabels(java.lang.String token,
                                           int maxResults)
                                    throws InvalidSessionException,
                                           RemoteException
ConfluenceSoapService
getRecentlyUsedLabels in interface ConfluenceSoapServicetoken - The token identifying the current usermaxResults - The maximum number of labels to return. A value of 0 means the default is used.
InvalidSessionException
RemoteException
public RemoteLabel[] getRecentlyUsedLabelsInSpace(java.lang.String token,
                                                  java.lang.String spaceKey,
                                                  int maxResults)
                                           throws InvalidSessionException,
                                                  RemoteException
ConfluenceSoapService
getRecentlyUsedLabelsInSpace in interface ConfluenceSoapServicetoken - The token identifying the current userspaceKey - The key of the space to limit the labels tomaxResults - The maximum number of labels to return. A value of 0 means the default is used.
RemoteException - if the space does not exist, or the user lacks permission to view it
NotPermittedException - if the given user does not have VIEW permissions for the space
InvalidSessionException
public RemoteSpace[] getSpacesWithLabel(java.lang.String token,
                                        java.lang.String labelName)
                                 throws InvalidSessionException,
                                        RemoteException
ConfluenceSoapService
getSpacesWithLabel in interface ConfluenceSoapServicetoken - The token identifying the current userlabelName - The name of the label (namespace prefixes permitted)
InvalidSessionException
RemoteException - if labelName is an empty string or null
public RemoteLabel[] getRelatedLabels(java.lang.String token,
                                      java.lang.String labelName,
                                      int maxResults)
                               throws InvalidSessionException,
                                      RemoteException
ConfluenceSoapService
getRelatedLabels in interface ConfluenceSoapServicetoken - The token identifying the current userlabelName - 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.
RemoteException - if labelName is an empty string or null
InvalidSessionException
public RemoteLabel[] getRelatedLabelsInSpace(java.lang.String token,
                                             java.lang.String labelName,
                                             java.lang.String spaceKey,
                                             int maxResults)
                                      throws InvalidSessionException,
                                             RemoteException
ConfluenceSoapService
getRelatedLabelsInSpace in interface ConfluenceSoapServicetoken - The token identifying the current userlabelName - The name of the label (namespace prefixes permitted)spaceKey - The key of the space to limit the labels tomaxResults - The maximum number of labels to return. A maxCount of 0 means the default is used.
RemoteException - if labelName is an empty string or null
InvalidSessionException
public RemoteLabel[] getLabelsByDetail(java.lang.String token,
                                       java.lang.String labelName,
                                       java.lang.String namespace,
                                       java.lang.String spaceKey,
                                       java.lang.String owner)
                                throws InvalidSessionException,
                                       RemoteException,
                                       NotPermittedException
ConfluenceSoapService
getLabelsByDetail in interface ConfluenceSoapServicetoken - the authentication token for the userlabelName - the name of the label to search for (not parsed for prefixes)namespace - the namespace to restrict byspaceKey - the key of the space to restrict byowner - the owner of the labels
InvalidSessionException
RemoteException - if labelName is an empty string or null
NotPermittedExceptionNamespace
public RemoteSearchResult[] getLabelContentById(java.lang.String token,
                                                long labelId)
                                         throws InvalidSessionException,
                                                RemoteException
ConfluenceSoapService
getLabelContentById in interface ConfluenceSoapServicetoken - The token identifying the current userlabelId - The ID of the label
RemoteException - if a Label could not be retrieved for the given ID
InvalidSessionException
public RemoteSearchResult[] getLabelContentByName(java.lang.String token,
                                                  java.lang.String labelName)
                                           throws InvalidSessionException,
                                                  RemoteException
ConfluenceSoapService
getLabelContentByName in interface ConfluenceSoapServicetoken - The token identifying the current userlabelName - The name of a label (namespace prefixes permitted)
RemoteException - if the label name is null
InvalidSessionException
public RemoteSearchResult[] getLabelContentByObject(java.lang.String token,
                                                    RemoteLabel labelObject)
                                             throws InvalidSessionException,
                                                    RemoteException
ConfluenceSoapService
getLabelContentByObject in interface ConfluenceSoapServicetoken - The token identifying the current userlabelObject - The RemoteLabel object
RemoteException - if the RemoteLabel object is null
InvalidSessionException
public RemoteSpace[] getSpacesContainingContentWithLabel(java.lang.String token,
                                                         java.lang.String labelName)
                                                  throws InvalidSessionException,
                                                         RemoteException
ConfluenceSoapService
getSpacesContainingContentWithLabel in interface ConfluenceSoapServicetoken - The token identifying the current userlabelName - The label to retrieve the content for (namespace prefixes permitted)
InvalidSessionException
RemoteException - if labelName is an empty string or null
public boolean addLabelByName(java.lang.String token,
                              java.lang.String labelName,
                              long objectId)
                       throws NotPermittedException,
                              InvalidSessionException,
                              RemoteException
ConfluenceSoapService
addLabelByName in interface ConfluenceSoapServicetoken - The token identifying the current userlabelName - The name of the label(s) to be added to the ContentEntityObject, in the form of a space-separated stringobjectId - The ID of the ContentEntityObject the method will act on
NotPermittedException - if the user lacks EDIT permissions for the object
RemoteException - if the label name is null or an empty String
InvalidSessionException
public boolean addLabelById(java.lang.String token,
                            long labelId,
                            long objectId)
                     throws NotPermittedException,
                            InvalidSessionException,
                            RemoteException
ConfluenceSoapService
addLabelById in interface ConfluenceSoapServicetoken - The token identifying the current userlabelId - The ID of the label to be added to the ContentEntityObjectobjectId - The ID of the ContentEntityObject the method will act on
NotPermittedException - if the user lacks EDIT permissions for the object
RemoteException - if a Label could not be retrieved for the given ID
InvalidSessionException
public boolean addLabelByObject(java.lang.String token,
                                RemoteLabel labelObject,
                                long objectId)
                         throws NotPermittedException,
                                InvalidSessionException,
                                RemoteException
ConfluenceSoapService
addLabelByObject in interface ConfluenceSoapServicetoken - The token identifying the current userlabelObject - The label to be added to the ContentEntityObjectobjectId - The ID of the ContentEntityObject the method will act on
NotPermittedException - if the user lacks EDIT permissions for the object
RemoteException - if the given RemoteLabel object is null
InvalidSessionException
public boolean addLabelByNameToSpace(java.lang.String token,
                                     java.lang.String labelName,
                                     java.lang.String spaceKey)
                              throws NotPermittedException,
                                     InvalidSessionException,
                                     RemoteException
ConfluenceSoapService
addLabelByNameToSpace in interface ConfluenceSoapServicetoken - The token identifying the current userlabelName - The name of the label(s) to be added to the Space, in the form of a space-separated stringspaceKey - The Space to add the label to
NotPermittedException - if the user does not have permission to add the label
RemoteException - if the label name is null or an empty String
InvalidSessionException
public boolean removeLabelByName(java.lang.String token,
                                 java.lang.String labelName,
                                 long objectId)
                          throws NotPermittedException,
                                 InvalidSessionException,
                                 RemoteException
ConfluenceSoapService
removeLabelByName in interface ConfluenceSoapServicetoken - The token identifying the current userlabelName - The name of the label(s) to be removed from the ContentEntityObject, in the form of a space-separated StringobjectId - The ID of the ContentEntityObject the method will act on
NotPermittedException - if the user lacks EDIT permissions for the object
RemoteException - if the label name is null
InvalidSessionException
public boolean removeLabelById(java.lang.String token,
                               long labelId,
                               long objectId)
                        throws NotPermittedException,
                               InvalidSessionException,
                               RemoteException
ConfluenceSoapService
removeLabelById in interface ConfluenceSoapServicetoken - The token identifying the current userlabelId - The ID of the label to be removed from the ContentEntityObjectobjectId - The ID of the ContentEntityObject the method will act on
NotPermittedException - if the user lacks EDIT permissions for the object
RemoteException - if a Label could not be retrieved for the given ID
InvalidSessionException
public boolean removeLabelByObject(java.lang.String token,
                                   RemoteLabel labelObject,
                                   long objectId)
                            throws NotPermittedException,
                                   InvalidSessionException,
                                   RemoteException
ConfluenceSoapService
removeLabelByObject in interface ConfluenceSoapServicetoken - The token identifying the current userlabelObject - The label to be removed from the ContentEntityObjectobjectId - The ID of the ContentEntityObject the method will act on
NotPermittedException - if the user lacks EDIT permissions for the object
RemoteException - if the RemoteLabel object is null
InvalidSessionException
public boolean removeLabelByNameFromSpace(java.lang.String token,
                                          java.lang.String labelName,
                                          java.lang.String spaceKey)
                                   throws NotPermittedException,
                                          InvalidSessionException,
                                          RemoteException
ConfluenceSoapService
removeLabelByNameFromSpace in interface ConfluenceSoapServicetoken - The token identifying the current userlabelName - The name of the label(s) to be removed from the Space, in the form of a space-separated StringspaceKey - The Space the method will act on
NotPermittedException - if the user lacks EDIT permissions for the Space
RemoteException - if the label name is null
InvalidSessionException
public RemoteContentPermissionSet[] getContentPermissionSets(java.lang.String token,
                                                             long contentId)
                                                      throws NotPermittedException,
                                                             InvalidSessionException,
                                                             RemoteException
ConfluenceSoapService
getContentPermissionSets in interface ConfluenceSoapServicetoken - the login token for the current usercontentId - the content ID of the content to be looked up
NotPermittedException - if the content can not be found, or can not be accessed by the current user
InvalidSessionException - if no login session can be found for the supplied token
RemoteException - if something random goes wrong
public RemoteContentPermissionSet getContentPermissionSet(java.lang.String token,
                                                          long contentId,
                                                          java.lang.String permissionType)
                                                   throws NotPermittedException,
                                                          InvalidSessionException,
                                                          RemoteException
ConfluenceSoapService
getContentPermissionSet in interface ConfluenceSoapServicetoken - the login token for the current usercontentId - the content ID of the content to be looked uppermissionType - type of content permission
NotPermittedException - if the content can not be found, or can not be accessed by the current user
InvalidSessionException - if no login session can be found for the supplied token
RemoteException - if something random goes wrong
public boolean setContentPermissions(java.lang.String token,
                                     long contentId,
                                     java.lang.String permissionType,
                                     RemoteContentPermission[] remoteContentPermissions)
                              throws NotPermittedException,
                                     InvalidSessionException,
                                     RemoteException
ConfluenceSoapService
setContentPermissions in interface ConfluenceSoapServicetoken - the login tokencontentId - the id of the content to have permissions set on itpermissionType - the type of the permissions (one of the constants from ContentPermission)remoteContentPermissions - the permissions to set
NotPermittedException - if the content can not be found or can not be accessed by the current user
InvalidSessionException - if no login session can be found for the supplied token
RemoteException - if something random goes wrong
public boolean addGlobalPermission(java.lang.String token,
                                   java.lang.String permission,
                                   java.lang.String remoteEntityName)
                            throws NotPermittedException,
                                   RemoteException
ConfluenceSoapService
addGlobalPermission in interface ConfluenceSoapServicetoken - the login tokenpermission - the Space Permission to addremoteEntityName - the name of the user or group
NotPermittedException - if the user lacks permissions to perform the action
RemoteException
public boolean addGlobalPermissions(java.lang.String token,
                                    java.lang.String[] permissions,
                                    java.lang.String remoteEntityName)
                             throws NotPermittedException,
                                    RemoteException
ConfluenceSoapService
addGlobalPermissions in interface ConfluenceSoapServicetoken - the login tokenpermissions - Array of permissions to addremoteEntityName - the name of the user or group
NotPermittedException - if the user lacks permissions to perform the action
RemoteException
public boolean removeGlobalPermission(java.lang.String token,
                                      java.lang.String permission,
                                      java.lang.String remoteEntityName)
                               throws RemoteException
ConfluenceSoapService
removeGlobalPermission in interface ConfluenceSoapServicetoken - the login tokenpermission - the Space Permission to addremoteEntityName - the name of the user or group
NotPermittedException - if the user lacks permissions to perform the action
RemoteException
public boolean addAnonymousUsePermission(java.lang.String token)
                                  throws RemoteException
addAnonymousUsePermission in interface ConfluenceSoapServiceRemoteException
public boolean removeAnonymousUsePermission(java.lang.String token)
                                     throws RemoteException
ConfluenceSoapService
removeAnonymousUsePermission in interface ConfluenceSoapServicetoken - the login token
RemoteException
public boolean addAnonymousViewUserProfilePermission(java.lang.String token)
                                              throws RemoteException
ConfluenceSoapService
addAnonymousViewUserProfilePermission in interface ConfluenceSoapServicetoken - the login token
RemoteException
public boolean removeAnonymousViewUserProfilePermission(java.lang.String token)
                                                 throws RemoteException
removeAnonymousViewUserProfilePermission in interface ConfluenceSoapServiceRemoteException
@Deprecated
public boolean setEnableWysiwyg(java.lang.String token,
                                           boolean value)
                         throws RemoteException
setEnableWysiwyg in interface ConfluenceSoapServiceRemoteException
public boolean setEnableAnonymousAccess(java.lang.String token,
                                        boolean value)
                                 throws RemoteException
setEnableAnonymousAccess in interface ConfluenceSoapServiceRemoteException
public boolean isPluginEnabled(java.lang.String token,
                               java.lang.String pluginKey)
                        throws RemoteException
ConfluenceSoapService
isPluginEnabled in interface ConfluenceSoapServiceRemoteException
public boolean isPluginInstalled(java.lang.String token,
                                 java.lang.String pluginKey)
                          throws RemoteException
ConfluenceSoapService
isPluginInstalled in interface ConfluenceSoapServiceRemoteException
public boolean installPlugin(java.lang.String token,
                             java.lang.String pluginFileName,
                             byte[] pluginData)
                      throws RemoteException
ConfluenceSoapService
installPlugin in interface ConfluenceSoapServicepluginFileName - 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.
RemoteException
public boolean isDarkFeatureEnabled(java.lang.String token,
                                    java.lang.String key)
                             throws RemoteException
isDarkFeatureEnabled in interface ConfluenceSoapServiceRemoteException
public RemoteContentSummaries getTrashContents(java.lang.String token,
                                               java.lang.String spaceKey,
                                               int offset,
                                               int count)
                                        throws RemoteException
getTrashContents in interface ConfluenceSoapServiceRemoteException
public java.lang.Boolean purgeFromTrash(java.lang.String token,
                                        java.lang.String spaceKey,
                                        long pageId)
                                 throws RemoteException
purgeFromTrash in interface ConfluenceSoapServiceRemoteException
public java.lang.Boolean emptyTrash(java.lang.String token,
                                    java.lang.String spaceKey)
                             throws RemoteException
emptyTrash in interface ConfluenceSoapServiceRemoteException
public java.lang.String getSpaceStatus(java.lang.String token,
                                       java.lang.String spaceKey)
                                throws NotPermittedException,
                                       InvalidSessionException,
                                       RemoteException
getSpaceStatus in interface ConfluenceSoapServiceNotPermittedException
InvalidSessionException
RemoteException
public java.lang.Boolean setSpaceStatus(java.lang.String token,
                                        java.lang.String spaceKey,
                                        java.lang.String status)
                                 throws NotPermittedException,
                                        InvalidSessionException,
                                        RemoteException
setSpaceStatus in interface ConfluenceSoapServiceNotPermittedException
InvalidSessionException
RemoteExceptionpublic void setXhtmlSoapService(ConfluenceSoapService soapService)
public void setWikiToXhtmlMigrator(ExceptionTolerantMigrator wikiToXhtmlMigrator)
public void setContentEntityObjectDao(ContentEntityObjectDao contentEntityObjectDao)
public void setSettingsManager(SettingsManager settingsManager)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||