The custom Velocity template in the List bookmarks portlet uses the JCR (Java Content Repository, JSR 283) programming model. The SiteVision API is available here
| Name | Type and Description |
|---|---|
| portlet | javax.jcr.Node |
| This portlet. See properties below | |
| sitevisionUtils | senselogic.sitevision.api.Utils Opens in new window. |
| The main entry point to all utility classes | |
| jcrSession | javax.jcr.Session |
| The JCR Session | |
| request | javax.portlet.PortletRequest |
| The portlet request |
| Name | Type and Description | |
|---|---|---|
| bookmarks | javax.jcr.PropertyType.STRING | |
| A JCR node containing the bookmarks. To resolve the actual node use the getNode() method on this property | ||
| addURL | javax.jcr.PropertyType.URI | |
| The URL used to add the current page as bookmark | ||
| removeURL | javax.jcr.PropertyType.URI | |
| The URL used to remove the current page as bookmark | ||
| viewAllURL | javax.jcr.PropertyType.URI | |
| The URL used to show all bookmarks | ||
| viewLessURL | javax.jcr.PropertyType.URI | |
| The URL used to show less bookmarks | ||
| nofBookmarks | javax.jcr.PropertyType.LONG | |
| The total number of bookmarks | ||
| categoryList | MutliValue of javax.jcr.PropertyType.STRING | |
| A list of categories that correspond to the current list | ||
| showAllBookmarks | javax.jcr.PropertyType.BOOLEAN | |
| Indicates that all bookmarks are listed | ||
| headerFont | javax.jcr.PropertyType.WEAKREFERENCE | |
| A Node that has property selectorText (java.lang.String) - the css class name of the font . | ||
| bookmarkFont | javax.jcr.PropertyType.WEAKREFERENCE | |
| A Node that has property selectorText (java.lang.String) - the css class name of the font . | ||
| noBookmarksFont | javax.jcr.PropertyType.WEAKREFERENCE | |
| A Node that has property selectorText (java.lang.String) - the css class name of the font . | ||
| viewAllFont | javax.jcr.PropertyType.WEAKREFERENCE | |
| A Node that has property selectorText (java.lang.String) - the css class name of the font . | ||
| removeTextFont | javax.jcr.PropertyType.WEAKREFERENCE | |
| A Node that has property selectorText (java.lang.String) - the css class name of the font . | ||
| header | javax.jcr.PropertyType.STRING | |
| The header text corresponding to the portlet configuration | ||
| limitInitialNofBookmarks | javax.jcr.PropertyType.BOOLEAN | |
| Corresponds to the 'Limit number' of the portlet configuration | ||
| initialNofBookmarks | javax.jcr.PropertyType.LONG | |
| Corresponds to the value of 'Limit number' of the portlet configuration | ||
| viewAll | javax.jcr.PropertyType.STRING | |
| Corresponds to 'Text for view all' of the portlet configuration | ||
| viewLess | javax.jcr.PropertyType.STRING | |
| Corresponds to 'Text for show fever' of the portlet configuration | ||
| useNoBookmarks | javax.jcr.PropertyType.BOOLEAN | |
| Corresponds to 'Show text for no bookmarks' of the portlet configuration | ||
| noBookmarks | javax.jcr.PropertyType.STRING | |
| Corresponds to the value of 'Show text for no bookmarks' of the portlet configuration | ||
| addUseImage | javax.jcr.PropertyType.BOOLEAN | |
| Corresponds to the 'Use image' of the add bookmark portlet configuration | ||
| addImage | javax.jcr.PropertyType.WEAKREFERENCE | |
| Corresponds to the value of 'Use image' of the add bookmark portlet configuration | ||
| addImageDesc | javax.jcr.PropertyType.STRING | |
| Corresponds to the 'Image description' of the add bookmark portlet configuration | ||
| addUseText | javax.jcr.PropertyType.BOOLEAN | |
| Corresponds to the 'Use text' of the add bookmark portlet configuration | ||
| addText | javax.jcr.PropertyType.STRING | |
| Corresponds to the value of 'Use text' of the add bookmark portlet configuration | ||
| addTextFont | javax.jcr.PropertyType.WEAKREFERENCE | |
| A Node that has property selectorText (java.lang.String) - the css class name of the font . | ||
| removeUseImage | javax.jcr.PropertyType.BOOLEAN | |
| Corresponds to the 'Use image' of the remove bookmark portlet configuration | ||
| removeImage | javax.jcr.PropertyType.WEAKREFERENCE | |
| Corresponds to the value of 'Use image' of the remove bookmark portlet configuration | ||
| removeImageDesc | javax.jcr.PropertyType.STRING | |
| Corresponds to the 'Image description' of the remove bookmark portlet configuration | ||
| removeUseText | javax.jcr.PropertyType.BOOLEAN | |
| Corresponds to the 'Use text' of the remove bookmark portlet configuration | ||
| removeText | javax.jcr.PropertyType.STRING | |
| Corresponds to the value of 'Use text' of the remove bookmark portlet configuration | ||
| removeTextFont | javax.jcr.PropertyType.WEAKREFERENCE | |
| A Node that has property selectorText (java.lang.String) - the css class name of the font . |
The bookmarks node has a number of sub nodes which correspond to the bookmarks for the current user. It has no properties.
The bookmark nodes has the following properties:
| Name | Type and Description | |
|---|---|---|
| page | javax.jcr.PropertyType.WEAKREFERENCE | |
| The page corresponding to the bookmark | ||
| date | javax.jcr.PropertyType.DATE | |
| The date when the bookmark was added | ||
| categories | MultiValue of javax.jcr.PropertyType.STRING | |
| A list of all categories that this bookmark has | ||
| addURL | javax.jcr.PropertyType.URI | |
| The URL used to add this bookmark | ||
| removeURL | javax.jcr.PropertyType.URI | |
| The URL used to remove this bookmark |
Last updated: