|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Pages
Basic API for manipulating pages.
Field Summary | |
---|---|
static java.lang.String |
NAME
NAME : String. |
Method Summary | |
---|---|
ResourceSummary |
create(Page page)
Creates a new page. |
PagedCollection<ResourceSummary> |
list(PageCriteria criteria,
int pageNo,
int pageSize)
List existing pages. |
Page |
retrieve(java.util.UUID pageId)
Retrieve the page. |
Page |
retrieveWorkingCopy(java.util.UUID pageId)
Retrieve the working copy for a page. |
void |
update(java.util.UUID pageId,
Page delta)
Update the specified page on the server. |
void |
updateWorkingCopy(java.util.UUID pageId,
Page delta)
Update the working copy of the specified page. |
java.lang.String |
validate(Page page)
Validate a set of paragraphs against a given definition. |
Field Detail |
---|
static final java.lang.String NAME
Method Detail |
---|
java.lang.String validate(Page page)
page
- The page to test.
Page retrieve(java.util.UUID pageId)
pageId
- The page's id.
Page retrieveWorkingCopy(java.util.UUID pageId)
pageId
- The page's id.
void update(java.util.UUID pageId, Page delta)
pageId
- The id of the page to update.delta
- The changes to apply.void updateWorkingCopy(java.util.UUID pageId, Page delta)
pageId
- The id of the page to update.delta
- The changes to apply.ResourceSummary create(Page page)
page
- Details of the new page to create.
PagedCollection<ResourceSummary> list(PageCriteria criteria, int pageNo, int pageSize)
criteria
- The criteria by which to filter pages.pageNo
- The page of results to return.pageSize
- The number of results in a page.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |