com.atlassian.confluence.rpc.soap
Interface ConfluenceSoapService

All Superinterfaces:
SecureRpc
All Known Implementing Classes:
ConfluenceSoapServiceDelegator, ConfluenceSoapServiceImpl

public interface ConfluenceSoapService
extends SecureRpc


Field Summary
static java.lang.String ADMIN_SPACE_PERMISSION
           
static java.lang.String COMMENT_PERMISSION
           
static java.lang.String MODIFY_PERMISSION
           
static java.lang.String VIEW_PERMISSION
           
 
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)
           
 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. available for backward compatibility.
 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)
           
 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
 void addUser(java.lang.String token, RemoteUser remoteUser, java.lang.String password)
          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)
           
 boolean convertToPersonalSpace(java.lang.String tokem, java.lang.String userName, java.lang.String spaceKey, java.lang.String newName, boolean updateLinks)
           
 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.String exportSite(java.lang.String token, boolean exportAttachments)
           
 java.lang.String exportSpace(java.lang.String token, java.lang.String spaceKey, java.lang.String exportType)
           
 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)
           
 RemoteAttachment getAttachment(java.lang.String token, long contentId, java.lang.String fileName, int version)
          Retrieve information about an attachment.
 byte[] getAttachmentData(java.lang.String token, long contentId, 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 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)
           
 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)
           
 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)
           
 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)
           
 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)
           
 RemoteSpace[] getSpacesWithLabel(java.lang.String token, java.lang.String labelName)
          Returns an array of Spaces that have been labelled with labelName
 RemoteUser getUser(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 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
 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
 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)
           
 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)
           
 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 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
 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)
           
 RemoteSearchResult[] search(java.lang.String token, java.lang.String query, java.util.Map params, int maxResults)
           
 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 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

 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.
 

Field Detail

VIEW_PERMISSION

static final java.lang.String VIEW_PERMISSION
See Also:
Constant Field Values

MODIFY_PERMISSION

static final java.lang.String MODIFY_PERMISSION
See Also:
Constant Field Values

COMMENT_PERMISSION

static final java.lang.String COMMENT_PERMISSION
See Also:
Constant Field Values

ADMIN_SPACE_PERMISSION

static final java.lang.String ADMIN_SPACE_PERMISSION
See Also:
Constant Field Values
Method Detail

login

java.lang.String login(java.lang.String username,
                       java.lang.String password)
                       throws AuthenticationFailedException,
                              RemoteException
Specified by:
login in interface SecureRpc
Throws:
AuthenticationFailedException
RemoteException

logout

boolean logout(java.lang.String token)
               throws RemoteException
Specified by:
logout in interface SecureRpc
Throws:
RemoteException

getSpaces

RemoteSpaceSummary[] getSpaces(java.lang.String token)
                               throws InvalidSessionException,
                                      RemoteException
Throws:
InvalidSessionException
RemoteException

getSpacesInGroup

RemoteSpaceSummary[] getSpacesInGroup(java.lang.String token,
                                      java.lang.String spaceGroupKey)
                                      throws RemoteException
Throws:
RemoteException

addSpace

RemoteSpace addSpace(java.lang.String token,
                     RemoteSpace space)
                     throws NotPermittedException,
                            InvalidSessionException,
                            AlreadyExistsException,
                            RemoteException
Throws:
NotPermittedException
InvalidSessionException
AlreadyExistsException
RemoteException

storeSpace

RemoteSpace storeSpace(java.lang.String token,
                       RemoteSpace remoteSpace)
                       throws RemoteException
Allows for modifying space details via the remote API. Currently you can update the following space properties:

addSpaceGroup

RemoteSpaceGroup addSpaceGroup(java.lang.String token,
                               RemoteSpaceGroup spaceGroup)
                               throws NotPermittedException,
                                      InvalidSessionException,
                                      AlreadyExistsException,
                                      RemoteException
Add a space Group to Confluence

Parameters:
token - the authentication token
spaceGroup - the spacegroup to add
Returns:
Throws:
NotPermittedException - if the user lacks permissions to perform the action
InvalidSessionException
AlreadyExistsException - if a group with the same key already exists
RemoteException

getSpaceGroup

RemoteSpaceGroup getSpaceGroup(java.lang.String token,
                               java.lang.String spaceGroup)
                               throws NotPermittedException,
                                      InvalidSessionException,
                                      AlreadyExistsException,
                                      RemoteException
Throws:
NotPermittedException
InvalidSessionException
AlreadyExistsException
RemoteException

getSpaceGroups

RemoteSpaceGroup[] getSpaceGroups(java.lang.String token)
                                  throws InvalidSessionException,
                                         RemoteException
