com.atlassian.confluence.rpc.xmlrpc
Class ConfluenceXmlRpcHandlerImpl
java.lang.Object
com.atlassian.confluence.rpc.xmlrpc.ConfluenceXmlRpcHandlerImpl
- All Implemented Interfaces:
- SecureRpc, ConfluenceXmlRpcHandler
public class ConfluenceXmlRpcHandlerImpl
- extends java.lang.Object
- implements 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.
Method Summary |
boolean |
addAnonymousPermissionsToSpace(java.lang.String token,
java.util.Vector permissions,
java.lang.String spaceKey)
|
boolean |
addAnonymousPermissionToSpace(java.lang.String token,
java.lang.String permission,
java.lang.String spaceKey)
|
boolean |
addAnonymousUsePermission(java.lang.String token)
|
boolean |
addAnonymousViewUserProfilePermission(java.lang.String token)
|
java.util.Hashtable |
addAttachment(java.lang.String token,
java.lang.String contentId,
java.util.Hashtable attachment,
byte[] attachmentData)
|
java.util.Hashtable |
addComment(java.lang.String token,
java.util.Hashtable comment)
|
boolean |
addGlobalPermission(java.lang.String token,
java.lang.String permission,
java.lang.String remoteEntityName)
|
boolean |
addGlobalPermissions(java.lang.String token,
java.util.Vector permissions,
java.lang.String remoteEntityName)
|
boolean |
addGroup(java.lang.String token,
java.lang.String groupname)
|
boolean |
addLabelById(java.lang.String token,
java.lang.String labelId,
java.lang.String objectId)
|
boolean |
addLabelByName(java.lang.String token,
java.lang.String labelName,
java.lang.String objectId)
|
boolean |
addLabelByNameToSpace(java.lang.String token,
java.lang.String labelName,
java.lang.String spaceKey)
|
boolean |
addLabelByObject(java.lang.String token,
java.util.Hashtable labelObject,
java.lang.String objectId)
|
boolean |
addPermissionsToSpace(java.lang.String token,
java.util.Vector permissions,
java.lang.String remoteEntityName,
java.lang.String spaceKey)
|
boolean |
addPermissionToSpace(java.lang.String token,
java.lang.String permission,
java.lang.String remoteEntityName,
java.lang.String spaceKey)
|
java.util.Hashtable |
addPersonalSpace(java.lang.String token,
java.util.Hashtable space,
java.lang.String username)
|
boolean |
addProfilePicture(java.lang.String token,
java.lang.String userName,
java.lang.String fileName,
java.lang.String mimeType,
byte[] pictureData)
|
java.util.Hashtable |
addSpace(java.lang.String token,
java.util.Hashtable space)
|
java.util.Hashtable |
addSpaceGroup(java.lang.String token,
java.util.Hashtable spaceGroup)
|
boolean |
addUser(java.lang.String token,
java.util.Hashtable remoteUser,
java.lang.String password)
|
boolean |
addUser(java.lang.String token,
java.util.Hashtable remoteUser,
java.lang.String password,
boolean notifyUser)
|
boolean |
addUserToGroup(java.lang.String token,
java.lang.String username,
java.lang.String groupname)
|
boolean |
changeMyPassword(java.lang.String token,
java.lang.String oldPass,
java.lang.String newPass)
|
boolean |
changeUserPassword(java.lang.String token,
java.lang.String username,
java.lang.String newPass)
|
boolean |
clearIndexQueue(java.lang.String token)
|
java.lang.String |
convertWikiToStorageFormat(java.lang.String token,
java.lang.String wiki)
|
boolean |
deactivateUser(java.lang.String token,
java.lang.String username)
|
java.util.Hashtable |
editComment(java.lang.String token,
java.util.Hashtable comment)
|
boolean |
editUser(java.lang.String token,
java.util.Hashtable remoteUser)
|
java.lang.Boolean |
emptyTrash(java.lang.String token,
java.lang.String spaceKey)
|
java.lang.String |
exportSite(java.lang.String token,
boolean exportAttachments)
|
java.lang.String |
exportSpace(java.lang.String token,
java.lang.String spaceKey,
java.lang.String exportType)
|
boolean |
flushIndexQueue(java.lang.String token)
|
java.util.Vector |
getActiveUsers(java.lang.String token,
boolean viewAll)
|
java.util.Vector |
getAncestors(java.lang.String token,
java.lang.String pageId)
|
java.util.Hashtable |
getAttachment(java.lang.String token,
java.lang.String contentId,
java.lang.String fileName,
java.lang.String version)
|
byte[] |
getAttachmentData(java.lang.String token,
java.lang.String contentId,
java.lang.String fileName,
java.lang.String version)
|
java.util.Vector |
getAttachments(java.lang.String token,
java.lang.String pageId)
|
java.util.Vector |
getBlogEntries(java.lang.String token,
java.lang.String spaceKey)
|
java.util.Hashtable |
getBlogEntry(java.lang.String token,
java.lang.String blogEntryId)
|
java.util.Hashtable |
getBlogEntryByDateAndTitle(java.lang.String token,
java.lang.String spaceKey,
int year,
int month,
int dayOfMonth,
java.lang.String postTitle)
|
java.util.Hashtable |
getBlogEntryByDayAndTitle(java.lang.String token,
java.lang.String spaceKey,
int dayOfMonth,
java.lang.String postTitle)
|
java.util.Vector |
getChildren(java.lang.String token,
java.lang.String pageId)
|
java.util.Hashtable |
getClusterInformation(java.lang.String token)
|
java.util.Vector |
getClusterNodeStatuses(java.lang.String token)
|
java.util.Hashtable |
getComment(java.lang.String token,
java.lang.String commentId)
|
java.util.Vector |
getComments(java.lang.String token,
java.lang.String pageId)
|
java.util.Vector |
getContentPermissions(java.lang.String token,
java.lang.String contentId)
|
java.util.Hashtable |
getContentPermissionSet(java.lang.String token,
java.lang.String contentId,
java.lang.String permissionType)
|
java.util.Vector |
getContentPermissionSets(java.lang.String token,
java.lang.String contentId)
|
java.util.Vector |
getDescendents(java.lang.String token,
java.lang.String pageId)
|
java.util.Vector |
getGroups(java.lang.String token)
|
java.util.Vector |
getLabelContentById(java.lang.String token,
java.lang.String labelId)
|
java.util.Vector |
getLabelContentByName(java.lang.String token,
java.lang.String labelName)
|
java.util.Vector |
getLabelContentByObject(java.lang.String token,
java.util.Hashtable labelObject)
|
java.util.Vector |
getLabelsByDetail(java.lang.String token,
java.lang.String labelName,
java.lang.String namespace,
java.lang.String spaceKey,
java.lang.String owner)
|
java.util.Vector |
getLabelsById(java.lang.String token,
java.lang.String objectId)
|
java.util.Vector |
getMostPopularLabels(java.lang.String token,
int maxCount)
|
java.util.Vector |
getMostPopularLabelsInSpace(java.lang.String token,
java.lang.String spaceKey,
int maxCount)
|
java.util.Hashtable |
getPage(java.lang.String token,
java.lang.String pageId)
|
java.util.Hashtable |
getPage(java.lang.String token,
java.lang.String spaceKey,
java.lang.String pageTitle)
|
java.util.Vector |
getPageHistory(java.lang.String token,
java.lang.String pageId)
|
java.util.Vector |
getPagePermissions(java.lang.String token,
java.lang.String pageId)
|
java.util.Vector |
getPages(java.lang.String token,
java.lang.String spaceKey)
|
java.util.Hashtable |
getPageSummary(java.lang.String token,
java.lang.String pageId)
|
java.util.Hashtable |
getPageSummary(java.lang.String token,
java.lang.String spaceKey,
java.lang.String pageTitle)
|
java.util.Vector |
getPermissions(java.lang.String token,
java.lang.String spaceKey)
|
java.util.Vector |
getPermissionsForUser(java.lang.String token,
java.lang.String spaceKey,
java.lang.String userName)
|
java.util.Vector |
getRecentlyUsedLabels(java.lang.String token,
int maxResults)
|
java.util.Vector |
getRecentlyUsedLabelsInSpace(java.lang.String token,
java.lang.String spaceKey,
int maxResults)
|
java.util.Vector |
getRelatedLabels(java.lang.String token,
java.lang.String labelName,
int maxResults)
|
java.util.Vector |
getRelatedLabelsInSpace(java.lang.String token,
java.lang.String labelName,
java.lang.String spaceKey,
int maxResults)
|
java.util.Hashtable |
getServerInfo(java.lang.String token)
|
java.util.Hashtable |
getSpace(java.lang.String token,
java.lang.String spaceKey)
|
java.util.Hashtable |
getSpaceGroup(java.lang.String token,
java.lang.String spaceGroupKey)
|
java.util.Vector |
getSpaceGroups(java.lang.String token)
|
java.lang.String[] |
getSpaceLevelPermissions(java.lang.String token)
|
java.util.Vector |
getSpaces(java.lang.String token)
|
java.util.Vector |
getSpacesContainingContentWithLabel(java.lang.String token,
java.lang.String labelName)
|
java.util.Vector |
getSpacesInGroup(java.lang.String token,
java.lang.String spaceGroupKey)
|
java.lang.String |
getSpaceStatus(java.lang.String token,
java.lang.String spaceKey)
|
java.util.Vector |
getSpacesWithLabel(java.lang.String token,
java.lang.String labelName)
|
java.util.Vector |
getTopLevelPages(java.lang.String token,
java.lang.String spaceKey)
|
java.util.Hashtable |
getTrashContents(java.lang.String token,
java.lang.String spaceKey,
int offset,
int maxResults)
|
java.util.Hashtable |
getUser(java.lang.String token,
java.lang.String username)
|
java.util.Hashtable |
getUserByKey(java.lang.String token,
java.lang.String userKey)
|
java.util.Vector |
getUserGroups(java.lang.String token,
java.lang.String username)
|
java.util.Hashtable |
getUserInformation(java.lang.String token,
java.lang.String username)
|
boolean |
getUserPreferenceBoolean(java.lang.String token,
java.lang.String username,
java.lang.String key)
|
java.lang.String |
getUserPreferenceLong(java.lang.String token,
java.lang.String username,
java.lang.String key)
|
java.lang.String |
getUserPreferenceString(java.lang.String token,
java.lang.String username,
java.lang.String key)
|
java.util.Vector |
getWatchersForPage(java.lang.String token,
java.lang.String pageId)
|
java.util.Vector |
getWatchersForSpace(java.lang.String token,
java.lang.String spaceKey)
|
boolean |
hasGroup(java.lang.String token,
java.lang.String groupname)
|
boolean |
hasUser(java.lang.String token,
java.lang.String username)
|
boolean |
importSpace(java.lang.String token,
byte[] importData)
Import a space in a compressed XML format |
boolean |
installPlugin(java.lang.String token,
java.lang.String pluginFileName,
byte[] pluginData)
|
boolean |
isActiveUser(java.lang.String token,
java.lang.String username)
|
boolean |
isDarkFeatureEnabled(java.lang.String token,
java.lang.String key)
|
boolean |
isPluginEnabled(java.lang.String token,
java.lang.String pluginKey)
|
boolean |
isPluginInstalled(java.lang.String token,
java.lang.String pluginKey)
|
boolean |
isWatchingPage(java.lang.String token,
java.lang.String pageId,
java.lang.String username)
|
boolean |
isWatchingSpace(java.lang.String token,
java.lang.String spaceKey,
java.lang.String username)
|
boolean |
isWatchingSpaceForType(java.lang.String token,
java.lang.String spaceKey,
java.lang.String contentType,
java.lang.String username)
|
java.lang.String |
login(java.lang.String username,
java.lang.String password)
|
boolean |
logout(java.lang.String token)
|
boolean |
moveAttachment(java.lang.String token,
java.lang.String originalContentId,
java.lang.String originalFileName,
java.lang.String newContentId,
java.lang.String newFileName)
|
java.lang.Boolean |
movePage(java.lang.String token,
java.lang.String sourcePageId,
java.lang.String targetPageId,
java.lang.String position)
|
java.lang.Boolean |
movePageToTopLevel(java.lang.String token,
java.lang.String pageId,
java.lang.String targetSpaceKey)
|
java.lang.String |
performBackup(java.lang.String token,
boolean exportAttachments)
|
java.lang.Boolean |
purgeFromTrash(java.lang.String token,
java.lang.String spaceKey,
java.lang.String pageId)
|
boolean |
reactivateUser(java.lang.String token,
java.lang.String username)
|
boolean |
removeAllPermissionsForGroup(java.lang.String token,
java.lang.String groupname)
|
boolean |
removeAnonymousPermissionFromSpace(java.lang.String token,
java.lang.String permission,
java.lang.String spaceKey)
|
boolean |
removeAnonymousUsePermission(java.lang.String token)
|
boolean |
removeAnonymousViewUserProfilePermission(java.lang.String token)
|
boolean |
removeAttachment(java.lang.String token,
java.lang.String contentId,
java.lang.String fileName)
|
boolean |
removeComment(java.lang.String token,
java.lang.String commentId)
|
boolean |
removeGlobalPermission(java.lang.String token,
java.lang.String permission,
java.lang.String remoteEntityName)
|
boolean |
removeGroup(java.lang.String token,
java.lang.String groupname,
java.lang.String defaultGroupName)
|
boolean |
removeLabelById(java.lang.String token,
java.lang.String labelId,
java.lang.String objectId)
|
boolean |
removeLabelByName(java.lang.String token,
java.lang.String labelName,
java.lang.String objectId)
|
boolean |
removeLabelByNameFromSpace(java.lang.String token,
java.lang.String labelName,
java.lang.String spaceKey)
|
boolean |
removeLabelByObject(java.lang.String token,
java.util.Hashtable labelObject,
java.lang.String objectId)
|
java.lang.Boolean |
removePage(java.lang.String token,
java.lang.String pageId)
|
java.lang.Boolean |
removePageVersionById(java.lang.String token,
java.lang.String historicalPageId)
|
java.lang.Boolean |
removePageVersionByVersion(java.lang.String token,
java.lang.String pageId,
int version)
|
boolean |
removePageWatch(java.lang.String token,
java.lang.String pageId)
|
boolean |
removePageWatchForUser(java.lang.String token,
java.lang.String pageId,
java.lang.String username)
|
boolean |
removePermissionFromSpace(java.lang.String token,
java.lang.String permission,
java.lang.String remoteEntityName,
java.lang.String spaceKey)
|
java.lang.Boolean |
removeSpace(java.lang.String token,
java.lang.String spaceKey)
|
boolean |
removeSpaceGroup(java.lang.String token,
java.lang.String spaceGroupKey)
|
boolean |
removeSpaceWatch(java.lang.String token,
java.lang.String spaceKey)
|
boolean |
removeUser(java.lang.String token,
java.lang.String username)
|
boolean |
removeUserFromGroup(java.lang.String token,
java.lang.String username,
java.lang.String groupname)
|
boolean |
renameUser(java.lang.String token,
java.lang.String oldUsername,
java.lang.String newUsername)
|
java.util.Vector |
renameUsers(java.lang.String token,
java.util.Hashtable oldUsernamesToNewUsernames)
|
java.lang.String |
renderContent(java.lang.String token,
java.lang.String spaceKey,
java.lang.String pageId,
java.lang.String newContent)
|
java.lang.String |
renderContent(java.lang.String token,
java.lang.String spaceKey,
java.lang.String pageId,
java.lang.String newContent,
java.util.Hashtable renderParameters)
|
java.util.Vector |
search(java.lang.String token,
java.lang.String query,
java.util.Hashtable params,
int maxResults)
|
java.util.Vector |
search(java.lang.String token,
java.lang.String query,
int maxResults)
|
java.lang.Boolean |
setContentPermissions(java.lang.String token,
java.lang.String contentId,
java.lang.String permissionType,
java.util.Vector permissions)
|
boolean |
setEnableAnonymousAccess(java.lang.String token,
java.lang.String value)
|
boolean |
setEnableWysiwyg(java.lang.String token,
java.lang.String value)
Deprecated. since 4.0. You can no longer disable the wysiwyg editor. |
void |
setSoapServiceDelegator(ConfluenceSoapService soapServiceDelegator)
|
java.lang.Boolean |
setSpaceStatus(java.lang.String token,
java.lang.String spaceKey,
java.lang.String statusString)
|
boolean |
setUserInformation(java.lang.String token,
java.util.Hashtable userInfo)
|
boolean |
setUserPreferenceBoolean(java.lang.String token,
java.lang.String username,
java.lang.String key,
boolean value)
|
boolean |
setUserPreferenceLong(java.lang.String token,
java.lang.String username,
java.lang.String key,
java.lang.String value)
|
boolean |
setUserPreferenceString(java.lang.String token,
java.lang.String username,
java.lang.String key,
java.lang.String value)
|
java.util.Hashtable |
storeBlogEntry(java.lang.String token,
java.util.Hashtable blogEntryStruct)
|
java.util.Hashtable |
storePage(java.lang.String token,
java.util.Hashtable pageStruct)
|
java.util.Hashtable |
storeSpace(java.lang.String token,
java.util.Hashtable remoteSpace)
|
java.util.Hashtable |
updatePage(java.lang.String token,
java.util.Hashtable pageStruct,
java.util.Hashtable editOptionsStruct)
|
boolean |
watchPage(java.lang.String token,
java.lang.String pageId)
|
boolean |
watchPageForUser(java.lang.String token,
java.lang.String pageId,
java.lang.String username)
|
boolean |
watchSpace(java.lang.String token,
java.lang.String spaceKey)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceXmlRpcHandlerImpl
public ConfluenceXmlRpcHandlerImpl()
setSoapServiceDelegator
public void setSoapServiceDelegator(ConfluenceSoapService soapServiceDelegator)
login
public java.lang.String login(java.lang.String username,
java.lang.String password)
throws RemoteException
- Specified by:
login
in interface SecureRpc
- Specified by:
login
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
logout
public boolean logout(java.lang.String token)
throws RemoteException
- Specified by:
logout
in interface SecureRpc
- Specified by:
logout
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getSpaces
public java.util.Vector getSpaces(java.lang.String token)
throws RemoteException
- Specified by:
getSpaces
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getSpacesInGroup
public java.util.Vector getSpacesInGroup(java.lang.String token,
java.lang.String spaceGroupKey)
throws RemoteException
- Specified by:
getSpacesInGroup
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getBlogEntries
public java.util.Vector getBlogEntries(java.lang.String token,
java.lang.String spaceKey)
throws RemoteException
- Specified by:
getBlogEntries
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getBlogEntryByDayAndTitle
public java.util.Hashtable getBlogEntryByDayAndTitle(java.lang.String token,
java.lang.String spaceKey,
int dayOfMonth,
java.lang.String postTitle)
throws RemoteException
- Specified by:
getBlogEntryByDayAndTitle
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getBlogEntryByDateAndTitle
public java.util.Hashtable getBlogEntryByDateAndTitle(java.lang.String token,
java.lang.String spaceKey,
int year,
int month,
int dayOfMonth,
java.lang.String postTitle)
throws RemoteException
- Specified by:
getBlogEntryByDateAndTitle
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getComments
public java.util.Vector getComments(java.lang.String token,
java.lang.String pageId)
throws RemoteException
- Specified by:
getComments
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getComment
public java.util.Hashtable getComment(java.lang.String token,
java.lang.String commentId)
throws InvalidSessionException,
RemoteException
- Specified by:
getComment
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
addComment
public java.util.Hashtable addComment(java.lang.String token,
java.util.Hashtable comment)
throws InvalidSessionException,
NotPermittedException,
RemoteException
- Specified by:
addComment
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
NotPermittedException
RemoteException
editComment
public java.util.Hashtable editComment(java.lang.String token,
java.util.Hashtable comment)
throws InvalidSessionException,
NotPermittedException,
RemoteException
- Specified by:
editComment
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
NotPermittedException
RemoteException
removeComment
public boolean removeComment(java.lang.String token,
java.lang.String commentId)
throws InvalidSessionException,
NotPermittedException,
RemoteException
- Specified by:
removeComment
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
NotPermittedException
RemoteException
getTopLevelPages
public java.util.Vector getTopLevelPages(java.lang.String token,
java.lang.String spaceKey)
throws RemoteException
- Specified by:
getTopLevelPages
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getAncestors
public java.util.Vector getAncestors(java.lang.String token,
java.lang.String pageId)
throws RemoteException
- Specified by:
getAncestors
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getChildren
public java.util.Vector getChildren(java.lang.String token,
java.lang.String pageId)
throws RemoteException
- Specified by:
getChildren
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getDescendents
public java.util.Vector getDescendents(java.lang.String token,
java.lang.String pageId)
throws RemoteException
- Specified by:
getDescendents
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getAttachments
public java.util.Vector getAttachments(java.lang.String token,
java.lang.String pageId)
throws RemoteException
- Specified by:
getAttachments
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
convertWikiToStorageFormat
public java.lang.String convertWikiToStorageFormat(java.lang.String token,
java.lang.String wiki)
throws RemoteException
- Specified by:
convertWikiToStorageFormat
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
watchPage
public boolean watchPage(java.lang.String token,
java.lang.String pageId)
throws RemoteException
- Specified by:
watchPage
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
watchSpace
public boolean watchSpace(java.lang.String token,
java.lang.String spaceKey)
throws RemoteException
- Specified by:
watchSpace
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
watchPageForUser
public boolean watchPageForUser(java.lang.String token,
java.lang.String pageId,
java.lang.String username)
throws RemoteException
- Specified by:
watchPageForUser
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
removePageWatch
public boolean removePageWatch(java.lang.String token,
java.lang.String pageId)
throws RemoteException
- Specified by:
removePageWatch
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
removeSpaceWatch
public boolean removeSpaceWatch(java.lang.String token,
java.lang.String spaceKey)
throws RemoteException
- Specified by:
removeSpaceWatch
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
removePageWatchForUser
public boolean removePageWatchForUser(java.lang.String token,
java.lang.String pageId,
java.lang.String username)
throws RemoteException
- Specified by:
removePageWatchForUser
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
isWatchingPage
public boolean isWatchingPage(java.lang.String token,
java.lang.String pageId,
java.lang.String username)
throws RemoteException
- Specified by:
isWatchingPage
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
isWatchingSpace
public boolean isWatchingSpace(java.lang.String token,
java.lang.String spaceKey,
java.lang.String username)
throws RemoteException
- Specified by:
isWatchingSpace
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
isWatchingSpaceForType
public boolean isWatchingSpaceForType(java.lang.String token,
java.lang.String spaceKey,
java.lang.String contentType,
java.lang.String username)
throws RemoteException
- Specified by:
isWatchingSpaceForType
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getWatchersForPage
public java.util.Vector getWatchersForPage(java.lang.String token,
java.lang.String pageId)
throws RemoteException
- Specified by:
getWatchersForPage
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getWatchersForSpace
public java.util.Vector getWatchersForSpace(java.lang.String token,
java.lang.String spaceKey)
throws RemoteException
- Specified by:
getWatchersForSpace
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getBlogEntry
public java.util.Hashtable getBlogEntry(java.lang.String token,
java.lang.String blogEntryId)
throws RemoteException
- Specified by:
getBlogEntry
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getPages
public java.util.Vector getPages(java.lang.String token,
java.lang.String spaceKey)
throws RemoteException
- Specified by:
getPages
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getPage
public java.util.Hashtable getPage(java.lang.String token,
java.lang.String pageId)
throws RemoteException
- Specified by:
getPage
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getPageSummary
public java.util.Hashtable getPageSummary(java.lang.String token,
java.lang.String pageId)
throws RemoteException
- Specified by:
getPageSummary
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getPage
public java.util.Hashtable getPage(java.lang.String token,
java.lang.String spaceKey,
java.lang.String pageTitle)
throws RemoteException
- Specified by:
getPage
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getPageSummary
public java.util.Hashtable getPageSummary(java.lang.String token,
java.lang.String spaceKey,
java.lang.String pageTitle)
throws RemoteException
- Specified by:
getPageSummary
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getContentPermissionSets
public java.util.Vector getContentPermissionSets(java.lang.String token,
java.lang.String contentId)
throws RemoteException
- Specified by:
getContentPermissionSets
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getContentPermissionSet
public java.util.Hashtable getContentPermissionSet(java.lang.String token,
java.lang.String contentId,
java.lang.String permissionType)
throws RemoteException
- Specified by:
getContentPermissionSet
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getContentPermissions
public java.util.Vector getContentPermissions(java.lang.String token,
java.lang.String contentId)
throws RemoteException
- Specified by:
getContentPermissions
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
setContentPermissions
public java.lang.Boolean setContentPermissions(java.lang.String token,
java.lang.String contentId,
java.lang.String permissionType,
java.util.Vector permissions)
throws RemoteException
- Specified by:
setContentPermissions
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getPageHistory
public java.util.Vector getPageHistory(java.lang.String token,
java.lang.String pageId)
throws RemoteException
- Specified by:
getPageHistory
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getSpace
public java.util.Hashtable getSpace(java.lang.String token,
java.lang.String spaceKey)
throws RemoteException
- Specified by:
getSpace
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getPermissions
public java.util.Vector getPermissions(java.lang.String token,
java.lang.String spaceKey)
throws RemoteException
- Specified by:
getPermissions
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getPermissionsForUser
public java.util.Vector getPermissionsForUser(java.lang.String token,
java.lang.String spaceKey,
java.lang.String userName)
throws RemoteException
- Specified by:
getPermissionsForUser
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getPagePermissions
public java.util.Vector getPagePermissions(java.lang.String token,
java.lang.String pageId)
throws RemoteException
- Specified by:
getPagePermissions
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
renderContent
public java.lang.String renderContent(java.lang.String token,
java.lang.String spaceKey,
java.lang.String pageId,
java.lang.String newContent)
throws RemoteException
- Specified by:
renderContent
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
renderContent
public java.lang.String renderContent(java.lang.String token,
java.lang.String spaceKey,
java.lang.String pageId,
java.lang.String newContent,
java.util.Hashtable renderParameters)
throws RemoteException
- Specified by:
renderContent
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
movePageToTopLevel
public java.lang.Boolean movePageToTopLevel(java.lang.String token,
java.lang.String pageId,
java.lang.String targetSpaceKey)
throws RemoteException
- Specified by:
movePageToTopLevel
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
movePage
public java.lang.Boolean movePage(java.lang.String token,
java.lang.String sourcePageId,
java.lang.String targetPageId,
java.lang.String position)
throws RemoteException
- Specified by:
movePage
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
removePage
public java.lang.Boolean removePage(java.lang.String token,
java.lang.String pageId)
throws RemoteException
- Specified by:
removePage
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
removePageVersionById
public java.lang.Boolean removePageVersionById(java.lang.String token,
java.lang.String historicalPageId)
throws RemoteException
- Specified by:
removePageVersionById
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
removePageVersionByVersion
public java.lang.Boolean removePageVersionByVersion(java.lang.String token,
java.lang.String pageId,
int version)
throws RemoteException
- Specified by:
removePageVersionByVersion
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getTrashContents
public java.util.Hashtable getTrashContents(java.lang.String token,
java.lang.String spaceKey,
int offset,
int maxResults)
throws RemoteException
- Specified by:
getTrashContents
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
purgeFromTrash
public java.lang.Boolean purgeFromTrash(java.lang.String token,
java.lang.String spaceKey,
java.lang.String pageId)
throws RemoteException
- Specified by:
purgeFromTrash
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
emptyTrash
public java.lang.Boolean emptyTrash(java.lang.String token,
java.lang.String spaceKey)
throws RemoteException
- Specified by:
emptyTrash
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
search
public java.util.Vector search(java.lang.String token,
java.lang.String query,
int maxResults)
throws RemoteException
- Specified by:
search
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
search
public java.util.Vector search(java.lang.String token,
java.lang.String query,
java.util.Hashtable params,
int maxResults)
throws RemoteException
- Specified by:
search
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
storeBlogEntry
public java.util.Hashtable storeBlogEntry(java.lang.String token,
java.util.Hashtable blogEntryStruct)
throws RemoteException
- Specified by:
storeBlogEntry
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
storePage
public java.util.Hashtable storePage(java.lang.String token,
java.util.Hashtable pageStruct)
throws RemoteException
- Specified by:
storePage
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
updatePage
public java.util.Hashtable updatePage(java.lang.String token,
java.util.Hashtable pageStruct,
java.util.Hashtable editOptionsStruct)
throws RemoteException
- Specified by:
updatePage
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
addAttachment
public java.util.Hashtable addAttachment(java.lang.String token,
java.lang.String contentId,
java.util.Hashtable attachment,
byte[] attachmentData)
throws RemoteException
- Specified by:
addAttachment
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getAttachment
public java.util.Hashtable getAttachment(java.lang.String token,
java.lang.String contentId,
java.lang.String fileName,
java.lang.String version)
throws RemoteException
- Specified by:
getAttachment
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getAttachmentData
public byte[] getAttachmentData(java.lang.String token,
java.lang.String contentId,
java.lang.String fileName,
java.lang.String version)
throws RemoteException
- Specified by:
getAttachmentData
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
removeAttachment
public boolean removeAttachment(java.lang.String token,
java.lang.String contentId,
java.lang.String fileName)
throws RemoteException,
NotPermittedException
- Specified by:
removeAttachment
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
NotPermittedException
moveAttachment
public boolean moveAttachment(java.lang.String token,
java.lang.String originalContentId,
java.lang.String originalFileName,
java.lang.String newContentId,
java.lang.String newFileName)
throws RemoteException,
NotPermittedException
- Specified by:
moveAttachment
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
NotPermittedException
addSpaceGroup
public java.util.Hashtable addSpaceGroup(java.lang.String token,
java.util.Hashtable spaceGroup)
throws RemoteException
- Specified by:
addSpaceGroup
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getSpaceGroup
public java.util.Hashtable getSpaceGroup(java.lang.String token,
java.lang.String spaceGroupKey)
throws RemoteException
- Specified by:
getSpaceGroup
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getSpaceGroups
public java.util.Vector getSpaceGroups(java.lang.String token)
throws RemoteException
- Specified by:
getSpaceGroups
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
removeSpaceGroup
public boolean removeSpaceGroup(java.lang.String token,
java.lang.String spaceGroupKey)
throws RemoteException
- Specified by:
removeSpaceGroup
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
addSpace
public java.util.Hashtable addSpace(java.lang.String token,
java.util.Hashtable space)
throws RemoteException
- Specified by:
addSpace
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
storeSpace
public java.util.Hashtable storeSpace(java.lang.String token,
java.util.Hashtable remoteSpace)
throws RemoteException
- Specified by:
storeSpace
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
addPersonalSpace
public java.util.Hashtable addPersonalSpace(java.lang.String token,
java.util.Hashtable space,
java.lang.String username)
throws RemoteException
- Specified by:
addPersonalSpace
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
removeSpace
public java.lang.Boolean removeSpace(java.lang.String token,
java.lang.String spaceKey)
throws RemoteException
- Specified by:
removeSpace
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
setSpaceStatus
public java.lang.Boolean setSpaceStatus(java.lang.String token,
java.lang.String spaceKey,
java.lang.String statusString)
throws RemoteException
- Specified by:
setSpaceStatus
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getSpaceStatus
public java.lang.String getSpaceStatus(java.lang.String token,
java.lang.String spaceKey)
throws RemoteException
- Specified by:
getSpaceStatus
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
exportSpace
public java.lang.String exportSpace(java.lang.String token,
java.lang.String spaceKey,
java.lang.String exportType)
throws RemoteException
- Specified by:
exportSpace
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
importSpace
public boolean importSpace(java.lang.String token,
byte[] importData)
throws RemoteException
- Description copied from interface:
ConfluenceXmlRpcHandler
- Import a space in a compressed XML format
- Specified by:
importSpace
in interface ConfluenceXmlRpcHandler
- 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(java.lang.String token,
java.lang.String permission,
java.lang.String remoteEntityName,
java.lang.String spaceKey)
throws RemoteException
- Specified by:
addPermissionToSpace
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
addPermissionsToSpace
public boolean addPermissionsToSpace(java.lang.String token,
java.util.Vector permissions,
java.lang.String remoteEntityName,
java.lang.String spaceKey)
throws RemoteException
- Specified by:
addPermissionsToSpace
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
addGlobalPermissions
public boolean addGlobalPermissions(java.lang.String token,
java.util.Vector permissions,
java.lang.String remoteEntityName)
throws RemoteException
- Specified by:
addGlobalPermissions
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
addGlobalPermission
public boolean addGlobalPermission(java.lang.String token,
java.lang.String permission,
java.lang.String remoteEntityName)
throws RemoteException
- Specified by:
addGlobalPermission
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
removeGlobalPermission
public boolean removeGlobalPermission(java.lang.String token,
java.lang.String permission,
java.lang.String remoteEntityName)
throws RemoteException
- Specified by:
removeGlobalPermission
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
addAnonymousUsePermission
public boolean addAnonymousUsePermission(java.lang.String token)
throws RemoteException
- Specified by:
addAnonymousUsePermission
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
removeAnonymousUsePermission
public boolean removeAnonymousUsePermission(java.lang.String token)
throws RemoteException
- Specified by:
removeAnonymousUsePermission
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
addAnonymousViewUserProfilePermission
public boolean addAnonymousViewUserProfilePermission(java.lang.String token)
throws RemoteException
- Specified by:
addAnonymousViewUserProfilePermission
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
removeAnonymousViewUserProfilePermission
public boolean removeAnonymousViewUserProfilePermission(java.lang.String token)
throws RemoteException
- Specified by:
removeAnonymousViewUserProfilePermission
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
removePermissionFromSpace
public boolean removePermissionFromSpace(java.lang.String token,
java.lang.String permission,
java.lang.String remoteEntityName,
java.lang.String spaceKey)
throws NotPermittedException,
RemoteException
- Specified by:
removePermissionFromSpace
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
addAnonymousPermissionToSpace
public boolean addAnonymousPermissionToSpace(java.lang.String token,
java.lang.String permission,
java.lang.String spaceKey)
throws RemoteException
- Specified by:
addAnonymousPermissionToSpace
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
addAnonymousPermissionsToSpace
public boolean addAnonymousPermissionsToSpace(java.lang.String token,
java.util.Vector permissions,
java.lang.String spaceKey)
throws RemoteException
- Specified by:
addAnonymousPermissionsToSpace
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
removeAnonymousPermissionFromSpace
public boolean removeAnonymousPermissionFromSpace(java.lang.String token,
java.lang.String permission,
java.lang.String spaceKey)
throws NotPermittedException,
RemoteException
- Specified by:
removeAnonymousPermissionFromSpace
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
getSpaceLevelPermissions
public java.lang.String[] getSpaceLevelPermissions(java.lang.String token)
throws RemoteException
- Specified by:
getSpaceLevelPermissions
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getServerInfo
public java.util.Hashtable getServerInfo(java.lang.String token)
throws RemoteException
- Specified by:
getServerInfo
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
exportSite
public java.lang.String exportSite(java.lang.String token,
boolean exportAttachments)
throws RemoteException
- Specified by:
exportSite
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
performBackup
public java.lang.String performBackup(java.lang.String token,
boolean exportAttachments)
throws RemoteException
- Specified by:
performBackup
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
flushIndexQueue
public boolean flushIndexQueue(java.lang.String token)
throws RemoteException
- Specified by:
flushIndexQueue
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
clearIndexQueue
public boolean clearIndexQueue(java.lang.String token)
throws RemoteException
- Specified by:
clearIndexQueue
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getClusterInformation
public java.util.Hashtable getClusterInformation(java.lang.String token)
throws RemoteException
- Specified by:
getClusterInformation
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getClusterNodeStatuses
public java.util.Vector getClusterNodeStatuses(java.lang.String token)
throws RemoteException
- Specified by:
getClusterNodeStatuses
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getGroups
public java.util.Vector getGroups(java.lang.String token)
throws RemoteException
- Specified by:
getGroups
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
hasGroup
public boolean hasGroup(java.lang.String token,
java.lang.String groupname)
throws InvalidSessionException,
RemoteException
- Specified by:
hasGroup
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
addGroup
public boolean addGroup(java.lang.String token,
java.lang.String groupname)
throws RemoteException
- Specified by:
addGroup
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
removeGroup
public boolean removeGroup(java.lang.String token,
java.lang.String groupname,
java.lang.String defaultGroupName)
throws RemoteException
- Specified by:
removeGroup
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getUserGroups
public java.util.Vector getUserGroups(java.lang.String token,
java.lang.String username)
throws RemoteException
- Specified by:
getUserGroups
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
addUserToGroup
public boolean addUserToGroup(java.lang.String token,
java.lang.String username,
java.lang.String groupname)
throws RemoteException
- Specified by:
addUserToGroup
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
removeAllPermissionsForGroup
public boolean removeAllPermissionsForGroup(java.lang.String token,
java.lang.String groupname)
throws RemoteException
- Specified by:
removeAllPermissionsForGroup
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
removeUserFromGroup
public boolean removeUserFromGroup(java.lang.String token,
java.lang.String username,
java.lang.String groupname)
throws RemoteException
- Specified by:
removeUserFromGroup
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getUser
public java.util.Hashtable getUser(java.lang.String token,
java.lang.String username)
throws RemoteException
- Specified by:
getUser
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
getUserByKey
public java.util.Hashtable getUserByKey(java.lang.String token,
java.lang.String userKey)
throws RemoteException
- Specified by:
getUserByKey
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
hasUser
public boolean hasUser(java.lang.String token,
java.lang.String username)
throws InvalidSessionException,
RemoteException
- Specified by:
hasUser
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
addUser
public boolean addUser(java.lang.String token,
java.util.Hashtable remoteUser,
java.lang.String password)
throws RemoteException
- Specified by:
addUser
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
addUser
public boolean addUser(java.lang.String token,
java.util.Hashtable remoteUser,
java.lang.String password,
boolean notifyUser)
throws RemoteException
- Specified by:
addUser
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
removeUser
public boolean removeUser(java.lang.String token,
java.lang.String username)
throws RemoteException
- Specified by:
removeUser
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
editUser
public boolean editUser(java.lang.String token,
java.util.Hashtable remoteUser)
throws NotPermittedException,
InvalidSessionException,
RemoteException
- Specified by:
editUser
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
InvalidSessionException
RemoteException
deactivateUser
public boolean deactivateUser(java.lang.String token,
java.lang.String username)
throws NotPermittedException,
InvalidSessionException,
RemoteException
- Specified by:
deactivateUser
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
InvalidSessionException
RemoteException
reactivateUser
public boolean reactivateUser(java.lang.String token,
java.lang.String username)
throws NotPermittedException,
InvalidSessionException,
RemoteException
- Specified by:
reactivateUser
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
InvalidSessionException
RemoteException
isActiveUser
public boolean isActiveUser(java.lang.String token,
java.lang.String username)
throws NotPermittedException,
RemoteException
- Specified by:
isActiveUser
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
getActiveUsers
public java.util.Vector getActiveUsers(java.lang.String token,
boolean viewAll)
throws InvalidSessionException,
RemoteException
- Specified by:
getActiveUsers
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
setUserInformation
public boolean setUserInformation(java.lang.String token,
java.util.Hashtable userInfo)
throws NotPermittedException,
InvalidSessionException,
RemoteException
- Specified by:
setUserInformation
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
InvalidSessionException
RemoteException
getUserInformation
public java.util.Hashtable getUserInformation(java.lang.String token,
java.lang.String username)
throws InvalidSessionException,
RemoteException
- Specified by:
getUserInformation
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
changeMyPassword
public boolean changeMyPassword(java.lang.String token,
java.lang.String oldPass,
java.lang.String newPass)
throws InvalidSessionException,
RemoteException
- Specified by:
changeMyPassword
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
changeUserPassword
public boolean changeUserPassword(java.lang.String token,
java.lang.String username,
java.lang.String newPass)
throws NotPermittedException,
InvalidSessionException,
RemoteException
- Specified by:
changeUserPassword
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
InvalidSessionException
RemoteException
addProfilePicture
public boolean addProfilePicture(java.lang.String token,
java.lang.String userName,
java.lang.String fileName,
java.lang.String mimeType,
byte[] pictureData)
throws RemoteException
- Specified by:
addProfilePicture
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
renameUser
public boolean renameUser(java.lang.String token,
java.lang.String oldUsername,
java.lang.String newUsername)
throws RemoteException
- Specified by:
renameUser
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
renameUsers
public java.util.Vector renameUsers(java.lang.String token,
java.util.Hashtable oldUsernamesToNewUsernames)
throws RemoteException
- Specified by:
renameUsers
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
setUserPreferenceBoolean
public boolean setUserPreferenceBoolean(java.lang.String token,
java.lang.String username,
java.lang.String key,
boolean value)
throws InvalidSessionException,
RemoteException
- Specified by:
setUserPreferenceBoolean
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
getUserPreferenceBoolean
public boolean getUserPreferenceBoolean(java.lang.String token,
java.lang.String username,
java.lang.String key)
throws InvalidSessionException,
RemoteException
- Specified by:
getUserPreferenceBoolean
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
setUserPreferenceLong
public boolean setUserPreferenceLong(java.lang.String token,
java.lang.String username,
java.lang.String key,
java.lang.String value)
throws InvalidSessionException,
RemoteException
- Specified by:
setUserPreferenceLong
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
getUserPreferenceLong
public java.lang.String getUserPreferenceLong(java.lang.String token,
java.lang.String username,
java.lang.String key)
throws InvalidSessionException,
RemoteException
- Specified by:
getUserPreferenceLong
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
setUserPreferenceString
public boolean setUserPreferenceString(java.lang.String token,
java.lang.String username,
java.lang.String key,
java.lang.String value)
throws InvalidSessionException,
RemoteException
- Specified by:
setUserPreferenceString
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
getUserPreferenceString
public java.lang.String getUserPreferenceString(java.lang.String token,
java.lang.String username,
java.lang.String key)
throws InvalidSessionException,
RemoteException
- Specified by:
getUserPreferenceString
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
getLabelsById
public java.util.Vector getLabelsById(java.lang.String token,
java.lang.String objectId)
throws NotPermittedException,
RemoteException
- Specified by:
getLabelsById
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
getMostPopularLabels
public java.util.Vector getMostPopularLabels(java.lang.String token,
int maxCount)
throws NotPermittedException,
RemoteException
- Specified by:
getMostPopularLabels
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
getMostPopularLabelsInSpace
public java.util.Vector getMostPopularLabelsInSpace(java.lang.String token,
java.lang.String spaceKey,
int maxCount)
throws NotPermittedException,
RemoteException
- Specified by:
getMostPopularLabelsInSpace
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
getLabelContentById
public java.util.Vector getLabelContentById(java.lang.String token,
java.lang.String labelId)
throws NotPermittedException,
RemoteException
- Specified by:
getLabelContentById
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
getLabelContentByName
public java.util.Vector getLabelContentByName(java.lang.String token,
java.lang.String labelName)
throws NotPermittedException,
RemoteException
- Specified by:
getLabelContentByName
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
getLabelContentByObject
public java.util.Vector getLabelContentByObject(java.lang.String token,
java.util.Hashtable labelObject)
throws NotPermittedException,
RemoteException
- Specified by:
getLabelContentByObject
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
getRecentlyUsedLabels
public java.util.Vector getRecentlyUsedLabels(java.lang.String token,
int maxResults)
throws InvalidSessionException,
RemoteException
- Specified by:
getRecentlyUsedLabels
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
getRecentlyUsedLabelsInSpace
public java.util.Vector getRecentlyUsedLabelsInSpace(java.lang.String token,
java.lang.String spaceKey,
int maxResults)
throws InvalidSessionException,
RemoteException
- Specified by:
getRecentlyUsedLabelsInSpace
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
getSpacesWithLabel
public java.util.Vector getSpacesWithLabel(java.lang.String token,
java.lang.String labelName)
throws InvalidSessionException,
RemoteException
- Specified by:
getSpacesWithLabel
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
getRelatedLabels
public java.util.Vector getRelatedLabels(java.lang.String token,
java.lang.String labelName,
int maxResults)
throws InvalidSessionException,
RemoteException
- Specified by:
getRelatedLabels
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
getRelatedLabelsInSpace
public java.util.Vector getRelatedLabelsInSpace(java.lang.String token,
java.lang.String labelName,
java.lang.String spaceKey,
int maxResults)
throws InvalidSessionException,
RemoteException
- Specified by:
getRelatedLabelsInSpace
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
getLabelsByDetail
public java.util.Vector getLabelsByDetail(java.lang.String token,
java.lang.String labelName,
java.lang.String namespace,
java.lang.String spaceKey,
java.lang.String owner)
throws InvalidSessionException,
RemoteException,
NotPermittedException
- Specified by:
getLabelsByDetail
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
NotPermittedException
getSpacesContainingContentWithLabel
public java.util.Vector getSpacesContainingContentWithLabel(java.lang.String token,
java.lang.String labelName)
throws InvalidSessionException,
RemoteException
- Specified by:
getSpacesContainingContentWithLabel
in interface ConfluenceXmlRpcHandler
- Throws:
InvalidSessionException
RemoteException
addLabelByName
public boolean addLabelByName(java.lang.String token,
java.lang.String labelName,
java.lang.String objectId)
throws NotPermittedException,
RemoteException
- Specified by:
addLabelByName
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
addLabelById
public boolean addLabelById(java.lang.String token,
java.lang.String labelId,
java.lang.String objectId)
throws NotPermittedException,
RemoteException
- Specified by:
addLabelById
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
addLabelByObject
public boolean addLabelByObject(java.lang.String token,
java.util.Hashtable labelObject,
java.lang.String objectId)
throws NotPermittedException,
RemoteException
- Specified by:
addLabelByObject
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
addLabelByNameToSpace
public boolean addLabelByNameToSpace(java.lang.String token,
java.lang.String labelName,
java.lang.String spaceKey)
throws NotPermittedException,
InvalidSessionException,
RemoteException
- Specified by:
addLabelByNameToSpace
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
InvalidSessionException
RemoteException
removeLabelByName
public boolean removeLabelByName(java.lang.String token,
java.lang.String labelName,
java.lang.String objectId)
throws NotPermittedException,
RemoteException
- Specified by:
removeLabelByName
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
removeLabelById
public boolean removeLabelById(java.lang.String token,
java.lang.String labelId,
java.lang.String objectId)
throws NotPermittedException,
RemoteException
- Specified by:
removeLabelById
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
removeLabelByObject
public boolean removeLabelByObject(java.lang.String token,
java.util.Hashtable labelObject,
java.lang.String objectId)
throws NotPermittedException,
RemoteException
- Specified by:
removeLabelByObject
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
RemoteException
removeLabelByNameFromSpace
public boolean removeLabelByNameFromSpace(java.lang.String token,
java.lang.String labelName,
java.lang.String spaceKey)
throws NotPermittedException,
InvalidSessionException,
RemoteException
- Specified by:
removeLabelByNameFromSpace
in interface ConfluenceXmlRpcHandler
- Throws:
NotPermittedException
InvalidSessionException
RemoteException
setEnableWysiwyg
@Deprecated
public boolean setEnableWysiwyg(java.lang.String token,
java.lang.String value)
throws RemoteException
- Deprecated. since 4.0. You can no longer disable the wysiwyg editor.
- Specified by:
setEnableWysiwyg
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
setEnableAnonymousAccess
public boolean setEnableAnonymousAccess(java.lang.String token,
java.lang.String value)
throws RemoteException
- Specified by:
setEnableAnonymousAccess
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
isPluginEnabled
public boolean isPluginEnabled(java.lang.String token,
java.lang.String pluginKey)
throws RemoteException
- Specified by:
isPluginEnabled
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
isPluginInstalled
public boolean isPluginInstalled(java.lang.String token,
java.lang.String pluginKey)
throws RemoteException
- Specified by:
isPluginInstalled
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
installPlugin
public boolean installPlugin(java.lang.String token,
java.lang.String pluginFileName,
byte[] pluginData)
throws RemoteException
- Specified by:
installPlugin
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
isDarkFeatureEnabled
public boolean isDarkFeatureEnabled(java.lang.String token,
java.lang.String key)
throws RemoteException
- Specified by:
isDarkFeatureEnabled
in interface ConfluenceXmlRpcHandler
- Throws:
RemoteException
Copyright © 2003-2013 Atlassian. All Rights Reserved.