|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ConfluenceException | |
|---|---|
| org.codehaus.swizzle.confluence | |
| Uses of ConfluenceException in org.codehaus.swizzle.confluence |
|---|
| Methods in org.codehaus.swizzle.confluence that throw ConfluenceException | |
|---|---|
boolean |
Confluence.addAnonymousPermissionsToSpace(java.util.List permissions,
java.lang.String spaceKey)
Give anonymous users the permissions {{permissions}} on the space with the key {{spaceKey}}. |
boolean |
Confluence.addAnonymousPermissionToSpace(java.lang.String permission,
java.lang.String spaceKey)
Give anonymous users the permission {{permission}} on the space with the key {{spaceKey}}. |
Attachment |
Confluence.addAttachment(long contentId,
Attachment attachment,
byte[] attachmentData)
add a new attachment to a content entity object. |
org.codehaus.swizzle.confluence.Comment |
Confluence.addComment(org.codehaus.swizzle.confluence.Comment comment)
adds a comment to the page. |
void |
Confluence.addGroup(java.lang.String group)
add a new group |
boolean |
Confluence.addLabelById(long labelId,
long objectId)
Adds a label with the given ID to the object with the given ContentEntityObject ID. |
boolean |
Confluence.addLabelByName(java.lang.String labelName,
long objectId)
Adds a label to the object with the given ContentEntityObject ID. |
boolean |
Confluence.addLabelByNameToSpace(java.lang.String labelName,
java.lang.String spaceKey)
Adds a label to the object with the given ContentEntityObject ID. |
boolean |
Confluence.addLabelByObject(java.awt.Label labelObject,
long objectId)
Adds the given label object to the object with the given ContentEntityObject ID. |
boolean |
Confluence.addPermissionsToSpace(java.util.List permissions,
java.lang.String remoteEntityName,
java.lang.String spaceKey)
Give the entity named {{remoteEntityName}} (either a group or a user) the permissions {{permissions}} on the space with the key {{spaceKey}}. |
boolean |
Confluence.addPermissionToSpace(java.lang.String permission,
java.lang.String remoteEntityName,
java.lang.String spaceKey)
Give the entity named {{remoteEntityName}} (either a group or a user) the permission {{permission}} on the space with the key {{spaceKey}}. |
org.codehaus.swizzle.confluence.Space |
Confluence.addSpace(org.codehaus.swizzle.confluence.Space space)
create a new space, passing in name, key and description. |
void |
Confluence.addUser(org.codehaus.swizzle.confluence.User user,
java.lang.String password)
add a new user with the given password |
void |
Confluence.addUserToGroup(java.lang.String username,
java.lang.String groupname)
add a user to a particular group |
boolean |
Confluence.changeMyPassword(java.lang.String oldPass,
java.lang.String newPass)
changes the current user's password |
boolean |
Confluence.changeUserPassword(java.lang.String username,
java.lang.String newPass)
changes the specified user's password |
boolean |
Confluence.deactivateUser(java.lang.String username)
deactivates the specified user |
boolean |
Confluence.editUser(org.codehaus.swizzle.confluence.User remoteUser)
edits the details of a user |
java.lang.String |
Confluence.exportSite(boolean exportAttachments)
exports a Confluence instance and returns a String holding the URL for the download. |
java.lang.String |
Confluence.exportSpace(java.lang.String spaceKey,
java.lang.String exportType)
exports a space and returns a String holding the URL for the download. |
java.util.List |
Confluence.getActiveUsers(boolean viewAll)
returns all registered users as Strings |
java.util.List |
Confluence.getAncestors(java.lang.String pageId)
returns all the ancestors (as PageSummary instances) of this page (parent, parent's parent etc). |
Attachment |
Confluence.getAttachment(java.lang.String pageId,
java.lang.String fileName,
java.lang.String versionNumber)
get information about an attachment. |
byte[] |
Confluence.getAttachmentData(java.lang.String pageId,
java.lang.String fileName,
java.lang.String versionNumber)
get the contents of an attachment. |
java.util.List |
Confluence.getAttachments(java.lang.String pageId)
returns all the Attachments for this page (useful to point users to download them with the full file download URL returned). |
java.util.List |
Confluence.getBlogEntries(java.lang.String spaceKey)
returns all the BlogEntrySummary instances in the space. |
org.codehaus.swizzle.confluence.BlogEntry |
Confluence.getBlogEntry(java.lang.String pageId)
returns a single BlogEntry. |
org.codehaus.swizzle.confluence.BlogEntry |
Confluence.getBlogEntryByDayAndTitle(java.lang.String spaceKey,
int dayOfMonth,
java.lang.String postTitle)
Retrieves a blog post in the Space with the given spaceKey, with the title 'postTitle' and posted on the day 'dayOfMonth'. |
java.util.List |
Confluence.getChildren(java.lang.String pageId)
returns all the direct children (as PageSummary instances) of this page. |
org.codehaus.swizzle.confluence.Comment |
Confluence.getComment(java.lang.String commentId)
returns an individual comment. |
java.util.List |
Confluence.getComments(java.lang.String pageId)
returns all the Comments for this page. |
java.util.List |
Confluence.getDescendents(java.lang.String pageId)
returns all the descendents (as PageSummary instances) of this page (children, children's children etc). |
java.util.List |
Confluence.getGroups()
gets all groups as a list of Strings |
java.util.List |
Confluence.getLabelContentById(long labelId)
Returns the content for a given label ID |
java.util.List |
Confluence.getLabelContentByName(java.lang.String labelName)
Returns the content for a given label name. |
java.util.List |
Confluence.getLabelContentByObject(java.awt.Label labelObject)
Returns the content for a given Label object. |
java.util.List |
Confluence.getLabelsByDetail(java.lang.String labelName,
java.lang.String namespace,
java.lang.String spaceKey,
java.lang.String owner)
Retrieves the Labels matching the given {{labelName}}, {{namespace}}, {{spaceKey}} or {{owner}}. |
java.util.List |
Confluence.getLabelsById(long objectId)
Returns all Labels for the given ContentEntityObject ID |
java.util.List |
Confluence.getMostPopularLabels(int maxCount)
Returns the most popular Labels for the Confluence instance, with a specified maximum number. |
java.util.List |
Confluence.getMostPopularLabelsInSpace(java.lang.String spaceKey,
int maxCount)
Returns the most popular Labels for the given {{spaceKey}}, with a specified maximum number of results. |
org.codehaus.swizzle.confluence.Page |
Confluence.getPage(org.codehaus.swizzle.confluence.PageSummary summary)
returns a single Page |
org.codehaus.swizzle.confluence.Page |
Confluence.getPage(java.lang.String pageId)
|
org.codehaus.swizzle.confluence.Page |
Confluence.getPage(java.lang.String spaceKey,
java.lang.String pageTitle)
returns a single Page |
java.util.List |
Confluence.getPageHistory(java.lang.String pageId)
returns all the PageHistorySummary instances - useful for looking up the previous versions of a page, and who changed them. |
java.util.List |
Confluence.getPagePermissions(java.lang.String pageId)
Returns a List of Permissions representing the permissions set on the given page. |
java.util.List |
Confluence.getPages(java.lang.String spaceKey)
returns all the PageSummary instances in the space. |
java.util.List |
Confluence.getPermissions(java.lang.String spaceKey)
Returns a List of Permissions representing the permissions the current user has for this space (a list of "view", "modify", "comment" and / or "admin"). |
java.util.List |
Confluence.getPermissionsForUser(java.lang.String spaceKey,
java.lang.String userName)
Returns a List of Permissions representing the permissions the given user has for this space. |
java.util.List |
Confluence.getRecentlyUsedLabels(int maxResults)
Returns the recently used Labels for the Confluence instance, with a specified maximum number of results. |
java.util.List |
Confluence.getRecentlyUsedLabelsInSpace(java.lang.String spaceKey,
int maxResults)
Returns the recently used Labels for the given {{spaceKey}}, with a specified maximum number of results. |
java.util.List |
Confluence.getRelatedLabels(java.lang.String labelName,
int maxResults)
Returns the Labels related to the given label name, with a specified maximum number of results. |
java.util.List |
Confluence.getRelatedLabelsInSpace(java.lang.String labelName,
java.lang.String spaceKey,
int maxResults)
Returns the Labels related to the given label name for the given {{spaceKey}}, with a specified maximum number of results. |
org.codehaus.swizzle.confluence.ServerInfo |
Confluence.getServerInfo()
retrieve some basic information about the server being connected to. |
org.codehaus.swizzle.confluence.Space |
Confluence.getSpace(java.lang.String spaceKey)
returns a single Space. |
java.util.List |
Confluence.getSpaceLevelPermissions()
returns List of the space level Permissions which may be granted. |
java.util.List |
Confluence.getSpaces()
returns all the SpaceSummary instances that the current user can see. |
java.util.List |
Confluence.getSpacesContainingContentWithLabel(java.lang.String labelName)
Returns all Spaces that have content labelled with {{labelName}}. |
java.util.List |
Confluence.getSpacesWithLabel(java.lang.String labelName)
Returns an array of Spaces that have been labelled with {{labelName}}. |
org.codehaus.swizzle.confluence.User |
Confluence.getUser(java.lang.String username)
get a single user |
java.util.List |
Confluence.getUserGroups(java.lang.String username)
get a user's current groups as a list of Strings |
org.codehaus.swizzle.confluence.UserInformation |
Confluence.getUserInformation(java.lang.String username)
Retrieves user information |
boolean |
Confluence.hasGroup(java.lang.String groupname)
checks if a group exists |
boolean |
Confluence.hasUser(java.lang.String username)
checks if a user exists |
void |
Confluence.login(java.lang.String username,
java.lang.String password)
|
boolean |
Confluence.logout()
remove this token from the list of logged in tokens. |
boolean |
Confluence.moveAttachment(java.lang.String originalContentId,
java.lang.String originalName,
java.lang.String newContentEntityId,
java.lang.String newName)
move an attachment to a different content entity object and/or give it a new name. |
boolean |
Confluence.reactivateUser(java.lang.String username)
reactivates the specified user |
boolean |
Confluence.removeAllPermissionsForGroup(java.lang.String groupname)
Remove all the global and space level permissions for {{groupname}}. |
boolean |
Confluence.removeAnonymousPermissionFromSpace(java.lang.String permission,
java.lang.String spaceKey)
Remove the permission {{permission} from anonymous users on the space with the key {{spaceKey}}. |
boolean |
Confluence.removeAttachment(java.lang.String contentId,
java.lang.String fileName)
remove an attachment from a content entity object. |
boolean |
Confluence.removeComment(java.lang.String commentId)
removes a comment from the page. |
boolean |
Confluence.removeGroup(java.lang.String groupname,
java.lang.String defaultGroupName)
remove a group. |
boolean |
Confluence.removeLabelById(long labelId,
long objectId)
Removes the label with the given ID from the object with the given ContentEntityObject ID. |
boolean |
Confluence.removeLabelByName(java.lang.String labelName,
long objectId)
Removes the given label from the object with the given ContentEntityObject ID. |
boolean |
Confluence.removeLabelByNameFromSpace(java.lang.String labelName,
java.lang.String spaceKey)
Removes the given label from the given {{spaceKey}}. |
boolean |
Confluence.removeLabelByObject(java.awt.Label labelObject,
long objectId)
Removes the given label object from the object with the given ContentEntityObject ID. |
void |
Confluence.removePage(java.lang.String pageId)
remove a page |
boolean |
Confluence.removePermissionFromSpace(java.lang.String permission,
java.lang.String remoteEntityName,
java.lang.String spaceKey)
Remove the permission {{permission} from the entity named {{remoteEntityName}} (either a group or a user) on the space with the key {{spaceKey}}. |
java.lang.Boolean |
Confluence.removeSpace(java.lang.String spaceKey)
remove a space completely. |
boolean |
Confluence.removeUser(java.lang.String username)
delete a user. |
boolean |
Confluence.removeUserFromGroup(java.lang.String username,
java.lang.String groupname)
remove a user from a group. |
java.lang.String |
Confluence.renderContent(org.codehaus.swizzle.confluence.PageSummary page)
|
java.lang.String |
Confluence.renderContent(java.lang.String spaceKey,
java.lang.String pageId)
|
java.lang.String |
Confluence.renderContent(java.lang.String spaceKey,
java.lang.String pageId,
java.lang.String content)
returns the HTML rendered content for this page. |
java.lang.String |
Confluence.renderContent(java.lang.String spaceKey,
java.lang.String pageId,
java.lang.String content,
java.util.Map parameters)
Like the above renderContent(), but you can supply an optional hash (map, dictionary, etc) containing additional instructions for the renderer. |
java.util.List |
Confluence.search(java.lang.String query,
int maxResults)
return a list of SearchResults which match a given search query (including pages and other content types). |
java.util.List |
Confluence.search(java.lang.String query,
java.util.Map parameters,
int maxResults)
Returns a list of SearchResults like the previous search, but you can optionally limit your search by adding parameters to the parameter map. |
boolean |
Confluence.setUserInformation(org.codehaus.swizzle.confluence.UserInformation userInfo)
updates user information |
org.codehaus.swizzle.confluence.BlogEntry |
Confluence.storeBlogEntry(org.codehaus.swizzle.confluence.BlogEntry entry)
add or update a blog entry. |
org.codehaus.swizzle.confluence.Page |
Confluence.storePage(org.codehaus.swizzle.confluence.Page page)
add or update a page. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||