Interface ConfluenceXmlRpcHandler
- 
- All Superinterfaces:
- SecureRpc
 - All Known Implementing Classes:
- ConfluenceXmlRpcHandlerImpl
 
 public interface ConfluenceXmlRpcHandler extends SecureRpc 
- 
- 
Method Summary
 
- 
- 
- 
Method Detail- 
loginString login(String username, String password) throws RemoteException - Specified by:
- loginin interface- SecureRpc
- Throws:
- RemoteException
 
 - 
logoutboolean logout(String token) throws RemoteException - Specified by:
- logoutin interface- SecureRpc
- Throws:
- RemoteException
 
 - 
getPagesVector getPages(String token, String spaceKey) throws RemoteException - Throws:
- RemoteException
 
 - 
getPageHashtable getPage(String token, String pageId) throws RemoteException - Throws:
- RemoteException
 
 - 
getPageSummaryHashtable getPageSummary(String token, String pageId) throws RemoteException - Throws:
- RemoteException
 
 - 
getPageHashtable getPage(String token, String spaceKey, String pageTitle) throws RemoteException - Throws:
- RemoteException
 
 - 
getPageSummaryHashtable getPageSummary(String token, String spaceKey, String pageTitle) throws RemoteException - Throws:
- RemoteException
 
 - 
getContentPermissionSetsVector getContentPermissionSets(String token, String contentId) throws RemoteException - Throws:
- RemoteException
 
 - 
getContentPermissionSetHashtable getContentPermissionSet(String token, String contentId, String permissionType) throws RemoteException - Throws:
- RemoteException
 
 - 
getContentPermissionsVector getContentPermissions(String token, String contentId) throws RemoteException - Throws:
- RemoteException
 
 - 
setContentPermissionsBoolean setContentPermissions(String token, String contentId, String permissionType, Vector permissions) throws RemoteException - Throws:
- RemoteException
 
 - 
getPermissionsVector getPermissions(String token, String spaceKey) throws RemoteException - Throws:
- RemoteException
 
 - 
getPermissionsForUserVector getPermissionsForUser(String token, String spaceKey, String userName) throws RemoteException - Throws:
- RemoteException
 
 - 
getSpacePermissionSetsVector getSpacePermissionSets(String token, String spaceKey) throws RemoteException - Throws:
- RemoteException
 
 - 
getSpacePermissionSetHashtable getSpacePermissionSet(String token, String spaceKey, String permissionType) throws RemoteException - Throws:
- RemoteException
 
 - 
renderContentString renderContent(String token, String spaceKey, String pageId, String newContent) throws RemoteException - Throws:
- RemoteException
 
 - 
renderContentString renderContent(String token, String spaceKey, String pageId, String newContent, Hashtable renderParameters) throws RemoteException - Throws:
- RemoteException
 
 - 
storePageHashtable storePage(String token, Hashtable pageStruct) throws RemoteException - Throws:
- RemoteException
 
 - 
updatePageHashtable updatePage(String token, Hashtable pageStruct, Hashtable editOptionsStruct) throws RemoteException - Throws:
- RemoteException
 
 - 
movePageToTopLevelBoolean movePageToTopLevel(String token, String pageId, String targetSpaceKey) throws RemoteException - Throws:
- RemoteException
 
 - 
movePageBoolean movePage(String token, String sourcePageId, String targetPageId, String position) throws RemoteException - Throws:
- RemoteException
 
 - 
removePageBoolean removePage(String token, String pageId) throws RemoteException - Throws:
- RemoteException
 
 - 
removePageVersionByIdBoolean removePageVersionById(String token, String historicalPageId) throws RemoteException - Throws:
- RemoteException
 
 - 
removePageVersionByVersionBoolean removePageVersionByVersion(String token, String pageId, int version) throws RemoteException - Throws:
- RemoteException
 
 - 
searchVector search(String token, String query, int maxResults) throws RemoteException - Throws:
- RemoteException
 
 - 
searchVector search(String token, String query, Hashtable params, int maxResults) throws RemoteException - Throws:
- RemoteException
 
 - 
getPageHistoryVector getPageHistory(String token, String pageId) throws RemoteException - Throws:
- RemoteException
 
 - 
