public interface Revision
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComment()
Return the optional comment for this revision.
|
java.util.Calendar |
getCreated()
Return the creation date.
|
java.lang.String |
getDescription()
Returns the description of this resource.
|
java.lang.String |
getExistingPagePath()
Returns the path of the existing page if exists.
|
java.lang.String |
getId()
Return the unique version id.
|
java.lang.String |
getLabel()
Return the version label.
|
java.lang.String |
getName()
Returns the name of the page.
|
java.lang.String |
getNavigationTitle()
Returns the navigation title of the page or
null if none
defined. |
java.lang.String |
getPageTitle()
Returns the page title of the page or
null if none defined. |
java.lang.String |
getParentPath()
Return the parent path of the page.
|
ValueMap |
getProperties()
Returns a property map of the page content.
|
ValueMap |
getProperties(java.lang.String relPath)
Returns a property map of the address content of the page.
|
java.lang.String |
getTitle()
Returns the title of the page or
null if none defined. |
java.lang.String |
getVanityUrl()
Returns the vanity url.
|
Version |
getVersion()
Returns the underlying version.
|
boolean |
hasContent()
Checks if the page has content attached.
|
boolean |
isBaseVersion()
Indicates if this revision is the current base version of the respective page.
|
boolean |
isDeleted()
Return a flag indicating whether this revision belongs to a deleted
page.
|
boolean |
isHideInNav()
Returns the "hideInNav" flag or
false if non defined. |
Version getVersion()
ValueMap getProperties()
hasContent()
ValueMap getProperties(java.lang.String relPath)
null
is returned.relPath
- relative path to the contentnull
java.lang.IllegalArgumentException
- of the given path is not relative.java.lang.String getLabel()
java.lang.String getId()
boolean isDeleted()
true
if the associated page is deleted;
false
otherwiseboolean isBaseVersion()
true
if base version.java.lang.String getName()
java.lang.String getParentPath()
java.lang.String getTitle()
null
if none defined.
The title is a short form of the page title, usually displayed in the
site admin.java.lang.String getDescription()
null
if not defined.java.lang.String getPageTitle()
null
if none defined.java.lang.String getNavigationTitle()
null
if none
defined. The navigation title is usually used when drawing navigation
links.boolean isHideInNav()
false
if non defined.
The hideInNav flag is usually used to control if a page should be
displayed in a navigation.boolean hasContent()
true
if the page has content;
false
otherwise.java.lang.String getVanityUrl()
null
java.util.Calendar getCreated()
java.lang.String getComment()
null
java.lang.String getExistingPagePath()
Copyright © 2010 - 2020 Adobe. All Rights Reserved