Class ConfluenceXmlRpcHandlerImpl
java.lang.Object
com.atlassian.confluence.rpc.xmlrpc.ConfluenceXmlRpcHandlerImpl
- All Implemented Interfaces:
SecureRpc
,ConfluenceXmlRpcHandler
An implementation of XML RPC that effectively delegates to an underlying SOAP implementation.
Responsible for converting inputs into a form that is suitable for the underyling SOAP API.
Also responsible for converting what is returned by the underlying SOAP API into a form that is appropriate to return to XML RPC clients.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addAnonymousPermissionsToSpace
(String token, Vector permissions, String spaceKey) boolean
addAnonymousPermissionToSpace
(String token, String permission, String spaceKey) boolean
addAnonymousUsePermission
(String token) boolean
addAttachment
(String token, String contentId, Hashtable attachment, byte[] attachmentData) addComment
(String token, Hashtable comment) boolean
addGlobalPermission
(String token, String permission, String remoteEntityName) boolean
addGlobalPermissions
(String token, Vector permissions, String remoteEntityName) boolean
boolean
addLabelById
(String token, String labelId, String objectId) boolean
addLabelByName
(String token, String labelName, String objectId) boolean
addLabelByNameToSpace
(String token, String labelName, String spaceKey) boolean
addLabelByObject
(String token, Hashtable labelObject, String objectId) boolean
addPermissionsToSpace
(String token, Vector permissions, String remoteEntityName, String spaceKey) boolean
addPermissionToSpace
(String token, String permission, String remoteEntityName, String spaceKey) addPersonalSpace
(String token, Hashtable space, String username) boolean
addProfilePicture
(String token, String userName, String fileName, String mimeType, byte[] pictureData) addSpaceGroup
(String token, Hashtable spaceGroup) boolean
boolean
boolean
addUserToGroup
(String token, String username, String groupname) boolean
changeMyPassword
(String token, String oldPass, String newPass) boolean
changeUserPassword
(String token, String username, String newPass) boolean
clearIndexQueue
(String token) convertWikiToStorageFormat
(String token, String wiki) boolean
deactivateUser
(String token, String username) editComment
(String token, Hashtable comment) boolean
emptyTrash
(String token, String spaceKey) exportSite
(String token, boolean exportAttachments) exportSpace
(String token, String spaceKey, String exportType) boolean
flushIndexQueue
(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) getSpaceGroups
(String token) 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) boolean
getUserPreferenceBoolean
(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) boolean
boolean
boolean
importSpace
(String token, byte[] importData) Import a space in a compressed XML formatboolean
installPlugin
(String token, String pluginFileName, byte[] pluginData) boolean
isActiveUser
(String token, String username) boolean
isDarkFeatureEnabled
(String token, String key) boolean
isPluginEnabled
(String token, String pluginKey) boolean
isPluginInstalled
(String token, String pluginKey) boolean
isWatchingPage
(String token, String pageId, String username) boolean
isWatchingSpace
(String token, String spaceKey, String username) boolean
isWatchingSpaceForType
(String token, String spaceKey, String contentType, String username) boolean
boolean
moveAttachment
(String token, String originalContentId, String originalFileName, String newContentId, String newFileName) movePageToTopLevel
(String token, String pageId, String targetSpaceKey) performBackup
(String token, boolean exportAttachments) purgeFromTrash
(String token, String spaceKey, String pageId) boolean
reactivateUser
(String token, String username) boolean
recoverMainIndex
(String token) boolean
refreshIndex
(String token) boolean
removeAllPermissionsForGroup
(String token, String groupname) boolean
removeAnonymousPermissionFromSpace
(String token, String permission, String spaceKey) boolean
boolean
boolean
removeAttachment
(String token, String contentId, String fileName) boolean
removeComment
(String token, String commentId) boolean
removeGlobalPermission
(String token, String permission, String remoteEntityName) boolean
removeGroup
(String token, String groupname, String defaultGroupName) boolean
removeLabelById
(String token, String labelId, String objectId) boolean
removeLabelByName
(String token, String labelName, String objectId) boolean
removeLabelByNameFromSpace
(String token, String labelName, String spaceKey) boolean
removeLabelByObject
(String token, Hashtable labelObject, String objectId) removePage
(String token, String pageId) removePageVersionById
(String token, String historicalPageId) removePageVersionByVersion
(String token, String pageId, int version) boolean
removePageWatch
(String token, String pageId) boolean
removePageWatchForUser
(String token, String pageId, String username) boolean
removePermissionFromSpace
(String token, String permission, String remoteEntityName, String spaceKey) removeSpace
(String token, String spaceKey) boolean
removeSpaceGroup
(String token, String spaceGroupKey) boolean
removeSpaceWatch
(String token, String spaceKey) boolean
removeUser
(String token, String username) boolean
removeUserFromGroup
(String token, String username, String groupname) boolean
renameUser
(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) boolean
setEnableAnonymousAccess
(String token, String value) void
setSoapServiceDelegator
(ConfluenceSoapService soapServiceDelegator) setSpaceStatus
(String token, String spaceKey, String statusString) boolean
setUserInformation
(String token, Hashtable userInfo) boolean
setUserPreferenceBoolean
(String token, String username, String key, boolean value) boolean
setUserPreferenceLong
(String token, String username, String key, String value) boolean
setUserPreferenceString
(String token, String username, String key, String value) boolean
startActivity
(String token, String key, String user) Call startActivity on the heartbeat manager beanboolean
stopActivity
(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) boolean
boolean
watchPageForUser
(String token, String pageId, String username) boolean
watchSpace
(String token, String spaceKey)
-
Constructor Details
-
ConfluenceXmlRpcHandlerImpl
public ConfluenceXmlRpcHandlerImpl()
-
-
Method Details
-
setSoapServiceDelegator
-
login
- Specified by:
login
in interfaceConfluenceXmlRpcHandler
- Specified by:
login
in interfaceSecureRpc
- Throws:
RemoteException
-
logout
- Specified by:
logout
in interfaceConfluenceXmlRpcHandler
- Specified by:
logout
in interfaceSecureRpc
- Throws:
RemoteException
-
getSpaces
- Specified by:
getSpaces
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getSpacesInGroup
- Specified by:
getSpacesInGroup
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getBlogEntries
- Specified by:
getBlogEntries
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getBlogEntryByDayAndTitle
public Hashtable getBlogEntryByDayAndTitle(String token, String spaceKey, int dayOfMonth, String postTitle) throws RemoteException - Specified by:
getBlogEntryByDayAndTitle
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getBlogEntryByDateAndTitle
public Hashtable getBlogEntryByDateAndTitle(String token, String spaceKey, int year, int month, int dayOfMonth, String postTitle) throws RemoteException - Specified by:
getBlogEntryByDateAndTitle
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getComments
- Specified by:
getComments
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getComment
public Hashtable getComment(String token, String commentId) throws InvalidSessionException, RemoteException - Specified by:
getComment
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
-
addComment
public Hashtable addComment(String token, Hashtable comment) throws InvalidSessionException, NotPermittedException, RemoteException - Specified by:
addComment
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
NotPermittedException
RemoteException
-
editComment
public Hashtable editComment(String token, Hashtable comment) throws InvalidSessionException, NotPermittedException, RemoteException - Specified by:
editComment
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
NotPermittedException
RemoteException
-
removeComment
public boolean removeComment(String token, String commentId) throws InvalidSessionException, NotPermittedException, RemoteException - Specified by:
removeComment
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
NotPermittedException
RemoteException
-
getTopLevelPages
- Specified by:
getTopLevelPages
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getAncestors
- Specified by:
getAncestors
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getChildren
- Specified by:
getChildren
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getDescendents
- Specified by:
getDescendents
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getAttachments
- Specified by:
getAttachments
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
convertWikiToStorageFormat
- Specified by:
convertWikiToStorageFormat
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
watchPage
- Specified by:
watchPage
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
watchSpace
- Specified by:
watchSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
watchPageForUser
public boolean watchPageForUser(String token, String pageId, String username) throws RemoteException - Specified by:
watchPageForUser
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
removePageWatch
- Specified by:
removePageWatch
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
removeSpaceWatch
- Specified by:
removeSpaceWatch
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
removePageWatchForUser
public boolean removePageWatchForUser(String token, String pageId, String username) throws RemoteException - Specified by:
removePageWatchForUser
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
isWatchingPage
- Specified by:
isWatchingPage
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
isWatchingSpace
public boolean isWatchingSpace(String token, String spaceKey, String username) throws RemoteException - Specified by:
isWatchingSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
isWatchingSpaceForType
public boolean isWatchingSpaceForType(String token, String spaceKey, String contentType, String username) throws RemoteException - Specified by:
isWatchingSpaceForType
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getWatchersForPage
- Specified by:
getWatchersForPage
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getWatchersForSpace
- Specified by:
getWatchersForSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getBlogEntry
- Specified by:
getBlogEntry
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getPages
- Specified by:
getPages
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getPage
- Specified by:
getPage
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getPageSummary
- Specified by:
getPageSummary
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getPage
- Specified by:
getPage
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getPageSummary
public Hashtable getPageSummary(String token, String spaceKey, String pageTitle) throws RemoteException - Specified by:
getPageSummary
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getContentPermissionSets
- Specified by:
getContentPermissionSets
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getContentPermissionSet
public Hashtable getContentPermissionSet(String token, String contentId, String permissionType) throws RemoteException - Specified by:
getContentPermissionSet
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getContentPermissions
- Specified by:
getContentPermissions
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
setContentPermissions
public Boolean setContentPermissions(String token, String contentId, String permissionType, Vector permissions) throws RemoteException - Specified by:
setContentPermissions
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getPageHistory
- Specified by:
getPageHistory
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getSpace
- Specified by:
getSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getPermissions
- Specified by:
getPermissions
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getPermissionsForUser
public Vector getPermissionsForUser(String token, String spaceKey, String userName) throws RemoteException - Specified by:
getPermissionsForUser
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getSpacePermissionSets
- Specified by:
getSpacePermissionSets
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getSpacePermissionSet
public Hashtable getSpacePermissionSet(String token, String spaceKey, String permissionType) throws RemoteException - Specified by:
getSpacePermissionSet
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getPagePermissions
- Specified by:
getPagePermissions
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
renderContent
public String renderContent(String token, String spaceKey, String pageId, String newContent) throws RemoteException - Specified by:
renderContent
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
renderContent
public String renderContent(String token, String spaceKey, String pageId, String newContent, Hashtable renderParameters) throws RemoteException - Specified by:
renderContent
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
movePageToTopLevel
public Boolean movePageToTopLevel(String token, String pageId, String targetSpaceKey) throws RemoteException - Specified by:
movePageToTopLevel
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
movePage
public Boolean movePage(String token, String sourcePageId, String targetPageId, String position) throws RemoteException - Specified by:
movePage
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
removePage
- Specified by:
removePage
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
removePageVersionById
- Specified by:
removePageVersionById
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
removePageVersionByVersion
public Boolean removePageVersionByVersion(String token, String pageId, int version) throws RemoteException - Specified by:
removePageVersionByVersion
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getTrashContents
public Hashtable getTrashContents(String token, String spaceKey, int offset, int maxResults) throws RemoteException - Specified by:
getTrashContents
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
purgeFromTrash
- Specified by:
purgeFromTrash
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
emptyTrash
- Specified by:
emptyTrash
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
search
- Specified by:
search
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
search
public Vector search(String token, String query, Hashtable params, int maxResults) throws RemoteException - Specified by:
search
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
storeBlogEntry
- Specified by:
storeBlogEntry
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
storePage
- Specified by:
storePage
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
updatePage
public Hashtable updatePage(String token, Hashtable pageStruct, Hashtable editOptionsStruct) throws RemoteException - Specified by:
updatePage
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
addAttachment
public Hashtable addAttachment(String token, String contentId, Hashtable attachment, byte[] attachmentData) throws RemoteException - Specified by:
addAttachment
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getAttachment
public Hashtable getAttachment(String token, String contentId, String fileName, String version) throws RemoteException - Specified by:
getAttachment
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getAttachmentData
public byte[] getAttachmentData(String token, String contentId, String fileName, String version) throws RemoteException - Specified by:
getAttachmentData
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
removeAttachment
public boolean removeAttachment(String token, String contentId, String fileName) throws RemoteException, NotPermittedException - Specified by:
removeAttachment
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
NotPermittedException
-
moveAttachment
public boolean moveAttachment(String token, String originalContentId, String originalFileName, String newContentId, String newFileName) throws RemoteException, NotPermittedException - Specified by:
moveAttachment
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
NotPermittedException
-
addSpaceGroup
- Specified by:
addSpaceGroup
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getSpaceGroup
- Specified by:
getSpaceGroup
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getSpaceGroups
- Specified by:
getSpaceGroups
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
removeSpaceGroup
- Specified by:
removeSpaceGroup
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
addSpace
- Specified by:
addSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
storeSpace
- Specified by:
storeSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
addPersonalSpace
public Hashtable addPersonalSpace(String token, Hashtable space, String username) throws RemoteException - Specified by:
addPersonalSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
removeSpace
- Specified by:
removeSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
setSpaceStatus
public Boolean setSpaceStatus(String token, String spaceKey, String statusString) throws RemoteException - Specified by:
setSpaceStatus
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getSpaceStatus
- Specified by:
getSpaceStatus
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
exportSpace
- Specified by:
exportSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
importSpace
Description copied from interface:ConfluenceXmlRpcHandler
Import a space in a compressed XML format- Specified by:
importSpace
in interfaceConfluenceXmlRpcHandler
- Parameters:
token
- The authentication tokenimportData
- 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
-
addPermissionToSpace
public boolean addPermissionToSpace(String token, String permission, String remoteEntityName, String spaceKey) throws RemoteException - Specified by:
addPermissionToSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
addPermissionsToSpace
public boolean addPermissionsToSpace(String token, Vector permissions, String remoteEntityName, String spaceKey) throws RemoteException - Specified by:
addPermissionsToSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
addGlobalPermissions
public boolean addGlobalPermissions(String token, Vector permissions, String remoteEntityName) throws RemoteException - Specified by:
addGlobalPermissions
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
addGlobalPermission
public boolean addGlobalPermission(String token, String permission, String remoteEntityName) throws RemoteException - Specified by:
addGlobalPermission
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
removeGlobalPermission
public boolean removeGlobalPermission(String token, String permission, String remoteEntityName) throws RemoteException - Specified by:
removeGlobalPermission
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
addAnonymousUsePermission
- Specified by:
addAnonymousUsePermission
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
removeAnonymousUsePermission
- Specified by:
removeAnonymousUsePermission
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
addAnonymousViewUserProfilePermission
- Specified by:
addAnonymousViewUserProfilePermission
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
removeAnonymousViewUserProfilePermission
- Specified by:
removeAnonymousViewUserProfilePermission
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
removePermissionFromSpace
public boolean removePermissionFromSpace(String token, String permission, String remoteEntityName, String spaceKey) throws NotPermittedException, RemoteException - Specified by:
removePermissionFromSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
-
addAnonymousPermissionToSpace
public boolean addAnonymousPermissionToSpace(String token, String permission, String spaceKey) throws RemoteException - Specified by:
addAnonymousPermissionToSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
addAnonymousPermissionsToSpace
public boolean addAnonymousPermissionsToSpace(String token, Vector permissions, String spaceKey) throws RemoteException - Specified by:
addAnonymousPermissionsToSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
removeAnonymousPermissionFromSpace
public boolean removeAnonymousPermissionFromSpace(String token, String permission, String spaceKey) throws NotPermittedException, RemoteException - Specified by:
removeAnonymousPermissionFromSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
-
getSpaceLevelPermissions
- Specified by:
getSpaceLevelPermissions
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getServerInfo
- Specified by:
getServerInfo
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
exportSite
- Specified by:
exportSite
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
performBackup
- Specified by:
performBackup
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
flushIndexQueue
- Specified by:
flushIndexQueue
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
clearIndexQueue
- Specified by:
clearIndexQueue
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
recoverMainIndex
- Specified by:
recoverMainIndex
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getClusterInformation
- Specified by:
getClusterInformation
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getClusterNodeStatuses
- Specified by:
getClusterNodeStatuses
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getGroups
- Specified by:
getGroups
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
hasGroup
public boolean hasGroup(String token, String groupname) throws InvalidSessionException, RemoteException - Specified by:
hasGroup
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
-
addGroup
- Specified by:
addGroup
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
removeGroup
public boolean removeGroup(String token, String groupname, String defaultGroupName) throws RemoteException - Specified by:
removeGroup
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getUserGroups
- Specified by:
getUserGroups
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
addUserToGroup
public boolean addUserToGroup(String token, String username, String groupname) throws RemoteException - Specified by:
addUserToGroup
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
removeAllPermissionsForGroup
- Specified by:
removeAllPermissionsForGroup
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
removeUserFromGroup
public boolean removeUserFromGroup(String token, String username, String groupname) throws RemoteException - Specified by:
removeUserFromGroup
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getUser
- Specified by:
getUser
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
getUserByKey
- Specified by:
getUserByKey
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
hasUser
public boolean hasUser(String token, String username) throws InvalidSessionException, RemoteException - Specified by:
hasUser
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
-
addUser
- Specified by:
addUser
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
addUser
public boolean addUser(String token, Hashtable remoteUser, String password, boolean notifyUser) throws RemoteException - Specified by:
addUser
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
removeUser
- Specified by:
removeUser
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
editUser
public boolean editUser(String token, Hashtable remoteUser) throws NotPermittedException, InvalidSessionException, RemoteException - Specified by:
editUser
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
InvalidSessionException
RemoteException
-
deactivateUser
public boolean deactivateUser(String token, String username) throws NotPermittedException, InvalidSessionException, RemoteException - Specified by:
deactivateUser
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
InvalidSessionException
RemoteException
-
reactivateUser
public boolean reactivateUser(String token, String username) throws NotPermittedException, InvalidSessionException, RemoteException - Specified by:
reactivateUser
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
InvalidSessionException
RemoteException
-
isActiveUser
public boolean isActiveUser(String token, String username) throws NotPermittedException, RemoteException - Specified by:
isActiveUser
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
-
getActiveUsers
public Vector getActiveUsers(String token, boolean viewAll) throws InvalidSessionException, RemoteException - Specified by:
getActiveUsers
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
-
setUserInformation
public boolean setUserInformation(String token, Hashtable userInfo) throws NotPermittedException, InvalidSessionException, RemoteException - Specified by:
setUserInformation
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
InvalidSessionException
RemoteException
-
getUserInformation
public Hashtable getUserInformation(String token, String username) throws InvalidSessionException, RemoteException - Specified by:
getUserInformation
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
-
changeMyPassword
public boolean changeMyPassword(String token, String oldPass, String newPass) throws InvalidSessionException, RemoteException - Specified by:
changeMyPassword
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
-
changeUserPassword
public boolean changeUserPassword(String token, String username, String newPass) throws NotPermittedException, InvalidSessionException, RemoteException - Specified by:
changeUserPassword
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
InvalidSessionException
RemoteException
-
addProfilePicture
public boolean addProfilePicture(String token, String userName, String fileName, String mimeType, byte[] pictureData) throws RemoteException - Specified by:
addProfilePicture
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
renameUser
public boolean renameUser(String token, String oldUsername, String newUsername) throws RemoteException - Specified by:
renameUser
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
renameUsers
public Vector renameUsers(String token, Hashtable oldUsernamesToNewUsernames) throws RemoteException - Specified by:
renameUsers
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
setUserPreferenceBoolean
public boolean setUserPreferenceBoolean(String token, String username, String key, boolean value) throws InvalidSessionException, RemoteException - Specified by:
setUserPreferenceBoolean
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
-
getUserPreferenceBoolean
public boolean getUserPreferenceBoolean(String token, String username, String key) throws InvalidSessionException, RemoteException - Specified by:
getUserPreferenceBoolean
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
-
setUserPreferenceLong
public boolean setUserPreferenceLong(String token, String username, String key, String value) throws InvalidSessionException, RemoteException - Specified by:
setUserPreferenceLong
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
-
getUserPreferenceLong
public String getUserPreferenceLong(String token, String username, String key) throws InvalidSessionException, RemoteException - Specified by:
getUserPreferenceLong
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
-
setUserPreferenceString
public boolean setUserPreferenceString(String token, String username, String key, String value) throws InvalidSessionException, RemoteException - Specified by:
setUserPreferenceString
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
-
getUserPreferenceString
public String getUserPreferenceString(String token, String username, String key) throws InvalidSessionException, RemoteException - Specified by:
getUserPreferenceString
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
-
getLabelsById
public Vector getLabelsById(String token, String objectId) throws NotPermittedException, RemoteException - Specified by:
getLabelsById
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
-
getMostPopularLabels
public Vector getMostPopularLabels(String token, int maxCount) throws NotPermittedException, RemoteException - Specified by:
getMostPopularLabels
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
-
getMostPopularLabelsInSpace
public Vector getMostPopularLabelsInSpace(String token, String spaceKey, int maxCount) throws NotPermittedException, RemoteException - Specified by:
getMostPopularLabelsInSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
-
getLabelContentById
public Vector getLabelContentById(String token, String labelId) throws NotPermittedException, RemoteException - Specified by:
getLabelContentById
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
-
getLabelContentByName
public Vector getLabelContentByName(String token, String labelName) throws NotPermittedException, RemoteException - Specified by:
getLabelContentByName
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
-
getLabelContentByObject
public Vector getLabelContentByObject(String token, Hashtable labelObject) throws NotPermittedException, RemoteException - Specified by:
getLabelContentByObject
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
-
getRecentlyUsedLabels
public Vector getRecentlyUsedLabels(String token, int maxResults) throws InvalidSessionException, RemoteException - Specified by:
getRecentlyUsedLabels
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
-
getRecentlyUsedLabelsInSpace
public Vector getRecentlyUsedLabelsInSpace(String token, String spaceKey, int maxResults) throws InvalidSessionException, RemoteException - Specified by:
getRecentlyUsedLabelsInSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
-
getSpacesWithLabel
public Vector getSpacesWithLabel(String token, String labelName) throws InvalidSessionException, RemoteException - Specified by:
getSpacesWithLabel
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
-
getRelatedLabels
public Vector getRelatedLabels(String token, String labelName, int maxResults) throws InvalidSessionException, RemoteException - Specified by:
getRelatedLabels
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
-
getRelatedLabelsInSpace
public Vector getRelatedLabelsInSpace(String token, String labelName, String spaceKey, int maxResults) throws InvalidSessionException, RemoteException - Specified by:
getRelatedLabelsInSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
-
getLabelsByDetail
public Vector getLabelsByDetail(String token, String labelName, String namespace, String spaceKey, String owner) throws InvalidSessionException, RemoteException, NotPermittedException - Specified by:
getLabelsByDetail
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
NotPermittedException
-
getSpacesContainingContentWithLabel
public Vector getSpacesContainingContentWithLabel(String token, String labelName) throws InvalidSessionException, RemoteException - Specified by:
getSpacesContainingContentWithLabel
in interfaceConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
-
addLabelByName
public boolean addLabelByName(String token, String labelName, String objectId) throws NotPermittedException, RemoteException - Specified by:
addLabelByName
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
-
addLabelById
public boolean addLabelById(String token, String labelId, String objectId) throws NotPermittedException, RemoteException - Specified by:
addLabelById
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
-
addLabelByObject
public boolean addLabelByObject(String token, Hashtable labelObject, String objectId) throws NotPermittedException, RemoteException - Specified by:
addLabelByObject
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
-
addLabelByNameToSpace
public boolean addLabelByNameToSpace(String token, String labelName, String spaceKey) throws NotPermittedException, InvalidSessionException, RemoteException - Specified by:
addLabelByNameToSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
InvalidSessionException
RemoteException
-
removeLabelByName
public boolean removeLabelByName(String token, String labelName, String objectId) throws NotPermittedException, RemoteException - Specified by:
removeLabelByName
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
-
removeLabelById
public boolean removeLabelById(String token, String labelId, String objectId) throws NotPermittedException, RemoteException - Specified by:
removeLabelById
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
-
removeLabelByObject
public boolean removeLabelByObject(String token, Hashtable labelObject, String objectId) throws NotPermittedException, RemoteException - Specified by:
removeLabelByObject
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
-
removeLabelByNameFromSpace
public boolean removeLabelByNameFromSpace(String token, String labelName, String spaceKey) throws NotPermittedException, InvalidSessionException, RemoteException - Specified by:
removeLabelByNameFromSpace
in interfaceConfluenceXmlRpcHandler
- Throws:
NotPermittedException
InvalidSessionException
RemoteException
-
setEnableAnonymousAccess
- Specified by:
setEnableAnonymousAccess
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
isPluginEnabled
- Specified by:
isPluginEnabled
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
isPluginInstalled
- Specified by:
isPluginInstalled
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
installPlugin
public boolean installPlugin(String token, String pluginFileName, byte[] pluginData) throws RemoteException - Specified by:
installPlugin
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
isDarkFeatureEnabled
- Specified by:
isDarkFeatureEnabled
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
refreshIndex
- Specified by:
refreshIndex
in interfaceConfluenceXmlRpcHandler
- Throws:
RemoteException
-
startActivity
Description copied from interface:ConfluenceXmlRpcHandler
Call startActivity on the heartbeat manager bean- Specified by:
startActivity
in interfaceConfluenceXmlRpcHandler
- 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
Description copied from interface:ConfluenceXmlRpcHandler
Call stopActivity on the heartbeat manager bean- Specified by:
stopActivity
in interfaceConfluenceXmlRpcHandler
- 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
-