getPagePermissionsVector getPagePermissions(String token, String pageId) throws RemoteException - Throws:
- RemoteException
 
 - 
getTrashContentsHashtable getTrashContents(String token, String spaceKey, int offset, int maxResults) throws RemoteException - Throws:
- RemoteException
 
 - 
purgeFromTrashBoolean purgeFromTrash(String token, String spaceKey, String pageId) throws RemoteException - Throws:
- RemoteException
 
 - 
emptyTrashBoolean emptyTrash(String token, String spaceKey) throws RemoteException - Throws:
- RemoteException
 
 - 
getBlogEntriesVector getBlogEntries(String token, String spaceKey) throws RemoteException - Throws:
- RemoteException
 
 - 
getBlogEntryByDayAndTitleHashtable getBlogEntryByDayAndTitle(String token, String spaceKey, int dayOfMonth, String postTitle) throws RemoteException - Throws:
- RemoteException
 
 - 
getBlogEntryByDateAndTitleHashtable getBlogEntryByDateAndTitle(String token, String spaceKey, int year, int month, int dayOfMonth, String postTitle) throws RemoteException - Throws:
- RemoteException
 
 - 
getBlogEntryHashtable getBlogEntry(String token, String blogEntryId) throws RemoteException - Throws:
- RemoteException
 
 - 
storeBlogEntryHashtable storeBlogEntry(String token, Hashtable blogEntryStruct) throws RemoteException - Throws:
- RemoteException
 
 - 
getCommentsVector getComments(String token, String pageId) throws RemoteException - Throws:
- RemoteException
 
 - 
getCommentHashtable getComment(String token, String commentId) throws InvalidSessionException, RemoteException 
 - 
addCommentHashtable addComment(String token, Hashtable comment) throws InvalidSessionException, NotPermittedException, RemoteException 
 - 
editCommentHashtable editComment(String token, Hashtable comment) throws InvalidSessionException, NotPermittedException, RemoteException 
 - 
removeCommentboolean removeComment(String token, String commentId) throws InvalidSessionException, NotPermittedException, RemoteException 
 - 
getTopLevelPagesVector getTopLevelPages(String token, String spaceKey) throws RemoteException - Throws:
- RemoteException
 
 - 
getAncestorsVector getAncestors(String token, String pageId) throws RemoteException - Throws:
- RemoteException
 
 - 
getChildrenVector getChildren(String token, String pageId) throws RemoteException - Throws:
- RemoteException
 
 - 
getDescendentsVector getDescendents(String token, String pageId) throws RemoteException - Throws:
- RemoteException
 
 - 
getAttachmentsVector getAttachments(String token, String pageId) throws RemoteException - Throws:
- RemoteException
 
 - 
convertWikiToStorageFormatString convertWikiToStorageFormat(String token, String wiki) throws RemoteException - Throws:
- RemoteException
 
 - 
watchPageboolean watchPage(String token, String pageId) throws RemoteException - Throws:
- RemoteException
 
 - 
watchSpaceboolean watchSpace(String token, String spaceKey) throws RemoteException - Throws:
- RemoteException
 
 - 
watchPageForUserboolean watchPageForUser(String token, String pageId, String username) throws RemoteException - Throws:
- RemoteException
 
 - 
removePageWatchboolean removePageWatch(String token, String pageId) throws RemoteException - Throws:
- RemoteException
 
 - 
removeSpaceWatchboolean removeSpaceWatch(String token, String spaceKey) throws RemoteException - Throws:
- RemoteException
 
 - 
removePageWatchForUserboolean removePageWatchForUser(String token, String pageId, String username) throws RemoteException - Throws:
- RemoteException
 
 - 
isWatchingPageboolean isWatchingPage(String token, String pageId, String username) throws RemoteException - Throws:
- RemoteException
 
 - 
isWatchingSpaceboolean isWatchingSpace(String token, String spaceKey, String username) throws RemoteException - Throws:
- RemoteException
 
 - 
isWatchingSpaceForTypeboolean isWatchingSpaceForType(String token, String spaceKey, String contentType, String username) throws RemoteException - Throws:
- RemoteException
 
 - 
getWatchersForPageVector getWatchersForPage(String token, String pageId) throws RemoteException - Throws:
- RemoteException
 
 - 
getWatchersForSpaceVector getWatchersForSpace(String token, String spaceKey) throws RemoteException - Throws:
- RemoteException
 
 - 
addAttachmentHashtable addAttachment(String token, String contentId, Hashtable attachment, byte[] attachmentData) throws RemoteException, NotPermittedException - Throws:
- RemoteException
- NotPermittedException
 
 - 
getAttachmentHashtable getAttachment(String token, String contentId, String fileName, String version) throws RemoteException, NotPermittedException - Throws:
- RemoteException
- NotPermittedException
 
 - 
getAttachmentDatabyte[] getAttachmentData(String token, String contentId, String fileName, String version) throws RemoteException, NotPermittedException - Throws:
- RemoteException
- NotPermittedException
 
 - 
removeAttachmentboolean removeAttachment(String token, String contentId, String fileName) throws RemoteException, NotPermittedException - Throws:
- RemoteException
- NotPermittedException
 
 - 
moveAttachmentboolean moveAttachment(String token, String originalContentId, String originalFileName, String newContentId, String newFileName) throws RemoteException, NotPermittedException - Throws:
- RemoteException
- NotPermittedException
 
 - 
getSpacesVector getSpaces(String token) throws RemoteException - Throws:
- RemoteException
 
 - 
getSpacesInGroupVector getSpacesInGroup(String token, String spaceGroupKey) throws RemoteException - Throws:
- RemoteException
 
 - 
getSpaceHashtable getSpace(String token, String spaceKey) throws RemoteException - Throws:
- RemoteException
 
 - 
addSpaceHashtable addSpace(String token, Hashtable space) throws RemoteException - Throws:
- RemoteException
 
 - 
storeSpaceHashtable storeSpace(String token, Hashtable remoteSpace) throws RemoteException - Throws:
- RemoteException
 
 - 
addPersonalSpaceHashtable addPersonalSpace(String token, Hashtable space, String username) throws RemoteException - Throws:
- RemoteException
 
 - 
removeSpaceBoolean removeSpace(String token, String spaceKey) throws RemoteException - Throws:
- RemoteException
 
 - 
getSpaceStatusString getSpaceStatus(String token, String spaceKey) throws RemoteException - Throws:
- RemoteException
 
 - 
setSpaceStatusBoolean setSpaceStatus(String token, String spaceKey, String statusString) throws RemoteException - Throws:
- RemoteException
 
 - 
exportSpaceString exportSpace(String token, String spaceKey, String exportType) throws RemoteException - Throws:
- RemoteException
 
 - 
importSpaceboolean importSpace(String token, byte[] importData) throws RemoteException Import a space in a compressed XML format- Parameters:
- token- The authentication token
- importData- The contents of the Space export file
- Returns:
- True if successful, otherwise false
- Throws:
- RemoteException- If the space exists or the export file is invalid
- Since:
- 2.4
 
 - 
addPermissionToSpaceboolean addPermissionToSpace(String token, String permission, String remoteEntityName, String spaceKey) throws RemoteException - Throws:
- RemoteException
 
 - 
addPermissionsToSpaceboolean addPermissionsToSpace(String token, Vector permissions, String remoteEntityName, String spaceKey) throws RemoteException - Throws:
- RemoteException
 
 - 
removePermissionFromSpaceboolean removePermissionFromSpace(String token, String permission, String remoteEntityName, String spaceKey) throws NotPermittedException, RemoteException - Throws:
- NotPermittedException
- RemoteException
 
 - 
addAnonymousPermissionToSpaceboolean addAnonymousPermissionToSpace(String token, String permission, String spaceKey) throws RemoteException - Throws:
- RemoteException
 
 - 
addAnonymousPermissionsToSpaceboolean addAnonymousPermissionsToSpace(String token, Vector permissions, String spaceKey) throws RemoteException - Throws:
- RemoteException
 
 - 
removeAnonymousPermissionFromSpaceboolean removeAnonymousPermissionFromSpace(String token, String permission, String spaceKey) throws NotPermittedException, RemoteException - Throws:
- NotPermittedException
- RemoteException
 
 - 
getSpaceLevelPermissionsString[] getSpaceLevelPermissions(String token) throws RemoteException - Throws:
- RemoteException
 
 - 
