Copyright© 2008-2026 Sitevision AB, all rights reserved.
See: Description
| Package | Description |
|---|---|
| javax.jcr |
Provides interfaces and classes for the Content Repository for Java Technology.
|
| javax.jcr.lock |
Provides interfaces and classes for content repository locking functionality.
|
| javax.jcr.nodetype |
This package provides interfaces and classes for content repository node type functionality.
|
| javax.jcr.observation |
Provides interfaces and classes for content repository event observation
functionality.
|
| javax.jcr.query |
Provides interfaces and classes for content repository searching functionality.
|
| javax.jcr.query.qom |
Provides interfaces and classes for content repository Query Object Model.
|
| javax.jcr.retention |
Provides interfaces and classes for content repository retention management
functionality.
|
| javax.jcr.security |
Provides interfaces and classes for content repository access control management
functionality.
|
| javax.jcr.util |
Provides utility classes for the content repository API.
|
| javax.jcr.version |
Provides interfaces and classes for content repository versioning functionality.
|
| senselogic.sitevision.api |
Contains the Utils interface - the main entry point to get instances of classes in the Sitevision Utility API.
|
| senselogic.sitevision.api.alias |
Alias utility interfaces.
|
| senselogic.sitevision.api.base |
Annotations and interfaces that are used or extended by others in this API.
|
| senselogic.sitevision.api.bookmark |
Bookmark utility interfaces
|
| senselogic.sitevision.api.client |
Client utility interfaces
|
| senselogic.sitevision.api.collaboration |
Collaboration utility interfaces.
|
| senselogic.sitevision.api.context |
Context utility interfaces
|
| senselogic.sitevision.api.cookie |
Cookie utility interfaces
|
| senselogic.sitevision.api.date |
Date utility interfaces
|
| senselogic.sitevision.api.device |
Device utility interfaces
|
| senselogic.sitevision.api.format |
Formatting utility interfaces
|
| senselogic.sitevision.api.i18n |
Internationalization utility interfaces
|
| senselogic.sitevision.api.link |
Link utility interfaces.
|
| senselogic.sitevision.api.log |
Logging utility interfaces
|
| senselogic.sitevision.api.mail |
Mail utility interfaces
|
| senselogic.sitevision.api.message |
Message utility interfaces
|
| senselogic.sitevision.api.metadata |
Metadata utility interfaces
|
| senselogic.sitevision.api.metadata.builder |
Temporary metadata value builders.
|
| senselogic.sitevision.api.metadata.value |
Temporary metadata value holders.
|
| senselogic.sitevision.api.node |
Node utility interfaces, including predefined node iterators and node comparators
|
| senselogic.sitevision.api.node.builder |
Node-related builders.
|
| senselogic.sitevision.api.personalization |
Personalization utility interfaces
|
| senselogic.sitevision.api.portlet |
Interfaces and classes that can be useful when developing custom portlets.
|
| senselogic.sitevision.api.property |
Property utility interfaces
|
| senselogic.sitevision.api.redirect |
Redirect utility interfaces.
|
| senselogic.sitevision.api.render |
Rendering utility interfaces that might be needed when rendering
|
| senselogic.sitevision.api.render.velocity |
Velocity rendering interfaces.
|
| senselogic.sitevision.api.render.xslt |
XSLT rendering interfaces.
|
| senselogic.sitevision.api.resource |
Resource utility interfaces (e.g. colors, fonts, decorations, icons, landing pages)
|
| senselogic.sitevision.api.script |
Scripting utility interfaces and helpers that might be needed when using a template language (such as Velocity)
|
| senselogic.sitevision.api.script.app |
RESTApp/WebApp utility interfaces and helpers.
|
| senselogic.sitevision.api.script.factory |
Instance creation interfaces that might be needed when using a template language (such as Velocity)
|
| senselogic.sitevision.api.script.proxy |
Dynamic proxying utility interfaces.
|
| senselogic.sitevision.api.search |
Search utility interfaces
|
| senselogic.sitevision.api.search.facet |
Search facets utility interfaces
|
| senselogic.sitevision.api.search.index |
Index utility interfaces.
|
| senselogic.sitevision.api.search.query |
Query utility interfaces.
|
| senselogic.sitevision.api.search.searcher |
Searching utility interfaces.
|
| senselogic.sitevision.api.search.searcher.builder |
Search component builders.
|
| senselogic.sitevision.api.search.searcher.component |
Search components that specifies the behaviour for a
Searcher. |
| senselogic.sitevision.api.search.sort |
Search sorting utility interfaces
|
| senselogic.sitevision.api.search.suggestion |
Search suggestion utility interfaces ("Did you mean" / similar words)
|
| senselogic.sitevision.api.security |
Security utility interfaces
|
| senselogic.sitevision.api.security.jaas |
JAAS interfaces and classes.
|
| senselogic.sitevision.api.security.jaas.callback |
Callback classes for custom JAAS modules/filters.
|
| senselogic.sitevision.api.security.jaas.credential |
Credential classes for custom JAAS modules/filters.
|
| senselogic.sitevision.api.security.jaas.filter |
Filter interfaces for custom JAAS filters.
|
| senselogic.sitevision.api.subscription |
Subscription and subscriber utility interfaces
|
| senselogic.sitevision.api.tag |
Tag utility interfaces.
|
| senselogic.sitevision.api.text |
Text utility interfaces (including encoding/decoding facilities)
|
| senselogic.sitevision.api.user |
User utility interfaces.
|
| senselogic.sitevision.api.webresource |
Web resource (pages, articles, files and images) utility interfaces
|
| senselogic.sitevision.api.webresource.builder |
Temporary link target builders.
|
| senselogic.sitevision.api.webresource.doctype |
DOCTYPE utility interfaces
|
| senselogic.sitevision.api.webresource.mime |
MIME utility interfaces
|
| senselogic.sitevision.api.webresource.structure |
Web resource structure and grouping utility interfaces
|
| senselogic.sitevision.api.webresource.webcontent |
Web content (web content of pages, articles and templates) utility interfaces
|
| senselogic.sitevision.api.versioning |
Versioning utility interfaces (including publish/unpublish facilities)
|
| senselogic.sitevision.api.xml |
XML parser utility interfaces.
|
This is the Sitevision API for accessing the Sitevision model via JCR (Java Content Repository, JSR-283) and implementing custom JAAS (Java Authentication and Authorization Service) modules/filters.
Built 2026-01-07
ContentFormatContentRendererContentRendererBuilderCreateContentFactoryRendererBuilderFactoryTextModuleCreatorTextModuleUpdaterFileUtil.copyFile(Node,Node)ImageUtil.copyImage(Node,Node)PermissionUtil.Permission.GENERATE_ALT_TEXT_AITextModuleRenderer.updateByContentIdentifier(String)Utils.getCreateContentFactory()Utils.getRendererBuilderFactory()FolderUtil
- Fixed too strict permission checking bug. Members of a sv:collaborationGroup should be allowed to mutate folders in the file/image archive of the group.
MimeTypeUtil
- Added MIME support for the ".kts" file extension.
Requester
- Updated status code (from 408) to 504 for requests that times out.
TagUtil
- Fixed too strict permission checking bug. Members of a sv:collaborationGroup should be allowed to mutate sv:tag entries for the group files.
Built 2025-11-05
MetadataUtil.getGeolocationValueBuilder()FontUtil.getFontByClassName(String)
- Fixed lookup bug. Method could return null when using the selectorText property of an Envision-mapped sv:font.
FontUtil.getFontByClassName(String,Node)
- Fixed lookup bug. Method could return the fallback Node when using the selectorText property of an Envision-mapped sv:font.
MetadataUtil.setMetadataPropertyValue(Node,Property,Object)
- Added support to set Geolocation metadata.
MetadataUtil.setMetadataPropertyValue(Node,String,Object)
- Added support to set Geolocation metadata.
Built 2025-10-15
MimeTypeUtil
- Added MIME support for the ".jsx" and ".tsx" file extensions.
Also added legacy support for all obsoleted JavaScript MIME types described in
RFC 9239 - Updates to ECMAScript Media Types.
MailUtil.isValidAddress(String)
- Fixed top domain length restriction bug (max 6 characters). Method now allows all top domains.
Built 2025-09-24
OutputUtil.renderWebPathNodes(Node,LinkRenderer,String)
- WCAG improvement. The html output is now semantically correct using a <ol> with the Envision Breadcrumb Component markup.
Note that the result no longer can be wrapped in a non-blocking element such as a <span>
Built 2025-09-03
PermissionUtil.Permission.MANAGE_AIWebContentUtil
- Added support for the start attribute of ordered lists, e.g. <ol start="5">.
WebContentUtil
- Added support for image caption via the data-imagecaption attribute, e.g. <img data-imagecaption="The caption" ... >.
Built 2025-08-13
FileUtil
- Fixed concurrency bug. Mutation lock was not required to update the binary content.
ImageUtil
- Fixed concurrency bug. Mutation lock was not required to update the binary content.
ResourceLocatorUtil.getNodeByUrl(String)
- Fixed better fallback support for accidental URI value argument (unsupported best-effort feature).
Built 2025-07-23
NodeTypeUtil.AI_ASSISTANT_TYPENodeTypeUtil.AI_ASSISTANT_REPOSITORY_TYPENodeTypeUtil.TARGET_AUDIENCE_GROUP_REPOSITORY_TYPEResourceLocatorUtil.getAiAssistantRepository()ResourceLocatorUtil.getTargetAudienceGroupRepository()TextModuleRenderer.renderMarkdown()MimeTypeUtil
- Changed MIME to "video/mp2t" for the ".mts" file extension. Also added MIME support for the ".m2t" and ".m2ts" file extensions.
Built 2025-05-15
WebContentUtil
- Fixed metadata bug that could occur when the content of an article was updated.
Built 2025-04-02
CollaborationGroupFolderUtil.createCollaborationGroupFolder(Node,String)MessagesFactory.getDirectMessageUtil()PermissionUtil.Permission.CREATE_COLLABORATION_GROUP_FOLDERMimeTypeUtil
- Added MIME support for the ".mht" and ".mhtml" file extension. Extensions are also denoted as compressed types.
Requester
- Added support for all HTTP Status Codes in the 100-599 range
(previously the ones denoted as "Unassigned" in the specification wasn't handled)
Built 2025-03-12
NodeTypeUtil.SEMANTIC_INDEX_TYPENodeTypeUtil.SEMANTIC_INDEX_REPOSITORY_TYPEResourceLocatorUtil.getSemanticIndexRepository()LinkValueBuilder.setInternalTarget(Node)
- Added support for sv:folder and sv:archive.
RestApi.get(Node,String)
- Fixed endpoint-specific context bug. Method could fail for subsequent invocations of the "headless" endpoint using a sv:portlet as context node.
RestApi.get(Node,String,Opts)
- Fixed endpoint-specific context bug. Method could fail for subsequent invocations of the "headless" endpoint using a sv:portlet as context node.
Built 2025-01-29
MimeTypeUtil.isJsonMime(String)MimeTypeUtil.isJsonType(String)OutputUtil.getNodeOutput(Node,int)Requester
- Improved JSON type detection. Fail response with a Content-Type indicating the JSON format will now be treated as such
(previously "application/json" or "application/vnd.api+json" was required)
RestAppInvoker
- Improved JSON type detection. RestApp response with a Content-Type indicating the JSON format will now be treated as such
(previously "application/json" was required)
Built 2025-01-08
NodeFilterUtil.getSkipFilter(int)NodeIteratorUtil.findMoreNodes(Node,Filter<Node>,int,int)NodeTreeUtil.findPortletByContentIdentifier(Node,String)NodeTypeUtil.METADATA_MODULE_DEFINITION_TYPELinkTargetBuilder.setExternalTarget(String)
- Change default fallback protocol from http to https.
LinkValueBuilder.setExternalTarget(String)
- Change default fallback protocol from http to https.
NodeTypeUtil.isAnyMetadataDefinitionType(Node)
- Added support for sv:metadataModuleDefinition.
Built 2024-11-06
PublishingUtil
- Fixed versioning bug. Publish/unpublish was not always executed in the
OFFLINE_VERSION.
WebContentUtil
- Fixed bug. Exception could occur when resolving appropriate log message.
PublishingUtil.unpublishNode(Node,Date)
- Fixed arg validation bug. Node was unpublished twice if Date argument was null.
Built 2024-10-16
NodeTypeUtil.GEOLOCATION_TYPENodeTypeUtil.METADATA_GEOLOCATION_DEFINITION_TYPESystemUserUtil.isAnySystemUser()SystemUserUtil.isAnySystemUser(Node)WebContentUtil
- Table type for <table> can now be specified using the data-tabe-type-name attribute.
WebContentUtil
- <iframe> element will now result in creation of a Html module (instead of the legacy Iframe module).
WebContentUtil
- Fixed table bugs: Block element text within a table could be placed outside of table.
Multiple <tbody> elements could be generated. Tables was created without any table type.
NodeTypeUtil.isAnyMetadataDefinitionType(Node)
- Added support for sv:metadataGeolocationDefinition.
Built 2024-09-25
NodeResolverUtil.getTargetAudiencesResolver()NodeTypeUtil.TARGET_AUDIENCE_REPOSITORY_TYPENodeTypeUtil.TARGET_AUDIENCE_TYPENodeTypeUtil.TARGET_AUDIENCE_GROUP_TYPENodeTypeUtil.METADATA_SINGLE_TARGET_AUDIENCE_DEFINITION_TYPENodeTypeUtil.METADATA_MULTIPLE_TARGET_AUDIENCE_DEFINITION_TYPEResourceLocatorUtil.getTargetAudienceRepository()Utils.getTargetAudienceUtil()WebContentUtil
- Fixed list type bug. Methods now properly distinguish between ordered and unordered list (<ol> and <ul>).
NodeTypeUtil.isAnyMetadataDefinitionType(Node)
- Added support for sv:metadataSingleTargetAudienceDefinition and sv:metadataMultipleTargetAudienceDefinition.
Built 2024-09-03
MimeTypeUtil
- Added MIME support for the ".zst" file extension. Extension is also denoted as a compressed type.
Built 2024-08-15
LinkRenderer.addAriaAttribute(String,String)LinkRenderer.clearAriaAttributes()NodeTypeUtil.LLM_CONFIGURATION_TYPENodeTypeUtil.LLM_CONFIGURATION_REPOSITORY_TYPEResourceLocatorUtil.getLlmConfigurationRepository()LinkRenderer
- Fixed data attribute duplication bug. Data attributes could be duplicated if "same" attribute was added both with and without the data prefix.
Built 2024-07-25
ImageUtil.setAltText(Node,String)ImageUtil.setCaptionText(Node,String)WebContentUtil
- Fixed content area lookup bug. Methods where a content area is explicitly specified by name could fail to resolve actual area.
WebContentUtil
- Added support for the <iframe> element.
ChannelWrapper.addMember(Node)
- Added support to add self to open channels.
Built 2024-05-15
ChannelWrapper.isMember(Node)ChannelWrapper.renameChannel(String)ChannelWrapper.setChannelDescription(String)MessagesFactory.getChannelUtil()WebContentUtil
- Fixed content parsing bug - the <blockquote> element was not properly supported.
Built 2024-04-24
NodeTypeUtil.CSS_RULE_REPOSITORY_TYPENodeTypeUtil.CSS_RULE_TYPEResourceLocatorUtil.getCssRuleRepository()Built 2024-04-03
MimeTypeUtil.isAudioType(String)Built 2024-03-13
Utils.getMessagesFactory()WebContentUtil.removeAllContent(Node)WebContentUtil.removeAllContent(Node,String)MimeTypeUtil
- Added MIME support for the ".mjs", ".ggs", and ".opus" file extensions.
NodeComparatorUtil.getPropertyComparator(String)
- Fixed collator bug. Letter W could be sorted before letter V for a swedish Locale ("sv").
NodeComparatorUtil.getPropertyComparator(String,Locale)
- Fixed collator bug. Letter W could be sorted before letter V for a swedish Locale ("sv").
Built 2024-02-21
NodeTypeUtil.DASHBOARD_TYPENodeTypeUtil.MARKETPLACE_WIDGET_CUSTOM_MODULE_TYPENodeTypeUtil.WIDGET_CUSTOM_MODULE_TYPEPermissionUtil.Permission.MANAGE_DASHBOARDSPortletContextUtil.getCurrentDashboard()Built 2024-01-31
ArticleUtil.PROPERTY_LAST_UNPUBLISH_DATEArticleUtil.PROPERTY_LAST_UNPUBLISHED_BYLinkPageUtil.PROPERTY_LAST_UNPUBLISH_DATELinkPageUtil.PROPERTY_LAST_UNPUBLISHED_BYPageUtil.PROPERTY_LAST_UNPUBLISH_DATEPageUtil.PROPERTY_LAST_UNPUBLISHED_BYPermissionUtil.Permission.MANAGE_PUBLISHING_LOCKPublishingUtil.clearPublishingSchedule(Node)PublishingUtil.getPublishStatus(Node)Built 2024-01-10
NodeTypeUtil.isAnyMetadataDefinitionType(Node)NodeTypeUtil.METADATA_DATE_DEFINITION_TYPENodeTypeUtil.METADATA_SYSTEM_IMAGE_DEFINITION_TYPENodeTypeUtil.METADATA_SYSTEM_INTEGER_DEFINITION_TYPENodeTypeUtil.METADATA_SYSTEM_LINK_DEFINITION_TYPENodeTypeUtil.METADATA_SYSTEM_TEXT_DEFINITION_TYPEPermissionUtil.Permission.MANAGE_CUSTOM_SEARCH_INDEXPermissionUtil.Permission.MANAGE_PINNINGPermissionUtil.Permission.MANAGE_TYPES_IDENTIFIERSBuilt 2023-11-07
ResourceLocatorUtil.getRootNode()LocaleUtil
- Added support for the ancient Latin Locale ("la").
Built 2023-10-18
MimeTypeUtil
- Added support for MIME "application/vnd.api+json".
Requester
- Added JSON body parse support for fail response with Content-Type "application/vnd.api+json".
Built 2023-09-27
NodeTypeUtil.WORK_STATUS_TEMPLATE_REPOSITORY_TYPENodeTypeUtil.WORK_STATUS_TEMPLATE_TYPENodeTypeUtil.WORK_STATUS_TYPEResourceLocatorUtil.getWorkStatusTemplateRepository()Built 2023-09-06
NodeTypeUtil.IMAGE_FILTER_REPOSITORY_TYPEResourceLocatorUtil.getImageFilterRepository()SearcherBuilder.setPermissionCheck(PermissionCheck)SearchFactory.getPermissionCheckBuilder()Built 2023-08-17
LocaleUtil
- Added resolve support for Norwegian Bokmål Locale aliases. A "nb" Locale will be treated as the "no" Locale and a "nb-NO" Locale will be treated as the "no-NO" Locale
MimeTypeUtil
- Added MIME support for the ".jxl", ".jxr", ".jxs" and ".hdp" file extensions.
Built 2023-07-25
NodeTreeUtil.findLayoutByName(Node,String)NodeTreeUtil.findLayoutsByName(Node,String)NodeTreeUtil.findLayoutsByName(Node,String,Filter<Node>)NodeTreeUtil.findLayouts(Node,Filter<Node>)NodeTreeUtil.findPortlets(Node,Filter<Node>)SearchHit.getClickTrackingUri()FileUtil.createFile(Node,String,String)
- Use http connection pool of site when retrieving binary data from external URL.
FileUtil.createFiles(Node,Map<String>)
- Use http connection pool of site when retrieving binary data from external URL.
FileUtil.updateBinaryContent(Node,String)
- Use http connection pool of site when retrieving binary data from external URL.
ImageUtil.createImage(Node,String,String)
- Use http connection pool of site when retrieving binary data from external URL.
ImageUtil.createImages(Node,Map<String>)
- Use http connection pool of site when retrieving binary data from external URL.
ImageUtil.updateBinaryContent(Node,String)
- Use http connection pool of site when retrieving binary data from external URL.
Requester.done(F)
- Fixed bug: failed to resolve expected name via the returned Content-Disposition header when retrieving a file (i.e. a request using the {dataType:'file'} option).
Built 2023-05-17
MimeTypeUtil.isCompressedType(String)
- Handle extension .pear as compressed.
Built 2023-02-01
ImageRenderer.addAriaAttribute(String,String)ImageRenderer.addCssClass(String)ImageRenderer.addDataAttribute(String,String)ImageRenderer.clearAriaAttributes()ImageRenderer.clearCssClasses()ImageRenderer.clearDataAttributes()LandingPageUtil.getMessagesPage()RestAppInvoker.patch(String)RestAppInvoker.patch(String,Opts)BuddyIconRenderer.render()
- Fixed bug: encode alt attribute value (attribute introduced in 2023.01.1).
StructureUtil.moveNode(Node,Node)
- Fixed bug: more strict enforce of structural requirements - any move attempt to/from/within the Trashcan will now throw a ConstraintViolationException.
StructureUtil.moveNode(Node,Node)
- Added support for sv:collaborationGroupPage nodes.
TrashcanUtil.moveNodeToTrashcan(Node)
- Added support for sv:collaborationGroupPage nodes.
Built 2023-01-11
PermissionUtil.Permission.MANAGE_CHANNELS
PermissionUtil.Permission.CREATE_PRIVATE_CHANNELS
RestApi.delete(Node,String,Node,Opts)
PermissionUtil.Permission.MANAGE_TOPICS
BuddyIconRenderer.render()
- Fixed wcag problem: the <img> part of the output will now have a proper alt attribute.
Built 2022-11-15
Mail.send()
- Fixed bug: the specified MailBuilder.setFrom address would not be used if it was in "mailbox format" and the mail server used DKIM.
Mail.sendAsync()
- Fixed bug: the specified MailBuilder.setFrom address would not be used if it was in "mailbox format" and the mail server used DKIM.
Built 2022-10-26
Utils.getAliasUtil()Built 2022-10-04
LinkRenderer.clearHrefLang()LinkRenderer.clearLang()LinkRenderer.setHrefLang(String)LinkRenderer.setLang(String)MimeTypeUtil.isFontType(String)LinkRenderer.clearAllOptional()
- Now also clears hrefLang and lang.
Released 2022-08-29
FileUtil.setDownloadProtected(Node,boolean)FolderUtil.setDownloadProtected(Node,boolean)PermissionUtil.Permission.MANAGE_DOWNLOAD_PROTECTIONPortletContextUtil.getNonce()WebContentUtil.appendContent(Node,Map<String,String>)WebContentUtil.appendContent(Node,String)ArchiveUtil
- When a new sv:archive is created, it will be populated with the CORS settings of its parent.
FileUtil
- When a new sv:file is created, it will be populated with the CORS settings of its parent. It will also get the download protected state of its sv:folder parent (if applicable)
FolderUtil
- When a new sv:folder is created, it will be populated with the CORS settings of its parent.
ImageUtil
- When a new sv:image is created, it will be populated with the CORS settings of its parent.
Properties
- Fixed value bug: the "rawURI" property of a sv:link could contain html-escaped amps (&).
PropertyUtil
- Fixed value bug: the "rawURI" property of a sv:link could contain html-escaped amps (&).
FolderUtil.setVersioned(Node,boolean)
- Fixed mutation bug ("dirty write"/"lost update"). Method no longer bypasses locking when the mutation of the folder is performed.
Released 2022-05-31
Mail.sendAsync()PermissionUtil.hasEffectiveDeletePermission(Node,Node)PermissionUtil.hasEffectivePublishPermission(Node,Node)PermissionUtil.hasEffectiveWritePermission(Node,Node)PermissionUtil.Permission.MANAGE_PUBLISHING_PROJECTArticleUtil
- When a new sv:article is created, it will be populated with the CORS settings of its parent.
PageUtil
- When a new sv:page is created, it will be populated with the CORS settings of its parent.
PublishingUtil
- Added more strict permission checking. Methods now uses PermissionUtil.hasEffectivePublishPermission(Node,Node).
TrashcanUtil.moveNodeToTrashcan(Node)
- Added more strict permission checking. Method now uses PermissionUtil.hasEffectiveDeletePermission(Node,Node).
Released 2022-04-11
WebContentUtil
- Fixed list bug introduced in 10.1: the update methods fails when content html contains list elements (<ul>/<ol>/<li>).
Released 2022-04-11
NodeTypeUtil.isAnyContentType(Node)NodeTypeUtil.isAnyRenderableType(Node)NodeTypeUtil.isAnyUserType(Node)NodeTypeUtil.isSimpleUser(Node)NodeTypeUtil.isSystemUser(Node)Utils.getContentNodeUtil()Properties
- Fixed value bug: the "rawURI" property of a sv:link that targets another sv:link could start with "javascript:".
PropertyUtil
- Fixed value bug: the "rawURI" property of a sv:link that targets another sv:link could start with "javascript:".
Released 2022-02-20
Properties
- Fixed value bug: the "length" property of a sv:file that is versioned could be zero.
PropertyUtil
- Fixed value bug: the "length" property of a sv:file that is versioned could be zero.
NodeResolverUtil.getTagGroupsResolver()
- Added support for resolving a list of sv:tagGroup nodes from sv:metadataMultipleTagDefinition, sv:metadataSingleTagDefinition and sv:userField of type TAGS.
CollaborationGroupWrapper.setGroupType(CollaborationGroupType)
- Method no longer requires PermissionUtil.Permission.CREATE_CLOSED_COLLABORATION_GROUP to change the type of a closed group.
Released 2021-12-13
NodeTypeUtil.LINKED_LAYOUT_TYPEQueryStringUtil.stripLocalParams(String)Searcher
- The query string will be stripped from Local params (see QueryStringUtil.stripLocalParams(String)).
SearchUtil
- The query string will be stripped from Local params (see QueryStringUtil.stripLocalParams(String)).
Released 2021-09-20
SiteCookieUtil.getFunctionalSiteCookies()SiteCookieUtil.getFunctionalSiteCookiesTitle()SiteCookieUtil.getFunctionalSiteCookiesDescription()Released 2021-09-01
FileUtil.setVersioned(Node,boolean)FolderUtil.setVersioned(Node,boolean)NodeTypeUtil.SITE_COOKIE_REPOSITORY_TYPENodeTypeUtil.SITE_COOKIE_TYPEResourceLocatorUtil.getSiteCookieRepository()UserIdentityWrapper.isGroupMuted(Node)UserIdentityWrapper.isNotificationsMuted(Node)UserIdentityWrapper.muteGroup(Node)UserIdentityWrapper.muteNotifications(Node)UserIdentityWrapper.unmuteGroup(Node)UserIdentityWrapper.unmuteNotifications(Node)Utils.getSiteCookieUtil()Utils.getTagUtil()Released 2021-04-26
NodeTypeUtil.ALIAS_TYPEReleased 2021-04-26
BuddyIconRenderer.forceUseXLargeBuddyIconSize()BuddyIconRenderer.getBuddyIconInfo()BuddyIconRenderer.BuddyIconSize.WIDTH_160BuddyIconRenderer.BuddyIconSize.X_LARGEDateUtil.getCalendarAsString(String,Calendar,Locale)DateUtil.getDateAsString(String,Date,Locale)DateUtil.parseDate(String,String,Locale)ResourceLocatorUtil.getAliasRepository()ResourceLocatorUtil.getPrincipalRepository()QueryStringUtil.MATCH_ALL_QUERYQueryStringUtil.removeQuerySyntaxChars(String,boolean)QueryStringUtil.smartWildcard(String)QueryStringUtil.stripTrailingAnyChars(String)ImageRenderer
- Fixed logging bug: Setting, updating or clearing the image could misleadingly trigger a WARN message in the server log.
PermissionUtil
- Added best effort conveniences: methods that checks "current page" permissions will now use the site page when invoked from RESTApps.
UserIdentityUtil
- Fixed null bug: Methods will now return user identities that are disabled (i.e. the "disabled" property of the sv:userIdentity is true).
UserIdentityWrapper
- Fixed permission check bug: mutating methods (i.e. addContact, removeContact, setProfileImage, setDisabled, setHidden) always failed when invoked from a RESTApp.
ImageRenderer.render()
- Fixed bug: srcset data was never included in the output when invoked from a RESTApp.
DateUtil.getCalendarAsString(String,Calendar)
- Fixed null/empty/blank leniency: an empty or blank pattern will now be treated in the same way as a null pattern.
DateUtil.getDateAsString(String,Date)
- Fixed null/empty/blank leniency: an empty or blank pattern will now be treated in the same way as a null pattern.
DateUtil.parseDate(String,String)
- Fixed null/empty/blank leniency: an empty or blank pattern will now be treated in the same way as a null pattern. Also applies to an empty or blank date string.
Released 2021-02-20
NodeFilterUtil.getAnyOfPrimaryNodeTypesFilter(Collection)NodeFilterUtil.getNoneOfPrimaryNodeTypesFilter(Collection)NodeIteratorUtil.getFilteredNodeIterator(NodeIterator,Filter<Node>)ResourceLocatorUtil.getMetadataDefinitionTemplateRepository()ResourceLocatorUtil.getTrashcan()MetadataDefinitionUtil.renameAlternative(Node,String,String,String)MetadataDefinitionUtil.removeAlternative(Node,String,String)LocaleUtil
- Added support for russian language in Ukraine ("ru-UA").
LocaleUtil.resolveCountryLocale(Locale)
- Improvement: Ukrainian locale ("uk") should resolve the Ukraine locale ("uk-UA").
MimeTypeUtil.getExtension(String)
- Fixed bug: passing a valid MIME that officially includes an uppercase letter (i.e. macro-enabled MS Office types) could return null instead of expected extension.
ResourceLocatorUtil.getNodeId(Object)Released 2020-12-08
LocaleUtil
- Added support for russian language in Belarus ("ru-BY").
NodeIterator.nextNode()
- Fixed bug/robustness: Method could throw exception (that also would cause Sandbox problems if server-side Javascripts tried to catch it).
Also applies to the NodeIterator.next() method.
Released 2020-11-18
MimeTypeUtil
- Added MIME support for the ".avif", ".mpd" and ".drawio" file extensions.
TranslationUtil.getTranslatedFrom(Node)
- Fixed bug: Method could return null for a copied translated page with a new origin explicitly set.
Released 2020-10-06
Requester.head(String)Requester.head(String,Opts)Requester.patch(String)Requester.patch(String,Opts)Requester
- Fixed bug: resolve of the retryCount option value might fail.
Released 2020-09-21
SearchResult.getExactCount()
- Fixed bug: method could return invalid result for search results of the UGC index.
SearchResult.getEffectiveCount(int)
- Fixed bug: method could return invalid result for search results of the UGC index.
Released 2020-09-07
MimeTypeUtil
- Added MIME support for the ".yaml", ".yml" and ".toml" file extensions.
Properties
- Added support for tag metadata definitions.
PropertyUtil
- Added support for tag metadata definitions.
LocaleUtil.getNativeLanguageNameByString(String)
- More forgiving parsing behaviour. Will now handle all well-formed locale strings that starts with a supported language (i.e. language-only strings and strings with supported language code but unsupported country).
MetadataUtil.setMetadataPropertyValue(Node,Property,Object)
- Added support for tag metadata definitions.
MetadataUtil.setMetadataPropertyValue(Node,String,Object)
- Added support for tag metadata definitions.
Released 2020-05-14
LandingPageUtil.getTopicTimelinePage()NodeTypeUtil.EXTERNAL_COMMENT_ENTRY_TYPENodeTypeUtil.EXTERNAL_TIMELINE_ENTRY_REPOSITORY_TYPENodeTypeUtil.EXTERNAL_TOPIC_INTEGRATION_REPOSITORY_TYPENodeTypeUtil.EXTERNAL_TOPIC_INTEGRATION_TYPENodeTypeUtil.EXTERNAL_TOPIC_TIMELINE_ENTRY_TYPENodeTypeUtil.EXTERNAL_TOPIC_TYPENodeTypeUtil.OAUTH2_CONFIGURATION_REPOSITORY_TYPENodeTypeUtil.OAUTH2_CONFIGURATION_TYPENodeTypeUtil.PAGE_SUB_COMMENT_TYPENodeTypeUtil.TOPIC_REPOSITORY_TYPENodeTypeUtil.TOPIC_TIMELINE_ENTRY_TYPENodeTypeUtil.TOPIC_TYPEPermissionUtil.Permission.MANAGE_TOPICSResourceLocatorUtil.getExternalTopicIntegrationRepository()ResourceLocatorUtil.getOAuth2ConfigurationRepository()ResourceLocatorUtil.getTopicRepository()Utils.getTextModuleRendererBuilder()Requester
- Added options for retry of failed requests. Also added options for OAuth2.
Released 2020-03-20
NodeTypeUtil.METADATA_MULTIPLE_TAG_DEFINITION_TYPENodeTypeUtil.METADATA_SINGLE_TAG_DEFINITION_TYPENodeTypeUtil.RESPONSIVE_BREAKPOINT_REPOSITORY_TYPEProperties.getArrayEscaped(Object,String...)Properties.getEscaped(Object,String...)ResourceLocatorUtil.getResponsiveBreakpointRepository()TrashcanUtil.isInTrashcan(Node)ImageRenderer
- Fixed lazy-load bug: Now properly supports lazy-load of svg images.
ImageScaler
- Fixed context bug: ImageScaler now works in all server side scripting contexts (WebApps/RESTApps etc.).
XSLTUtil.getDefaultCleanHtmlTemplate()
- The method attribute value of <xsl:output> is changed from "html" to "xml" (to avoid creation of xml entities for national characters such as "å, ä, ö").
XmlElement.getElements()
- The method now returns the elements in the same order as in the original XML Document.
Released 2020-02-05
CurrencyCurrencyFactoryFormatterBuilderFactoryNumericFormatterNumericFormatterBuilderRoleMatcherRoleMatcherBuilderCollaborationGroupWrapper.setLocale(Locale)LocaleUtil.resolveCountryLocale(Locale)Properties.getArray(Object,String...)RoleUtil.getRoleMatcherBuilder()Utils.getCurrencyFactory()Utils.getFormatterBuilderFactory()MimeTypeUtil
- Added support for the ".geojson" file extension and its "application/geo+json" MIME.
Requester
- General update of the User-Agent header for all outgoing http requests.
From Chrome 48 on (Windows NT 6.1; WOW64) to Chrome 79 on (Windows NT 10.0; Win64; x64).
Released 2019-12-02
LandingPageUtil.getCollaborationGroupsPage()LandingPageUtil.getContactsPage()LandingPageUtil.getFilesPage()LandingPageUtil.getMembersPage()LandingPageUtil.getTagTimelinePage()LandingPageUtil.getTimelineEntryPage()LandingPageUtil.getUserIdentitySearchResultPage()PermissionUtil.Permission.MOVE_NODERoleAssignment.revoke(Node)StructureUtil.moveNode(Node, Node)
- Method now requires PermissionUtil.Permission.MOVE_NODE on moving node.
Released 2019-12-02
NodeTypeUtil.MARKETPLACE_CUSTOM_MODULE_TYPENodeTypeUtil.MARKETPLACE_HEADLESS_CUSTOM_MODULE_TYPERequester
- Added protocol-check: URL must start with http or https in all methods.
ImageRenderer
- Fixed bug: Lazy loading did not work as expected.
StructureUtil.moveNode(Node, Node)
- Fixed bug: sv:article could be moved to a parent that wasn't sv:archive.
Released 2019-11-06
ScriptUtil.getSystemProperty(String)
- Added possibility to get "sitevision.environment.type".
Released 2019-10-15
LinkRenderer.clearUseDownload()LinkRenderer.forceUseDownload()LinkRenderer.setUseDownload(boolean)AuthenticationUtil
- Fixed sandbox bug: methods failed when using the request in a sandboxed script.
Released 2019-09-26
Requester
- Added the fallbackCharset option.
Requester
- Fixed multipart charset bug: When specifying the contentType as "multipart/form-data", data params was sent as "text/plain" with specified charset "ISO-8859-1" in POST/PUT/DELETE. Now charset for data params is properly specified as "UTF-8".
Released 2019-09-26
JwtExceptionJwtUtilRoleAssignmentRoleAssignmentBuilderRoleUtilXmlElementXmlElementHandlerXmlParserExceptionXmlParserUtilDateUtil.parseDate(String,String)NodeTypeUtil.USER_FIELD_REPOSITORY_TYPENodeTypeUtil.USER_FIELD_TYPEPermissionUtil.Permission.MANAGE_RIGHTSPortletContextUtil.getCurrentDecoratedNode()Utils.getRoleUtil()Utils.getXmlParserUtil()Requester
- Fixed bug: When specifying the contentType as "application/json" it was sent as "text/plain" in POST/PUT/DELETE
ScriptUtil.getSystemProperty(String)
- Removed access to arbitrary system properties, only "sitevision.version" and "sitevision.build" are supported!
FileUtil
- Now validates files against the server's file size limit.
ImageUtil
- Now validates images against the server's file size limit.
Released 2019-06-20
SearchSortField.isAscending()Utils.getMessageDigesterFactory()SearchFactory.getSearchSortField(String,boolean)
- Renamed boolean sort order argument to reflect actual behaviour when used in Searcher and SearchUtil (this arg name is applicable to all versions except Sitevision 5).
SearchSortField(String,boolean) constructor
- Renamed boolean sort order argument to reflect actual behaviour when used in Searcher and SearchUtil (this arg name is applicable to all versions except Sitevision 5).
Released 2019-05-27
ImageRenderer.clearDimensionMode()ImageRenderer.forceDimensionMode()ImageRenderer.resetDimensionMode()ImageRenderer.setDimensionMode(DimensionMode)ImageRenderer.clearUseLazyLoad()ImageRenderer.forceUseLazyLoad()ImageRenderer.setLazyLoad(boolean)NodeResolverUtil.getTagGroupsResolver()NodeResolverUtil.getTagsResolver()NodeTypeUtil.COLLECTION_DATA_STORE_TYPENodeTypeUtil.DATA_STORE_REPOSITORY_TYPENodeTypeUtil.KEY_VALUE_DATA_STORE_TYPENodeTypeUtil.ROLE_TYPENodeTypeUtil.ROLE_REPOSITORY_TYPENodeTypeUtil.TAG_GROUP_REPOSITORY_TYPENodeTypeUtil.TAG_GROUP_TYPENodeTypeUtil.VIRTUAL_GROUP_REPOSITORY_TYPEResourceLocatorUtil.getRoleRepository()ResourceLocatorUtil.getTagGroupRepository()ResourceLocatorUtil.getVirtualGroupRepository()RestApi.put(Node,String,Opts)Searcher
- Fixed sort order bug. All specified sort orders were reversed.
SearchUtil
- Fixed sort order bug. All specified sort orders were reversed.
WebContentUtil.updateContent(Node,String)
- Fixed layout name bug. The name attribute for layout div was not used.
XSLTUtil.transform(String,Object)
- Added support for XSLT template of type sv:temporaryFile.
Released 2019-04-25
EndecUtil.base64decodeToBytes(String)EndecUtil.base64encodeToString(byte[])ImageUtil.toBase64(Node)NodeTypeUtil.isTemporaryFile(Node)Released 2019-04-09
LocaleUtil
- fixed empty name bug. Some methods could throw exception when operating on Locale.ROOT.
Renamed JsonRequester to Requester
- to emphasize its versatility (capable of handling other data than JSON).
Renamed JsonRequesterChainable to RequesterChainable
- to emphasize its versatility (capable of handling other data than JSON).
Requester
- Added dataType option file to download remote files.
DateUtil.toCalendar(Date)DateUtil.toDate(Calendar)InstanceCreatorUtil.getBooleanArray(int)InstanceCreatorUtil.getByteArray(int)InstanceCreatorUtil.getCharArray(int)InstanceCreatorUtil.getDoubleArray(int)InstanceCreatorUtil.getFloatArray(int)InstanceCreatorUtil.getIntArray(int)InstanceCreatorUtil.getLongArray(int)InstanceCreatorUtil.getObjectArray(int)InstanceCreatorUtil.getShortArray(int)InstanceCreatorUtil.getStringArray(int)TimestampUtil.fromCalendar(Calendar)TimestampUtil.fromDate(Date)TimestampUtil.fromInstant(Instant)TimestampUtil.fromLocalDateTime(LocalDateTime)TimestampUtil.toCalendar(long)TimestampUtil.toDate(long)TimestampUtil.toInstant(long)TimestampUtil.toLocalDateTime(long)Released 2019-03-18
InstanceCreatorUtil.getLinkedMap()Utils.getTimestampUtil()Released 2019-02-27
CollaborationGroupWrapper.addAdmin(Node)FileUtil.createFileFromBase64(Node,String,String)FileUtil.createFileFromTemporary(Node,Node)FileUtil.updateBinaryContentFromBase64(Node,String)FileUtil.updateBinaryContentFromTemporary(Node,Node)ImageUtil.createImageFromBase64(Node,String,String)ImageUtil.createImageFromTemporary(Node,Node)ImageUtil.updateBinaryContentFromBase64(Node,String)ImageUtil.updateBinaryContentFromTemporary(Node,Node)NodeFactoryUtil.getTemporaryFileNodeBuilder()NodeTypeUtil.TEMPORARY_FILE_TYPEJsonRequester
- Added support for multipart/form-data as contentType and an associated files option.
FileUtil.getContentAsString(Node)
- Added support for nodes of type sv:temporaryFile.
FileUtil.getContentAsString(Node,String)
- Added support for nodes of type sv:temporaryFile.
Released 2018-12-05
CollaborationGroupUtil.removeCollaborationGroup(Node)CollaborationGroupWrapper.getGroupDescription()CollaborationGroupWrapper.getProfileImage()CollaborationGroupWrapper.getProfileImagesFolder()CollaborationGroupWrapper.setGroupDescription(String)CollaborationGroupWrapper.setProfileImage(Node)JsonRequester
- Fixed bug: It is now possible to use contentType "application/json" and supply json objects in body data without stringify the object, i.e. in POST/PUT/DELETE
JsonRequester.delete(String,Opts)
- Added additional options to support delete invocations with body data.
PrincipalUtil.doAsDuringLogin(Node,PrivilegedExceptionAction)
- Fixed context bug. Documented usage restrictions is now properly enforced. Method will now throw an exception if called from outside a JAAS module.
Released 2018-09-17
FileUtil.renameFile(Node,String)ImageUtil.renameImage(Node,String)NodeTypeUtil.BOOKMARKED_TIMELINE_ENTRY_TYPENodeTypeUtil.COMMENT_TYPENodeTypeUtil.HEADLESS_CUSTOM_MODULE_TYPENodeTypeUtil.REST_APP_REPOSITORY_TYPENodeTypeUtil.REST_APP_TYPENodeTypeUtil.TAG_REPOSITORY_TYPENodeTypeUtil.TAG_TYPENodeTypeUtil.TIMELINE_ENTRY_REPOSITORY_TYPENodeTypeUtil.TIMELINE_ENTRY_TYPENodeTypeUtil.TIMELINE_FILE_ENTRY_TYPENodeTypeUtil.TIMELINE_FILE_WALL_ENTRY_TYPENodeTypeUtil.TIMELINE_SHARE_ENTRY_TYPENodeTypeUtil.TIMELINE_SHARE_PAGE_ENTRY_TYPENodeTypeUtil.TIMELINE_WALL_ENTRY_TYPENodeTypeUtil.WEB_APP_REPOSITORY_TYPENodeTypeUtil.WEB_APP_TYPEJsonRequesterChainable
- Renamed from JsonRequesterPromise to avoid confusion about execution type/order. JsonRequester is always executed synchronous.
PropertyUtil
- Improved performance (less CPU cycles, less memory footprint) for access of properties for: Portlet data, User data and WebApp/RESTApp data.
ImageUtil.updateBinaryContent(Node,String)
- Fixed indexing bug. Now the "UserIdentity" sv:applicationIndex will be updated if the profile image of a sv:userIdentity is binary updated.
ResourceLocatorUtil.getNodeByUrl(String)
- Added support for resolve of WebApp resource files.
Released 2018-06-26
LocaleUtil.getNormalizedLanguage(Locale)RestApi.delete(Node,String)PermissionUtil.Permission.USE_COLLABORATION_GROUPPropertyUtil
- Fixed sv:pageContent bug. Now properly resolves null for properties (e.g. displayName, template, URI).
JsonRequesterPromise.done(F)
- Added a third argument (the response headers) that the callback function can use.
JsonRequesterPromise.fail(F)
- Added headers as potential entry in the second argument that the callback function can use.
Released 2018-04-25
BuddyIconRenderer.BuddyIconSize.WIDTH_320BuddyIconRenderer.BuddyIconSize.WIDTH_480BuddyIconRenderer.BuddyIconSize.WIDTH_640BuddyIconRenderer.BuddyIconSize.WIDTH_800BuddyIconRenderer.BuddyIconSize.WIDTH_960BuddyIconRenderer.BuddyIconSize.WIDTH_1120BuddyIconRenderer.BuddyIconSize.WIDTH_1280BuddyIconRenderer.BuddyIconSize.WIDTH_1440BuddyIconRenderer.BuddyIconSize.WIDTH_1600BuddyIconRenderer.BuddyIconSize.WIDTH_1760BuddyIconRenderer.BuddyIconSize.WIDTH_1920BuddyIconRenderer.BuddyIconSize.WIDTH_2080PermissionUtil.Permission.DEVELOPERPermissionUtil.Permission.MANAGE_ADDONSPermissionUtil.Permission.MANAGE_USERSUtils.getXSLTUtil()PropertyUtil
- Fixed bug introduced in 4.3.2. Resolve proper value for the 'description' property of sv:user and sv:simpleUser.
VersionedPropertyUtil
- Fixed context bug. The value for the 'URI' and 'URL' property of sv:file is now resolved in a strict/neutral manner, regardless of context.
Previously the value would differ depending on whether the code was executing inside the Sitevision editor ('in edit mode') or not.
FolderUtil.createFolder(Node,String)
- Added support for sv:personalFileRepository and sv:personalImageRepository parent.
Released 2018-02-22
PermissionUtil.Permission.MANAGE_TRANSLATIONSTranslationUtil.setTranslatedFrom(Node, Node)JsonRequester
- Added implementation for Rhino.
Released 2017-12-13
NodeFilterUtil.getFilteredKeyMap(Map<Node,?>,Filter<Node>)NodeFilterUtil.getFilteredValueMap(Map<?,Node>,Filter<Node>)NodeFilterUtil.getNonNullFilter()NodeFilterUtil.getNullFilter()TranslationUtil.getTranslatedFrom(Node)TranslationUtil.getTranslations(Node,boolean)NodeResolverUtil.getCollaborationCalendarResolver()
- Resolving of sv:collaborationGroup and sv:collaborationGroupPage is now more fine grained.
NodeResolverUtil.getCollaborationDateResolver()
- Resolving of sv:collaborationGroup and sv:collaborationGroupPage is now more fine grained.
Released 2017-11-15
CollaborationGroupWrapper.getCollaborationGroup()ImageScaler.getScaledImage(Node)IndexUtil.IndexType.UGCIndexUtil.IndexType.USERLocaleUtil.isRTL(Locale)MailBuilder.setHtmlMessage(String)NodeTypeUtil.SYSTEM_GROUP_TYPEUserIdentityWrapper.getUserIdentity()UserIdentityWrapper.isDisabled()UserIdentityWrapper.setDisabled(boolean)UserDataUtil
- Prohibited all usage (read and write) of internal Sitevision user data.
MetadataUtil.setMetadataPropertyValue(Node,Property,Object)
- Fixed user metadata bug. No longer allowed to set a user Node of type sv:systemUser for user metadata.
MetadataUtil.setMetadataPropertyValue(Node,String,Object)
- Fixed user metadata bug. No longer allowed to set a user Node of type sv:systemUser for user metadata.
NodeResolverUtil.getLocaleResolver()
- Added support for resolve of sv:applicationIndex and sv:nodeIndex.
PortletContextUtil.getCurrentModuleElement()
- Fixed context bug. Was always null when developing a module element draft in the Element view or previewing a module element in the Addon view.
RelatedValueBuilder.addUser(Node)
- Added support for user Node of type sv:simpleUser.
ResourceLocatorUtil.getModuleElementFileRepository()
- Fixed context bug. Was always null when developing a module element draft in the Element view or previewing a module element in the Addon view.
ResourceLocatorUtil.getModuleElementImageRepository()
- Fixed context bug. Was always null when developing a module element draft in the Element view or previewing a module element in the Addon view.
Node.getProperty, via PropertyUtil or via the javax.portlet.userinfo request attribute
as specified in the JSR-286 Portlet specification.
Released 2017-05-16
InstanceTypeUtil.isCalendar(Object)InstanceTypeUtil.isComparable(Object)InstanceTypeUtil.isComparator(Object)InstanceTypeUtil.isException(Object)InstanceTypeUtil.isIterable(Object)InstanceTypeUtil.isNumber(Object)InstanceTypeUtil.isSerializable(Object)InstanceTypeUtil.isThrowable(Object)MetadataDefinitionUtil.addAlternative(Node,String,String)MetadataDefinitionUtil.getDefinitions(Node)SystemUserUtil.isValidator()SystemUserUtil.isValidator(Node)JsonRequester
- Fixed mistreated valid response bug. Now the done callback will be invoked for all responses with a http status code in the SUCCESS family (200, 201 etc).
Also added the "text" dataType option to enable response body as plain text result in the done callback.
JsonRequesterPromise.done(F)
- Added a second argument (the http status code) that the callback function can use.
JsonRequesterPromise.fail(F)
- Added body as potential entry in the second argument that the callback function can use.
Also changed the statusMessage entry of the second argument. The statusMessage is now the strict/short description of the
actual status code (was previously identical to first argument, i.e. the full fail reason message).
Released 2017-03-02
NodeTypeUtil.NAMED_REFERENCE_REPOSITORY_TYPEResourceLocatorUtil.getNamedReferenceRepository()JsonRequester
- Fixed bad response bug. Now the fail callback will be invoked if response contains an error code (i.e. http status code != 200/OK).
JsonRequesterPromise.fail(F)
- Added a second argument the callback function can use (e.g. to check the http status code).
LocaleUtil.getLocalizedLanguageName(Locale,Locale)
- Fixed native language bug for custom locales (i.e. locales added by Sitevision)
StructureUtil.moveNode(Node,Node)
- Fixed article bug introduced in 4.2 (move sv:article to sv:archive threw ConstraintViolationException)
Released 2017-01-19
LinkValueBuilder.setPhoneTarget(String)UserIdentityWrapper.setHidden(boolean)Utils.getTranslationUtil()JsonRequester
- Added the contentType and headers options.
UserIdentityWrapper.setProfileImage(Node)
- Reset crop information when setting new profile image
Released 2016-11-01
JsonRequesterJsonRequesterPromiseLinkPageUtilLinkTargetLinkTargetBuilderRequireable.ScriptEngineVelocityAccess.LinkPageUtilConstantsWebResourceFactoryNodeTypeUtil.GLOBAL_VIRTUAL_GROUP_TYPENodeTypeUtil.MODULE_ELEMENT_DRAFT_REPOSITORY_TYPENodeTypeUtil.MODULE_ELEMENT_DRAFT_TYPENodeTypeUtil.MODULE_ELEMENT_FILE_REPOSITORY_TYPENodeTypeUtil.MODULE_ELEMENT_IMAGE_REPOSITORY_TYPENodeTypeUtil.MODULE_ELEMENT_REPOSITORY_TYPENodeTypeUtil.MODULE_ELEMENT_TYPENodeTypeUtil.CUSTOM_MODULE_TYPENodeTypeUtil.ADDON_REPOSITORY_TYPEPermissionUtil.Permission.CREATE_LINK_PAGEPermissionUtil.Permission.MANAGE_USER_IDENTITIESPortletContextUtil.getCurrentModuleElement()QueryStringUtil.getDateAsString(Date)Requireable.engine()ResourceLocatorUtil.getModuleElementDraftRepository()ResourceLocatorUtil.getModuleElementFileRepository()ResourceLocatorUtil.getModuleElementFileRepository(Node)ResourceLocatorUtil.getModuleElementImageRepository()ResourceLocatorUtil.getModuleElementImageRepository(Node)ResourceLocatorUtil.getModuleElementRepository()ResourceLocatorUtil.getAddonRepository()SearchHit.isElevated()UserIdentityWrapper.getProfileImagesFolder()UserIdentityWrapper.setProfileImage(Node)Utils.getWebResourceFactory()CompoundAndFilterBuilder
- Added the @Requireable annotation.
CompoundComparatorBuilder
- Added the @Requireable annotation.
CompoundOrFilterBuilder
- Added the @Requireable annotation.
ImageUtil
- Added support for creating/updating sv:personalImageRepository images.
LinkValueBuilder
- Added the @Requireable annotation.
RelatedValueBuilder
- Added the @Requireable annotation.
StructureUtil
- Added support for moving sv:link nodes.
TrashcanUtil
- Added support for removing/restoring sv:link nodes.
FileUtil.getContentAsString(Node,String)
- Added support for svg, jsonld and jsonml files.
LinkRenderer.setStringTarget(String)
- Fixed "external link" icon/description bug when rendering a string target. Anchor targets (#) and telephone targets (tel:) should not be treated as external.
MimeTypeUtil.getExtension(String)
- Fixed bug. Method will now return "svg" as extension for the "image/svg+xml" MIME.
UserIdentityWrapper.addContact(Node)
- Updated documentation. Method requires the MANAGE_USER_IDENTITIES permission.
UserIdentityWrapper.removeContact(Node)
- Updated documentation. Method requires the MANAGE_USER_IDENTITIES permission.
Released 2016-06-22
LocaleUtil.getLocaleByString(String)
- Introduced more strict behaviour, fixed illegal Locale bug. Method now only resolves supported Locale's (available via the getAvailableLocales method).
This change will also affect convenience methods getLocalizedLanguageNameByString(String, Locale) and getNativeLanguageNameByString(String).
Released 2016-05-10
Utils.getNodeFactoryUtil()BuddyIconRenderer.isRenderable(Node)
- Robustness fix. Now properly returns false instead of throwing an unexpected exception for corrupt nodes.
LinkRenderer.isRenderableTarget(Node)
- Robustness fix. Now properly returns false instead of throwing an unexpected exception for corrupt nodes.
LinkRenderer.isValidTarget(Node)
- Robustness fix. Now properly returns false instead of throwing an unexpected exception for corrupt nodes.
MetadataUtil.isMetadataValueInherited(Node,Property)
- Fixed inheritance bug. Now properly handles non-inherited metadata that doesn't use default inheritance.
MetadataUtil.isMetadataValueInherited(Node,Property,int)
- Fixed inheritance bug. Now properly handles non-inherited metadata that doesn't use default inheritance.
MetadataUtil.isMetadataValueInherited(Node,String)
- Fixed inheritance bug. Now properly handles non-inherited metadata that doesn't use default inheritance.
MetadataUtil.isMetadataValueInherited(Node,String,int)
- Fixed inheritance bug. Now properly handles non-inherited metadata that doesn't use default inheritance.
NodeResolverUtil.getCollaborationCalendarResolver()
- Fixed resolve of sv:collaborationGroupPage.
NodeResolverUtil.getCollaborationDateResolver()
- Fixed resolve of sv:collaborationGroupPage.
UserFieldRenderer.isRenderable(Node)
- Robustness fix. Now properly returns false instead of throwing an unexpected exception for corrupt nodes.
PropertyUtil).
Released 2016-03-22
FileUtil.getContentAsString(String)FileUtil.getContentAsString(String,String)LinkRenderer
- Fixed file icon bug. Now properly handles file icons for linked external resources with file extensions that has more than three chars (e.g. docx).
htmlHexValue property of a sv:color via Node.getProperty threw RepositoryException.
Released 2016-02-16
CollaborationGroupStateCollaborationGroupTypeMonitorMonitorBuilderNodeResolverUtilResolverSourceSetModeUserDataUtilCollaborationGroupTemplateUtil.getCollaborationGroupTemplateByName(String)CollaborationGroupTemplateUtil.getCollaborationGroupTemplates()CollaborationGroupUtil.createCollaborationGroup(Node,Node,String,CollaborationGroupType)CollaborationGroupWrapper.getFollowers()CollaborationGroupWrapper.getGroupState()CollaborationGroupWrapper.getGroupType()CollaborationGroupWrapper.isFollower(Node)CollaborationGroupWrapper.setGroupState(CollaborationGroupState)CollaborationGroupWrapper.setGroupType(CollaborationGroupType)ImageRenderer.clearSourceSetMode()ImageRenderer.forceSourceSetMode()ImageRenderer.resetSourceSetMode()ImageRenderer.setSourceSetMode(SourceSetMode)LocaleUtil.getAvailableLocales()LogUtil.isErrorEnabled()LogUtil.isInfoEnabled()LogUtil.isTraceEnabled()LogUtil.isWarnEnabled()LogUtil.trace(String)LogUtil.trace(String,Throwable)MimeTypeUtil.isCompressedType(String)MimeTypeUtil.isMSExcelType(String)MimeTypeUtil.isMSOfficeType(String)MimeTypeUtil.isMSPowerpointType(String)MimeTypeUtil.isMSWordType(String)MimeTypeUtil.isTextType(String)MimeTypeUtil.isVideoType(String)MimeTypeUtil.isXmlType(String)NodeComparatorUtil.getResolverComparator(Resolver<Node, ? extends Comparable>)NodeFilterUtil.getIdentifierFilter(String)NodeFilterUtil.getIdentifierPrefixFilter(String)NodeFilterUtil.getIdentifierSuffixFilter(String)PermissionUtil.Permission.CREATE_CLOSED_COLLABORATION_GROUPSearcherBuilder.setMonitor(Monitor)SearchFactory.getMonitorBuilder()TemplateUtil.getContentAreaNames(Node)TemplateUtil.getPageTemplateByName(String)TemplateUtil.getPageTemplates()TemplateUtil.getTemplates()TemplateUtil.isPageTemplate(Node)UserFactory.getUserDataUtil()UserIdentityWrapper.followGroup(Node)UserIdentityWrapper.getFollowedGroups()UserIdentityWrapper.isFollowing(Node)UserIdentityWrapper.unfollowGroup(Node)Utils.getNodeResolverUtil()BuddyIconRenderer.BuddyIconSize
- All enum values are now annotated with @Requireable.
DocType
- All enum values are now annotated with @Requireable.
IndexUtil.IndexType
- All enum values are now annotated with @Requireable.
PermissionUtil.Permission
- All enum values are now annotated with @Requireable.
PublishingUtil
- Added support for publish/unpublish of sv:link nodes.
ArticleUtil.PROPERTY_LOCALE
- Added support for String expressions that also includes the country of the Locale.
ArticleUtil.createArticle(Node,Node,String,Map<String,Object>,Map<String,String>)
- Fixed default Locale bug. Now properly uses the Locale of parent Node if no PROPERTY_LOCALE is specified.
LocaleUtil.getLanguageTag(Locale)
- Fixed variant bug. Now properly handles Locales with variants, e.g. "Nynorsk" (no_NO_NY).
LocaleUtil.getLocaleByString(String)
- Fixed language tag bug. Now properly resolves all well-formed language tags.
PageUtil.PROPERTY_LOCALE
- Added support for String expressions that also includes the country of the Locale.
PageUtil.createPage(Node,Node,String,Map<String,Object>,Map<String,String>)
- Fixed default Locale bug. Now properly uses the Locale of parent Node if no PROPERTY_LOCALE is specified.
ResourceLocatorUtil.getLocalFileRepository(Node)
- Fixed versioning problem for newly created pages. Now returns the local file repository even though page isn't published.
ResourceLocatorUtil.getLocalImageRepository(Node)
- Fixed versioning problem for newly created pages. Now returns the local image repository even though page isn't published.
Released 2015-11-30
LinkRenderer.addDataAttribute(String,String)
- Added support for data attribute names that are already properly prefixed (i.e. "data-") and support for data attributes without values.
Property for a metadata with broken/aborted inheritance threw ClassCastException if no new value was specified. Resolve now properly throws a RepositoryException.
Released 2015-10-06
Utils.getRedirectUtil()MetadataUtil.getLinkMetadataPropertyValue(Node,String)
- Fixed bug introduced in 4.0.2 that could cause resolve problems in online mode for certain nodes (typically sv:image and sv:file).
MetadataUtil.getRelatedMetadataPropertyValues(Node,String)
- Fixed bug introduced in 4.0.2 that could cause the returned list to contain invalid Nodes.
sv:link Node. A link can now be resolved regardless the permissions of its target.
Released 2015-09-10
ExtendedDismaxParserBuilder.addAdditiveBoostFunction(String)ExtendedDismaxParserBuilder.addMultiplicativeBoostFunction(String)ExtendedDismaxParserBuilder.addPhraseField(String)ExtendedDismaxParserBuilder.clearAdditiveBoostFunctions()ExtendedDismaxParserBuilder.clearMultiplicativeBoostFunctions()ExtendedDismaxParserBuilder.clearPhraseFields()ExtendedDismaxParserBuilder.setBoostQuery(String)ExtendedDismaxParserBuilder.setMinimumShouldMatch(String)ExtendedDismaxParserBuilder.setTieBreaker(double)ExtendedDismaxParserBuilder.setUserFields(String)NodeIteratorUtil.getNodeIteratorByIdentifier(String)NodeIteratorUtil.getMenuItemsByIdentifier(String)NodeIteratorUtil.getMenuItemsIncludingFoldersByIdentifier(String)StandardParserBuilder.setQueryOperator(String)ResourceLocatorUtil.getNodeByIdentifier(String)
- Fixed permission bug. Current user must now have READ permission on requested node (and the node must not be completely removed).
Session.getNodeByIdentifier(String)
- Fixed permission bug. Current user must now have READ permission on requested node (and the node must not be completely removed).
Released 2015-06-25
UserFactory.getSimpleUserUtil()UserFactory.getUserUtil()CollaborationGroupWrapper.addMember(Node)
- No longer accepts "disabled/inactivated" user identities.
CollaborationGroupWrapper.getAdmins()
- Admins no longer contains "disabled/inactivated" user identities.
CollaborationGroupWrapper.getMembers()
- Members no longer contains "disabled/inactivated" user identities.
CollaborationGroupWrapper.isAdmin(Node)
- Will now always return false for "disabled/inactivated" user identities.
CollaborationGroupWrapper.isMember(Node)
- Will now always return false for "disabled/inactivated" user identities.
ResourceLocatorUtil.getNodeByUrl(String)
- Added support for URL expressions that uses javascript to open the target in a new window.
UserFactory.getUserIdentityWrapper(Node)
- Will now return null for "disabled/inactivated" user identities.
UserIdentityUtil.getUserIdentity(Node)
- Will now return null for "disabled/inactivated" user identities.
UserIdentityWrapper.addContact(Node)
- No longer accepts "disabled/inactivated" user identities.
UserIdentityWrapper.isContact(Node)
- Will now always return false for "disabled/inactivated" user identities.
sv:nodeIndex on server can now be accessed only from sites included in the index.
Released 2015-05-25
Java Note! Sitevision 4 is executed by a Java 8 JVM. The API is slowly starting to adopt new features in Java 8 - initially an annotation, but adoption will steadily increase. Custom portlets should therefore be compiled with a JSE 8 JDK/SDK.
JSR-286 Note! Sitevision 4 implements support for the ResourceServingPortlet interface of the Portlet 2.0 specification.
This effectively means you can implement custom portlets that handles and returns data of different kind, typically JSON.
Support of course includes ResourceRequest, ResourceResponse and the serveResource
method (typically used via GenericPortlet) but also the JSTL <portlet:resourceURL /> tag available via the taglib uri
"http://java.sun.com/portlet_2_0".
Ensure to update dependencies (i.e. portlet.jar) for all custom portlets to be able to use the serve resource features. Also ensure to update the taglib uri for all JSP-based custom portlets that uses JSTL.
AuthenticationFilter.TRUSTEDGenericSiteVisionPortlet.getWriter(ResourceResponse)ListWrapper.sort(Comparator)MimeTypeUtil.isImageType(String)NodeTreeUtil.getNode(Node,String)NodeTreeUtil.getParent(Node)PropertyUtil.getEnabledString(Node,String,String)PropertyUtil.getEnabledString(Node,String,String,String)PropertyUtil.getEnabledStringEscaped(Node,String,String)PropertyUtil.getEnabledStringEscaped(Node,String,String,String)SpellCheckBuilder.setCustomSpellCheckQuery(String)UserIdentityWrapper.getProfileImage()ArraysInstance
- Now contains Arrays methods introduced in Java 8.
CollectionsInstance
- Now contains Collections methods introduced in Java 7 and 8.
Filter
- Now annotated with @FunctionalInterface.
ImageRenderer
- Now supports all image types (as specified by MimeTypeUtil.isImageType(String)).
MathInstance
- Now contains Math methods introduced in Java 8.
PropertyUtil
- Improved performance (less CPU cycles, less memory footprint) for access of common properties.
Average execution time for getting properties is improved by approximately 5%.
ArchiveUtil.createArchive(Node,String)
- Added support for sv:collaborationGroupPage parent.
FolderUtil.createFolder(Node,String)
- Added support for sv:collaborationGroupPage parent.
LinkRenderer.render()
- The title attribute will no longer be rendered for null or whitespace only value.
PageUtil.createPage(Node,Node,String)
- Added support for sv:collaborationGroupPage parent.
PageUtil.createPage(Node,Node,String,Map<String,Object>,Map<String,Object>)
- Added support for sv:collaborationGroupPage parent.
SearchHit.getNode()
- Fixed null bug. Now properly resolves sv:userIdentity nodes.
Released 2015-03-20
ImageRenderer
- Now supports images with the jpeg extension.
NodeTreeUtil.findPortletByName(Node,String)
- Added support for finding portlet on sv:template nodes.
NodeTreeUtil.findPortletsByName(Node,String)
- Added support for finding portlets on sv:template nodes.
NodeTreeUtil.findPortletsByName(Node,String,Filter<Node>)
- Added support for finding portlets on sv:template nodes using a filter.
NodeTreeUtil.findPortletsByType(Node,String)
- Added support for finding portlets on sv:template nodes.
NodeTreeUtil.findPortletsByType(Node,String,Filter<Node>)
- Added support for finding portlets on sv:template nodes using a filter.
PortletUtil.getPortletPreferences(Node,Node,int)
- Added support for users of primary node type sv:simpleUser.
Released 2014-12-05
ResourceLocatorUtil.getNodeByIdentifier(String)ResourceLocatorUtil.getNodeByPath(String)sv:personalFileRepository" and
"sv:personalImageRepository".
Released 2014-09-15
CollaborationGroupFolderUtilCollaborationGroupTemplateUtilCollaborationGroupUtilIndexingUtilVelocityAccess.IndexingUtilConstantsCollaborationFactory.getCollaborationGroupFolderUtil()CollaborationFactory.getCollaborationGroupTemplateUtil()CollaborationFactory.getCollaborationGroupUtil()CollaborationGroupWrapper.renameGroup(String)NodeTypeUtil.INDEX_REPOSITORY_TYPEPermissionUtil.Permission.MODIFY_SEARCH_PRIORITYResourceLocatorUtil.getListStyleRepository()ResourceLocatorUtil.getLocalFileRepository(Node)ResourceLocatorUtil.getLocalImageRepository(Node)ResourceLocatorUtil.getPageCommentRepository()ResourceLocatorUtil.getPageCommentRepository(Node)ResourceLocatorUtil.getPersonalFileRepository(Node)ResourceLocatorUtil.getPersonalImageRepository(Node)Searcher.search(String,String,int)Searcher.search(String,String,int,int)SearchFactory.getIndexingUtil()SearchResult.getDisplayQuery()FileUtil.createFile(Node,String,String)
- Added support for creating collaboration group files.
FileUtil.createFiles(Node,Map<String,String>)
- Added support for creating collaboration group files.
FileUtil.updateBinaryContent(Node,String)
- Added support for updating the binary content of collaboration group files.
Item.getName()
- Fixed null bug. Could previously return null for a sv:simpleUser authenticated via a custom JAAS login module.
PermissionUtil.hasDeletePermission(Node,Node)
- Fixed permission bug. Now returns proper result for collaboration group files.
PortletRequest.USER_INFO
- User data can now be properly extracted for users of type sv:simpleUser and the user.login.dn
attribute for users of type sv:user now contains a proper value.
PublishingUtil.publishNode(Node)
- Added support for publishing collaboration group pages.
PublishingUtil.publishNode(Node,Date)
- Added support for publishing collaboration group pages.
PublishingUtil.publishNode(Node,Date,Date)
- Added support for publishing collaboration group pages.
PublishingUtil.publishNodeWithNotification(Node,Date)
- Added support for publishing collaboration group pages.
PublishingUtil.publishNodeWithNotification(Node,Date,Date)
- Added support for publishing collaboration group pages.
PublishingUtil.publishNodeWithNotification(Node,Date,Date,Date)
- Added support for publishing collaboration group pages.
PublishingUtil.unpublishNode(Node)
- Added support for unpublishing collaboration group pages.
PublishingUtil.unpublishNode(Node,Date)
- Added support for unpublishing collaboration group pages.
TrashcanUtil.moveNodeToTrashcan(Node)
- Fixed permission bug. Collaboration group files can now be deleted.
TrashcanUtil.restoreNode(Node)
- Fixed permission bug. Deleted collaboration group files can now be restored.
Released 2014-05-22
FileUtil.updateBinaryContent(Node,String)ImageUtil.updateBinaryContent(Node,String)MailBuilder.addBlindCopyRecipient(String)MailBuilder.addCopyRecipient(String)MailBuilder.clearAllRecipients()MailBuilder.clearBlindCopyRecipients()MailBuilder.clearCopyRecipients()NodeComparatorUtil.getCalendarPropertyComparator(String)NodeComparatorUtil.getCompoundNodeComparatorBuilder()NodeComparatorUtil.getIntPropertyComparator(String)NodeComparatorUtil.getReversedComparator(Comparator<Node>)NodeFilterUtil.split(Collection<Node>,Filter<Node>)NodeIteratorUtil.split(NodeIterator,Filter<Node>)SubscriptionUtil.notifySubscribersOf(Node,String)NodeTypeUtil
- Added lots of primary node type name constants/fields.
VelocityAccess.NodeTypeUtilConstants
- Added corresponding get methods for constants/fields introduced in NodeTypeUtil.
LinkRenderer.render()
- Fixed anchor bug introduced in 3.0.2. Now properly renders the anchor for a sv:link Node that targets an anchor on a sv:page/sv:article/sv:sitePage.
Also fixed icon-related bug when rendering external links that opens in new window.
NodeIterator.nextNode()
- Fixed empty iterator bug. The nextNode method returned null when there were no more Nodes, now it properly throws an NoSuchElementException as the NodeIterator interface states.
NodeIterator.next()
- Fixed empty iterator bug. The next method returned null when there were no more Nodes, now it properly throws an NoSuchElementException as the Iterator interface states.
OutputUtil.getNodeInfoAsHTML(Node)
- Added 'no index' markers to the result. This is a debug method for development only (i.e. output should never be indexed).
OutputUtil.getNodeInfoAsHTML(Node,int)
- Added 'no index' markers to the result. This is a debug method for development only (i.e. output should never be indexed).
OutputUtil.getNodeOutput(Node,Node,int)
- Fixed context bug. Rendering a sv:referenceLayout for each sv:article via script in the Blog/News/Channel portlet failed.
UserIdentityWrapper.getCollaborationGroups()
- Fixed visibility bug. The result will no longer contain groups that are trashed.
WebContentUtil.resolveToResourceURL(Node,String)
- Fixed resource reference bug. Now properly resolves sv:image and sv:file by its Node.identifier and URL/URI properties.
WebContentUtil.updateContent(Node,String)
- Fixed image reference bug. Now properly recognizes an image by its Node.identifier and URL/URI properties when resolving the src attribute of an img element.
WebContentUtil.updateContent(Node,Map<String,String>)
- Fixed image reference bug. Now properly recognizes an image by its Node.identifier and URL/URI properties when resolving the src attribute of an img element.
Released 2014-03-13
CompoundAndFilterBuilderCompoundOrFilterBuilderFilterNodeFilterUtilVelocityAccessVelocityAccess.ArticleUtilConstantsVelocityAccess.ExceptionSuppressingProxyConstantsVelocityAccess.MathInstanceConstantsVelocityAccess.MimeTypeUtilConstantsVelocityAccess.NodeTypeUtilConstantsVelocityAccess.OutputUtilConstantsVelocityAccess.PageUtilConstantsVelocityAccess.PortletContextUtilConstantsVelocityAccess.PortletUtilConstantsVelocityAccess.SearchHitConstantsVelocityAccess.SearchResultConstantsVelocityAccess.VersionUtilConstantsNodeIteratorUtil.findAll(NodeIterator,Filter<Node>)NodeIteratorUtil.findFirst(NodeIterator,Filter<Node>)NodeIteratorUtil.findNodes(NodeIterator,Filter<Node>,int)NodeIteratorUtil.toList(NodeIterator)NodeTreeUtil.findPortletsByName(Node,String,Filter<Node>)NodeTreeUtil.findPortletsByType(Node,String)NodeTreeUtil.findPortletsByType(Node,String,Filter<Node>)NodeTypeUtil.RSS_FEED_TYPENodeTypeUtil.RSS_FEED_ITEM_TYPENodeTypeUtil.RSS_FEED_REPOSITORY_TYPENodeTypeUtil.isRssFeed(Node)NodeTypeUtil.isRssFeedItem(Node)NodeTypeUtil.isRssFeedRepository(Node)ResourceLocatorUtil.getRssFeedRepository()ScriptUtil.isBlank(String)ScriptUtil.isEmpty(String)Utils.getNodeFilterUtil()ArticleUtil
- Now extends VelocityAccess.ArticleUtilConstants.
ExceptionSuppressingProxy
- Now extends VelocityAccess.ExceptionSuppressingProxyConstants.
MathInstance
- Now extends VelocityAccess.MathInstanceConstants.
MimeTypeUtil
- Now extends VelocityAccess.MimeTypeUtilConstants.
NodeTypeUtil
- Now extends VelocityAccess.NodeTypeUtilConstants.
OutputUtil
- Now extends VelocityAccess.OutputUtilConstants.
PageUtil
- Now extends VelocityAccess.PageUtilConstants.
PortletContextUtil
- Now extends VelocityAccess.PortletContextUtilConstants.
PortletUtil
- Now extends VelocityAccess.PortletUtilConstants.
SearchHit
- Now extends VelocityAccess.SearchHitConstants.
SearchResult
- Now extends VelocityAccess.SearchResultConstants.
VersionUtil
- Now extends VelocityAccess.VersionUtilConstants.
Released 2013-12-20
BuilderCollaborationFactoryCollaborationGroupWrapperExtendedDismaxParserBuilderFilterFilterBuilderHighlightHighlightBuilderIndexUtilIndexUtil.IndexTypeLinkValueLinkValueBuilderLocaleUtilMailMailBuilderMailUtilNodeComparatorUtilParserPermissionUtil.PermissionQueryStringUtilRelatedValueRelatedValueBuilderSearcherSearcherBuilderSearchFactorySortSortBuilderSpellCheckSpellCheckBuilderStandardParserBuilderSystemUserUtilUserFactoryUserIdentityUtilUserIdentityWrapperWrapperMetadataUtil.getLinkValueBuilder()MetadataUtil.getRelatedValueBuilder()NodeTypeUtil.APPLICATION_INDEX_TYPENodeTypeUtil.NODE_INDEX_TYPENodeTypeUtil.isApplicationIndex(Node)NodeTypeUtil.isNodeIndex(Node)PermissionUtil.hasPermission(PermissionUtil.Permission)PermissionUtil.hasPermission(Node,PermissionUtil.Permission)PermissionUtil.hasPermission(Node,Node,PermissionUtil.Permission)PermissionUtil.hasPermissions(PermissionUtil.Permission...)PermissionUtil.hasPermissions(Node,PermissionUtil.Permission...)PermissionUtil.hasPermissions(Node,Node,PermissionUtil.Permission...)ResourceLocatorUtil.getIndexRepository()ScriptUtil.flatten(String)ScriptUtil.getNonBlank(String)ScriptUtil.getNonBlank(String,Object)SearchHit.getFieldEscaped(String)SearchHit.getFieldEscaped(String,boolean)SearchHit.getFieldEscaped(String,String)SearchHit.getFieldEscaped(String,boolean,String)SearchHit.getFieldsEscaped(String)UserFieldRenderer.getPlainUserFieldValueAsHtml(String)UserFieldRenderer.renderPlain(String)Utils.getCollaborationFactory()Utils.getLocaleUtil()Utils.getMailUtil()Utils.getNodeComparatorUtil()Utils.getSearchFactory()Utils.getUserFactory()WebContentUtil.appendContentWithRawHtml(Node,Map)WebContentUtil.appendContentWithRawHtml(Node,String)WebContentUtil.resolveToResourceURL(Node,String)WebContentUtil.updateContentWithRawHtml(Node,Map)DirectoryUtil
- Fixed class loading problem when used from external portlet (ClassCastException).
ListWrapper
- Now extends Wrapper.
SearchUtil
- Fixed class loading problem that can occur when used from external portlet (ClassNotFoundException).
ArticleUtil.renameArticle(Node,String)
- Fixed versioning bug. Now always executes in the OFFLINE version.
MetadataUtil.setMetadataPropertyValue(Node,Property,Object)
- Added support for setting related metadata and support for setting link metadata via a LinkValue.
MetadataUtil.setMetadataPropertyValue(Node,String,Object)
- Added support for setting related metadata and support for setting link metadata via a LinkValue.
PageUtil.renamePage(Node,String)
- Fixed versioning bug. Now always executes in the OFFLINE version.
PermissionUtil.hasCreateArchivePermission(Node,Node)
- Added support for using a sv:userIdentity Node when checking permission.
PermissionUtil.hasCreateArticlePermission(Node,Node)
- Added support for using a sv:userIdentity Node when checking permission.
PermissionUtil.hasCreateFolderPermission(Node,Node)
- Added support for using a sv:userIdentity Node when checking permission.
PermissionUtil.hasCreatePagePermission(Node,Node)
- Added support for using a sv:userIdentity Node when checking permission.
PermissionUtil.hasDeletePermission(Node,Node)
- Added support for using a sv:userIdentity Node when checking permission.
PermissionUtil.hasPublishPermission(Node,Node)
- Added support for using a sv:userIdentity Node when checking permission.
PermissionUtil.hasReadPermission(Node,Node)
- Added support for using a sv:userIdentity Node when checking permission.
PermissionUtil.hasWritePermission(Node,Node)
- Added support for using a sv:userIdentity Node when checking permission.
PermissionUtil.hasWriteSubscriptionPermission(Node,Node)
- Added support for using a sv:userIdentity Node when checking permission.
RangeIterator.getSize()
- Now returns -1 instead of throwing UnsupportedOperationException.
WebContentUtil.updateContent(Node,Map)
- Now creates Text portlets that uses the "new/semantic" format.
WebContentUtil.updateContent(Node,String)
- Now creates Text portlets that uses the "new/semantic" format.
SearchFieldUtilUserUtilUtils.getSearchFieldUtil()Utils.getUserUtil()Released 2013-09-16
ArticleUtil.PROPERTY_LAST_PUBLISH_DATEArticleUtil.PROPERTY_LAST_PUBLISHED_BYArticleUtil.PROPERTY_PUBLISH_DATEArticleUtil.PROPERTY_PUBLISHED_BYPageUtil.PROPERTY_LAST_PUBLISH_DATEPageUtil.PROPERTY_LAST_PUBLISHED_BYPageUtil.PROPERTY_PUBLISH_DATEPageUtil.PROPERTY_PUBLISHED_BYUtils.getBuddyIconRenderer()Utils.getUserFieldRenderer()LinkRenderer.isRenderableTarget(Node)
- Added support for nodes of primary node type sv:collaborationGroup.
LinkRenderer.isValidTarget(Node)
- Added support for nodes of primary node type sv:collaborationGroup.
LinkRenderer.setTarget(Node)
- Added support for nodes of primary node type sv:collaborationGroup.
LinkRenderer.update(Node)
- Added support for nodes of primary node type sv:collaborationGroup.
LinkRenderer.update(Node,String)
- Added support for nodes of primary node type sv:collaborationGroup.
LinkRenderer.update(Node,String,String)
- Added support for nodes of primary node type sv:collaborationGroup.
LinkRenderer.update(Node,String,String,String)
- Added support for nodes of primary node type sv:collaborationGroup.
LinkRenderer.updateClean(Node)
- Added support for nodes of primary node type sv:collaborationGroup.
LinkRenderer.updateClean(Node,String)
- Added support for nodes of primary node type sv:collaborationGroup.
LinkRenderer.updateClean(Node,String,String)
- Added support for nodes of primary node type sv:collaborationGroup.
LinkRenderer.updateClean(Node,String,String,String)
- Added support for nodes of primary node type sv:collaborationGroup.
OutputUtil.getNodeInfoAsHTML(Node)
- Added Node path.
OutputUtil.getNodeInfoAsHTML(Node,int)
- Added Node path.
Released 2013-07-09
UserUtil.getUserIdentity(Node)Utils.getLandingPageUtil()LinkRenderer.isRenderableTarget(Node)
- Added support for nodes of primary node type sv:userIdentity.
LinkRenderer.isValidTarget(Node)
- Added support for nodes of primary node type sv:userIdentity.
LinkRenderer.render()
- Changed rendering output for nodes of primary node type sv:userIdentity and sv:user.
The output will be a link to the profile page of the identity if possible. A mailto link will be rendered if no identity or profile landing page exists.
LinkRenderer.setTarget(Node)
- Added support for nodes of primary node type sv:userIdentity.
LinkRenderer.update(Node)
- Added support for nodes of primary node type sv:userIdentity.
LinkRenderer.update(Node,String)
- Added support for nodes of primary node type sv:userIdentity.
LinkRenderer.update(Node,String,String)
- Added support for nodes of primary node type sv:userIdentity.
LinkRenderer.update(Node,String,String,String)
- Added support for nodes of primary node type sv:userIdentity.
LinkRenderer.updateClean(Node)
- Added support for nodes of primary node type sv:userIdentity.
LinkRenderer.updateClean(Node,String)
- Added support for nodes of primary node type sv:userIdentity.
LinkRenderer.updateClean(Node,String,String)
- Added support for nodes of primary node type sv:userIdentity.
LinkRenderer.updateClean(Node,String,String,String)
- Added support for nodes of primary node type sv:userIdentity.
OutputUtil.getNodeInfoAsHTML(Node)
- XML escape output + show all values for multi-valued properties (not just the first one).
OutputUtil.getNodeInfoAsHTML(Node,int)
- XML escape output + show all values for multi-valued properties (not just the first one).
Released 2013-06-13
JCR (JSR-283) implementation has been updated from the draft specification to the final specification!
javax.jcr.query.PreparedQueryjavax.jcr.query.SearchNotSupportedExceptionjavax.jcr.security.AccessControlEntryNotFoundExceptionjavax.jcr.security.PolicyNotFoundExceptionjavax.jcr.security.PrincipalIteratorjavax.jcr.security.PrincipalManagerjavax.jcr.security.PrincipalNotFoundExceptionjavax.jcr.GuestCredentialsjavax.jcr.RepositoryFactoryjavax.jcr.lock.LockManagerjavax.jcr.query.qom.Literaljavax.jcr.retention.RetentionManagerjavax.jcr.retention.RetentionPolicyjavax.jcr.security.AccessControlExceptionjavax.jcr.security.AccessControlListjavax.jcr.security.NamedAccessControlPolicyjavax.jcr.version.ActivityViolationExceptionjavax.jcr.version.VersionManagerPortlet implementation has been updated from version 1.0 (JSR-168) to version 2.0 (JSR-286)!
The JSR-286 specification is backwards compatible with the JSR-168 specification.
Important Note! Sitevision is updated to use JSR-286 on a "binary/dependency" level only! Methods introduced in the portlet 2.0 specification are only partially implemented! Initial purpose is to support usage of portlet frameworks/bridges (e.g. Spring) that depends on JSR-286, but only really uses the features of the portlet 1.0 specification. A complete implementation of all methods introduced in the portlet 2.0 specification will be released in a later Sitevision version.
Ensure to update dependencies for all custom portlets and jaas filters/modules to the 3.5 versions of the public api and the portlet jar! All custom portlets and jaas filters/modules that are using non-supported JCR interfaces/classes/methods should be re-compiled as a precaution.
InstanceCreatorUtil.getListWrapper()NodeTypeUtil.COLLABORATION_GROUP_TYPENodeTypeUtil.COLLABORATION_GROUP_FOLDER_TYPENodeTypeUtil.COLLABORATION_GROUP_PAGE_TYPENodeTypeUtil.COLLABORATION_GROUP_TEMPLATE_TYPENodeTypeUtil.USER_IDENTITY_TYPENodeTypeUtil.isCollaborationGroup(Node)NodeTypeUtil.isCollaborationGroupFolder(Node)NodeTypeUtil.isCollaborationGroupPage(Node)NodeTypeUtil.isCollaborationGroupTemplate(Node)NodeTypeUtil.isUserIdentity(Node)PortletContextUtil.getCurrentUserIdentity()PropertyUtil.getBinary(Node,String)PropertyUtil.getBinary(Node,String,Binary)PropertyUtil.getNestedBinary(Node,String,String)PropertyUtil.getNestedBinary(Node,String,String,Binary)PropertyUtil.getNestedStringEscaped(Node,String,String)PropertyUtil.getNestedStringEscaped(Node,String,String,String)PropertyUtil.getNestedStringsEscaped(Node,String,String)PropertyUtil.getNestedStringsEscaped(Node,String,String,List<String>)PropertyUtil.getStringEscaped(Node,String)PropertyUtil.getStringEscaped(Node,String,String)PropertyUtil.getStringsEscaped(Node,String)PropertyUtil.getStringsEscaped(Node,String,List<String>)SearchHit.fieldContains(String,String)SearchHit.fieldEquals(String,String)SearchHit.fieldEqualsIgnoreCase(String,String)SearchHit.fieldMatches(String,String)SearchHit.getField(String,String)SearchHit.getField(String,boolean,String)SearchHit.getFieldNames()Utils.getDateUtil()VersionedPropertyUtil.getBinary(String,String)VersionedPropertyUtil.getBinary(String,String,Binary)VersionedPropertyUtil.getDouble(String,String)VersionedPropertyUtil.getDouble(String,String,double)NodeIteratorUtil.getMenuItems(Node)
- Added support for nodes of primary node type sv:collaborationGroupPage and sv:collaborationGroupTemplate.
NodeIteratorUtil.getMenuItemsIncludingFolders(Node)
- Added support for nodes of primary node type sv:collaborationGroupPage and sv:collaborationGroupTemplate.
LinkRenderer.isRenderableTarget(Node)
- Added support for nodes of primary node type sv:collaborationGroupPage and sv:collaborationGroupTemplate.
LinkRenderer.isValidTarget(Node)
- Added support for nodes of primary node type sv:collaborationGroupPage and sv:collaborationGroupTemplate.
LinkRenderer.setTarget(Node)
- Added support for nodes of primary node type sv:collaborationGroupPage and sv:collaborationGroupTemplate.
LinkRenderer.update(Node)
- Added support for nodes of primary node type sv:collaborationGroupPage and sv:collaborationGroupTemplate.
LinkRenderer.update(Node,String)
- Added support for nodes of primary node type sv:collaborationGroupPage and sv:collaborationGroupTemplate.
LinkRenderer.update(Node,String,String)
- Added support for nodes of primary node type sv:collaborationGroupPage and sv:collaborationGroupTemplate.
LinkRenderer.update(Node,String,String,String)
- Added support for nodes of primary node type sv:collaborationGroupPage and sv:collaborationGroupTemplate.
LinkRenderer.updateClean(Node)
- Added support for nodes of primary node type sv:collaborationGroupPage and sv:collaborationGroupTemplate.
LinkRenderer.updateClean(Node,String)
- Added support for nodes of primary node type sv:collaborationGroupPage and sv:collaborationGroupTemplate.
LinkRenderer.updateClean(Node,String,String)
- Added support for nodes of primary node type sv:collaborationGroupPage and sv:collaborationGroupTemplate.
LinkRenderer.updateClean(Node,String,String,String)
- Added support for nodes of primary node type sv:collaborationGroupPage and sv:collaborationGroupTemplate.
Property.getBinary()
- Added Binary support for nodes of primary node type sv:file and sv:image.
Value.getBinary()
- Added Binary support for nodes of primary node type sv:file and sv:image.
ScriptUtil.getCalendarAsString(String,Calendar)ScriptUtil.getDateAsString(String,Date)ScriptUtil.getFormatPattern(Locale)Released 2013-07-09
ArchiveUtil.createArchive(Node,String)
- Fixed bug that could cause corrupt metadata definitions on the archive that was created.
Released 2012-11-19
MetadataUtil.getLinkMetadataPropertyValue(Node,String)OutputUtil.getHyperlinkedText(String)SearchResult.getCustomSorts()Utils.getInstanceCreatorUtil()OutputUtil.getEscapedHtmlText(String,Node)
- Added support for character fonts (element span, code, sub or sup).
OutputUtil.getEscapedHtmlText(String,Node,String)
- Added support for of character fonts (element span, code, sub or sup).
OutputUtil.getHtmlText(String,Node)
- Added support for character fonts (element span, code, sub or sup).
OutputUtil.getHtmlText(String,Node,String)
- Added support for character fonts (element span, code, sub or sup).
ScriptUtil.getInstance(String)Released 2012-10-15
SearchHit.getBooleanFields(String)SearchHit.getDateFields(String)SearchHit.getFields(String)SearchHit.getFieldsTruncated(String,int)SearchHit.getFieldsTruncated(String,int,boolean)SearchHit.getFloatFields(String)SearchHit.getHighlightedFields(String,int)SearchHit.getLongFields(String)Released 2012-09-05
EndecUtil.escapeIdentifier(String,String)EndecUtil.unEscapeIdentifier(String,String)LinkRenderer.clearUseCrossSiteTargetChecking()LinkRenderer.forceUseCrossSiteTargetChecking()LinkRenderer.setUseCrossSiteTargetChecking(boolean)OutputUtil.renderWebPathNodes(Node)SearchResult.iterator()NodeTreeUtil.getWebPathNodes(Node)
- Added support for files in the global file repository and images in the global image repository.
Released 2012-04-23
Important legacy note! As of Sitevision 3 the jaas packages and all their content has been moved!
Previously implemented custom JAAS filters/modules using any of these packages must be re-compiled in order to run in Sitevision 3.
These jaas packages contains classes and/or interfaces:
senselogic.sitevision.security.jaas.callback.api has been moved tosenselogic.sitevision.api.security.jaas.callback
senselogic.sitevision.security.jaas.credential.api has been moved tosenselogic.sitevision.api.security.jaas.credential
senselogic.sitevision.security.jaas.filter.api has been moved tosenselogic.sitevision.api.security.jaas.filter
DeviceUtilDocTypeDocTypeUtilGenericConfigPortletGenericSiteVisionPortletMimeTypeUtilSearchSuggestionSearchFacetFieldSearchFacetValueUserUtilVelocityContextVelocityEvaluatorVelocityExceptionVelocityRendererVersionedPropertyUtilFileIconRenderer.clearFontClass()FileIconRenderer.setFontClass(String)LinkRenderer.isRenderableTarget(Node)LinkRenderer.clearUseParameterEncoding()LinkRenderer.forceUseParameterEncoding()LinkRenderer.setUseParameterEncoding(boolean)LinkRenderer.addDataAttribute(String,String)LinkRenderer.clearDataAttributes()LinkRenderer.clearId()LinkRenderer.setId(String)LogUtil.isDebugEnabled()OutputUtil.getNodeInfoAsHTML(Node)OutputUtil.getNodeInfoAsHTML(Node,int)PrincipalUtil.getVirtualGroupByName(String)PrincipalUtil.getVirtualGroupsByName(List)PropertyUtil.getEnabledNode(Node,String,String)PropertyUtil.getEnabledNode(Node,String,String,Node)PropertyUtil.getNestedStrings(Node,String,String,List<String>)PropertyUtil.getStrings(Node,String,List<String>)ScriptUtil.messageFormat(String,List)ScriptUtil.swallow(Object)SearchHit.getBooleanField(String)SearchHit.getClickTrackingCallback()SearchHit.getDateField(String)SearchHit.getFloatField(String)SearchHit.getHighlightedField(String,int)SearchHit.getLongField(String)SearchResult.getEffectiveCount(int)SearchUtil.search(String,String,List<SearchSortField>int,int)Utils.getDeviceUtil()Utils.getDocTypeUtil()Utils.getMimeTypeUtil()Utils.getUserUtil()Utils.getVelocityRenderer()Utils.getVersionedPropertyUtil()SearchHighlighterSearchResult.getDateFormatter(Locale)SearchResult.getSearchHighlighter()Released 2012-01-09
AuthenticationUtil.login(HttpServletRequest,String,String)AuthenticationUtil.login(PortletRequest,String,String)AuthenticationUtil.login(HttpServletRequest,Map<String,String>)AuthenticationUtil.reLogin(HttpServletRequest)AuthenticationUtil.reLogin(PortletRequest)PermissionUtil.hasAnonymousReadPermission()PermissionUtil.hasAnonymousReadPermission(Node)PermissionUtil.hasWriteSubscriptionPermission(Node,Node)PublishingUtil.publishNodeWithNotification(Node,Date)PublishingUtil.publishNodeWithNotification(Node,Date,Date)PublishingUtil.publishNodeWithNotification(Node,Date,Date,Date)SubscriptionUtil.activateSubscription(Node,boolean,String,String)SubscriptionUtil.configureSubscriptionEmail(Node,String,String,String,String)SubscriptionUtil.deactivateSubscription(Node)Released 2011-03-03
ImageRenderer.clearUseAutoTitle()ImageRenderer.clearUseTitleRendering()ImageRenderer.forceUseAutoTitle()ImageRenderer.forceUseTitleRendering()ImageRenderer.setUseAutoTitle(boolean)ImageRenderer.setUseTitleRendering(boolean)Utils.getImageLinkRenderer()Utils.getMetadataDefinitionUtil()MetadataUtil.getRelatedMetadataPropertyValues(Node,String)Released 2010-09-30
ArchiveUtilArticleUtilFileUtilFolderUtilImageUtilInstanceTypeUtilNodeTypeUtilPageUtilSearchFieldUtilStructureUtilTrashcanUtilVirtualGroupCredentialWebContentUtilEndecUtil.unEscapeHTML4(String)LinkRenderer.isValidTarget(Node)ResourceLocatorUtil.getTemplateRepository()ScriptUtil.getNonNull(Object)ScriptUtil.getNonNull(Object,Object)Utils.getArchiveUtil()Utils.getArticleUtil()Utils.getFileUtil()Utils.getFolderUtil()Utils.getImageUtil()Utils.getInstanceTypeUtil()Utils.getNodeTypeUtil()Utils.getPageUtil()Utils.getSearchFieldUtil()Utils.getStructureUtil()Utils.getTrashcanUtil()Utils.getWebContentUtil()Sitevision - Content Management Made Easy
Sitevision is an advanced Java enterprise portal product that implements Java Content Repository (JSR 283).
Copyright© 2008-2026 Sitevision AB, all rights reserved.