|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ServiceException | |
|---|---|
| com.atlassian.confluence.api.service.content | |
| com.atlassian.confluence.api.service.exceptions | |
| Uses of ServiceException in com.atlassian.confluence.api.service.content |
|---|
| Methods in com.atlassian.confluence.api.service.content that throw ServiceException | |
|---|---|
ContentBody |
ContentBodyConversionService.convert(ContentBody body,
ContentRepresentation representation)
Convert a ContentBody value into another format, performing validation during the conversion. |
ContentBody |
ContentBodyConversionService.convertBody(Content content,
ContentRepresentation representation)
Convert the single ContentBody value in a Content body map into another format, performing
validation during the conversion. |
Content |
ContentService.create(Content newContent)
Create a piece of content. |
void |
ContentService.delete(Content content)
Removes an item of Content from the system. |
com.atlassian.fugue.Option<Content> |
ContentService.find(ContentLocator locator,
Expansion... expansions)
Retrieve a piece of content by some more complex criteria (defined by the ContentLocator). |
com.atlassian.fugue.Option<Content> |
ContentService.findById(java.lang.String contentId,
Expansion... expansions)
Retrieve a piece of content by its id. |
Content |
ContentService.update(Content content)
Updates a piece of content. |
ValidationResult |
ContentService.validateCreate(Content newContent)
Validate that a piece of content can be included, including permission checks. |
| Uses of ServiceException in com.atlassian.confluence.api.service.exceptions |
|---|
| Subclasses of ServiceException in com.atlassian.confluence.api.service.exceptions | |
|---|---|
class |
BadRequestException
Thrown when the data in the incoming request is incomplete or otherwise invalid. |
class |
ConflictException
Thrown when an UPDATE request is made with a stale version number. |
class |
NotFoundException
Thrown when things that are expected to be found are NOT found. |
class |
PermissionException
Raised when a user attempts to perform an action they do not have permission for. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||