Page
Placeholder for accessing page related data.
Methods
Name | Type | Description |
---|---|---|
| String | The absolute link to this object. |
| List<Page> | The list of ancestors of the content. Can be used to display bread crumbs. The list starts with the very first ancestor and ends with the parent of this content. In case of blog posts the ancestors are represented by the overview placeholders for all blog posts, a year's blog posts and a month's blog posts. |
| String | The username of the user who created this content. May be null if there is no author (e.g. on a search result or error page). Deprecation Notice: Use |
| boolean |
|
| boolean |
|
| boolean |
|
| String | A list of the categories of the page, formatted in this style: "label1, label2, label3 and label4", where each label is an HTML anchor tag with |
| List<Page> | All sorted children the current user is allowed to view. |
| List<Comment> | A list of all comments on the content object (in chronologically ascending order, i.e. oldest first). |
| String | The content of this content object, rendered using the default page layout and no macro overrides but the defaults and the ones found in the overrides directory of the theme. |
| Date | The date when this content has been originally created. |
| String | The date when this content has been created originally, formatted using the given pattern.
|
| String | The date when this content has been created originally, formatted using the given pattern and locale key.
|
| The user who created the content. May be null if there is no creator (e.g. on a search result or error page). | |
| String | The username of the user who created this content. May be null if there is no creator (e.g. on a search result or error page). Deprecation Notice: Use |
| String | The first 140 characters of the content, rendered using the default macro overrides and the ones found in the overrides directory of the theme. |
| String | An absolute URL to the edit page. |
| String | The full excerpt of the page, if defined, rendered using the default macro overrides and the ones found in the overrides directory of the theme. |
| String | The excerpt as HTML code, rendered using the default macro overrides and the ones found in the overrides directory of the theme. |
| AbstractPage | The Confluence page or blog post object. |
| String | The first 140 characters of the content, rendered using the default macro overrides, the ones found in the overrides directory of the theme, and the ones specified in
|
| String | The first
|
| String | The first
|
| String | The full excerpt of the page, if defined, rendered using the default macro overrides, the ones found in the overrides directory of the theme, and the ones specified in
|
| String | The excerpt of the content, if defined, cut off after
|
| String | The excerpt of the content, if defined, cut off after
|
| String | The excerpt as HTML code, rendered using the default macro overrides, the ones found in the overrides directory of the theme, and the ones specified in
|
| boolean |
|
| String | The ID of the content, the pattern and semantics of this ID are implementation-specific. |
| boolean |
|
| The labels of the content. | |
| Date | The date when this content was last modified. |
| String | The date when this content was last modified, formatted using the given pattern.
|
| String | The date when this content was last modified, formatted using the given pattern and locale key.
|
| The user who last modified the content. May be null if there is no last modifier (e.g. on a search result or error page). | |
| String | The username of the last user who modified this content. May be null if there is no last modifier (e.g. on a search result or error page). Deprecation Notice: Use |
| String | The relative link to this object. |
| The next content in the page hierarchy. In case of pages, it returns the next page in the page tree (prefix order). In case of blog posts, it returns the blog posts chronologically succeeding this one. | |
| The parent page of the current page. Will be unset for the home page of a space. For blog posts this returns the month overview, for month overviews the year overview, and for year overviews an overview of all blog posts. | |
| The previous content in the hierarchy. In case of pages, it returns the previous page in the page tree (prefix order). In case of blog posts, it returns the blog post chronologically preceding this one. | |
| PageProperties | The page properties of the content. |
| String | The content of this content object, rendered using the default page layout and no macro overrides but the defaults and the ones found in the overrides directory of the theme. |
| String | The content of this content object, rendered using the specified page layout and no macro overrides but the defaults and the ones found in the overrides directory of the theme.
|
| String | The content of this content object, rendered using the specified page layout, the macro overrides found in the overrides directory, and the overrides specified in
|
| Include web resources. Returns: HTML tags to include Confluence resources, such as CSS and JavaScript files. | |
| String | The key of the space this content is located in. |
| String | The title of this content. |
| List<Comment> | A list of all top-level comments on content object (in chronologically ascending order, i.e. oldest first). This can be used to display threaded comments. |
| String | The type of the content object. Possible values:
|