addGlobalPermissionsboolean addGlobalPermissions(String token, Vector permissions, String remoteEntityName) throws RemoteException - Throws:
- RemoteException
 
 - 
addGlobalPermissionboolean addGlobalPermission(String token, String permission, String remoteEntityName) throws RemoteException - Throws:
- RemoteException
 
 - 
removeGlobalPermissionboolean removeGlobalPermission(String token, String permission, String remoteEntityName) throws RemoteException - Throws:
- RemoteException
 
 - 
addAnonymousUsePermissionboolean addAnonymousUsePermission(String token) throws RemoteException - Throws:
- RemoteException
 
 - 
removeAnonymousUsePermissionboolean removeAnonymousUsePermission(String token) throws RemoteException - Throws:
- RemoteException
 
 - 
addAnonymousViewUserProfilePermissionboolean addAnonymousViewUserProfilePermission(String token) throws RemoteException - Throws:
- RemoteException
 
 - 
removeAnonymousViewUserProfilePermissionboolean removeAnonymousViewUserProfilePermission(String token) throws RemoteException - Throws:
- RemoteException
 
 - 
addSpaceGroup@Deprecated Hashtable addSpaceGroup(String token, Hashtable spaceGroup) throws RemoteException Deprecated.since 5.9.SpaceGroupand related classes likeSpaceGroupManagerandSpaceGroupComparatorwill be removed. Please do not use them.- Throws:
- RemoteException
 
 - 
getSpaceGroup@Deprecated Hashtable getSpaceGroup(String token, String spaceGroupKey) throws RemoteException Deprecated.since 5.9.SpaceGroupand related classes likeSpaceGroupManagerandSpaceGroupComparatorwill be removed. Please do not use them.- Throws:
- RemoteException
 
 - 
getSpaceGroups@Deprecated Vector getSpaceGroups(String token) throws RemoteException Deprecated.since 5.9.SpaceGroupand related classes likeSpaceGroupManagerandSpaceGroupComparatorwill be removed. Please do not use them.- Throws:
- RemoteException
 
 - 
removeSpaceGroup@Deprecated boolean removeSpaceGroup(String token, String spaceGroupKey) throws RemoteException Deprecated.since 5.9.SpaceGroupand related classes likeSpaceGroupManagerandSpaceGroupComparatorwill be removed. Please do not use them.- Throws:
- RemoteException
 
 - 
exportSiteString exportSite(String token, boolean exportAttachments) throws RemoteException - Throws:
- RemoteException
 
 - 
performBackupString performBackup(String token, boolean exportAttachments) throws RemoteException - Throws:
- RemoteException
 
 - 
getServerInfoHashtable getServerInfo(String token) throws RemoteException - Throws:
- RemoteException
 
 - 
flushIndexQueueboolean flushIndexQueue(String token) throws RemoteException - Throws:
- RemoteException
 
 - 
clearIndexQueueboolean clearIndexQueue(String token) throws RemoteException - Throws:
- RemoteException
 
 - 
recoverMainIndexboolean recoverMainIndex(String token) throws RemoteException - Throws:
- RemoteException
 
 - 
getClusterInformationHashtable getClusterInformation(String token) throws RemoteException - Throws:
- RemoteException
 
 - 
getClusterNodeStatusesVector getClusterNodeStatuses(String token) throws RemoteException - Throws:
- RemoteException
 
 - 
getGroupsVector getGroups(String token) throws RemoteException - Throws:
- RemoteException
 
 - 
hasGroupboolean hasGroup(String token, String groupname) throws InvalidSessionException, RemoteException 
 - 
addGroupboolean addGroup(String token, String groupname) throws RemoteException - Throws:
- RemoteException
 
 - 
removeGroupboolean removeGroup(String token, String groupname, String defaultGroupName) throws RemoteException - Throws:
- RemoteException
 
 - 
removeAllPermissionsForGroupboolean removeAllPermissionsForGroup(String token, String groupname) throws RemoteException - Throws:
- RemoteException
 
 - 
getUserGroupsVector getUserGroups(String token, String username) throws RemoteException - Throws:
- RemoteException
 
 - 
addUserToGroupboolean addUserToGroup(String token, String username, String groupname) throws RemoteException - Throws:
- RemoteException
 
 - 
