| Package | Description |
|---|---|
| com.atlassian.confluence.api.service.content | |
| com.atlassian.confluence.api.service.exceptions |
| Modifier and Type | Method and Description |
|---|---|
Content |
ContentService.create(Content newContent)
Create a piece of content.
|
void |
ContentService.delete(Content content)
Removes an item of Content from the system.
|
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.
|
| Modifier and Type | Class and Description |
|---|---|
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.
|
Copyright © 2003-2013 Atlassian. All Rights Reserved.