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
Constructors -
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) 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) 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) 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) 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) 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) voidsetSoapServiceDelegator(ConfluenceSoapService soapServiceDelegator) 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)
-
Constructor Details
-
ConfluenceXmlRpcHandlerImpl
public ConfluenceXmlRpcHandlerImpl()
-
-
Method Details
-
setSoapServiceDelegator
-
login
- Specified by:
loginin interfaceConfluenceXmlRpcHandler- Specified by:
loginin interfaceSecureRpc- Throws:
RemoteException
-
logout
- Specified by:
logoutin interfaceConfluenceXmlRpcHandler- Specified by:
logoutin interfaceSecureRpc- Throws:
RemoteException
-
getSpaces
- Specified by:
getSpacesin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getSpacesInGroup
- Specified by:
getSpacesInGroupin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getBlogEntries
- Specified by:
getBlogEntriesin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getBlogEntryByDayAndTitle
public Hashtable getBlogEntryByDayAndTitle(String token, String spaceKey, int dayOfMonth, String postTitle) throws RemoteException - Specified by:
getBlogEntryByDayAndTitlein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getBlogEntryByDateAndTitle
public Hashtable getBlogEntryByDateAndTitle(String token, String spaceKey, int year, int month, int dayOfMonth, String postTitle) throws RemoteException - Specified by:
getBlogEntryByDateAndTitlein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getComments
- Specified by:
getCommentsin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getComment
public Hashtable getComment(String token, String commentId) throws InvalidSessionException, RemoteException - Specified by:
getCommentin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteException
-
addComment
public Hashtable addComment(String token, Hashtable comment) throws InvalidSessionException, NotPermittedException, RemoteException - Specified by:
addCommentin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionNotPermittedExceptionRemoteException
-
editComment
public Hashtable editComment(String token, Hashtable comment) throws InvalidSessionException, NotPermittedException, RemoteException - Specified by:
editCommentin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionNotPermittedExceptionRemoteException
-
removeComment
public boolean removeComment(String token, String commentId) throws InvalidSessionException, NotPermittedException, RemoteException - Specified by:
removeCommentin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionNotPermittedExceptionRemoteException
-
getTopLevelPages
- Specified by:
getTopLevelPagesin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getAncestors
- Specified by:
getAncestorsin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getChildren
- Specified by:
getChildrenin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getDescendents
- Specified by:
getDescendentsin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getAttachments
- Specified by:
getAttachmentsin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
convertWikiToStorageFormat
- Specified by:
convertWikiToStorageFormatin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
watchPage
- Specified by:
watchPagein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
watchSpace
- Specified by:
watchSpacein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
watchPageForUser
public boolean watchPageForUser(String token, String pageId, String username) throws RemoteException - Specified by:
watchPageForUserin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
removePageWatch
- Specified by:
removePageWatchin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
removeSpaceWatch
- Specified by:
removeSpaceWatchin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
removePageWatchForUser
public boolean removePageWatchForUser(String token, String pageId, String username) throws RemoteException - Specified by:
removePageWatchForUserin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
isWatchingPage
- Specified by:
isWatchingPagein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
isWatchingSpace
public boolean isWatchingSpace(String token, String spaceKey, String username) throws RemoteException - Specified by:
isWatchingSpacein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
isWatchingSpaceForType
public boolean isWatchingSpaceForType(String token, String spaceKey, String contentType, String username) throws RemoteException - Specified by:
isWatchingSpaceForTypein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getWatchersForPage
- Specified by:
getWatchersForPagein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getWatchersForSpace
- Specified by:
getWatchersForSpacein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getBlogEntry
- Specified by:
getBlogEntryin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getPages
- Specified by:
getPagesin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getPage
- Specified by:
getPagein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getPageSummary
- Specified by:
getPageSummaryin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getPage
- Specified by:
getPagein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getPageSummary
public Hashtable getPageSummary(String token, String spaceKey, String pageTitle) throws RemoteException - Specified by:
getPageSummaryin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getContentPermissionSets
- Specified by:
getContentPermissionSetsin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getContentPermissionSet
public Hashtable getContentPermissionSet(String token, String contentId, String permissionType) throws RemoteException - Specified by:
getContentPermissionSetin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getContentPermissions
- Specified by:
getContentPermissionsin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
setContentPermissions
public Boolean setContentPermissions(String token, String contentId, String permissionType, Vector permissions) throws RemoteException - Specified by:
setContentPermissionsin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getPageHistory
- Specified by:
getPageHistoryin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getSpace
- Specified by:
getSpacein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getPermissions
- Specified by:
getPermissionsin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getPermissionsForUser
public Vector getPermissionsForUser(String token, String spaceKey, String userName) throws RemoteException - Specified by:
getPermissionsForUserin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getSpacePermissionSets
- Specified by:
getSpacePermissionSetsin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getSpacePermissionSet
public Hashtable getSpacePermissionSet(String token, String spaceKey, String permissionType) throws RemoteException - Specified by:
getSpacePermissionSetin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getPagePermissions
- Specified by:
getPagePermissionsin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
renderContent
public String renderContent(String token, String spaceKey, String pageId, String newContent) throws RemoteException - Specified by:
renderContentin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
renderContent
public String renderContent(String token, String spaceKey, String pageId, String newContent, Hashtable renderParameters) throws RemoteException - Specified by:
renderContentin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
movePageToTopLevel
public Boolean movePageToTopLevel(String token, String pageId, String targetSpaceKey) throws RemoteException - Specified by:
movePageToTopLevelin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
movePage
public Boolean movePage(String token, String sourcePageId, String targetPageId, String position) throws RemoteException - Specified by:
movePagein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
removePage
- Specified by:
removePagein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
removePageVersionById
- Specified by:
removePageVersionByIdin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
removePageVersionByVersion
public Boolean removePageVersionByVersion(String token, String pageId, int version) throws RemoteException - Specified by:
removePageVersionByVersionin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getTrashContents
public Hashtable getTrashContents(String token, String spaceKey, int offset, int maxResults) throws RemoteException - Specified by:
getTrashContentsin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
purgeFromTrash
- Specified by:
purgeFromTrashin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
emptyTrash
- Specified by:
emptyTrashin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
search
- Specified by:
searchin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
search
public Vector search(String token, String query, Hashtable params, int maxResults) throws RemoteException - Specified by:
searchin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
storeBlogEntry
- Specified by:
storeBlogEntryin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
storePage
- Specified by:
storePagein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
updatePage
public Hashtable updatePage(String token, Hashtable pageStruct, Hashtable editOptionsStruct) throws RemoteException - Specified by:
updatePagein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
addAttachment
public Hashtable addAttachment(String token, String contentId, Hashtable attachment, byte[] attachmentData) throws RemoteException - Specified by:
addAttachmentin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getAttachment
public Hashtable getAttachment(String token, String contentId, String fileName, String version) throws RemoteException - Specified by:
getAttachmentin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getAttachmentData
public byte[] getAttachmentData(String token, String contentId, String fileName, String version) throws RemoteException - Specified by:
getAttachmentDatain interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
removeAttachment
public boolean removeAttachment(String token, String contentId, String fileName) throws RemoteException, NotPermittedException - Specified by:
removeAttachmentin interfaceConfluenceXmlRpcHandler- Throws:
RemoteExceptionNotPermittedException
-
moveAttachment
public boolean moveAttachment(String token, String originalContentId, String originalFileName, String newContentId, String newFileName) throws RemoteException, NotPermittedException - Specified by:
moveAttachmentin interfaceConfluenceXmlRpcHandler- Throws:
RemoteExceptionNotPermittedException
-
addSpaceGroup
- Specified by:
addSpaceGroupin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getSpaceGroup
- Specified by:
getSpaceGroupin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getSpaceGroups
- Specified by:
getSpaceGroupsin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
removeSpaceGroup
- Specified by:
removeSpaceGroupin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
addSpace
- Specified by:
addSpacein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
storeSpace
- Specified by:
storeSpacein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
addPersonalSpace
public Hashtable addPersonalSpace(String token, Hashtable space, String username) throws RemoteException - Specified by:
addPersonalSpacein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
removeSpace
- Specified by:
removeSpacein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
setSpaceStatus
public Boolean setSpaceStatus(String token, String spaceKey, String statusString) throws RemoteException - Specified by:
setSpaceStatusin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getSpaceStatus
- Specified by:
getSpaceStatusin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
addPermissionToSpace
public boolean addPermissionToSpace(String token, String permission, String remoteEntityName, String spaceKey) throws RemoteException - Specified by:
addPermissionToSpacein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
addPermissionsToSpace
public boolean addPermissionsToSpace(String token, Vector permissions, String remoteEntityName, String spaceKey) throws RemoteException - Specified by:
addPermissionsToSpacein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
addGlobalPermissions
public boolean addGlobalPermissions(String token, Vector permissions, String remoteEntityName) throws RemoteException - Specified by:
addGlobalPermissionsin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
addGlobalPermission
public boolean addGlobalPermission(String token, String permission, String remoteEntityName) throws RemoteException - Specified by:
addGlobalPermissionin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
removeGlobalPermission
public boolean removeGlobalPermission(String token, String permission, String remoteEntityName) throws RemoteException - Specified by:
removeGlobalPermissionin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
addAnonymousUsePermission
- Specified by:
addAnonymousUsePermissionin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
removeAnonymousUsePermission
- Specified by:
removeAnonymousUsePermissionin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
addAnonymousViewUserProfilePermission
- Specified by:
addAnonymousViewUserProfilePermissionin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
removeAnonymousViewUserProfilePermission
- Specified by:
removeAnonymousViewUserProfilePermissionin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
removePermissionFromSpace
public boolean removePermissionFromSpace(String token, String permission, String remoteEntityName, String spaceKey) throws NotPermittedException, RemoteException - Specified by:
removePermissionFromSpacein interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionRemoteException
-
addAnonymousPermissionToSpace
public boolean addAnonymousPermissionToSpace(String token, String permission, String spaceKey) throws RemoteException - Specified by:
addAnonymousPermissionToSpacein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
addAnonymousPermissionsToSpace
public boolean addAnonymousPermissionsToSpace(String token, Vector permissions, String spaceKey) throws RemoteException - Specified by:
addAnonymousPermissionsToSpacein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
removeAnonymousPermissionFromSpace
public boolean removeAnonymousPermissionFromSpace(String token, String permission, String spaceKey) throws NotPermittedException, RemoteException - Specified by:
removeAnonymousPermissionFromSpacein interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionRemoteException
-
getSpaceLevelPermissions
- Specified by:
getSpaceLevelPermissionsin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getServerInfo
- Specified by:
getServerInfoin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
flushIndexQueue
- Specified by:
flushIndexQueuein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
clearIndexQueue
- Specified by:
clearIndexQueuein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
recoverMainIndex
- Specified by:
recoverMainIndexin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getClusterInformation
- Specified by:
getClusterInformationin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getClusterNodeStatuses
- Specified by:
getClusterNodeStatusesin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getGroups
- Specified by:
getGroupsin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
hasGroup
public boolean hasGroup(String token, String groupname) throws InvalidSessionException, RemoteException - Specified by:
hasGroupin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteException
-
addGroup
- Specified by:
addGroupin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
removeGroup
public boolean removeGroup(String token, String groupname, String defaultGroupName) throws RemoteException - Specified by:
removeGroupin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getUserGroups
- Specified by:
getUserGroupsin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
addUserToGroup
public boolean addUserToGroup(String token, String username, String groupname) throws RemoteException - Specified by:
addUserToGroupin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
removeAllPermissionsForGroup
- Specified by:
removeAllPermissionsForGroupin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
removeUserFromGroup
public boolean removeUserFromGroup(String token, String username, String groupname) throws RemoteException - Specified by:
removeUserFromGroupin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getUser
- Specified by:
getUserin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
getUserByKey
- Specified by:
getUserByKeyin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
hasUser
public boolean hasUser(String token, String username) throws InvalidSessionException, RemoteException - Specified by:
hasUserin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteException
-
addUser
- Specified by:
addUserin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
addUser
public boolean addUser(String token, Hashtable remoteUser, String password, boolean notifyUser) throws RemoteException - Specified by:
addUserin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
removeUser
- Specified by:
removeUserin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
editUser
public boolean editUser(String token, Hashtable remoteUser) throws NotPermittedException, InvalidSessionException, RemoteException - Specified by:
editUserin interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionInvalidSessionExceptionRemoteException
-
deactivateUser
public boolean deactivateUser(String token, String username) throws NotPermittedException, InvalidSessionException, RemoteException - Specified by:
deactivateUserin interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionInvalidSessionExceptionRemoteException
-
reactivateUser
public boolean reactivateUser(String token, String username) throws NotPermittedException, InvalidSessionException, RemoteException - Specified by:
reactivateUserin interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionInvalidSessionExceptionRemoteException
-
isActiveUser
public boolean isActiveUser(String token, String username) throws NotPermittedException, RemoteException - Specified by:
isActiveUserin interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionRemoteException
-
getActiveUsers
public Vector getActiveUsers(String token, boolean viewAll) throws InvalidSessionException, RemoteException - Specified by:
getActiveUsersin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteException
-
setUserInformation
public boolean setUserInformation(String token, Hashtable userInfo) throws NotPermittedException, InvalidSessionException, RemoteException - Specified by:
setUserInformationin interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionInvalidSessionExceptionRemoteException
-
getUserInformation
public Hashtable getUserInformation(String token, String username) throws InvalidSessionException, RemoteException - Specified by:
getUserInformationin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteException
-
changeMyPassword
public boolean changeMyPassword(String token, String oldPass, String newPass) throws InvalidSessionException, RemoteException - Specified by:
changeMyPasswordin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteException
-
changeUserPassword
public boolean changeUserPassword(String token, String username, String newPass) throws NotPermittedException, InvalidSessionException, RemoteException - Specified by:
changeUserPasswordin interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionInvalidSessionExceptionRemoteException
-
addProfilePicture
public boolean addProfilePicture(String token, String userName, String fileName, String mimeType, byte[] pictureData) throws RemoteException - Specified by:
addProfilePicturein interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
renameUser
public boolean renameUser(String token, String oldUsername, String newUsername) throws RemoteException - Specified by:
renameUserin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
renameUsers
public Vector renameUsers(String token, Hashtable oldUsernamesToNewUsernames) throws RemoteException - Specified by:
renameUsersin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
setUserPreferenceBoolean
public boolean setUserPreferenceBoolean(String token, String username, String key, boolean value) throws InvalidSessionException, RemoteException - Specified by:
setUserPreferenceBooleanin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteException
-
getUserPreferenceBoolean
public boolean getUserPreferenceBoolean(String token, String username, String key) throws InvalidSessionException, RemoteException - Specified by:
getUserPreferenceBooleanin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteException
-
setUserPreferenceLong
public boolean setUserPreferenceLong(String token, String username, String key, String value) throws InvalidSessionException, RemoteException - Specified by:
setUserPreferenceLongin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteException
-
getUserPreferenceLong
public String getUserPreferenceLong(String token, String username, String key) throws InvalidSessionException, RemoteException - Specified by:
getUserPreferenceLongin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteException
-
setUserPreferenceString
public boolean setUserPreferenceString(String token, String username, String key, String value) throws InvalidSessionException, RemoteException - Specified by:
setUserPreferenceStringin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteException
-
getUserPreferenceString
public String getUserPreferenceString(String token, String username, String key) throws InvalidSessionException, RemoteException - Specified by:
getUserPreferenceStringin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteException
-
getLabelsById
public Vector getLabelsById(String token, String objectId) throws NotPermittedException, RemoteException - Specified by:
getLabelsByIdin interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionRemoteException
-
getMostPopularLabels
public Vector getMostPopularLabels(String token, int maxCount) throws NotPermittedException, RemoteException - Specified by:
getMostPopularLabelsin interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionRemoteException
-
getMostPopularLabelsInSpace
public Vector getMostPopularLabelsInSpace(String token, String spaceKey, int maxCount) throws NotPermittedException, RemoteException - Specified by:
getMostPopularLabelsInSpacein interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionRemoteException
-
getLabelContentById
public Vector getLabelContentById(String token, String labelId) throws NotPermittedException, RemoteException - Specified by:
getLabelContentByIdin interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionRemoteException
-
getLabelContentByName
public Vector getLabelContentByName(String token, String labelName) throws NotPermittedException, RemoteException - Specified by:
getLabelContentByNamein interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionRemoteException
-
getLabelContentByObject
public Vector getLabelContentByObject(String token, Hashtable labelObject) throws NotPermittedException, RemoteException - Specified by:
getLabelContentByObjectin interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionRemoteException
-
getRecentlyUsedLabels
public Vector getRecentlyUsedLabels(String token, int maxResults) throws InvalidSessionException, RemoteException - Specified by:
getRecentlyUsedLabelsin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteException
-
getRecentlyUsedLabelsInSpace
public Vector getRecentlyUsedLabelsInSpace(String token, String spaceKey, int maxResults) throws InvalidSessionException, RemoteException - Specified by:
getRecentlyUsedLabelsInSpacein interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteException
-
getSpacesWithLabel
public Vector getSpacesWithLabel(String token, String labelName) throws InvalidSessionException, RemoteException - Specified by:
getSpacesWithLabelin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteException
-
getRelatedLabels
public Vector getRelatedLabels(String token, String labelName, int maxResults) throws InvalidSessionException, RemoteException - Specified by:
getRelatedLabelsin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteException
-
getRelatedLabelsInSpace
public Vector getRelatedLabelsInSpace(String token, String labelName, String spaceKey, int maxResults) throws InvalidSessionException, RemoteException - Specified by:
getRelatedLabelsInSpacein interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteException
-
getLabelsByDetail
public Vector getLabelsByDetail(String token, String labelName, String namespace, String spaceKey, String owner) throws InvalidSessionException, RemoteException, NotPermittedException - Specified by:
getLabelsByDetailin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteExceptionNotPermittedException
-
getSpacesContainingContentWithLabel
public Vector getSpacesContainingContentWithLabel(String token, String labelName) throws InvalidSessionException, RemoteException - Specified by:
getSpacesContainingContentWithLabelin interfaceConfluenceXmlRpcHandler- Throws:
InvalidSessionExceptionRemoteException
-
addLabelByName
public boolean addLabelByName(String token, String labelName, String objectId) throws NotPermittedException, RemoteException - Specified by:
addLabelByNamein interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionRemoteException
-
addLabelById
public boolean addLabelById(String token, String labelId, String objectId) throws NotPermittedException, RemoteException - Specified by:
addLabelByIdin interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionRemoteException
-
addLabelByObject
public boolean addLabelByObject(String token, Hashtable labelObject, String objectId) throws NotPermittedException, RemoteException - Specified by:
addLabelByObjectin interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionRemoteException
-
addLabelByNameToSpace
public boolean addLabelByNameToSpace(String token, String labelName, String spaceKey) throws NotPermittedException, InvalidSessionException, RemoteException - Specified by:
addLabelByNameToSpacein interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionInvalidSessionExceptionRemoteException
-
removeLabelByName
public boolean removeLabelByName(String token, String labelName, String objectId) throws NotPermittedException, RemoteException - Specified by:
removeLabelByNamein interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionRemoteException
-
removeLabelById
public boolean removeLabelById(String token, String labelId, String objectId) throws NotPermittedException, RemoteException - Specified by:
removeLabelByIdin interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionRemoteException
-
removeLabelByObject
public boolean removeLabelByObject(String token, Hashtable labelObject, String objectId) throws NotPermittedException, RemoteException - Specified by:
removeLabelByObjectin interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionRemoteException
-
removeLabelByNameFromSpace
public boolean removeLabelByNameFromSpace(String token, String labelName, String spaceKey) throws NotPermittedException, InvalidSessionException, RemoteException - Specified by:
removeLabelByNameFromSpacein interfaceConfluenceXmlRpcHandler- Throws:
NotPermittedExceptionInvalidSessionExceptionRemoteException
-
setEnableAnonymousAccess
- Specified by:
setEnableAnonymousAccessin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
isPluginEnabled
- Specified by:
isPluginEnabledin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
isPluginInstalled
- Specified by:
isPluginInstalledin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
installPlugin
public boolean installPlugin(String token, String pluginFileName, byte[] pluginData) throws RemoteException - Specified by:
installPluginin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
isDarkFeatureEnabled
- Specified by:
isDarkFeatureEnabledin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
refreshIndex
- Specified by:
refreshIndexin interfaceConfluenceXmlRpcHandler- Throws:
RemoteException
-
startActivity
Description copied from interface:ConfluenceXmlRpcHandlerCall startActivity on the heartbeat manager bean- Specified by:
startActivityin 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:ConfluenceXmlRpcHandlerCall stopActivity on the heartbeat manager bean- Specified by:
stopActivityin 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
-