public interface ConfluenceXmlRpcHandler extends SecureRpc
String login(String username, String password) throws RemoteException
login in interface SecureRpcRemoteExceptionboolean logout(String token) throws RemoteException
logout in interface SecureRpcRemoteExceptionVector getPages(String token, String spaceKey) throws RemoteException
RemoteExceptionHashtable getPage(String token, String pageId) throws RemoteException
RemoteExceptionHashtable getPageSummary(String token, String pageId) throws RemoteException
RemoteExceptionHashtable getPage(String token, String spaceKey, String pageTitle) throws RemoteException
RemoteExceptionHashtable getPageSummary(String token, String spaceKey, String pageTitle) throws RemoteException
RemoteExceptionVector getContentPermissionSets(String token, String contentId) throws RemoteException
RemoteExceptionHashtable getContentPermissionSet(String token, String contentId, String permissionType) throws RemoteException
RemoteExceptionVector getContentPermissions(String token, String contentId) throws RemoteException
RemoteExceptionBoolean setContentPermissions(String token, String contentId, String permissionType, Vector permissions) throws RemoteException
RemoteExceptionVector getPermissions(String token, String spaceKey) throws RemoteException
RemoteExceptionVector getPermissionsForUser(String token, String spaceKey, String userName) throws RemoteException
RemoteExceptionVector getSpacePermissionSets(String token, String spaceKey) throws RemoteException
RemoteExceptionHashtable getSpacePermissionSet(String token, String spaceKey, String permissionType) throws RemoteException
RemoteExceptionString renderContent(String token, String spaceKey, String pageId, String newContent) throws RemoteException
RemoteExceptionString renderContent(String token, String spaceKey, String pageId, String newContent, Hashtable renderParameters) throws RemoteException
RemoteExceptionHashtable storePage(String token, Hashtable pageStruct) throws RemoteException
RemoteExceptionHashtable updatePage(String token, Hashtable pageStruct, Hashtable editOptionsStruct) throws RemoteException
RemoteExceptionBoolean movePageToTopLevel(String token, String pageId, String targetSpaceKey) throws RemoteException
RemoteExceptionBoolean movePage(String token, String sourcePageId, String targetPageId, String position) throws RemoteException
RemoteExceptionBoolean removePage(String token, String pageId) throws RemoteException
RemoteExceptionBoolean removePageVersionById(String token, String historicalPageId) throws RemoteException
RemoteExceptionBoolean removePageVersionByVersion(String token, String pageId, int version) throws RemoteException
RemoteExceptionVector search(String token, String query, int maxResults) throws RemoteException
RemoteExceptionVector search(String token, String query, Hashtable params, int maxResults) throws RemoteException
RemoteExceptionVector getPageHistory(String token, String pageId) throws RemoteException
RemoteExceptionVector getPagePermissions(String token, String pageId) throws RemoteException
RemoteExceptionHashtable getTrashContents(String token, String spaceKey, int offset, int maxResults) throws RemoteException
RemoteExceptionBoolean purgeFromTrash(String token, String spaceKey, String pageId) throws RemoteException
RemoteExceptionBoolean emptyTrash(String token, String spaceKey) throws RemoteException
RemoteExceptionVector getBlogEntries(String token, String spaceKey) throws RemoteException
RemoteExceptionHashtable getBlogEntryByDayAndTitle(String token, String spaceKey, int dayOfMonth, String postTitle) throws RemoteException
RemoteExceptionHashtable getBlogEntryByDateAndTitle(String token, String spaceKey, int year, int month, int dayOfMonth, String postTitle) throws RemoteException
RemoteExceptionHashtable getBlogEntry(String token, String blogEntryId) throws RemoteException
RemoteExceptionHashtable storeBlogEntry(String token, Hashtable blogEntryStruct) throws RemoteException
RemoteExceptionVector getComments(String token, String pageId) throws RemoteException
RemoteExceptionHashtable 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
RemoteExceptionVector getAncestors(String token, String pageId) throws RemoteException
RemoteExceptionVector getChildren(String token, String pageId) throws RemoteException
RemoteExceptionVector getDescendents(String token, String pageId) throws RemoteException
RemoteExceptionVector getAttachments(String token, String pageId) throws RemoteException
RemoteExceptionString convertWikiToStorageFormat(String token, String wiki) throws RemoteException
RemoteExceptionboolean watchPage(String token, String pageId) throws RemoteException
RemoteExceptionboolean watchSpace(String token, String spaceKey) throws RemoteException
RemoteExceptionboolean watchPageForUser(String token, String pageId, String username) throws RemoteException
RemoteExceptionboolean removePageWatch(String token, String pageId) throws RemoteException
RemoteExceptionboolean removeSpaceWatch(String token, String spaceKey) throws RemoteException
RemoteExceptionboolean removePageWatchForUser(String token, String pageId, String username) throws RemoteException
RemoteExceptionboolean isWatchingPage(String token, String pageId, String username) throws RemoteException
RemoteExceptionboolean isWatchingSpace(String token, String spaceKey, String username) throws RemoteException
RemoteExceptionboolean isWatchingSpaceForType(String token, String spaceKey, String contentType, String username) throws RemoteException
RemoteExceptionVector getWatchersForPage(String token, String pageId) throws RemoteException
RemoteExceptionVector getWatchersForSpace(String token, String spaceKey) throws RemoteException
RemoteExceptionHashtable addAttachment(String token, String contentId, Hashtable attachment, byte[] attachmentData) throws RemoteException, NotPermittedException
RemoteExceptionNotPermittedExceptionHashtable getAttachment(String token, String contentId, String fileName, String version) throws RemoteException, NotPermittedException
RemoteExceptionNotPermittedExceptionbyte[] getAttachmentData(String token, String contentId, String fileName, String version) throws RemoteException, NotPermittedException
RemoteExceptionNotPermittedExceptionboolean removeAttachment(String token, String contentId, String fileName) throws RemoteException, NotPermittedException
RemoteExceptionNotPermittedExceptionboolean moveAttachment(String token, String originalContentId, String originalFileName, String newContentId, String newFileName) throws RemoteException, NotPermittedException
RemoteExceptionNotPermittedExceptionVector getSpaces(String token) throws RemoteException
RemoteExceptionVector getSpacesInGroup(String token, String spaceGroupKey) throws RemoteException
RemoteExceptionHashtable getSpace(String token, String spaceKey) throws RemoteException
RemoteExceptionHashtable addSpace(String token, Hashtable space) throws RemoteException
RemoteExceptionHashtable storeSpace(String token, Hashtable remoteSpace) throws RemoteException
RemoteExceptionHashtable addPersonalSpace(String token, Hashtable space, String username) throws RemoteException
RemoteExceptionBoolean removeSpace(String token, String spaceKey) throws RemoteException
RemoteExceptionString getSpaceStatus(String token, String spaceKey) throws RemoteException
RemoteExceptionBoolean setSpaceStatus(String token, String spaceKey, String statusString) throws RemoteException
RemoteExceptionString exportSpace(String token, String spaceKey, String exportType) throws RemoteException
RemoteExceptionboolean 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
RemoteExceptionboolean addPermissionsToSpace(String token, Vector permissions, String remoteEntityName, String spaceKey) throws RemoteException
RemoteExceptionboolean removePermissionFromSpace(String token, String permission, String remoteEntityName, String spaceKey) throws NotPermittedException, RemoteException
NotPermittedExceptionRemoteExceptionboolean addAnonymousPermissionToSpace(String token, String permission, String spaceKey) throws RemoteException
RemoteExceptionboolean addAnonymousPermissionsToSpace(String token, Vector permissions, String spaceKey) throws RemoteException
RemoteExceptionboolean removeAnonymousPermissionFromSpace(String token, String permission, String spaceKey) throws NotPermittedException, RemoteException
NotPermittedExceptionRemoteExceptionString[] getSpaceLevelPermissions(String token) throws RemoteException
RemoteExceptionboolean addGlobalPermissions(String token, Vector permissions, String remoteEntityName) throws RemoteException
RemoteExceptionboolean addGlobalPermission(String token, String permission, String remoteEntityName) throws RemoteException
RemoteExceptionboolean removeGlobalPermission(String token, String permission, String remoteEntityName) throws RemoteException
RemoteExceptionboolean addAnonymousUsePermission(String token) throws RemoteException
RemoteExceptionboolean removeAnonymousUsePermission(String token) throws RemoteException
RemoteExceptionboolean addAnonymousViewUserProfilePermission(String token) throws RemoteException
RemoteExceptionboolean 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.
RemoteExceptionString exportSite(String token, boolean exportAttachments) throws RemoteException
RemoteExceptionString performBackup(String token, boolean exportAttachments) throws RemoteException
RemoteExceptionHashtable getServerInfo(String token) throws RemoteException
RemoteExceptionboolean flushIndexQueue(String token) throws RemoteException
RemoteExceptionboolean clearIndexQueue(String token) throws RemoteException
RemoteExceptionboolean recoverMainIndex(String token) throws RemoteException
RemoteExceptionHashtable getClusterInformation(String token) throws RemoteException
RemoteExceptionVector getClusterNodeStatuses(String token) throws RemoteException
RemoteExceptionVector getGroups(String token) throws RemoteException
RemoteExceptionboolean hasGroup(String token, String groupname) throws InvalidSessionException, RemoteException
boolean addGroup(String token, String groupname) throws RemoteException
RemoteExceptionboolean removeGroup(String token, String groupname, String defaultGroupName) throws RemoteException
RemoteExceptionboolean removeAllPermissionsForGroup(String token, String groupname) throws RemoteException
RemoteExceptionVector getUserGroups(String token, String username) throws RemoteException
RemoteExceptionboolean addUserToGroup(String token, String username, String groupname) throws RemoteException
RemoteExceptionboolean removeUserFromGroup(String token, String username, String groupname) throws RemoteException
RemoteExceptionHashtable getUser(String token, String username) throws RemoteException
RemoteExceptionHashtable getUserByKey(String token, String userKey) throws RemoteException
RemoteExceptionboolean hasUser(String token, String username) throws InvalidSessionException, RemoteException
boolean addUser(String token, Hashtable remoteUser, String password) throws RemoteException
RemoteExceptionboolean addUser(String token, Hashtable remoteUser, String password, boolean NotifyUser) throws RemoteException
RemoteExceptionboolean removeUser(String token, String username) throws RemoteException
RemoteExceptionboolean 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
NotPermittedExceptionRemoteExceptionVector 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
RemoteExceptionboolean renameUser(String token, String oldUsername, String newUsername) throws RemoteException
RemoteExceptionVector renameUsers(String token, Hashtable oldUsernamesToNewUsernames) throws RemoteException
RemoteExceptionboolean 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
RemoteExceptionVector getMostPopularLabels(String token, int maxCount) throws RemoteException
RemoteExceptionVector getMostPopularLabelsInSpace(String token, String spaceKey, int maxCount) throws RemoteException
RemoteExceptionVector getLabelContentById(String token, String labelId) throws RemoteException
RemoteExceptionVector getLabelContentByName(String token, String labelName) throws RemoteException
RemoteExceptionVector getLabelContentByObject(String token, Hashtable labelObject) throws RemoteException
RemoteExceptionVector 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
NotPermittedExceptionRemoteExceptionboolean addLabelById(String token, String labelId, String objectId) throws NotPermittedException, RemoteException
NotPermittedExceptionRemoteExceptionboolean addLabelByObject(String token, Hashtable labelObject, String objectId) throws NotPermittedException, RemoteException
NotPermittedExceptionRemoteExceptionboolean addLabelByNameToSpace(String token, String labelName, String spaceKey) throws NotPermittedException, InvalidSessionException, RemoteException
boolean removeLabelByName(String token, String labelName, String objectId) throws NotPermittedException, RemoteException
NotPermittedExceptionRemoteExceptionboolean removeLabelById(String token, String labelId, String objectId) throws NotPermittedException, RemoteException
NotPermittedExceptionRemoteExceptionboolean removeLabelByObject(String token, Hashtable labelObject, String objectId) throws NotPermittedException, RemoteException
NotPermittedExceptionRemoteExceptionboolean removeLabelByNameFromSpace(String token, String labelName, String spaceKey) throws NotPermittedException, InvalidSessionException, RemoteException
boolean startActivity(String token, String key, String user) throws RemoteException
token - rpc authentication tokenkey - the activity key to startuser - the username of the user starting the activityRemoteExceptionboolean stopActivity(String token, String key, String user) throws RemoteException
token - rpc authentication tokenkey - the activity key to stopuser - the username of the user stopping the activityRemoteExceptionboolean setEnableAnonymousAccess(String token, String value) throws RemoteException
RemoteExceptionboolean isPluginEnabled(String token, String pluginKey) throws RemoteException
RemoteExceptionboolean isPluginInstalled(String token, String pluginKey) throws RemoteException
RemoteExceptionboolean installPlugin(String token, String pluginFileName, byte[] pluginData) throws RemoteException
RemoteExceptionboolean isDarkFeatureEnabled(String token, String key) throws RemoteException
RemoteExceptionCopyright © 2003–2021 Atlassian. All rights reserved.