public class ConfluenceXmlRpcHandlerImpl extends Object implements ConfluenceXmlRpcHandler
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 and Description |
---|
ConfluenceXmlRpcHandlerImpl() |
public void setSoapServiceDelegator(ConfluenceSoapService soapServiceDelegator)
public String login(String username, String password) throws RemoteException
login
in interface SecureRpc
login
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean logout(String token) throws RemoteException
logout
in interface SecureRpc
logout
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getSpaces(String token) throws RemoteException
getSpaces
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getSpacesInGroup(String token, String spaceGroupKey) throws RemoteException
getSpacesInGroup
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getBlogEntries(String token, String spaceKey) throws RemoteException
getBlogEntries
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable getBlogEntryByDayAndTitle(String token, String spaceKey, int dayOfMonth, String postTitle) throws RemoteException
getBlogEntryByDayAndTitle
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable getBlogEntryByDateAndTitle(String token, String spaceKey, int year, int month, int dayOfMonth, String postTitle) throws RemoteException
getBlogEntryByDateAndTitle
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getComments(String token, String pageId) throws RemoteException
getComments
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable getComment(String token, String commentId) throws InvalidSessionException, RemoteException
getComment
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
public Hashtable addComment(String token, Hashtable comment) throws InvalidSessionException, NotPermittedException, RemoteException
addComment
in interface ConfluenceXmlRpcHandler
InvalidSessionException
NotPermittedException
RemoteException
public Hashtable editComment(String token, Hashtable comment) throws InvalidSessionException, NotPermittedException, RemoteException
editComment
in interface ConfluenceXmlRpcHandler
InvalidSessionException
NotPermittedException
RemoteException
public boolean removeComment(String token, String commentId) throws InvalidSessionException, NotPermittedException, RemoteException
removeComment
in interface ConfluenceXmlRpcHandler
InvalidSessionException
NotPermittedException
RemoteException
public Vector getTopLevelPages(String token, String spaceKey) throws RemoteException
getTopLevelPages
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getAncestors(String token, String pageId) throws RemoteException
getAncestors
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getChildren(String token, String pageId) throws RemoteException
getChildren
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getDescendents(String token, String pageId) throws RemoteException
getDescendents
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getAttachments(String token, String pageId) throws RemoteException
getAttachments
in interface ConfluenceXmlRpcHandler
RemoteException
public String convertWikiToStorageFormat(String token, String wiki) throws RemoteException
convertWikiToStorageFormat
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean watchPage(String token, String pageId) throws RemoteException
watchPage
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean watchSpace(String token, String spaceKey) throws RemoteException
watchSpace
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean watchPageForUser(String token, String pageId, String username) throws RemoteException
watchPageForUser
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean removePageWatch(String token, String pageId) throws RemoteException
removePageWatch
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean removeSpaceWatch(String token, String spaceKey) throws RemoteException
removeSpaceWatch
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean removePageWatchForUser(String token, String pageId, String username) throws RemoteException
removePageWatchForUser
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean isWatchingPage(String token, String pageId, String username) throws RemoteException
isWatchingPage
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean isWatchingSpace(String token, String spaceKey, String username) throws RemoteException
isWatchingSpace
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean isWatchingSpaceForType(String token, String spaceKey, String contentType, String username) throws RemoteException
isWatchingSpaceForType
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getWatchersForPage(String token, String pageId) throws RemoteException
getWatchersForPage
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getWatchersForSpace(String token, String spaceKey) throws RemoteException
getWatchersForSpace
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable getBlogEntry(String token, String blogEntryId) throws RemoteException
getBlogEntry
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getPages(String token, String spaceKey) throws RemoteException
getPages
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable getPage(String token, String pageId) throws RemoteException
getPage
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable getPageSummary(String token, String pageId) throws RemoteException
getPageSummary
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable getPage(String token, String spaceKey, String pageTitle) throws RemoteException
getPage
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable getPageSummary(String token, String spaceKey, String pageTitle) throws RemoteException
getPageSummary
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getContentPermissionSets(String token, String contentId) throws RemoteException
getContentPermissionSets
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable getContentPermissionSet(String token, String contentId, String permissionType) throws RemoteException
getContentPermissionSet
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getContentPermissions(String token, String contentId) throws RemoteException
getContentPermissions
in interface ConfluenceXmlRpcHandler
RemoteException
public Boolean setContentPermissions(String token, String contentId, String permissionType, Vector permissions) throws RemoteException
setContentPermissions
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getPageHistory(String token, String pageId) throws RemoteException
getPageHistory
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable getSpace(String token, String spaceKey) throws RemoteException
getSpace
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getPermissions(String token, String spaceKey) throws RemoteException
getPermissions
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getPermissionsForUser(String token, String spaceKey, String userName) throws RemoteException
getPermissionsForUser
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getSpacePermissionSets(String token, String spaceKey) throws RemoteException
getSpacePermissionSets
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable getSpacePermissionSet(String token, String spaceKey, String permissionType) throws RemoteException
getSpacePermissionSet
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getPagePermissions(String token, String pageId) throws RemoteException
getPagePermissions
in interface ConfluenceXmlRpcHandler
RemoteException
public String renderContent(String token, String spaceKey, String pageId, String newContent) throws RemoteException
renderContent
in interface ConfluenceXmlRpcHandler
RemoteException
public String renderContent(String token, String spaceKey, String pageId, String newContent, Hashtable renderParameters) throws RemoteException
renderContent
in interface ConfluenceXmlRpcHandler
RemoteException
public Boolean movePageToTopLevel(String token, String pageId, String targetSpaceKey) throws RemoteException
movePageToTopLevel
in interface ConfluenceXmlRpcHandler
RemoteException
public Boolean movePage(String token, String sourcePageId, String targetPageId, String position) throws RemoteException
movePage
in interface ConfluenceXmlRpcHandler
RemoteException
public Boolean removePage(String token, String pageId) throws RemoteException
removePage
in interface ConfluenceXmlRpcHandler
RemoteException
public Boolean removePageVersionById(String token, String historicalPageId) throws RemoteException
removePageVersionById
in interface ConfluenceXmlRpcHandler
RemoteException
public Boolean removePageVersionByVersion(String token, String pageId, int version) throws RemoteException
removePageVersionByVersion
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable getTrashContents(String token, String spaceKey, int offset, int maxResults) throws RemoteException
getTrashContents
in interface ConfluenceXmlRpcHandler
RemoteException
public Boolean purgeFromTrash(String token, String spaceKey, String pageId) throws RemoteException
purgeFromTrash
in interface ConfluenceXmlRpcHandler
RemoteException
public Boolean emptyTrash(String token, String spaceKey) throws RemoteException
emptyTrash
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector search(String token, String query, int maxResults) throws RemoteException
search
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector search(String token, String query, Hashtable params, int maxResults) throws RemoteException
search
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable storeBlogEntry(String token, Hashtable blogEntryStruct) throws RemoteException
storeBlogEntry
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable storePage(String token, Hashtable pageStruct) throws RemoteException
storePage
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable updatePage(String token, Hashtable pageStruct, Hashtable editOptionsStruct) throws RemoteException
updatePage
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable addAttachment(String token, String contentId, Hashtable attachment, byte[] attachmentData) throws RemoteException
addAttachment
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable getAttachment(String token, String contentId, String fileName, String version) throws RemoteException
getAttachment
in interface ConfluenceXmlRpcHandler
RemoteException
public byte[] getAttachmentData(String token, String contentId, String fileName, String version) throws RemoteException
getAttachmentData
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean removeAttachment(String token, String contentId, String fileName) throws RemoteException, NotPermittedException
removeAttachment
in interface ConfluenceXmlRpcHandler
RemoteException
NotPermittedException
public boolean moveAttachment(String token, String originalContentId, String originalFileName, String newContentId, String newFileName) throws RemoteException, NotPermittedException
moveAttachment
in interface ConfluenceXmlRpcHandler
RemoteException
NotPermittedException
public Hashtable addSpaceGroup(String token, Hashtable spaceGroup) throws RemoteException
addSpaceGroup
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable getSpaceGroup(String token, String spaceGroupKey) throws RemoteException
getSpaceGroup
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getSpaceGroups(String token) throws RemoteException
getSpaceGroups
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean removeSpaceGroup(String token, String spaceGroupKey) throws RemoteException
removeSpaceGroup
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable addSpace(String token, Hashtable space) throws RemoteException
addSpace
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable storeSpace(String token, Hashtable remoteSpace) throws RemoteException
storeSpace
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable addPersonalSpace(String token, Hashtable space, String username) throws RemoteException
addPersonalSpace
in interface ConfluenceXmlRpcHandler
RemoteException
public Boolean removeSpace(String token, String spaceKey) throws RemoteException
removeSpace
in interface ConfluenceXmlRpcHandler
RemoteException
public Boolean setSpaceStatus(String token, String spaceKey, String statusString) throws RemoteException
setSpaceStatus
in interface ConfluenceXmlRpcHandler
RemoteException
public String getSpaceStatus(String token, String spaceKey) throws RemoteException
getSpaceStatus
in interface ConfluenceXmlRpcHandler
RemoteException
public String exportSpace(String token, String spaceKey, String exportType) throws RemoteException
exportSpace
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean importSpace(String token, byte[] importData) throws RemoteException
ConfluenceXmlRpcHandler
importSpace
in interface ConfluenceXmlRpcHandler
token
- The authentication tokenimportData
- The contents of the Space export fileRemoteException
- If the space exists or the export file is invalidpublic boolean addPermissionToSpace(String token, String permission, String remoteEntityName, String spaceKey) throws RemoteException
addPermissionToSpace
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean addPermissionsToSpace(String token, Vector permissions, String remoteEntityName, String spaceKey) throws RemoteException
addPermissionsToSpace
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean addGlobalPermissions(String token, Vector permissions, String remoteEntityName) throws RemoteException
addGlobalPermissions
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean addGlobalPermission(String token, String permission, String remoteEntityName) throws RemoteException
addGlobalPermission
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean removeGlobalPermission(String token, String permission, String remoteEntityName) throws RemoteException
removeGlobalPermission
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean addAnonymousUsePermission(String token) throws RemoteException
addAnonymousUsePermission
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean removeAnonymousUsePermission(String token) throws RemoteException
removeAnonymousUsePermission
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean addAnonymousViewUserProfilePermission(String token) throws RemoteException
addAnonymousViewUserProfilePermission
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean removeAnonymousViewUserProfilePermission(String token) throws RemoteException
removeAnonymousViewUserProfilePermission
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean removePermissionFromSpace(String token, String permission, String remoteEntityName, String spaceKey) throws NotPermittedException, RemoteException
removePermissionFromSpace
in interface ConfluenceXmlRpcHandler
NotPermittedException
RemoteException
public boolean addAnonymousPermissionToSpace(String token, String permission, String spaceKey) throws RemoteException
addAnonymousPermissionToSpace
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean addAnonymousPermissionsToSpace(String token, Vector permissions, String spaceKey) throws RemoteException
addAnonymousPermissionsToSpace
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean removeAnonymousPermissionFromSpace(String token, String permission, String spaceKey) throws NotPermittedException, RemoteException
removeAnonymousPermissionFromSpace
in interface ConfluenceXmlRpcHandler
NotPermittedException
RemoteException
public String[] getSpaceLevelPermissions(String token) throws RemoteException
getSpaceLevelPermissions
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable getServerInfo(String token) throws RemoteException
getServerInfo
in interface ConfluenceXmlRpcHandler
RemoteException
public String exportSite(String token, boolean exportAttachments) throws RemoteException
exportSite
in interface ConfluenceXmlRpcHandler
RemoteException
public String performBackup(String token, boolean exportAttachments) throws RemoteException
performBackup
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean flushIndexQueue(String token) throws RemoteException
flushIndexQueue
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean clearIndexQueue(String token) throws RemoteException
clearIndexQueue
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean recoverMainIndex(String token) throws RemoteException
recoverMainIndex
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable getClusterInformation(String token) throws RemoteException
getClusterInformation
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getClusterNodeStatuses(String token) throws RemoteException
getClusterNodeStatuses
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getGroups(String token) throws RemoteException
getGroups
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean hasGroup(String token, String groupname) throws InvalidSessionException, RemoteException
hasGroup
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
public boolean addGroup(String token, String groupname) throws RemoteException
addGroup
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean removeGroup(String token, String groupname, String defaultGroupName) throws RemoteException
removeGroup
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector getUserGroups(String token, String username) throws RemoteException
getUserGroups
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean addUserToGroup(String token, String username, String groupname) throws RemoteException
addUserToGroup
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean removeAllPermissionsForGroup(String token, String groupname) throws RemoteException
removeAllPermissionsForGroup
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean removeUserFromGroup(String token, String username, String groupname) throws RemoteException
removeUserFromGroup
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable getUser(String token, String username) throws RemoteException
getUser
in interface ConfluenceXmlRpcHandler
RemoteException
public Hashtable getUserByKey(String token, String userKey) throws RemoteException
getUserByKey
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean hasUser(String token, String username) throws InvalidSessionException, RemoteException
hasUser
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
public boolean addUser(String token, Hashtable remoteUser, String password) throws RemoteException
addUser
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean addUser(String token, Hashtable remoteUser, String password, boolean notifyUser) throws RemoteException
addUser
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean removeUser(String token, String username) throws RemoteException
removeUser
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean editUser(String token, Hashtable remoteUser) throws NotPermittedException, InvalidSessionException, RemoteException
editUser
in interface ConfluenceXmlRpcHandler
NotPermittedException
InvalidSessionException
RemoteException
public boolean deactivateUser(String token, String username) throws NotPermittedException, InvalidSessionException, RemoteException
deactivateUser
in interface ConfluenceXmlRpcHandler
NotPermittedException
InvalidSessionException
RemoteException
public boolean reactivateUser(String token, String username) throws NotPermittedException, InvalidSessionException, RemoteException
reactivateUser
in interface ConfluenceXmlRpcHandler
NotPermittedException
InvalidSessionException
RemoteException
public boolean isActiveUser(String token, String username) throws NotPermittedException, RemoteException
isActiveUser
in interface ConfluenceXmlRpcHandler
NotPermittedException
RemoteException
public Vector getActiveUsers(String token, boolean viewAll) throws InvalidSessionException, RemoteException
getActiveUsers
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
public boolean setUserInformation(String token, Hashtable userInfo) throws NotPermittedException, InvalidSessionException, RemoteException
setUserInformation
in interface ConfluenceXmlRpcHandler
NotPermittedException
InvalidSessionException
RemoteException
public Hashtable getUserInformation(String token, String username) throws InvalidSessionException, RemoteException
getUserInformation
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
public boolean changeMyPassword(String token, String oldPass, String newPass) throws InvalidSessionException, RemoteException
changeMyPassword
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
public boolean changeUserPassword(String token, String username, String newPass) throws NotPermittedException, InvalidSessionException, RemoteException
changeUserPassword
in interface ConfluenceXmlRpcHandler
NotPermittedException
InvalidSessionException
RemoteException
public boolean addProfilePicture(String token, String userName, String fileName, String mimeType, byte[] pictureData) throws RemoteException
addProfilePicture
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean renameUser(String token, String oldUsername, String newUsername) throws RemoteException
renameUser
in interface ConfluenceXmlRpcHandler
RemoteException
public Vector renameUsers(String token, Hashtable oldUsernamesToNewUsernames) throws RemoteException
renameUsers
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean setUserPreferenceBoolean(String token, String username, String key, boolean value) throws InvalidSessionException, RemoteException
setUserPreferenceBoolean
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
public boolean getUserPreferenceBoolean(String token, String username, String key) throws InvalidSessionException, RemoteException
getUserPreferenceBoolean
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
public boolean setUserPreferenceLong(String token, String username, String key, String value) throws InvalidSessionException, RemoteException
setUserPreferenceLong
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
public String getUserPreferenceLong(String token, String username, String key) throws InvalidSessionException, RemoteException
getUserPreferenceLong
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
public boolean setUserPreferenceString(String token, String username, String key, String value) throws InvalidSessionException, RemoteException
setUserPreferenceString
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
public String getUserPreferenceString(String token, String username, String key) throws InvalidSessionException, RemoteException
getUserPreferenceString
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
public Vector getLabelsById(String token, String objectId) throws NotPermittedException, RemoteException
getLabelsById
in interface ConfluenceXmlRpcHandler
NotPermittedException
RemoteException
public Vector getMostPopularLabels(String token, int maxCount) throws NotPermittedException, RemoteException
getMostPopularLabels
in interface ConfluenceXmlRpcHandler
NotPermittedException
RemoteException
public Vector getMostPopularLabelsInSpace(String token, String spaceKey, int maxCount) throws NotPermittedException, RemoteException
getMostPopularLabelsInSpace
in interface ConfluenceXmlRpcHandler
NotPermittedException
RemoteException
public Vector getLabelContentById(String token, String labelId) throws NotPermittedException, RemoteException
getLabelContentById
in interface ConfluenceXmlRpcHandler
NotPermittedException
RemoteException
public Vector getLabelContentByName(String token, String labelName) throws NotPermittedException, RemoteException
getLabelContentByName
in interface ConfluenceXmlRpcHandler
NotPermittedException
RemoteException
public Vector getLabelContentByObject(String token, Hashtable labelObject) throws NotPermittedException, RemoteException
getLabelContentByObject
in interface ConfluenceXmlRpcHandler
NotPermittedException
RemoteException
public Vector getRecentlyUsedLabels(String token, int maxResults) throws InvalidSessionException, RemoteException
getRecentlyUsedLabels
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
public Vector getRecentlyUsedLabelsInSpace(String token, String spaceKey, int maxResults) throws InvalidSessionException, RemoteException
getRecentlyUsedLabelsInSpace
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
public Vector getSpacesWithLabel(String token, String labelName) throws InvalidSessionException, RemoteException
getSpacesWithLabel
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
public Vector getRelatedLabels(String token, String labelName, int maxResults) throws InvalidSessionException, RemoteException
getRelatedLabels
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
public Vector getRelatedLabelsInSpace(String token, String labelName, String spaceKey, int maxResults) throws InvalidSessionException, RemoteException
getRelatedLabelsInSpace
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
public Vector getLabelsByDetail(String token, String labelName, String namespace, String spaceKey, String owner) throws InvalidSessionException, RemoteException, NotPermittedException
getLabelsByDetail
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
NotPermittedException
public Vector getSpacesContainingContentWithLabel(String token, String labelName) throws InvalidSessionException, RemoteException
getSpacesContainingContentWithLabel
in interface ConfluenceXmlRpcHandler
InvalidSessionException
RemoteException
public boolean addLabelByName(String token, String labelName, String objectId) throws NotPermittedException, RemoteException
addLabelByName
in interface ConfluenceXmlRpcHandler
NotPermittedException
RemoteException
public boolean addLabelById(String token, String labelId, String objectId) throws NotPermittedException, RemoteException
addLabelById
in interface ConfluenceXmlRpcHandler
NotPermittedException
RemoteException
public boolean addLabelByObject(String token, Hashtable labelObject, String objectId) throws NotPermittedException, RemoteException
addLabelByObject
in interface ConfluenceXmlRpcHandler
NotPermittedException
RemoteException
public boolean addLabelByNameToSpace(String token, String labelName, String spaceKey) throws NotPermittedException, InvalidSessionException, RemoteException
addLabelByNameToSpace
in interface ConfluenceXmlRpcHandler
NotPermittedException
InvalidSessionException
RemoteException
public boolean removeLabelByName(String token, String labelName, String objectId) throws NotPermittedException, RemoteException
removeLabelByName
in interface ConfluenceXmlRpcHandler
NotPermittedException
RemoteException
public boolean removeLabelById(String token, String labelId, String objectId) throws NotPermittedException, RemoteException
removeLabelById
in interface ConfluenceXmlRpcHandler
NotPermittedException
RemoteException
public boolean removeLabelByObject(String token, Hashtable labelObject, String objectId) throws NotPermittedException, RemoteException
removeLabelByObject
in interface ConfluenceXmlRpcHandler
NotPermittedException
RemoteException
public boolean removeLabelByNameFromSpace(String token, String labelName, String spaceKey) throws NotPermittedException, InvalidSessionException, RemoteException
removeLabelByNameFromSpace
in interface ConfluenceXmlRpcHandler
NotPermittedException
InvalidSessionException
RemoteException
@Deprecated public boolean setEnableWysiwyg(String token, String value) throws RemoteException
setEnableWysiwyg
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean setEnableAnonymousAccess(String token, String value) throws RemoteException
setEnableAnonymousAccess
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean isPluginEnabled(String token, String pluginKey) throws RemoteException
isPluginEnabled
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean isPluginInstalled(String token, String pluginKey) throws RemoteException
isPluginInstalled
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean installPlugin(String token, String pluginFileName, byte[] pluginData) throws RemoteException
installPlugin
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean isDarkFeatureEnabled(String token, String key) throws RemoteException
isDarkFeatureEnabled
in interface ConfluenceXmlRpcHandler
RemoteException
public boolean startActivity(String token, String key, String user) throws RemoteException
ConfluenceXmlRpcHandler
startActivity
in interface ConfluenceXmlRpcHandler
token
- rpc authentication tokenkey
- the activity key to startuser
- the username of the user starting the activityRemoteException
public boolean stopActivity(String token, String key, String user) throws RemoteException
ConfluenceXmlRpcHandler
stopActivity
in interface ConfluenceXmlRpcHandler
token
- rpc authentication tokenkey
- the activity key to stopuser
- the username of the user stopping the activityRemoteException
Copyright © 2003–2017 Atlassian. All rights reserved.