Interface ConfluenceXmlRpcHandler
- All Superinterfaces:
- SecureRpc
- All Known Implementing Classes:
- ConfluenceXmlRpcHandlerImpl
- 
Method SummaryModifier and TypeMethodDescriptionbooleanaddAnonymousPermissionsToSpace(String token, Vector permissions, String spaceKey) booleanaddAnonymousPermissionToSpace(String token, String permission, String spaceKey) booleanaddAnonymousUsePermission(String token) booleanaddAttachment(String token, String contentId, Hashtable attachment, byte[] attachmentData) addComment(String token, Hashtable comment) booleanaddGlobalPermission(String token, String permission, String remoteEntityName) booleanaddGlobalPermissions(String token, Vector permissions, String remoteEntityName) booleanbooleanaddLabelById(String token, String labelId, String objectId) booleanaddLabelByName(String token, String labelName, String objectId) booleanaddLabelByNameToSpace(String token, String labelName, String spaceKey) booleanaddLabelByObject(String token, Hashtable labelObject, String objectId) booleanaddPermissionsToSpace(String token, Vector permissions, String remoteEntityName, String spaceKey) booleanaddPermissionToSpace(String token, String permission, String remoteEntityName, String spaceKey) addPersonalSpace(String token, Hashtable space, String username) booleanaddProfilePicture(String token, String userName, String fileName, String mimeType, byte[] pictureData) addSpaceGroup(String token, Hashtable spaceGroup) Deprecated.since 5.9.booleanbooleanbooleanaddUserToGroup(String token, String username, String groupname) booleanchangeMyPassword(String token, String oldPass, String newPass) booleanchangeUserPassword(String token, String username, String newPass) booleanclearIndexQueue(String token) convertWikiToStorageFormat(String token, String wiki) booleandeactivateUser(String token, String username) editComment(String token, Hashtable comment) booleanemptyTrash(String token, String spaceKey) booleanflushIndexQueue(String token) getActiveUsers(String token, boolean viewAll) getAncestors(String token, String pageId) getAttachment(String token, String contentId, String fileName, String version) byte[]getAttachmentData(String token, String contentId, String fileName, String version) getAttachments(String token, String pageId) getBlogEntries(String token, String spaceKey) getBlogEntry(String token, String blogEntryId) getBlogEntryByDateAndTitle(String token, String spaceKey, int year, int month, int dayOfMonth, String postTitle) getBlogEntryByDayAndTitle(String token, String spaceKey, int dayOfMonth, String postTitle) getChildren(String token, String pageId) getClusterInformation(String token) getClusterNodeStatuses(String token) getComment(String token, String commentId) getComments(String token, String pageId) getContentPermissions(String token, String contentId) getContentPermissionSet(String token, String contentId, String permissionType) getContentPermissionSets(String token, String contentId) getDescendents(String token, String pageId) getLabelContentById(String token, String labelId) getLabelContentByName(String token, String labelName) getLabelContentByObject(String token, Hashtable labelObject) getLabelsById(String token, String objectId) getMostPopularLabels(String token, int maxCount) getMostPopularLabelsInSpace(String token, String spaceKey, int maxCount) getPageHistory(String token, String pageId) getPagePermissions(String token, String pageId) getPageSummary(String token, String pageId) getPageSummary(String token, String spaceKey, String pageTitle) getPermissions(String token, String spaceKey) getPermissionsForUser(String token, String spaceKey, String userName) getRecentlyUsedLabels(String token, int maxResults) getRecentlyUsedLabelsInSpace(String token, String spaceKey, int maxResults) getRelatedLabels(String token, String labelName, int maxResults) getRelatedLabelsInSpace(String token, String labelName, String spaceKey, int maxResults) getServerInfo(String token) getSpaceGroup(String token, String spaceGroupKey) Deprecated.since 5.9.getSpaceGroups(String token) Deprecated.since 5.9.String[]getSpaceLevelPermissions(String token) getSpacePermissionSet(String token, String spaceKey, String permissionType) getSpacePermissionSets(String token, String spaceKey) getSpacesContainingContentWithLabel(String token, String labelName) getSpacesInGroup(String token, String spaceGroupKey) getSpaceStatus(String token, String spaceKey) getSpacesWithLabel(String token, String labelName) getTopLevelPages(String token, String spaceKey) getTrashContents(String token, String spaceKey, int offset, int maxResults) getUserByKey(String token, String userKey) getUserGroups(String token, String username) getUserInformation(String token, String username) booleangetUserPreferenceBoolean(String token, String username, String key) getUserPreferenceLong(String token, String username, String key) getUserPreferenceString(String token, String username, String key) getWatchersForPage(String token, String pageId) getWatchersForSpace(String token, String spaceKey) booleanbooleanbooleaninstallPlugin(String token, String pluginFileName, byte[] pluginData) booleanisActiveUser(String token, String username) booleanisDarkFeatureEnabled(String token, String key) booleanisPluginEnabled(String token, String pluginKey) booleanisPluginInstalled(String token, String pluginKey) booleanisWatchingPage(String token, String pageId, String username) booleanisWatchingSpace(String token, String spaceKey, String username) booleanisWatchingSpaceForType(String token, String spaceKey, String contentType, String username) booleanbooleanmoveAttachment(String token, String originalContentId, String originalFileName, String newContentId, String newFileName) movePageToTopLevel(String token, String pageId, String targetSpaceKey) purgeFromTrash(String token, String spaceKey, String pageId) booleanreactivateUser(String token, String username) booleanrecoverMainIndex(String token) default booleanrefreshIndex(String token) booleanremoveAllPermissionsForGroup(String token, String groupname) booleanremoveAnonymousPermissionFromSpace(String token, String permission, String spaceKey) booleanbooleanbooleanremoveAttachment(String token, String contentId, String fileName) booleanremoveComment(String token, String commentId) booleanremoveGlobalPermission(String token, String permission, String remoteEntityName) booleanremoveGroup(String token, String groupname, String defaultGroupName) booleanremoveLabelById(String token, String labelId, String objectId) booleanremoveLabelByName(String token, String labelName, String objectId) booleanremoveLabelByNameFromSpace(String token, String labelName, String spaceKey) booleanremoveLabelByObject(String token, Hashtable labelObject, String objectId) removePage(String token, String pageId) removePageVersionById(String token, String historicalPageId) removePageVersionByVersion(String token, String pageId, int version) booleanremovePageWatch(String token, String pageId) booleanremovePageWatchForUser(String token, String pageId, String username) booleanremovePermissionFromSpace(String token, String permission, String remoteEntityName, String spaceKey) removeSpace(String token, String spaceKey) booleanremoveSpaceGroup(String token, String spaceGroupKey) Deprecated.since 5.9.booleanremoveSpaceWatch(String token, String spaceKey) booleanremoveUser(String token, String username) booleanremoveUserFromGroup(String token, String username, String groupname) booleanrenameUser(String token, String oldUsername, String newUsername) renameUsers(String token, Hashtable oldUsernamesToNewUsernames) renderContent(String token, String spaceKey, String pageId, String newContent) renderContent(String token, String spaceKey, String pageId, String newContent, Hashtable renderParameters) setContentPermissions(String token, String contentId, String permissionType, Vector permissions) booleansetEnableAnonymousAccess(String token, String value) setSpaceStatus(String token, String spaceKey, String statusString) booleansetUserInformation(String token, Hashtable userInfo) booleansetUserPreferenceBoolean(String token, String username, String key, boolean value) booleansetUserPreferenceLong(String token, String username, String key, String value) booleansetUserPreferenceString(String token, String username, String key, String value) booleanstartActivity(String token, String key, String user) Call startActivity on the heartbeat manager beanbooleanstopActivity(String token, String key, String user) Call stopActivity on the heartbeat manager beanstoreBlogEntry(String token, Hashtable blogEntryStruct) storeSpace(String token, Hashtable remoteSpace) updatePage(String token, Hashtable pageStruct, Hashtable editOptionsStruct) booleanbooleanwatchPageForUser(String token, String pageId, String username) booleanwatchSpace(String token, String spaceKey) 
- 
Method Details- 
login- Specified by:
- loginin interface- SecureRpc
- Throws:
- RemoteException
 
- 
logout- Specified by:
- logoutin interface- SecureRpc
- Throws:
- RemoteException
 
- 
getPages- Throws:
- RemoteException
 
- 
getPage- Throws:
- RemoteException
 
- 
getPageSummary- Throws:
- RemoteException
 
- 
getPage- Throws:
- RemoteException
 
- 
getPageSummary- Throws:
- RemoteException
 
- 
getContentPermissionSets- Throws:
- RemoteException
 
- 
getContentPermissionSetHashtable getContentPermissionSet(String token, String contentId, String permissionType) throws RemoteException - Throws:
- RemoteException
 
- 
getContentPermissions- Throws:
- RemoteException
 
- 
setContentPermissionsBoolean setContentPermissions(String token, String contentId, String permissionType, Vector permissions) throws RemoteException - Throws:
- RemoteException
 
- 
getPermissions- Throws:
- RemoteException
 
- 
getPermissionsForUser- Throws:
- RemoteException
 
- 
getSpacePermissionSets- 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
 
- 
storePage- 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
 
- 
removePage- Throws:
- RemoteException
 
- 
removePageVersionById- Throws:
- RemoteException
 
- 
removePageVersionByVersion- Throws:
- RemoteException
 
- 
search- Throws:
- RemoteException
 
- 
search- Throws:
- RemoteException
 
- 
getPageHistory- Throws:
- RemoteException
 
- 
getPagePermissions- Throws:
- RemoteException
 
- 
getTrashContentsHashtable getTrashContents(String token, String spaceKey, int offset, int maxResults) throws RemoteException - Throws:
- RemoteException
 
- 
purgeFromTrash- Throws:
- RemoteException
 
- 
emptyTrash- Throws:
- RemoteException
 
- 
getBlogEntries- 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
 
- 
getBlogEntry- Throws:
- RemoteException
 
- 
storeBlogEntry- Throws:
- RemoteException
 
- 
getComments- 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 
- 
getTopLevelPages- Throws:
- RemoteException
 
- 
getAncestors- Throws:
- RemoteException
 
- 
getChildren- Throws:
- RemoteException
 
- 
getDescendents- Throws:
- RemoteException
 
- 
getAttachments- Throws:
- RemoteException
 
- 
convertWikiToStorageFormat- Throws:
- RemoteException
 
- 
watchPage- Throws:
- RemoteException
 
- 
watchSpace- Throws:
- RemoteException
 
- 
watchPageForUser- Throws:
- RemoteException
 
- 
removePageWatch- Throws:
- RemoteException
 
- 
removeSpaceWatch- Throws:
- RemoteException
 
- 
removePageWatchForUser- Throws:
- RemoteException
 
- 
isWatchingPage- Throws:
- RemoteException
 
- 
isWatchingSpace- Throws:
- RemoteException
 
- 
isWatchingSpaceForTypeboolean isWatchingSpaceForType(String token, String spaceKey, String contentType, String username) throws RemoteException - Throws:
- RemoteException
 
- 
getWatchersForPage- Throws:
- RemoteException
 
- 
getWatchersForSpace- 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
 
- 
getSpaces- Throws:
- RemoteException
 
- 
getSpacesInGroup- Throws:
- RemoteException
 
- 
getSpace- Throws:
- RemoteException
 
- 
addSpace- Throws:
- RemoteException
 
- 
storeSpace- Throws:
- RemoteException
 
- 
addPersonalSpace- Throws:
- RemoteException
 
- 
removeSpace- Throws:
- RemoteException
 
- 
getSpaceStatus- Throws:
- RemoteException
 
- 
setSpaceStatus- Throws:
- RemoteException
 
- 
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
 
- 
getSpaceLevelPermissions- 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
 
- 
addAnonymousUsePermission- Throws:
- RemoteException
 
- 
removeAnonymousUsePermission- Throws:
- RemoteException
 
- 
addAnonymousViewUserProfilePermission- Throws:
- RemoteException
 
- 
removeAnonymousViewUserProfilePermission- Throws:
- RemoteException
 
- 
addSpaceGroupDeprecated.since 5.9.SpaceGroupand related classes likeSpaceGroupManagerandSpaceGroupComparatorwill be removed. Please do not use them.- Throws:
- RemoteException
 
- 
getSpaceGroupDeprecated.since 5.9.SpaceGroupand related classes likeSpaceGroupManagerandSpaceGroupComparatorwill be removed. Please do not use them.- Throws:
- RemoteException
 
- 
getSpaceGroupsDeprecated.since 5.9.SpaceGroupand related classes likeSpaceGroupManagerandSpaceGroupComparatorwill be removed. Please do not use them.- Throws:
- RemoteException
 
- 
removeSpaceGroupDeprecated.since 5.9.SpaceGroupand related classes likeSpaceGroupManagerandSpaceGroupComparatorwill be removed. Please do not use them.- Throws:
- RemoteException
 
- 
getServerInfo- Throws:
- RemoteException
 
- 
flushIndexQueue- Throws:
- RemoteException
 
- 
clearIndexQueue- Throws:
- RemoteException
 
- 
recoverMainIndex- Throws:
- RemoteException
 
- 
getClusterInformation- Throws:
- RemoteException
 
- 
getClusterNodeStatuses- Throws:
- RemoteException
 
- 
getGroups- Throws:
- RemoteException
 
- 
hasGroup
- 
addGroup- Throws:
- RemoteException
 
- 
removeGroup- Throws:
- RemoteException
 
- 
removeAllPermissionsForGroup- Throws:
- RemoteException
 
- 
getUserGroups- Throws:
- RemoteException
 
- 
addUserToGroup- Throws:
- RemoteException
 
- 
removeUserFromGroup- Throws:
- RemoteException
 
- 
getUser- Throws:
- RemoteException
 
- 
getUserByKey- Throws:
- RemoteException
 
- 
hasUser
- 
addUser- Throws:
- RemoteException
 
- 
addUserboolean addUser(String token, Hashtable remoteUser, String password, boolean NotifyUser) throws RemoteException - Throws:
- RemoteException
 
- 
removeUser- 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 
- 
isActiveUser- 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
 
- 
renameUser- Throws:
- RemoteException
 
- 
renameUsers- 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 
- 
getLabelsById- Throws:
- RemoteException
 
- 
getMostPopularLabels- Throws:
- RemoteException
 
- 
getMostPopularLabelsInSpaceVector getMostPopularLabelsInSpace(String token, String spaceKey, int maxCount) throws RemoteException - Throws:
- RemoteException
 
- 
getLabelContentById- Throws:
- RemoteException
 
- 
getLabelContentByName- Throws:
- RemoteException
 
- 
getLabelContentByObject- 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 
- 
startActivityCall 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
 
- 
stopActivityCall 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
 
- 
setEnableAnonymousAccess- Throws:
- RemoteException
 
- 
isPluginEnabled- Throws:
- RemoteException
 
- 
isPluginInstalled- Throws:
- RemoteException
 
- 
installPluginboolean installPlugin(String token, String pluginFileName, byte[] pluginData) throws RemoteException - Throws:
- RemoteException
 
- 
isDarkFeatureEnabled- Throws:
- RemoteException
 
- 
refreshIndex- Throws:
- RemoteException
 
 
-