The custom Velocity template in the Add / remove bookmark 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 | |
|---|---|---|
| nofBookmarks | javax.jcr.PropertyType.LONG | |
| The current number of bookmarks | ||
| 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 | ||
| 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 . | ||
| maxReachedUseImage | javax.jcr.PropertyType.BOOLEAN | |
| Corresponds to the 'Use image' of the max reached bookmark portlet configuration | ||
| maxReachedImage | javax.jcr.PropertyType.WEAKREFERENCE | |
| Corresponds to the value of 'Use image' of the max reached bookmark portlet configuration | ||
| maxReachedImageDesc | javax.jcr.PropertyType.STRING | |
| Corresponds to the 'Image description' of the max reached bookmark portlet configuration | ||
| maxReachedUseText | javax.jcr.PropertyType.BOOLEAN | |
| Corresponds to the 'Use text' of the max reached bookmark portlet configuration | ||
| maxReachedText | javax.jcr.PropertyType.STRING | |
| Corresponds to the value of 'Use text' of the max reached bookmark portlet configuration | ||
| maxReachedTextFont | javax.jcr.PropertyType.WEAKREFERENCE | |
| A Node that has property selectorText (java.lang.String) - the css class name of the font . |
Last updated: