Interface ConfluenceXmlRpcHandler
- All Superinterfaces:
SecureRpc
- All Known Implementing Classes:
ConfluenceXmlRpcHandlerImpl
-
Method Summary
Modifier 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 interfaceSecureRpc- Throws:
RemoteException
-
logout
- Specified by:
logoutin interfaceSecureRpc- Throws:
RemoteException
-
getPages
- Throws:
RemoteException
-
getPage
- Throws:
RemoteException
-
getPageSummary
- Throws:
RemoteException
-
getPage
- Throws:
RemoteException
-
getPageSummary
- Throws:
RemoteException
-
getContentPermissionSets
- Throws:
RemoteException
-
getContentPermissionSet
Hashtable getContentPermissionSet(String token, String contentId, String permissionType) throws RemoteException - Throws:
RemoteException
-
getContentPermissions
- Throws:
RemoteException
-
setContentPermissions
Boolean setContentPermissions(String token, String contentId, String permissionType, Vector permissions) throws RemoteException - Throws:
RemoteException
-
getPermissions
- Throws:
RemoteException
-
getPermissionsForUser
- Throws:
RemoteException
-
getSpacePermissionSets
- Throws:
RemoteException
-
getSpacePermissionSet
Hashtable getSpacePermissionSet(String token, String spaceKey, String permissionType) throws RemoteException - Throws:
RemoteException
-
renderContent
String renderContent(String token, String spaceKey, String pageId, String newContent) throws RemoteException - Throws:
RemoteException
-
renderContent
String renderContent(String token, String spaceKey, String pageId, String newContent, Hashtable renderParameters) throws RemoteException - Throws:
RemoteException
-
storePage
- Throws:
RemoteException
-
updatePage
Hashtable updatePage(String token, Hashtable pageStruct, Hashtable editOptionsStruct) throws RemoteException - Throws:
RemoteException
-
movePageToTopLevel
Boolean movePageToTopLevel(String token, String pageId, String targetSpaceKey) throws RemoteException - Throws:
RemoteException
-
movePage
Boolean 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
-
getTrashContents
Hashtable getTrashContents(String token, String spaceKey, int offset, int maxResults) throws RemoteException - Throws:
RemoteException
-
purgeFromTrash
- Throws:
RemoteException
-
emptyTrash
- Throws:
RemoteException
-
getBlogEntries
- Throws:
RemoteException
-
getBlogEntryByDayAndTitle
Hashtable getBlogEntryByDayAndTitle(String token, String spaceKey, int dayOfMonth, String postTitle) throws RemoteException - Throws:
RemoteException
-
getBlogEntryByDateAndTitle
Hashtable 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
-
getComment
Hashtable getComment(String token, String commentId) throws InvalidSessionException, RemoteException -
addComment
Hashtable addComment(String token, Hashtable comment) throws InvalidSessionException, NotPermittedException, RemoteException -
editComment
Hashtable editComment(String token, Hashtable comment) throws InvalidSessionException, NotPermittedException, RemoteException -
removeComment
boolean 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
-
isWatchingSpaceForType
boolean isWatchingSpaceForType(String token, String spaceKey, String contentType, String username) throws RemoteException - Throws:
RemoteException
-
getWatchersForPage
- Throws:
RemoteException
-
getWatchersForSpace
- Throws:
RemoteException
-
addAttachment
Hashtable addAttachment(String token, String contentId, Hashtable attachment, byte[] attachmentData) throws RemoteException, NotPermittedException - Throws:
RemoteExceptionNotPermittedException
-
getAttachment
Hashtable getAttachment(String token, String contentId, String fileName, String version) throws RemoteException, NotPermittedException - Throws:
RemoteExceptionNotPermittedException
-
getAttachmentData
byte[] getAttachmentData(String token, String contentId, String fileName, String version) throws RemoteException, NotPermittedException - Throws:
RemoteExceptionNotPermittedException
-
removeAttachment
boolean removeAttachment(String token, String contentId, String fileName) throws RemoteException, NotPermittedException - Throws:
RemoteExceptionNotPermittedException
-
moveAttachment
boolean moveAttachment(String token, String originalContentId, String originalFileName, String newContentId, String newFileName) throws RemoteException, NotPermittedException - Throws:
RemoteExceptionNotPermittedException
-
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
-
addPermissionToSpace
boolean addPermissionToSpace(String token, String permission, String remoteEntityName, String spaceKey) throws RemoteException - Throws:
RemoteException
-
addPermissionsToSpace
boolean addPermissionsToSpace(String token, Vector permissions, String remoteEntityName, String spaceKey) throws RemoteException - Throws:
RemoteException
-
removePermissionFromSpace
boolean removePermissionFromSpace(String token, String permission, String remoteEntityName, String spaceKey) throws NotPermittedException, RemoteException - Throws:
NotPermittedExceptionRemoteException
-
addAnonymousPermissionToSpace
boolean addAnonymousPermissionToSpace(String token, String permission, String spaceKey) throws RemoteException - Throws:
RemoteException
-
addAnonymousPermissionsToSpace
boolean addAnonymousPermissionsToSpace(String token, Vector permissions, String spaceKey) throws RemoteException - Throws:
RemoteException
-
removeAnonymousPermissionFromSpace
boolean removeAnonymousPermissionFromSpace(String token, String permission, String spaceKey) throws NotPermittedException, RemoteException - Throws:
NotPermittedExceptionRemoteException
-
getSpaceLevelPermissions
- Throws:
RemoteException
-
addGlobalPermissions
boolean addGlobalPermissions(String token, Vector permissions, String remoteEntityName) throws RemoteException - Throws:
RemoteException
-
addGlobalPermission
boolean addGlobalPermission(String token, String permission, String remoteEntityName) throws RemoteException - Throws:
RemoteException
-
removeGlobalPermission
boolean removeGlobalPermission(String token, String permission, String remoteEntityName) throws RemoteException - Throws:
RemoteException
-
addAnonymousUsePermission
- Throws:
RemoteException
-
removeAnonymousUsePermission
- Throws:
RemoteException
-
addAnonymousViewUserProfilePermission
- Throws:
RemoteException
-
removeAnonymousViewUserProfilePermission
- Throws:
RemoteException
-
addSpaceGroup
Deprecated.since 5.9.SpaceGroupand related classes likeSpaceGroupManagerandSpaceGroupComparatorwill be removed. Please do not use them.- Throws:
RemoteException
-
getSpaceGroup
Deprecated.since 5.9.SpaceGroupand related classes likeSpaceGroupManagerandSpaceGroupComparatorwill be removed. Please do not use them.- Throws:
RemoteException
-
getSpaceGroups
Deprecated.since 5.9.SpaceGroupand related classes likeSpaceGroupManagerandSpaceGroupComparatorwill be removed. Please do not use them.- Throws:
RemoteException
-
removeSpaceGroup
Deprecated.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
-
addUser
boolean addUser(String token, Hashtable remoteUser, String password, boolean NotifyUser) throws RemoteException - Throws:
RemoteException
-
removeUser
- Throws:
RemoteException
-
editUser
boolean editUser(String token, Hashtable remoteUser) throws NotPermittedException, InvalidSessionException, RemoteException -
deactivateUser
boolean deactivateUser(String token, String username) throws NotPermittedException, InvalidSessionException, RemoteException -
reactivateUser
boolean reactivateUser(String token, String username) throws NotPermittedException, InvalidSessionException, RemoteException -
isActiveUser
- Throws:
NotPermittedExceptionRemoteException
-
getActiveUsers
Vector getActiveUsers(String token, boolean viewAll) throws InvalidSessionException, RemoteException -
setUserInformation
boolean setUserInformation(String token, Hashtable userInfo) throws NotPermittedException, InvalidSessionException, RemoteException -
getUserInformation
Hashtable getUserInformation(String token, String username) throws InvalidSessionException, RemoteException -
changeMyPassword
boolean changeMyPassword(String token, String oldPass, String newPass) throws InvalidSessionException, RemoteException -
changeUserPassword
boolean changeUserPassword(String token, String username, String newPass) throws NotPermittedException, InvalidSessionException, RemoteException -
addProfilePicture
boolean addProfilePicture(String token, String userName, String fileName, String mimeType, byte[] pictureData) throws RemoteException - Throws:
RemoteException
-
renameUser
- Throws:
RemoteException
-
renameUsers
- Throws:
RemoteException
-
setUserPreferenceBoolean
boolean setUserPreferenceBoolean(String token, String username, String key, boolean value) throws InvalidSessionException, RemoteException -
getUserPreferenceBoolean
boolean getUserPreferenceBoolean(String token, String username, String key) throws InvalidSessionException, RemoteException -
setUserPreferenceLong
boolean setUserPreferenceLong(String token, String username, String key, String value) throws InvalidSessionException, RemoteException -
getUserPreferenceLong
String getUserPreferenceLong(String token, String username, String key) throws InvalidSessionException, RemoteException -
setUserPreferenceString
boolean setUserPreferenceString(String token, String username, String key, String value) throws InvalidSessionException, RemoteException -
getUserPreferenceString
String getUserPreferenceString(String token, String username, String key) throws InvalidSessionException, RemoteException -
getLabelsById
- Throws:
RemoteException
-
getMostPopularLabels
- Throws:
RemoteException
-
getMostPopularLabelsInSpace
Vector getMostPopularLabelsInSpace(String token, String spaceKey, int maxCount) throws RemoteException - Throws:
RemoteException
-
getLabelContentById
- Throws:
RemoteException
-
getLabelContentByName
- Throws:
RemoteException
-
getLabelContentByObject
- Throws:
RemoteException
-
getRecentlyUsedLabels
Vector getRecentlyUsedLabels(String token, int maxResults) throws InvalidSessionException, RemoteException -
getRecentlyUsedLabelsInSpace
Vector getRecentlyUsedLabelsInSpace(String token, String spaceKey, int maxResults) throws InvalidSessionException, RemoteException -
getSpacesWithLabel
Vector getSpacesWithLabel(String token, String labelName) throws InvalidSessionException, RemoteException -
getRelatedLabels
Vector getRelatedLabels(String token, String labelName, int maxResults) throws InvalidSessionException, RemoteException -
getRelatedLabelsInSpace
Vector getRelatedLabelsInSpace(String token, String labelName, String spaceKey, int maxResults) throws InvalidSessionException, RemoteException -
getLabelsByDetail
Vector getLabelsByDetail(String token, String labelName, String namespace, String spaceKey, String owner) throws InvalidSessionException, RemoteException, NotPermittedException -
getSpacesContainingContentWithLabel
Vector getSpacesContainingContentWithLabel(String token, String labelName) throws InvalidSessionException, RemoteException -
addLabelByName
boolean addLabelByName(String token, String labelName, String objectId) throws NotPermittedException, RemoteException - Throws:
NotPermittedExceptionRemoteException
-
addLabelById
boolean addLabelById(String token, String labelId, String objectId) throws NotPermittedException, RemoteException - Throws:
NotPermittedExceptionRemoteException
-
addLabelByObject
boolean addLabelByObject(String token, Hashtable labelObject, String objectId) throws NotPermittedException, RemoteException - Throws:
NotPermittedExceptionRemoteException
-
addLabelByNameToSpace
boolean addLabelByNameToSpace(String token, String labelName, String spaceKey) throws NotPermittedException, InvalidSessionException, RemoteException -
removeLabelByName
boolean removeLabelByName(String token, String labelName, String objectId) throws NotPermittedException, RemoteException - Throws:
NotPermittedExceptionRemoteException
-
removeLabelById
boolean removeLabelById(String token, String labelId, String objectId) throws NotPermittedException, RemoteException - Throws:
NotPermittedExceptionRemoteException
-
removeLabelByObject
boolean removeLabelByObject(String token, Hashtable labelObject, String objectId) throws NotPermittedException, RemoteException - Throws:
NotPermittedExceptionRemoteException
-
removeLabelByNameFromSpace
boolean removeLabelByNameFromSpace(String token, String labelName, String spaceKey) throws NotPermittedException, InvalidSessionException, RemoteException -
startActivity
Call startActivity on the heartbeat manager bean- Parameters:
token- rpc authentication tokenkey- the activity key to startuser- the username of the user starting the activity- Returns:
- true if executes startActivity without error.
- Throws:
RemoteException
-
stopActivity
Call stopActivity on the heartbeat manager bean- Parameters:
token- rpc authentication tokenkey- the activity key to stopuser- 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
-
installPlugin
boolean installPlugin(String token, String pluginFileName, byte[] pluginData) throws RemoteException - Throws:
RemoteException
-
isDarkFeatureEnabled
- Throws:
RemoteException
-
refreshIndex
- Throws:
RemoteException
-