Throws:
InvalidSessionException
RemoteException

removeSpaceGroup

boolean removeSpaceGroup(java.lang.String token,
                         java.lang.String spaceGroupKey)
                         throws RemoteException
Removes a Space Group from Confluence without removeing the space it contains. Currently requires global administration rights

Parameters:
token - the authentication token
spaceGroupKey - the id of the spacegroup to be removed
Returns:
Throws:
RemoteException

addPersonalSpace

RemoteSpace addPersonalSpace(java.lang.String token,
                             RemoteSpace space,
                             java.lang.String username)
                             throws NotPermittedException,
                                    InvalidSessionException,
                                    AlreadyExistsException,
                                    RemoteException
Throws:
NotPermittedException
InvalidSessionException
AlreadyExistsException
RemoteException

removeSpace

java.lang.Boolean removeSpace(java.lang.String token,
                              java.lang.String spaceKey)
                              throws NotPermittedException,
                                     InvalidSessionException,
                                     RemoteException
Throws:
NotPermittedException
InvalidSessionException
RemoteException

getSpace

RemoteSpace getSpace(java.lang.String token,
                     java.lang.String spaceKey)
                     throws InvalidSessionException,
                            RemoteException
Throws:
InvalidSessionException
RemoteException

convertToPersonalSpace

boolean convertToPersonalSpace(java.lang.String tokem,
                               java.lang.String userName,
                               java.lang.String spaceKey,
                               java.lang.String newName,
                               boolean updateLinks)
                               throws RemoteException
Throws:
RemoteException

getPermissions

java.lang.String[] getPermissions(java.lang.String token,
                                  java.lang.String spaceKey)
                                  throws InvalidSessionException,
                                         RemoteException
Throws:
InvalidSessionException
RemoteException

getPermissionsForUser

java.lang.String[] getPermissionsForUser(java.lang.String token,
                                         java.lang.String spaceKey,
                                         java.lang.String userName)
                                         throws InvalidSessionException,
                                                NotPermittedException,
                                                RemoteException
Throws:
InvalidSessionException
NotPermittedException
RemoteException

addPermissionToSpace

boolean addPermissionToSpace(java.lang.String token,
                             java.lang.String permission,
                             java.lang.String remoteEntityName,
                             java.lang.String spaceKey)
                             throws RemoteException
Add a Space Permission for a user or group

Parameters:
token - the authentication token
permission - the Space Permission to add
remoteEntityName - the name of the user or group
spaceKey - the key of the Space affected by this action
Returns:
True if successful, false otherwise
Throws:
RemoteException - if the Space Permission is null
RemoteException - if the Space does not exist
NotPermittedException - if the user lacks permissions to perform the action
RemoteException - if the remoteEntityName is null or does not match a user or group

addPermissionsToSpace

boolean addPermissionsToSpace(java.lang.String token,
                              java.lang.String[] permissions,
                              java.lang.String remoteEntityName,
                              java.lang.String spaceKey)
                              throws RemoteException
Add Space Permissions for a user or group

Parameters:
token - the authentication token
permissions - the Space Permissions to add
remoteEntityName - the name of the user or group
spaceKey - the key of the Space affected by this action
Returns:
True if successful, false otherwise
Throws:
RemoteException - if the Space Permissions array is null
RemoteException - if the Space does not exist
NotPermittedException - if the user lacks permissions to perform the action
RemoteException - if the remoteEntityName is null or does not match a user or group
Since:
2.0

removePermissionFromSpace

boolean removePermissionFromSpace(java.lang.String token,
                                  java.lang.String permission,
                                  java.lang.String remoteEntityName,
                                  java.lang.String spaceKey)
                                  throws NotPermittedException,
                                         RemoteException
Removes a Space Permission for a user or group

Parameters:
token - the authentication token
permission - the Space Permission to remove
remoteEntityName - the name of the user or group
spaceKey - the key of the Space affected by this action
Returns:
True if successful, false otherwise
Throws:
RemoteException - if the Space does not exist
NotPermittedException - if the user lacks permissions to perform the action
RemoteException - if the remoteEntityName is null or does not match a user or group

addAnonymousPermissionToSpace

boolean addAnonymousPermissionToSpace(java.lang.String token,
                                      java.lang.String permission,
                                      java.lang.String spaceKey)
                                      throws RemoteException
Add a Space Permission for anonymous users

Parameters:
token - the authentication token
permission - the Space Permission to add
spaceKey - the key of the Space affected by this action
Returns:
True if successful, false otherwise
Throws:
RemoteException - if the Space Permission is null
RemoteException - if the Space does not exist
NotPermittedException - if the user lacks permissions to perform the action
RemoteException - if the remoteEntityName is null or does not match a user or group
Since:
2.0

addAnonymousPermissionsToSpace

boolean addAnonymousPermissionsToSpace(java.lang.String token,
                                       java.lang.String[] permissions,
                                       java.lang.String spaceKey)
                                       throws RemoteException
Add Space Permissions for anonymous users

Parameters:
token - the authentication token
permissions - the Space Permissions to add
spaceKey - the key of the Space affected by this action
Returns:
True if successful, false otherwise
Throws:
RemoteException - if the Space Permissions array is null
RemoteException - if the Space does not exist
NotPermittedException - if the user lacks permissions to perform the action
RemoteException - if the remoteEntityName is null or does not match a user or group
Since:
2.0

removeAnonymousPermissionFromSpace

boolean removeAnonymousPermissionFromSpace(java.lang.String token,
                                           java.lang.String permission,
                                           java.lang.String spaceKey)
                                           throws NotPermittedException,
                                                  RemoteException
Removes a Space Permission for anonymous users

Parameters:
token - the authentication token
permission - the Space Permission to remove
spaceKey - the key of the Space affected by this action
Returns:
True if successful, false otherwise
Throws:
RemoteException - if the Space does not exist
NotPermittedException - if the user lacks permissions to perform the action
RemoteException - if the remoteEntityName is null or does not match a user or group
Since:
2.0

getPagePermissions

RemotePermission[] getPagePermissions(java.lang.String token,
                                      long pageId)
                                      throws InvalidSessionException,
                                             RemoteException
Throws:
InvalidSessionException
RemoteException

getSpaceLevelPermissions

java.lang.String[] getSpaceLevelPermissions(java.lang.String token)
                                            throws RemoteException
Throws:
RemoteException

getPages

RemotePageSummary[] getPages(java.lang.String token,
                             java.lang.String spaceKey)
                             throws InvalidSessionException,
                                    RemoteException
Throws:
InvalidSessionException
RemoteException

getPage

RemotePage getPage(java.lang.String token,
                   java.lang.String spaceKey,
                   java.lang.String pageTitle)
                   throws InvalidSessionException,
                          RemoteException
Throws:
InvalidSessionException
RemoteException

getPage

RemotePage getPage(java.lang.String token,
                   long pageId)
                   throws InvalidSessionException,
                          RemoteException
Throws:
InvalidSessionException
RemoteException

storePage

RemotePage storePage(java.lang.String token,
                     RemotePage page)
                     throws VersionMismatchException,
                            NotPermittedException,
                            InvalidSessionException,
                            RemoteException
Throws:
VersionMismatchException
NotPermittedException
InvalidSessionException
RemoteException

removePage

java.lang.Boolean removePage(java.lang.String token,
                             long pageId)
                             throws NotPermittedException,
                                    InvalidSessionException,
                                    RemoteException
Throws:
NotPermittedException
InvalidSessionException
RemoteException

getAncestors

RemotePageSummary[] getAncestors(java.lang.String token,
                                 long pageId)
                                 throws InvalidSessionException,
                                        RemoteException
Throws:
InvalidSessionException
RemoteException

getChildren

RemotePageSummary[] getChildren(java.lang.String token,
                                long pageId)
                                throws InvalidSessionException,
                                       RemoteException
Throws:
InvalidSessionException
RemoteException

getDescendents

RemotePageSummary[] getDescendents(java.lang.String token,
                                   long pageId)
                                   throws InvalidSessionException,
                                          RemoteException
Throws:
InvalidSessionException
RemoteException

getAttachments

RemoteAttachment[] getAttachments(java.lang.String token,
                                  long pageId)
                                  throws InvalidSessionException,
                                         RemoteException
Throws:
InvalidSessionException
RemoteException

getPageHistory

RemotePageHistory[] getPageHistory(java.lang.String token,
                                   long pageId)
                                   throws InvalidSessionException,
                                          RemoteException
Throws:
InvalidSessionException
RemoteException

renderContent

java.lang.String renderContent(java.lang.String token,
                               java.lang.String spaceKey,
                               long pageId,
                               java.lang.String newContent)
                               throws InvalidSessionException,
                                      RemoteException
Throws:
InvalidSessionException
RemoteException

renderContent

java.lang.String renderContent(java.lang.String token,
                               java.lang.String spaceKey,
                               long pageId,
                               java.lang.String newContent,
                               java.util.Map renderParameters)
                               throws RemoteException
Throws:
RemoteException

addAttachment

RemoteAttachment addAttachment(java.lang.String token,
                               long contentId,
                               RemoteAttachment attachment,
                               byte[] attachmentData)
                               throws