removeUserFromGroupboolean removeUserFromGroup(String token, String username, String groupname) throws RemoteException - Throws:
- RemoteException
 
 - 
getUserHashtable getUser(String token, String username) throws RemoteException - Throws:
- RemoteException
 
 - 
getUserByKeyHashtable getUserByKey(String token, String userKey) throws RemoteException - Throws:
- RemoteException
 
 - 
hasUserboolean hasUser(String token, String username) throws InvalidSessionException, RemoteException 
 - 
addUserboolean addUser(String token, Hashtable remoteUser, String password) throws RemoteException - Throws:
- RemoteException
 
 - 
addUserboolean addUser(String token, Hashtable remoteUser, String password, boolean NotifyUser) throws RemoteException - Throws:
- RemoteException
 
 - 
removeUserboolean removeUser(String token, String username) throws RemoteException - Throws:
- RemoteException
 
 - 
editUserboolean editUser(String token, Hashtable remoteUser) throws NotPermittedException, InvalidSessionException, RemoteException 
 - 
deactivateUserboolean deactivateUser(String token, String username) throws NotPermittedException, InvalidSessionException, RemoteException 
 - 
reactivateUserboolean reactivateUser(String token, String username) throws NotPermittedException, InvalidSessionException, RemoteException 
 - 
isActiveUserboolean isActiveUser(String token, String username) throws NotPermittedException, RemoteException - Throws:
- NotPermittedException
- RemoteException
 
 - 
getActiveUsersVector getActiveUsers(String token, boolean viewAll) throws InvalidSessionException, RemoteException 
 - 
setUserInformationboolean setUserInformation(String token, Hashtable userInfo) throws NotPermittedException, InvalidSessionException, RemoteException 
 - 
getUserInformationHashtable getUserInformation(String token, String username) throws InvalidSessionException, RemoteException 
 - 
changeMyPasswordboolean changeMyPassword(String token, String oldPass, String newPass) throws InvalidSessionException, RemoteException 
 - 
changeUserPasswordboolean changeUserPassword(String token, String username, String newPass) throws NotPermittedException, InvalidSessionException, RemoteException 
 - 
addProfilePictureboolean addProfilePicture(String token, String userName, String fileName, String mimeType, byte[] pictureData) throws RemoteException - Throws:
- RemoteException
 
 - 
renameUserboolean renameUser(String token, String oldUsername, String newUsername) throws RemoteException - Throws:
- RemoteException
 
 - 
renameUsersVector renameUsers(String token, Hashtable oldUsernamesToNewUsernames) throws RemoteException - Throws:
- RemoteException
 
 - 
setUserPreferenceBooleanboolean setUserPreferenceBoolean(String token, String username, String key, boolean value) throws InvalidSessionException, RemoteException 
 - 
getUserPreferenceBooleanboolean getUserPreferenceBoolean(String token, String username, String key) throws InvalidSessionException, RemoteException 
 - 
setUserPreferenceLongboolean setUserPreferenceLong(String token, String username, String key, String value) throws InvalidSessionException, RemoteException 
 - 
getUserPreferenceLongString getUserPreferenceLong(String token, String username, String key) throws InvalidSessionException, RemoteException 
 - 
setUserPreferenceStringboolean setUserPreferenceString(String token, String username, String key, String value) throws InvalidSessionException, RemoteException 
 - 
getUserPreferenceStringString getUserPreferenceString(String token, String username, String key) throws InvalidSessionException, RemoteException 
 - 
getLabelsByIdVector getLabelsById(String token, String objectId) throws RemoteException - Throws:
- RemoteException
 
 - 
getMostPopularLabelsVector getMostPopularLabels(String token, int maxCount) throws RemoteException - Throws:
- RemoteException
 
 - 
getMostPopularLabelsInSpaceVector getMostPopularLabelsInSpace(String token, String spaceKey, int maxCount) throws RemoteException - Throws:
- RemoteException
 
 - 
getLabelContentByIdVector getLabelContentById(String token, String labelId) throws RemoteException - Throws:
- RemoteException
 
 - 
getLabelContentByNameVector getLabelContentByName(String token, String labelName) throws RemoteException - Throws:
- RemoteException
 
 - 
