|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.api.core.Res
ccc.api.core.Resource
ccc.api.core.Page
public class Page
A new page.
Field Summary | |
---|---|
static java.lang.String |
VALIDATOR
VALIDATOR : String. |
static java.lang.String |
WORKING_COPY
WORKING_COPY : String. |
Fields inherited from class ccc.api.core.Resource |
---|
ABSOLUTE_PATH, ACL, DELETE, DURATION, EXCLUDE_MM, INCLUDE_MM, LIST, LOCK, METADATA, NAME, PARENT, PUBLISH, REVISIONS, SELF, TEMPLATE, WC |
Constructor Summary | |
---|---|
Page()
Constructor. |
|
Page(java.util.UUID parentId,
java.lang.String name,
java.util.UUID templateId,
java.lang.String title,
java.lang.String comment,
boolean majorChange)
Constructor. |
Method Summary | |
---|---|
static Page |
delta(java.util.Set<Paragraph> paragraphs)
Deprecated. |
java.lang.String |
getComment()
Accessor. |
Paragraph |
getParagraph(java.lang.String name)
Look up a paragraph on this page by name. |
java.util.Set<Paragraph> |
getParagraphs()
Accessor. |
boolean |
isMajorChange()
Accessor. |
void |
setComment(java.lang.String comment)
Mutator. |
void |
setMajorChange(boolean majorChange)
Mutator. |
void |
setParagraphs(java.util.Set<Paragraph> paragraphs)
Mutator. |
Link |
workingCopy()
Link. |
Methods inherited from class ccc.api.core.Resource |
---|
duration, getAbsolutePath, getCacheDuration, getDateChanged, getDateCreated, getDescription, getId, getLockedBy, getMetadata, getMetadatum, getName, getParent, getPublishedBy, getRevision, getTags, getTemplate, getTitle, getType, isCacheable, isInMainMenu, isLocked, isPublished, isSecure, isVisible, isWorkingCopy, self, setAbsolutePath, setCacheDuration, setDateChanged, setDateCreated, setDescription, setId, setInMainMenu, setLocked, setLockedBy, setMetadata, setName, setParent, setPublished, setPublishedBy, setRevision, setSecure, setTags, setTags, setTemplate, setTitle, setType, setVisible, uriMetadata, uriTemplate |
Methods inherited from class ccc.api.core.Res |
---|
addLink, addLinks, getLink, getLinks |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String WORKING_COPY
public static final java.lang.String VALIDATOR
Constructor Detail |
---|
public Page()
public Page(java.util.UUID parentId, java.lang.String name, java.util.UUID templateId, java.lang.String title, java.lang.String comment, boolean majorChange)
parentId
- The page's parent folder id.name
- The page's name.templateId
- The page's template id.title
- The page's title.comment
- The comment for a page update.majorChange
- Is the update a major change.Method Detail |
---|
public final java.lang.String getComment()
public final boolean isMajorChange()
public void setComment(java.lang.String comment)
comment
- The comment to set.public void setMajorChange(boolean majorChange)
majorChange
- The majorChange to set.public java.util.Set<Paragraph> getParagraphs()
public void setParagraphs(java.util.Set<Paragraph> paragraphs)
paragraphs
- The paragraphs to set.public Paragraph getParagraph(java.lang.String name)
name
- The name of the paragraph to retrieve.
@Deprecated public static Page delta(java.util.Set<Paragraph> paragraphs)
paragraphs
- The paragraphs for the page.
public Link workingCopy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |