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