getLabelContentByObjectVector getLabelContentByObject(String token, Hashtable labelObject) throws RemoteException - Throws:
- RemoteException
 
 - 
getRecentlyUsedLabelsVector getRecentlyUsedLabels(String token, int maxResults) throws InvalidSessionException, RemoteException 
 - 
getRecentlyUsedLabelsInSpaceVector getRecentlyUsedLabelsInSpace(String token, String spaceKey, int maxResults) throws InvalidSessionException, RemoteException 
 - 
getSpacesWithLabelVector getSpacesWithLabel(String token, String labelName) throws InvalidSessionException, RemoteException 
 - 
getRelatedLabelsVector getRelatedLabels(String token, String labelName, int maxResults) throws InvalidSessionException, RemoteException 
 - 
getRelatedLabelsInSpaceVector getRelatedLabelsInSpace(String token, String labelName, String spaceKey, int maxResults) throws InvalidSessionException, RemoteException 
 - 
getLabelsByDetailVector getLabelsByDetail(String token, String labelName, String namespace, String spaceKey, String owner) throws InvalidSessionException, RemoteException, NotPermittedException 
 - 
getSpacesContainingContentWithLabelVector getSpacesContainingContentWithLabel(String token, String labelName) throws InvalidSessionException, RemoteException 
 - 
addLabelByNameboolean addLabelByName(String token, String labelName, String objectId) throws NotPermittedException, RemoteException - Throws:
- NotPermittedException
- RemoteException
 
 - 
addLabelByIdboolean addLabelById(String token, String labelId, String objectId) throws NotPermittedException, RemoteException - Throws:
- NotPermittedException
- RemoteException
 
 - 
addLabelByObjectboolean addLabelByObject(String token, Hashtable labelObject, String objectId) throws NotPermittedException, RemoteException - Throws:
- NotPermittedException
- RemoteException
 
 - 
addLabelByNameToSpaceboolean addLabelByNameToSpace(String token, String labelName, String spaceKey) throws NotPermittedException, InvalidSessionException, RemoteException 
 - 
removeLabelByNameboolean removeLabelByName(String token, String labelName, String objectId) throws NotPermittedException, RemoteException - Throws:
- NotPermittedException
- RemoteException
 
 - 
removeLabelByIdboolean removeLabelById(String token, String labelId, String objectId) throws NotPermittedException, RemoteException - Throws:
- NotPermittedException
- RemoteException
 
 - 
removeLabelByObjectboolean removeLabelByObject(String token, Hashtable labelObject, String objectId) throws NotPermittedException, RemoteException - Throws:
- NotPermittedException
- RemoteException
 
 - 
removeLabelByNameFromSpaceboolean removeLabelByNameFromSpace(String token, String labelName, String spaceKey) throws NotPermittedException, InvalidSessionException, RemoteException 
 - 
startActivityboolean startActivity(String token, String key, String user) throws RemoteException Call startActivity on the heartbeat manager bean- Parameters:
- token- rpc authentication token
- key- the activity key to start
- user- the username of the user starting the activity
- Returns:
- true if executes startActivity without error.
- Throws:
- RemoteException
 
 - 
stopActivityboolean stopActivity(String token, String key, String user) throws RemoteException Call stopActivity on the heartbeat manager bean- Parameters:
- token- rpc authentication token
- key- the activity key to stop
- user- the username of the user stopping the activity
- Returns:
- true if executes stopActivity without error.
- Throws:
- RemoteException
 
 - 
setEnableAnonymousAccessboolean setEnableAnonymousAccess(String token, String value) throws RemoteException - Throws:
- RemoteException
 
 - 
isPluginEnabledboolean isPluginEnabled(String token, String pluginKey) throws RemoteException - Throws:
- RemoteException
 
 - 
isPluginInstalledboolean isPluginInstalled(String token, String pluginKey) throws RemoteException - Throws:
- RemoteException
 
 - 
installPluginboolean installPlugin(String token, String pluginFileName, byte[] pluginData) throws RemoteException - Throws:
- RemoteException
 
 - 
isDarkFeatureEnabledboolean isDarkFeatureEnabled(String token, String key) throws RemoteException - Throws:
- RemoteException
 
 
- 
 
-