@sitevision/api 1.0.19 → 1.1.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/common/router/index.d.ts +1 -1
  2. package/hidden/javax/jcr/Binary/index.d.ts +86 -0
  3. package/hidden/javax/jcr/Credentials/index.d.ts +11 -0
  4. package/hidden/javax/jcr/ImportUUIDBehavior/index.d.ts +11 -0
  5. package/hidden/javax/jcr/Item/index.d.ts +353 -0
  6. package/hidden/javax/jcr/ItemVisitor/index.d.ts +41 -0
  7. package/hidden/javax/jcr/NamespaceRegistry/index.d.ts +100 -0
  8. package/hidden/javax/jcr/Node/index.d.ts +2808 -0
  9. package/hidden/javax/jcr/NodeIterator/index.d.ts +18 -0
  10. package/hidden/javax/jcr/Property/index.d.ts +801 -0
  11. package/hidden/javax/jcr/PropertyIterator/index.d.ts +17 -0
  12. package/hidden/javax/jcr/RangeIterator/index.d.ts +75 -0
  13. package/hidden/javax/jcr/Repository/index.d.ts +318 -0
  14. package/hidden/javax/jcr/RepositoryFactory/index.d.ts +90 -0
  15. package/hidden/javax/jcr/Value/index.d.ts +190 -0
  16. package/hidden/javax/jcr/ValueFactory/index.d.ts +179 -0
  17. package/hidden/javax/jcr/Workspace/index.d.ts +1061 -0
  18. package/hidden/javax/jcr/lock/Lock/index.d.ts +142 -0
  19. package/hidden/javax/jcr/lock/LockManager/index.d.ts +217 -0
  20. package/hidden/javax/jcr/nodetype/ItemDefinition/index.d.ts +219 -0
  21. package/hidden/javax/jcr/nodetype/NodeDefinition/index.d.ts +158 -0
  22. package/hidden/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +74 -0
  23. package/hidden/javax/jcr/nodetype/NodeType/index.d.ts +349 -0
  24. package/hidden/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +248 -0
  25. package/hidden/javax/jcr/nodetype/NodeTypeIterator/index.d.ts +16 -0
  26. package/hidden/javax/jcr/nodetype/NodeTypeManager/index.d.ts +218 -0
  27. package/hidden/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +98 -0
  28. package/hidden/javax/jcr/nodetype/PropertyDefinition/index.d.ts +536 -0
  29. package/hidden/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +97 -0
  30. package/hidden/javax/jcr/observation/Event/index.d.ts +133 -0
  31. package/hidden/javax/jcr/observation/EventIterator/index.d.ts +20 -0
  32. package/hidden/javax/jcr/observation/EventJournal/index.d.ts +22 -0
  33. package/hidden/javax/jcr/observation/EventListener/index.d.ts +23 -0
  34. package/hidden/javax/jcr/observation/EventListenerIterator/index.d.ts +20 -0
  35. package/hidden/javax/jcr/observation/ObservationManager/index.d.ts +227 -0
  36. package/hidden/javax/jcr/query/Query/index.d.ts +201 -0
  37. package/hidden/javax/jcr/query/QueryManager/index.d.ts +73 -0
  38. package/hidden/javax/jcr/query/QueryResult/index.d.ts +51 -0
  39. package/hidden/javax/jcr/query/Row/index.d.ts +159 -0
  40. package/hidden/javax/jcr/query/RowIterator/index.d.ts +20 -0
  41. package/hidden/javax/jcr/query/qom/And/index.d.ts +26 -0
  42. package/hidden/javax/jcr/query/qom/BindVariableValue/index.d.ts +15 -0
  43. package/hidden/javax/jcr/query/qom/ChildNode/index.d.ts +27 -0
  44. package/hidden/javax/jcr/query/qom/ChildNodeJoinCondition/index.d.ts +27 -0
  45. package/hidden/javax/jcr/query/qom/Column/index.d.ts +39 -0
  46. package/hidden/javax/jcr/query/qom/Comparison/index.d.ts +82 -0
  47. package/hidden/javax/jcr/query/qom/Constraint/index.d.ts +13 -0
  48. package/hidden/javax/jcr/query/qom/DescendantNode/index.d.ts +31 -0
  49. package/hidden/javax/jcr/query/qom/DescendantNodeJoinCondition/index.d.ts +29 -0
  50. package/hidden/javax/jcr/query/qom/DynamicOperand/index.d.ts +9 -0
  51. package/hidden/javax/jcr/query/qom/EquiJoinCondition/index.d.ts +41 -0
  52. package/hidden/javax/jcr/query/qom/FullTextSearch/index.d.ts +89 -0
  53. package/hidden/javax/jcr/query/qom/FullTextSearchScore/index.d.ts +24 -0
  54. package/hidden/javax/jcr/query/qom/Join/index.d.ts +36 -0
  55. package/hidden/javax/jcr/query/qom/JoinCondition/index.d.ts +9 -0
  56. package/hidden/javax/jcr/query/qom/Length/index.d.ts +24 -0
  57. package/hidden/javax/jcr/query/qom/Literal/index.d.ts +18 -0
  58. package/hidden/javax/jcr/query/qom/LowerCase/index.d.ts +26 -0
  59. package/hidden/javax/jcr/query/qom/NodeLocalName/index.d.ts +16 -0
  60. package/hidden/javax/jcr/query/qom/NodeName/index.d.ts +16 -0
  61. package/hidden/javax/jcr/query/qom/Not/index.d.ts +20 -0
  62. package/hidden/javax/jcr/query/qom/Operand/index.d.ts +9 -0
  63. package/hidden/javax/jcr/query/qom/Or/index.d.ts +30 -0
  64. package/hidden/javax/jcr/query/qom/Ordering/index.d.ts +53 -0
  65. package/hidden/javax/jcr/query/qom/PropertyExistence/index.d.ts +24 -0
  66. package/hidden/javax/jcr/query/qom/PropertyValue/index.d.ts +25 -0
  67. package/hidden/javax/jcr/query/qom/QueryObjectModel/index.d.ts +64 -0
  68. package/hidden/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +9 -0
  69. package/hidden/javax/jcr/query/qom/QueryObjectModelFactory/index.d.ts +638 -0
  70. package/hidden/javax/jcr/query/qom/SameNode/index.d.ts +27 -0
  71. package/hidden/javax/jcr/query/qom/SameNodeJoinCondition/index.d.ts +36 -0
  72. package/hidden/javax/jcr/query/qom/Selector/index.d.ts +35 -0
  73. package/hidden/javax/jcr/query/qom/Source/index.d.ts +9 -0
  74. package/hidden/javax/jcr/query/qom/StaticOperand/index.d.ts +10 -0
  75. package/hidden/javax/jcr/query/qom/UpperCase/index.d.ts +26 -0
  76. package/hidden/javax/jcr/retention/Hold/index.d.ts +34 -0
  77. package/hidden/javax/jcr/retention/RetentionManager/index.d.ts +189 -0
  78. package/hidden/javax/jcr/retention/RetentionPolicy/index.d.ts +21 -0
  79. package/hidden/javax/jcr/security/AccessControlEntry/index.d.ts +24 -0
  80. package/hidden/javax/jcr/security/AccessControlList/index.d.ts +91 -0
  81. package/hidden/javax/jcr/security/AccessControlManager/index.d.ts +297 -0
  82. package/hidden/javax/jcr/security/AccessControlPolicy/index.d.ts +11 -0
  83. package/hidden/javax/jcr/security/AccessControlPolicyIterator/index.d.ts +20 -0
  84. package/hidden/javax/jcr/security/NamedAccessControlPolicy/index.d.ts +22 -0
  85. package/hidden/javax/jcr/security/Privilege/index.d.ts +117 -0
  86. package/hidden/javax/jcr/version/Version/index.d.ts +121 -0
  87. package/hidden/javax/jcr/version/VersionHistory/index.d.ts +307 -0
  88. package/hidden/javax/jcr/version/VersionIterator/index.d.ts +20 -0
  89. package/hidden/javax/jcr/version/VersionManager/index.d.ts +1082 -0
  90. package/hidden/senselogic/sitevision/api/base/Builder/index.d.ts +102 -0
  91. package/hidden/senselogic/sitevision/api/base/Filter/index.d.ts +25 -0
  92. package/hidden/senselogic/sitevision/api/base/FilterSplit/index.d.ts +50 -0
  93. package/hidden/senselogic/sitevision/api/base/Loadable/index.d.ts +15 -0
  94. package/hidden/senselogic/sitevision/api/base/Resolver/index.d.ts +31 -0
  95. package/hidden/senselogic/sitevision/api/base/Wrapper/index.d.ts +24 -0
  96. package/hidden/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.d.ts +417 -0
  97. package/hidden/senselogic/sitevision/api/format/NumericFormatter/index.d.ts +80 -0
  98. package/hidden/senselogic/sitevision/api/format/NumericFormatterBuilder/index.d.ts +100 -0
  99. package/hidden/senselogic/sitevision/api/i18n/Currency/index.d.ts +120 -0
  100. package/hidden/senselogic/sitevision/api/link/CustomLinkProcessor/index.d.ts +45 -0
  101. package/hidden/senselogic/sitevision/api/link/CustomLinkRenderData/index.d.ts +65 -0
  102. package/hidden/senselogic/sitevision/api/mail/Mail/index.d.ts +32 -0
  103. package/hidden/senselogic/sitevision/api/message/MessageTextLinker/index.d.ts +15 -0
  104. package/hidden/senselogic/sitevision/api/metadata/value/LinkValue/index.d.ts +23 -0
  105. package/hidden/senselogic/sitevision/api/metadata/value/RelatedValue/index.d.ts +23 -0
  106. package/hidden/senselogic/sitevision/api/property/VersionedPropertyUtil/index.d.ts +642 -0
  107. package/hidden/senselogic/sitevision/api/render/BuddyIconRenderer/BuddyIconInfo/index.d.ts +51 -0
  108. package/hidden/senselogic/sitevision/api/render/ImageScaler/index.d.ts +58 -0
  109. package/hidden/senselogic/sitevision/api/render/TextModuleRenderer/index.d.ts +301 -0
  110. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ArticleUtilConstants/index.d.ts +85 -0
  111. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ExceptionSuppressingProxyConstants/index.d.ts +31 -0
  112. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/IndexingUtilConstants/index.d.ts +31 -0
  113. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/LinkPageUtilConstants/index.d.ts +67 -0
  114. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MathInstanceConstants/index.d.ts +25 -0
  115. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MimeTypeUtilConstants/index.d.ts +19 -0
  116. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/NodeTypeUtilConstants/index.d.ts +1243 -0
  117. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/OutputUtilConstants/index.d.ts +31 -0
  118. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PageUtilConstants/index.d.ts +91 -0
  119. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletContextUtilConstants/index.d.ts +27 -0
  120. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletUtilConstants/index.d.ts +19 -0
  121. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/QueryStringUtilConstants/index.d.ts +19 -0
  122. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchHitConstants/index.d.ts +25 -0
  123. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchResultConstants/index.d.ts +37 -0
  124. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/VersionUtilConstants/index.d.ts +25 -0
  125. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/index.d.ts +8 -0
  126. package/hidden/senselogic/sitevision/api/render/velocity/VelocityContext/index.d.ts +50 -0
  127. package/hidden/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.d.ts +89 -0
  128. package/hidden/senselogic/sitevision/api/script/RequesterChainable/index.d.ts +119 -0
  129. package/hidden/senselogic/sitevision/api/script/app/RestAppInvoker/index.d.ts +272 -0
  130. package/hidden/senselogic/sitevision/api/script/factory/TypedArgument/index.d.ts +43 -0
  131. package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts +94 -0
  132. package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts +117 -0
  133. package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.d.ts +90 -0
  134. package/hidden/senselogic/sitevision/api/search/SearchFieldUtil/index.d.ts +89 -0
  135. package/hidden/senselogic/sitevision/api/search/SearchHighlighter/index.d.ts +45 -0
  136. package/hidden/senselogic/sitevision/api/search/SearchHit/index.d.ts +1176 -0
  137. package/hidden/senselogic/sitevision/api/search/SearchResult/index.d.ts +414 -0
  138. package/hidden/senselogic/sitevision/api/search/facet/SearchFacetField/index.d.ts +27 -0
  139. package/hidden/senselogic/sitevision/api/search/facet/SearchFacetValue/index.d.ts +61 -0
  140. package/hidden/senselogic/sitevision/api/search/searcher/Searcher/index.d.ts +277 -0
  141. package/hidden/senselogic/sitevision/api/search/searcher/component/Filter/index.d.ts +25 -0
  142. package/hidden/senselogic/sitevision/api/search/searcher/component/Highlight/index.d.ts +29 -0
  143. package/hidden/senselogic/sitevision/api/search/searcher/component/Monitor/index.d.ts +25 -0
  144. package/hidden/senselogic/sitevision/api/search/searcher/component/Parser/index.d.ts +35 -0
  145. package/hidden/senselogic/sitevision/api/search/searcher/component/Sort/index.d.ts +25 -0
  146. package/hidden/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.d.ts +29 -0
  147. package/hidden/senselogic/sitevision/api/search/sort/CustomSort/index.d.ts +82 -0
  148. package/hidden/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.d.ts +21 -0
  149. package/hidden/senselogic/sitevision/api/security/DirectoryAttributes/index.d.ts +70 -0
  150. package/hidden/senselogic/sitevision/api/security/MessageDigester/index.d.ts +50 -0
  151. package/hidden/senselogic/sitevision/api/security/RoleAssignment/index.d.ts +72 -0
  152. package/hidden/senselogic/sitevision/api/security/RoleMatcher/index.d.ts +29 -0
  153. package/hidden/senselogic/sitevision/api/security/SecretStore/index.d.ts +55 -0
  154. package/hidden/senselogic/sitevision/api/security/UserUtil/index.d.ts +80 -0
  155. package/hidden/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.d.ts +36 -0
  156. package/hidden/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.d.ts +32 -0
  157. package/hidden/senselogic/sitevision/api/user/UserIdentityWrapper/index.d.ts +599 -0
  158. package/hidden/senselogic/sitevision/api/webresource/LinkTarget/index.d.ts +20 -0
  159. package/hidden/senselogic/sitevision/api/xml/XmlElement/index.d.ts +55 -0
  160. package/hidden/senselogic/sitevision/api/xml/XmlElementHandler/index.d.ts +17 -0
  161. package/package.json +2 -4
  162. package/server/AliasUtil/index.d.ts +25 -0
  163. package/server/AliasUtil/index.js +10 -0
  164. package/server/ArchiveUtil/index.d.ts +65 -11
  165. package/server/ArraysInstance/index.d.ts +1846 -0
  166. package/server/ArticleUtil/index.d.ts +381 -69
  167. package/server/AuthenticationUtil/index.d.ts +106 -0
  168. package/server/BookmarkUtil/index.d.ts +36 -28
  169. package/server/BuddyIconRenderer/index.d.ts +240 -0
  170. package/server/ClientUtil/index.d.ts +18 -4
  171. package/server/CollaborationFactory/index.d.ts +42 -25
  172. package/server/CollaborationGroupFolderUtil/index.d.ts +40 -29
  173. package/server/CollaborationGroupTemplateUtil/index.d.ts +71 -39
  174. package/server/CollaborationGroupUtil/index.d.ts +128 -55
  175. package/server/CollectionsInstance/index.d.ts +738 -0
  176. package/server/ColorUtil/index.d.ts +22 -17
  177. package/server/CompoundAndFilterBuilder/index.d.ts +60 -0
  178. package/server/CompoundComparatorBuilder/index.d.ts +63 -0
  179. package/server/CompoundOrFilterBuilder/index.d.ts +59 -0
  180. package/server/ContentNodeUtil/index.d.ts +76 -0
  181. package/server/CurrencyFactory/index.d.ts +135 -0
  182. package/server/DateUtil/index.d.ts +154 -77
  183. package/server/DecorationUtil/index.d.ts +23 -0
  184. package/server/DeviceUtil/index.d.ts +36 -0
  185. package/server/DirectoryUtil/index.d.ts +107 -47
  186. package/server/DocTypeUtil/index.d.ts +149 -0
  187. package/server/EndecUtil/index.d.ts +537 -91
  188. package/server/ExtendedDismaxParserBuilder/index.d.ts +311 -0
  189. package/server/FileIconRenderer/index.d.ts +346 -0
  190. package/server/FileUtil/index.d.ts +462 -0
  191. package/server/FilterBuilder/index.d.ts +120 -0
  192. package/server/FolderUtil/index.d.ts +161 -0
  193. package/server/FontUtil/index.d.ts +49 -0
  194. package/server/FormatterBuilderFactory/index.d.ts +129 -0
  195. package/server/HighlightBuilder/index.d.ts +194 -0
  196. package/server/IconUtil/index.d.ts +37 -0
  197. package/server/ImageLinkRenderer/index.d.ts +134 -0
  198. package/server/ImageRenderer/index.d.ts +613 -231
  199. package/server/ImageUtil/index.d.ts +430 -0
  200. package/server/IndexUtil/index.d.ts +71 -0
  201. package/server/IndexingUtil/index.d.ts +92 -0
  202. package/server/InstanceCreatorUtil/index.d.ts +661 -0
  203. package/server/InstanceTypeUtil/index.d.ts +202 -0
  204. package/server/JwtUtil/index.d.ts +217 -0
  205. package/server/LandingPageUtil/index.d.ts +67 -50
  206. package/server/LinkPageUtil/index.d.ts +468 -0
  207. package/server/LinkRenderer/index.d.ts +1157 -0
  208. package/server/LinkTargetBuilder/index.d.ts +146 -0
  209. package/server/LinkValueBuilder/index.d.ts +129 -52
  210. package/server/ListWrapper/index.d.ts +172 -0
  211. package/server/LocaleUtil/index.d.ts +695 -61
  212. package/server/LogUtil/index.d.ts +118 -77
  213. package/server/MailBuilder/index.d.ts +238 -0
  214. package/server/MailUtil/index.d.ts +98 -0
  215. package/server/MathInstance/index.d.ts +681 -0
  216. package/server/MessageDigesterFactory/index.d.ts +49 -0
  217. package/server/MetadataDefinitionUtil/index.d.ts +118 -0
  218. package/server/MetadataUtil/index.d.ts +524 -79
  219. package/server/MimeTypeUtil/index.d.ts +316 -0
  220. package/server/MonitorBuilder/index.d.ts +51 -0
  221. package/server/NodeComparatorUtil/index.d.ts +397 -0
  222. package/server/NodeFactoryUtil/index.d.ts +32 -0
  223. package/server/NodeFilterUtil/index.d.ts +924 -0
  224. package/server/NodeIteratorUtil/index.d.ts +322 -72
  225. package/server/NodeResolverUtil/index.d.ts +767 -0
  226. package/server/NodeTreeUtil/index.d.ts +339 -63
  227. package/server/NodeTypeUtil/index.d.ts +391 -197
  228. package/server/OfflineVersionPropertyUtil/index.d.ts +30 -0
  229. package/server/OnlineVersionPropertyUtil/index.d.ts +30 -0
  230. package/server/OutputUtil/index.d.ts +641 -0
  231. package/server/PageUtil/index.d.ts +330 -0
  232. package/server/PermissionUtil/index.d.ts +650 -0
  233. package/server/PortletContextUtil/index.d.ts +118 -37
  234. package/server/PortletContextUtil/index.js +1 -0
  235. package/server/PortletUtil/index.d.ts +40 -0
  236. package/server/PrincipalUtil/index.d.ts +51 -0
  237. package/server/Properties/index.d.ts +185 -38
  238. package/server/PropertyUtil/index.d.ts +2330 -406
  239. package/server/PublishingUtil/index.d.ts +385 -49
  240. package/server/QueryStringUtil/index.d.ts +737 -0
  241. package/server/RedirectUtil/index.d.ts +98 -0
  242. package/server/RelatedValueBuilder/index.d.ts +81 -39
  243. package/server/Requester/index.d.ts +441 -65
  244. package/server/ResourceLocatorUtil/index.d.ts +483 -227
  245. package/server/RestApi/index.d.ts +208 -23
  246. package/server/RestAppInvokerFactory/index.d.ts +73 -0
  247. package/server/RoleAssignmentBuilder/index.d.ts +60 -0
  248. package/server/RoleMatcherBuilder/index.d.ts +59 -0
  249. package/server/RoleUtil/index.d.ts +57 -0
  250. package/server/ScriptUtil/index.d.ts +625 -143
  251. package/server/SearchFactory/index.d.ts +133 -0
  252. package/server/SearchUtil/index.d.ts +164 -0
  253. package/server/SearcherBuilder/index.d.ts +260 -0
  254. package/server/Session/index.d.ts +1758 -0
  255. package/server/SimpleUserUtil/index.d.ts +39 -30
  256. package/server/SiteCookieUtil/index.d.ts +78 -53
  257. package/server/SortBuilder/index.d.ts +111 -0
  258. package/server/SpellCheckBuilder/index.d.ts +68 -0
  259. package/server/StandardParserBuilder/index.d.ts +112 -0
  260. package/server/StructureUtil/index.d.ts +167 -0
  261. package/server/SubscriberUtil/index.d.ts +122 -0
  262. package/server/SubscriptionUtil/index.d.ts +197 -0
  263. package/server/SystemUserUtil/index.d.ts +201 -98
  264. package/server/TagUtil/index.d.ts +193 -0
  265. package/server/TemplateUtil/index.d.ts +217 -0
  266. package/server/TemporaryFileNodeBuilder/index.d.ts +63 -0
  267. package/server/TemporaryNodeBuilder/index.d.ts +241 -0
  268. package/server/TextModuleRendererBuilder/index.d.ts +68 -0
  269. package/server/TimestampUtil/index.d.ts +98 -82
  270. package/server/TranslationUtil/index.d.ts +175 -0
  271. package/server/TrashcanUtil/index.d.ts +193 -24
  272. package/server/UserDataUtil/index.d.ts +167 -85
  273. package/server/UserFactory/index.d.ts +45 -30
  274. package/server/UserFieldRenderer/index.d.ts +258 -0
  275. package/server/UserIdentityUtil/index.d.ts +61 -29
  276. package/server/UserUtil/index.d.ts +69 -28
  277. package/server/Utils/index.d.ts +870 -12
  278. package/server/VelocityRenderer/index.d.ts +248 -0
  279. package/server/VersionUtil/index.d.ts +15 -12
  280. package/server/WebContentUtil/index.d.ts +644 -0
  281. package/server/WebResourceFactory/index.d.ts +66 -0
  282. package/server/XSLTUtil/index.d.ts +49 -10
  283. package/server/XmlParserUtil/index.d.ts +82 -81
  284. package/builtins/Binary/index.d.ts +0 -3
  285. package/builtins/Calendar/index.d.ts +0 -3
  286. package/builtins/Collection/index.d.ts +0 -3
  287. package/builtins/Date/index.d.ts +0 -3
  288. package/builtins/InputStream/index.d.ts +0 -3
  289. package/builtins/Instant/index.d.ts +0 -3
  290. package/builtins/List/index.d.ts +0 -3
  291. package/builtins/LocalDateTime/index.d.ts +0 -3
  292. package/builtins/Locale/index.d.ts +0 -3
  293. package/builtins/Node/index.d.ts +0 -3
  294. package/builtins/NodeIterator/index.d.ts +0 -27
  295. package/builtins/Property/index.d.ts +0 -3
  296. package/builtins/Serializable/index.d.ts +0 -3
  297. package/builtins/Set/index.d.ts +0 -3
  298. package/builtins/Throwable/index.d.ts +0 -3
  299. package/builtins/byte/index.d.ts +0 -3
@@ -1,336 +1,592 @@
1
- import Node from '../../builtins/Node';
2
-
1
+ import Node from "../../hidden/javax/jcr/Node";
3
2
 
4
3
  /**
5
- * Gets the addon repository for the site of current node.
6
- * @returns {Node} the addon repository, or null if indeterminable.
7
- */
8
- export function getAddonRepository(): Node;
4
+ * Gets current site (i.e. the site node of the page for the currently executing portlet).
5
+ *
6
+ * <p>
7
+ * <strong>Note!</strong> If you are interested in the actual <em>start page</em>, you should use the {@link #getSitePage()} method.
8
+ * </p>
9
+ * @return current site <code>Node</code>, or <code>null</code> if indeterminable (e.g. current portlet and/or current page is not bound to any site)
10
+ * @see #getSitePage()
11
+ */
12
+ export function getSite(): Node;
9
13
 
10
14
  /**
11
- * Gets the alias repository (sv:aliasRepository) for the site of current node.
12
- * @returns {Node} the alias repository, or null if indeterminable.
13
- */
14
- export function getAliasRepository(): Node;
15
+ * Gets current site page (i.e. the site's start page node of the page for the currently executing portlet).
16
+ *
17
+ * <p>
18
+ * <strong>Note!</strong> If you are interested in the actual <em>site</em>, you should use the {@link #getSite()} method.
19
+ * </p>
20
+ * @return current site page <code>Node</code>, or <code>null</code> if indeterminable (e.g. current portlet and/or current page is not bound to any site)
21
+ * @see #getSite()
22
+ */
23
+ export function getSitePage(): Node;
15
24
 
16
25
  /**
17
- * Gets the color repository for the site of current node.
18
- * @returns {Node} the color repository for the site of current node, or null if indeterminable
19
- */
26
+ * Gets the color repository for the site of current node.
27
+ * @return the color repository for the site of current node, or <code>null</code> if indeterminable
28
+ */
20
29
  export function getColorRepository(): Node;
21
30
 
22
31
  /**
23
- * Gets the decoration repository for the site of current node.
24
- * @returns {Node} the decoration repository for the site of current node, or null if indeterminable
25
- */
26
- export function getDecorationRepository(): Node;
27
-
28
- /**
29
- * Gets the default image repository for the site of current node.
30
- * @returns {Node} the default image repository for the site of current node, or null if indeterminable
31
- */
32
- export function getDefaultImageRepository(): Node;
33
-
34
- /**
35
- * Gets the LDAP directories repository for the site of current node
36
- * @returns {Node} the LDAP directories repository, or null if indeterminable
37
- */
38
- export function getDirectoryRepository(): Node;
32
+ * Gets the font repository for the site of current node.
33
+ * @return the font repository for the site of current node, or <code>null</code> if indeterminable
34
+ */
35
+ export function getFontRepository(): Node;
39
36
 
40
37
  /**
41
- * Gets the external topic integration repository (sv:externalTopicIntegrationRepository) for the site of current node.
42
- * @returns {Node} the external topic integration repository, or null if indeterminable.
43
- */
44
- export function getExternalTopicIntegrationRepository(): Node;
38
+ * Gets the decoration repository for the site of current node.
39
+ * @return the decoration repository for the site of current node, or <code>null</code> if indeterminable
40
+ */
41
+ export function getDecorationRepository(): Node;
45
42
 
46
43
  /**
47
- * Gets the file repository for the site of current node.
48
- * @returns {Node} the global file repository for the site of current node, or null if indeterminable
49
- */
44
+ * Gets the file repository for the site of current node.
45
+ * @return the global file repository for the site of current node, or <code>null</code> if indeterminable
46
+ */
50
47
  export function getFileRepository(): Node;
51
48
 
52
49
  /**
53
- * Gets the font repository for the site of current node.
54
- * @returns {Node} the font repository for the site of current node, or null if indeterminable
55
- */
56
- export function getFontRepository(): Node;
50
+ * Gets the local file repository for current page node.
51
+ *
52
+ * <p>
53
+ * <em>
54
+ * This is a convenience for {@link #getLocalFileRepository(Node)} that uses
55
+ * {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentPage()} to get current page node.
56
+ * </em>
57
+ * </p>
58
+ * @return the local file repository for current node, or <code>null</code> if indeterminable
59
+ */
60
+ export function getLocalFileRepository(): Node;
57
61
 
58
62
  /**
59
- * Gets the icon repository for the site of current node.
60
- * @returns {Node} the icon repository for the site of current node, or null if indeterminable
61
- */
62
- export function getIconRepository(): Node;
63
+ * Gets the local file repository for a specified page node.
64
+ * @param aNode a node that has a local file repository (typically a sv:page or sv:article)
65
+ * @return the local file repository for <code>aNode</code>, or <code>null</code> if indeterminable
66
+ * @since Sitevision 3.6.4
67
+ */
68
+ export function getLocalFileRepository(aNode: Node): Node;
63
69
 
64
70
  /**
65
- * Gets the image repository for the site of current node.
66
- * @returns {Node} the global image repository for the site of current node, or null if indeterminable
67
- */
71
+ * Gets the image repository for the site of current node.
72
+ * @return the global image repository for the site of current node, or <code>null</code> if indeterminable
73
+ */
68
74
  export function getImageRepository(): Node;
69
75
 
70
76
  /**
71
- * Gets the index repository for the site of current node.
72
- * @returns {Node} the index repository for the site of current node, or null if indeterminable
73
- */
74
- export function getIndexRepository(): Node;
77
+ * Gets the local image repository for current page node.
78
+ *
79
+ * <p>
80
+ * <em>
81
+ * This is a convenience for {@link #getLocalImageRepository(Node)} that uses
82
+ * {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentPage()} to get current page node.
83
+ * </em>
84
+ * </p>
85
+ * @return the local image repository for current node, or <code>null</code> if indeterminable
86
+ */
87
+ export function getLocalImageRepository(): Node;
75
88
 
76
89
  /**
77
- * Gets the list style repository for the site of current node.
78
- * @returns {Node} the list style repository for the site of current node, or null if indeterminable
79
- */
80
- export function getListStyleRepository(): Node;
90
+ * Gets the local image repository for a specified page node.
91
+ * @param aNode a node that has a local image repository (typically a sv:page or sv:article)
92
+ * @return the local image repository for <code>aNode</code>, or <code>null</code> if indeterminable
93
+ * @since Sitevision 3.6.4
94
+ */
95
+ export function getLocalImageRepository(aNode: Node): Node;
81
96
 
82
97
  /**
83
- * Gets the local file repository for current page node.
84
- * @returns {Node} the local file repository for current node, or null if indeterminable
85
- */
86
- export function getLocalFileRepository(): Node;
98
+ * Gets the page comment repository for current page node.
99
+ *
100
+ * <p>
101
+ * <em>
102
+ * This is a convenience for {@link #getPageCommentRepository(Node)} that uses
103
+ * {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentPage()} to get current page node.
104
+ * </em>
105
+ * </p>
106
+ * @return the page comment repository for current page node, or <code>null</code> if indeterminable
107
+ * @since Sitevision 3.6.4
108
+ */
109
+ export function getPageCommentRepository(): Node;
87
110
 
88
111
  /**
89
- * Gets the local file repository for a specified page node.
90
- * @returns {Node} the local file repository for aNode, or null if indeterminable
91
- * @param {Node} aNode - a node that has a local file repository (typically a sv:page or sv:article)
92
- */
93
- export function getLocalFileRepository(aNode: Node): Node;
112
+ * Gets the page comment repository for a specified page node.
113
+ * @param aNode a node that has a page comment repository (typically a sv:page or sv:article)
114
+ * @return the page comment repository for <code>aNode</code>, or <code>null</code> if indeterminable
115
+ * @since Sitevision 3.6.4
116
+ */
117
+ export function getPageCommentRepository(aNode: Node): Node;
94
118
 
95
119
  /**
96
- * Gets the local image repository for current page node.
97
- * @returns {Node} the local image repository for current node, or null if indeterminable
98
- */
99
- export function getLocalImageRepository(): Node;
120
+ * Gets the personal file repository for a specified node.
121
+ *
122
+ * <p>
123
+ * A <em>personal file repository</em> contains files that belongs to a <code>sv:collaborationGroup</code> (i.e. "group files")
124
+ * or a <code>sv:userIdentity</code> (e.g. files attached when posting timeline entries).
125
+ * </p>
126
+ * <p>
127
+ * <em>Convenience note!</em> This method will extract and use the corresponding <code>sv:collaborationGroup</code> if
128
+ * the <em>aNode</em> argument is a <code>sv:collaborationGroupPage</code>. It will also try to extract and use the
129
+ * corresponding <code>sv:userIdentity</code> if the <em>aNode</em> argument is a <code>sv:user</code>.
130
+ * </p>
131
+ * @param aNode a node that has a personal file repository (typically a sv:collaborationGroup or sv:userIdentity)
132
+ * @return the personal file repository for <code>aNode</code>, or <code>null</code> if indeterminable.
133
+ * @since Sitevision 3.6.4
134
+ */
135
+ export function getPersonalFileRepository(aNode: Node): Node;
100
136
 
101
137
  /**
102
- * Gets the local image repository for a specified page node.
103
- * @returns {Node} the local image repository for aNode, or null if indeterminable
104
- * @param {Node} aNode - a node that has a local image repository (typically a sv:page or sv:article)
105
- */
106
- export function getLocalImageRepository(aNode: Node): Node;
138
+ * Gets the personal image repository for a specified node.
139
+ *
140
+ * <p>
141
+ * A <em>personal image repository</em> contains images that belongs to a <code>sv:collaborationGroup</code>
142
+ * or a <code>sv:userIdentity</code> (e.g. profile image).
143
+ * </p>
144
+ * <p>
145
+ * <em>Convenience note!</em> This method will extract and use the corresponding <code>sv:collaborationGroup</code> if
146
+ * the <em>aNode</em> argument is a <code>sv:collaborationGroupPage</code>. It will also try to extract and use the
147
+ * corresponding <code>sv:userIdentity</code> if the <em>aNode</em> argument is a <code>sv:user</code>.
148
+ * </p>
149
+ * @param aNode a node that has a personal image repository (typically a sv:collaborationGroup or sv:userIdentity)
150
+ * @return the personal image repository for <code>aNode</code>, or <code>null</code> if indeterminable.
151
+ * @since Sitevision 3.6.4
152
+ */
153
+ export function getPersonalImageRepository(aNode: Node): Node;
107
154
 
108
155
  /**
109
- * Gets the metadata definition template repository (sv:metadataDefinitionTemplateRepository) for the site of current node.
110
- * @returns {Node} the metadata definition template repository, or null if indeterminable.
111
- */
112
- export function getMetadataDefinitionTemplateRepository(): Node;
156
+ * Gets the icon repository for the site of current node.
157
+ *
158
+ * <p>
159
+ * The icon repository contains all site-specific file icon nodes.
160
+ * </p>
161
+ * @return the icon repository for the site of current node, or <code>null</code> if indeterminable
162
+ */
163
+ export function getIconRepository(): Node;
113
164
 
114
165
  /**
115
- * Gets the module element draft repository for the site of current node.
116
- * @returns {Node} the module element draft repository, or null if indeterminable.
117
- */
118
- export function getModuleElementDraftRepository(): Node;
166
+ * Gets the index repository for the site of current node.
167
+ *
168
+ * <p>
169
+ * <em>Tip!</em> The {@link senselogic.sitevision.api.search.index.IndexUtil} utility can be used for easy index lookup.
170
+ * </p>
171
+ * @return the index repository for the site of current node, or <code>null</code> if indeterminable
172
+ * @since Sitevision 3.6
173
+ */
174
+ export function getIndexRepository(): Node;
119
175
 
120
176
  /**
121
- * Gets the module element file repository for current module element node.
122
- * @returns {Node} the module element file repository for current module element, or null if indeterminable.
123
- */
124
- export function getModuleElementFileRepository(): Node;
177
+ * Gets the default image repository for the site of current node.
178
+ *
179
+ * <p>
180
+ * The default image repository contains system/server-specific images/icons.
181
+ * </p>
182
+ * @return the default image repository for the site of current node, or <code>null</code> if indeterminable
183
+ */
184
+ export function getDefaultImageRepository(): Node;
125
185
 
126
186
  /**
127
- * Gets the module element file repository for a specified module element node.
128
- * @returns {Node} the module element file repository for aNode, or null if indeterminable.
129
- * @param {Node} aNode - a node that has a module element file repository (typically a sv:moduleElementDraft or sv:moduleElement)
130
- */
131
- export function getModuleElementFileRepository(aNode: Node): Node;
187
+ * Gets the LDAP directories repository for the site of current node
188
+ * @return the LDAP directories repository, or <code>null</code> if indeterminable
189
+ */
190
+ export function getDirectoryRepository(): Node;
132
191
 
133
192
  /**
134
- * Gets the module element image repository for current module element node.
135
- * @returns {Node} the module element image repository for current module element, or null if indeterminable.
136
- */
137
- export function getModuleElementImageRepository(): Node;
193
+ * Gets a <code>Node</code> given its identifier.
194
+ *
195
+ * <p>
196
+ * <em>
197
+ * Note! This is mere a convenience alias for {@link javax.jcr.Session#getNodeByIdentifier(String)} but
198
+ * unlike the original, this method returns null instead of throwing an exception if given identifier
199
+ * can't be matched to an existing node.
200
+ * </em>
201
+ * </p>
202
+ * @param anIdentifier a Node identifier
203
+ * @return the corresponding <code>Node</code> or <code>null</code>
204
+ * @since Sitevision 3.6.5
205
+ */
206
+ export function getNodeByIdentifier(anIdentifier: string): Node;
138
207
 
139
208
  /**
140
- * Gets the module element image repository for a specified module element node.
141
- * @returns {Node} the module element image repository for aNode, or null if indeterminable.
142
- * @param {Node} aNode - a node that has a module element image repository (typically a sv:moduleElementDraft or sv:moduleElement)
143
- */
144
- export function getModuleElementImageRepository(aNode: Node): Node;
209
+ * Gets a <code>Node</code> given its absolute path.
210
+ *
211
+ * <p>
212
+ * <em>
213
+ * Note! This is mere a convenience alias for {@link javax.jcr.Session#getNode(String)} but
214
+ * unlike the original, this method returns null instead of throwing an exception if given
215
+ * absolute path can't be matched to an existing node.
216
+ * </em>
217
+ * </p>
218
+ * @param anAbsolutePath an absolute path
219
+ * @return the corresponding <code>Node</code> or <code>null</code>
220
+ * @since Sitevision 3.6.5
221
+ */
222
+ export function getNodeByPath(anAbsolutePath: string): Node;
145
223
 
146
224
  /**
147
- * Gets the module element repository for the site of current node.
148
- * @returns {Node} the module element repository, or null if indeterminable.
149
- */
150
- export function getModuleElementRepository(): Node;
225
+ * Gets a <code>Node</code> given its URL
226
+ * @param anUrl an url pointing to the resource (e.g. page, portlet, file, image)
227
+ * @return the corresponding <code>Node</code> or <code>null</code>
228
+ * @since Sitevision 2.6.1
229
+ */
230
+ export function getNodeByUrl(anUrl: string): Node;
151
231
 
152
232
  /**
153
- * Gets the named reference repository for the site of current node.
154
- * @returns {Node} the named reference repository, or null if indeterminable.
155
- */
156
- export function getNamedReferenceRepository(): Node;
233
+ * <p>
234
+ * Resolves a potential JCR Node identifier for an internal Sitevision object.
235
+ * </p>
236
+ *
237
+ * <p>
238
+ * <em>
239
+ * This is a deprecated legacy method for conversions between internal Sitevision objects and API objects (javax.jcr.Node).
240
+ * This behaviour is typically only applicable in really old Velocity templates that was released prior to the API
241
+ * (i.e. templates released before 2008).
242
+ * This method is <strong>not</strong> intended for {@link javax.jcr.Node javax.jcr.Node} objects!
243
+ * To get the "id" of a <code>javax.jcr.Node</code> - use the {@link Node#getIdentifier()} method.
244
+ * </em>
245
+ * </p>
246
+ * @param aInternalObject a internal Sitevision object
247
+ * @return a potential JCR Node identifier, or null if aInternalObject is null. The identifier for the sv:sitePage Node is returned if aInternalObject corresponds to the "site". Note that there are no guarantee that returned value actually is a valid JCR Node identifier
248
+ * @since Sitevision 2.6.1_01
249
+ * @deprecated This is a legacy method for really old Velocity templates that uses internal Sitevision objects.
250
+ */
251
+ export function getNodeId(aInternalObject: unknown): string;
252
+
253
+ /**
254
+ * Gets the template repository for the site of current node.
255
+ * @return the template repository for the site of current node, or <code>null</code> if indeterminable
256
+ * @since Sitevision 2.6.2
257
+ */
258
+ export function getTemplateRepository(): Node;
157
259
 
158
260
  /**
159
- * Gets a Node given its identifier.
160
- * @returns {Node} the corresponding Node or null
161
- * @param {string} anIdentifier - a Node identifier
162
- */
163
- export function getNodeByIdentifier(anIdentifier: string): Node;
261
+ * Gets the RSS feed repository for the site of current node.
262
+ * @return the RSS feed repository for the site of current node, or <code>null</code> if indeterminable
263
+ * @since Sitevision 3.6.2
264
+ */
265
+ export function getRssFeedRepository(): Node;
164
266
 
165
267
  /**
166
- * Gets a Node given its absolute path.
167
- * @returns {Node} the corresponding Node or null
168
- * @param {string} anAbsolutePath - an absolute path
169
- */
170
- export function getNodeByPath(anAbsolutePath: string): Node;
268
+ * Gets the list style repository for the site of current node.
269
+ * @return the list style repository for the site of current node, or <code>null</code> if indeterminable
270
+ * @since Sitevision 3.6.4
271
+ */
272
+ export function getListStyleRepository(): Node;
171
273
 
172
274
  /**
173
- * Gets a Node given its URL
174
- * @returns {Node} the corresponding Node or null
175
- * @param {string} anUrl - an url pointing to the resource (e.g. page, portlet, file, image)
176
- */
177
- export function getNodeByUrl(anUrl: string): Node;
275
+ * Gets the module element draft repository for the site of current node.
276
+ * @return the module element draft repository, or <code>null</code> if indeterminable.
277
+ * @since Sitevision 4.2
278
+ */
279
+ export function getModuleElementDraftRepository(): Node;
178
280
 
179
281
  /**
180
- * Deprecated. 
181
- This is a legacy method for really old Velocity templates that uses internal Sitevision objects.
182
-
183
- * @returns {string} a potential JCR Node identifier, or null if aInternalObject is null.The identifier for the sv:sitePage Node is returned if aInternalObject corresponds to the "site".Note that there are no guarantee that returned value actually is a valid JCR Node identifier
184
- * @param {Object} aInternalObject - a internal Sitevision object
185
- */
186
- export function getNodeId(aInternalObject: Object): string;
282
+ * Gets the module element repository for the site of current node.
283
+ * @return the module element repository, or <code>null</code> if indeterminable.
284
+ * @since Sitevision 4.2
285
+ */
286
+ export function getModuleElementRepository(): Node;
187
287
 
188
288
  /**
189
- * Gets the OAuth2 configuration repository (sv:oAuth2ConfigurationRepository) for the site of current node.
190
- * @returns {Node} the OAuth2 configuration repository, or null if indeterminable.
191
- */
192
- export function getOAuth2ConfigurationRepository(): Node;
289
+ * Gets the module element file repository for current module element node.
290
+ *
291
+ * <p>
292
+ * <em>
293
+ * This is a convenience for {@link #getModuleElementFileRepository(Node)} that uses
294
+ * {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentModuleElement()} to get current module element node.
295
+ * </em>
296
+ * </p>
297
+ * @return the module element file repository for current module element, or <code>null</code> if indeterminable.
298
+ * @since Sitevision 4.2
299
+ */
300
+ export function getModuleElementFileRepository(): Node;
193
301
 
194
302
  /**
195
- * Gets the page comment repository for current page node.
196
- * @returns {Node} the page comment repository for current page node, or null if indeterminable
197
- */
198
- export function getPageCommentRepository(): Node;
303
+ * Gets the module element file repository for a specified module element node.
304
+ * @param aNode a node that has a module element file repository (typically a sv:moduleElementDraft or sv:moduleElement)
305
+ * @return the module element file repository for <code>aNode</code>, or <code>null</code> if indeterminable.
306
+ * @since Sitevision 4.2
307
+ */
308
+ export function getModuleElementFileRepository(aNode: Node): Node;
199
309
 
200
310
  /**
201
- * Gets the page comment repository for a specified page node.
202
- * @returns {Node} the page comment repository for aNode, or null if indeterminable
203
- * @param {Node} aNode - a node that has a page comment repository (typically a sv:page or sv:article)
204
- */
205
- export function getPageCommentRepository(aNode: Node): Node;
311
+ * Gets the module element image repository for current module element node.
312
+ *
313
+ * <p>
314
+ * <em>
315
+ * This is a convenience for {@link #getModuleElementImageRepository(Node)} that uses
316
+ * {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentModuleElement()} to get current module element node.
317
+ * </em>
318
+ * </p>
319
+ * @return the module element image repository for current module element, or <code>null</code> if indeterminable.
320
+ * @since Sitevision 4.2
321
+ */
322
+ export function getModuleElementImageRepository(): Node;
206
323
 
207
324
  /**
208
- * Gets the personal file repository for a specified node.
209
- * @returns {Node} the personal file repository for aNode, or null if indeterminable.
210
- * @param {Node} aNode - a node that has a personal file repository (typically a sv:collaborationGroup or sv:userIdentity)
211
- */
212
- export function getPersonalFileRepository(aNode: Node): Node;
325
+ * Gets the module element image repository for a specified module element node.
326
+ * @param aNode a node that has a module element image repository (typically a sv:moduleElementDraft or sv:moduleElement)
327
+ * @return the module element image repository for <code>aNode</code>, or <code>null</code> if indeterminable.
328
+ * @since Sitevision 4.2
329
+ */
330
+ export function getModuleElementImageRepository(aNode: Node): Node;
213
331
 
214
332
  /**
215
- * Gets the personal image repository for a specified node.
216
- * @returns {Node} the personal image repository for aNode, or null if indeterminable.
217
- * @param {Node} aNode - a node that has a personal image repository (typically a sv:collaborationGroup or sv:userIdentity)
218
- */
219
- export function getPersonalImageRepository(aNode: Node): Node;
333
+ * Gets the addon repository for the site of current node.
334
+ * @return the addon repository, or <code>null</code> if indeterminable.
335
+ * @since Sitevision 4.2
336
+ */
337
+ export function getAddonRepository(): Node;
220
338
 
221
339
  /**
222
- * Gets the principal repository (sv:principalRepository) for the site of current node.
223
- * @returns {Node} the principal repository, or null if indeterminable.
224
- */
225
- export function getPrincipalRepository(): Node;
340
+ * Gets the named reference repository for the site of current node.
341
+ * @return the named reference repository, or <code>null</code> if indeterminable.
342
+ * @since Sitevision 4.2.2
343
+ */
344
+ export function getNamedReferenceRepository(): Node;
226
345
 
227
346
  /**
228
- * Gets the responsive breakpoint repository (sv:responsiveBreakpointRepository) for the site of current node.
229
- * @returns {Node} the responsive breakpoint repository, or null if indeterminable.
230
- */
231
- export function getResponsiveBreakpointRepository(): Node;
347
+ * Gets the role repository (sv:roleRepository) for the site of current node.
348
+ * @return the role repository, or null if indeterminable.
349
+ * @since Sitevision 5
350
+ * @see senselogic.sitevision.api.security.RoleUtil
351
+ */
352
+ export function getRoleRepository(): Node;
232
353
 
233
354
  /**
234
- * Gets the role repository (sv:roleRepository) for the site of current node.
235
- * @returns {Node} the role repository, or null if indeterminable.
236
- */
237
- export function getRoleRepository(): Node;
355
+ * Gets the virtual group repository (sv:virtualGroupRepository) for the site of current node.
356
+ * @return the virtual group repository, or null if indeterminable.
357
+ * @since Sitevision 5
358
+ */
359
+ export function getVirtualGroupRepository(): Node;
238
360
 
239
361
  /**
240
- * Gets the RSS feed repository for the site of current node.
241
- * @returns {Node} the RSS feed repository for the site of current node, or null if indeterminable
242
- */
243
- export function getRssFeedRepository(): Node;
362
+ * Gets the tag group repository (sv:tagGroupRepository) for the site of current node.
363
+ * @return the tag group repository, or null if indeterminable.
364
+ * @since Sitevision 5
365
+ */
366
+ export function getTagGroupRepository(): Node;
244
367
 
245
368
  /**
246
- * Gets current site (i.e. the site node of the page for the currently executing portlet).
247
- * @returns {Node} current site Node, or null if indeterminable(e.g. current portlet and/or current page is not bound to any site)
248
- */
249
- export function getSite(): Node;
369
+ * Gets the responsive breakpoint repository (sv:responsiveBreakpointRepository) for the site of current node.
370
+ * @return the responsive breakpoint repository, or null if indeterminable.
371
+ * @since Sitevision 6.2
372
+ */
373
+ export function getResponsiveBreakpointRepository(): Node;
250
374
 
251
375
  /**
252
- * Gets current site page (i.e. the site's start page node of the page for the currently executing portlet).
253
- * @returns {Node} current site page Node, or null if indeterminable(e.g. current portlet and/or current page is not bound to any site)
254
- */
255
- export function getSitePage(): Node;
376
+ * Gets the topic repository (sv:topicRepository) for the site of current node.
377
+ * @return the topic repository, or null if indeterminable.
378
+ * @since Sitevision 7
379
+ */
380
+ export function getTopicRepository(): Node;
256
381
 
257
382
  /**
258
- * Gets the tag group repository (sv:tagGroupRepository) for the site of current node.
259
- * @returns {Node} the tag group repository, or null if indeterminable.
260
- */
261
- export function getTagGroupRepository(): Node;
383
+ * Gets the external topic integration repository (sv:externalTopicIntegrationRepository) for the site of current node.
384
+ * @return the external topic integration repository, or null if indeterminable.
385
+ * @since Sitevision 7
386
+ */
387
+ export function getExternalTopicIntegrationRepository(): Node;
262
388
 
263
389
  /**
264
- * Gets the template repository for the site of current node.
265
- * @returns {Node} the template repository for the site of current node, or null if indeterminable
266
- */
267
- export function getTemplateRepository(): Node;
390
+ * Gets the OAuth2 configuration repository (sv:oAuth2ConfigurationRepository) for the site of current node.
391
+ * @return the OAuth2 configuration repository, or null if indeterminable.
392
+ * @since Sitevision 7
393
+ */
394
+ export function getOAuth2ConfigurationRepository(): Node;
268
395
 
269
396
  /**
270
- * Gets the topic repository (sv:topicRepository) for the site of current node.
271
- * @returns {Node} the topic repository, or null if indeterminable.
272
- */
273
- export function getTopicRepository(): Node;
397
+ * Gets the metadata definition template repository (sv:metadataDefinitionTemplateRepository) for the site of current node.
398
+ * @return the metadata definition template repository, or null if indeterminable.
399
+ * @since Sitevision 8.1
400
+ */
401
+ export function getMetadataDefinitionTemplateRepository(): Node;
274
402
 
275
403
  /**
276
- * Gets the trashcan (sv:trashcan) for the site of current node.
277
- * @returns {Node} the trashcan, or null if indeterminable.
278
- */
404
+ * Gets the trashcan (sv:trashcan) for the site of current node.
405
+ * @return the trashcan, or null if indeterminable.
406
+ * @see senselogic.sitevision.api.webresource.structure.TrashcanUtil
407
+ * @since Sitevision 8.1
408
+ */
279
409
  export function getTrashcan(): Node;
280
410
 
281
411
  /**
282
- * Gets the virtual group repository (sv:virtualGroupRepository) for the site of current node.
283
- * @returns {Node} the virtual group repository, or null if indeterminable.
284
- */
285
- export function getVirtualGroupRepository(): Node;
412
+ * Gets the principal repository (sv:principalRepository) for the site of current node.
413
+ * @return the principal repository, or null if indeterminable.
414
+ * @since Sitevision 8.2
415
+ */
416
+ export function getPrincipalRepository(): Node;
286
417
 
287
- declare namespace resourceLocatorUtil {
418
+ /**
419
+ * Gets the alias repository (sv:aliasRepository) for the site of current node.
420
+ * @return the alias repository, or null if indeterminable.
421
+ * @since Sitevision 8.2
422
+ */
423
+ export function getAliasRepository(): Node;
424
+
425
+ /**
426
+ * Gets the site cookie repository (sv:siteCookieRepository) for the site of current node.
427
+ * @return the site cookie repository, or null if indeterminable.
428
+ * @since Sitevision 9.1
429
+ * @see senselogic.sitevision.api.cookie.SiteCookieUtil
430
+ */
431
+ export function getSiteCookieRepository(): Node;
432
+
433
+ /**
434
+ * Utility interface for locating resources.
435
+ *
436
+ * <p>
437
+ * An instance of the Sitevision class implementing this interface can be obtained via
438
+ * {@link senselogic.sitevision.api.Utils#getResourceLocatorUtil()}.
439
+ * See {@link senselogic.sitevision.api.Utils} for how to obtain an instance of the <code>Utils</code> interface.
440
+ * </p>Gets current site (i.e. the site node of the page for the currently executing portlet).
441
+ *
442
+ * <p>
443
+ * <strong>Note!</strong> If you are interested in the actual <em>start page</em>, you should use the {@link #getSitePage()} method.
444
+ * </p>Gets current site page (i.e. the site's start page node of the page for the currently executing portlet).
445
+ *
446
+ * <p>
447
+ * <strong>Note!</strong> If you are interested in the actual <em>site</em>, you should use the {@link #getSite()} method.
448
+ * </p>Gets the color repository for the site of current node.Gets the font repository for the site of current node.Gets the decoration repository for the site of current node.Gets the file repository for the site of current node.Gets the local file repository for current page node.
449
+ *
450
+ * <p>
451
+ * <em>
452
+ * This is a convenience for {@link #getLocalFileRepository(Node)} that uses
453
+ * {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentPage()} to get current page node.
454
+ * </em>
455
+ * </p>Gets the local file repository for a specified page node.Gets the image repository for the site of current node.Gets the local image repository for current page node.
456
+ *
457
+ * <p>
458
+ * <em>
459
+ * This is a convenience for {@link #getLocalImageRepository(Node)} that uses
460
+ * {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentPage()} to get current page node.
461
+ * </em>
462
+ * </p>Gets the local image repository for a specified page node.Gets the page comment repository for current page node.
463
+ *
464
+ * <p>
465
+ * <em>
466
+ * This is a convenience for {@link #getPageCommentRepository(Node)} that uses
467
+ * {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentPage()} to get current page node.
468
+ * </em>
469
+ * </p>Gets the page comment repository for a specified page node.Gets the personal file repository for a specified node.
470
+ *
471
+ * <p>
472
+ * A <em>personal file repository</em> contains files that belongs to a <code>sv:collaborationGroup</code> (i.e. "group files")
473
+ * or a <code>sv:userIdentity</code> (e.g. files attached when posting timeline entries).
474
+ * </p>
475
+ * <p>
476
+ * <em>Convenience note!</em> This method will extract and use the corresponding <code>sv:collaborationGroup</code> if
477
+ * the <em>aNode</em> argument is a <code>sv:collaborationGroupPage</code>. It will also try to extract and use the
478
+ * corresponding <code>sv:userIdentity</code> if the <em>aNode</em> argument is a <code>sv:user</code>.
479
+ * </p>Gets the personal image repository for a specified node.
480
+ *
481
+ * <p>
482
+ * A <em>personal image repository</em> contains images that belongs to a <code>sv:collaborationGroup</code>
483
+ * or a <code>sv:userIdentity</code> (e.g. profile image).
484
+ * </p>
485
+ * <p>
486
+ * <em>Convenience note!</em> This method will extract and use the corresponding <code>sv:collaborationGroup</code> if
487
+ * the <em>aNode</em> argument is a <code>sv:collaborationGroupPage</code>. It will also try to extract and use the
488
+ * corresponding <code>sv:userIdentity</code> if the <em>aNode</em> argument is a <code>sv:user</code>.
489
+ * </p>Gets the icon repository for the site of current node.
490
+ *
491
+ * <p>
492
+ * The icon repository contains all site-specific file icon nodes.
493
+ * </p>Gets the index repository for the site of current node.
494
+ *
495
+ * <p>
496
+ * <em>Tip!</em> The {@link senselogic.sitevision.api.search.index.IndexUtil} utility can be used for easy index lookup.
497
+ * </p>Gets the default image repository for the site of current node.
498
+ *
499
+ * <p>
500
+ * The default image repository contains system/server-specific images/icons.
501
+ * </p>Gets the LDAP directories repository for the site of current nodeGets a <code>Node</code> given its identifier.
502
+ *
503
+ * <p>
504
+ * <em>
505
+ * Note! This is mere a convenience alias for {@link javax.jcr.Session#getNodeByIdentifier(String)} but
506
+ * unlike the original, this method returns null instead of throwing an exception if given identifier
507
+ * can't be matched to an existing node.
508
+ * </em>
509
+ * </p>Gets a <code>Node</code> given its absolute path.
510
+ *
511
+ * <p>
512
+ * <em>
513
+ * Note! This is mere a convenience alias for {@link javax.jcr.Session#getNode(String)} but
514
+ * unlike the original, this method returns null instead of throwing an exception if given
515
+ * absolute path can't be matched to an existing node.
516
+ * </em>
517
+ * </p>Gets a <code>Node</code> given its URL<p>
518
+ * Resolves a potential JCR Node identifier for an internal Sitevision object.
519
+ * </p>
520
+ *
521
+ * <p>
522
+ * <em>
523
+ * This is a deprecated legacy method for conversions between internal Sitevision objects and API objects (javax.jcr.Node).
524
+ * This behaviour is typically only applicable in really old Velocity templates that was released prior to the API
525
+ * (i.e. templates released before 2008).
526
+ * This method is <strong>not</strong> intended for {@link javax.jcr.Node javax.jcr.Node} objects!
527
+ * To get the "id" of a <code>javax.jcr.Node</code> - use the {@link Node#getIdentifier()} method.
528
+ * </em>
529
+ * </p>Gets the template repository for the site of current node.Gets the RSS feed repository for the site of current node.Gets the list style repository for the site of current node.Gets the module element draft repository for the site of current node.Gets the module element repository for the site of current node.Gets the module element file repository for current module element node.
530
+ *
531
+ * <p>
532
+ * <em>
533
+ * This is a convenience for {@link #getModuleElementFileRepository(Node)} that uses
534
+ * {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentModuleElement()} to get current module element node.
535
+ * </em>
536
+ * </p>Gets the module element file repository for a specified module element node.Gets the module element image repository for current module element node.
537
+ *
538
+ * <p>
539
+ * <em>
540
+ * This is a convenience for {@link #getModuleElementImageRepository(Node)} that uses
541
+ * {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentModuleElement()} to get current module element node.
542
+ * </em>
543
+ * </p>Gets the module element image repository for a specified module element node.Gets the addon repository for the site of current node.Gets the named reference repository for the site of current node.Gets the role repository (sv:roleRepository) for the site of current node.Gets the virtual group repository (sv:virtualGroupRepository) for the site of current node.Gets the tag group repository (sv:tagGroupRepository) for the site of current node.Gets the responsive breakpoint repository (sv:responsiveBreakpointRepository) for the site of current node.Gets the topic repository (sv:topicRepository) for the site of current node.Gets the external topic integration repository (sv:externalTopicIntegrationRepository) for the site of current node.Gets the OAuth2 configuration repository (sv:oAuth2ConfigurationRepository) for the site of current node.Gets the metadata definition template repository (sv:metadataDefinitionTemplateRepository) for the site of current node.Gets the trashcan (sv:trashcan) for the site of current node.Gets the principal repository (sv:principalRepository) for the site of current node.Gets the alias repository (sv:aliasRepository) for the site of current node.Gets the site cookie repository (sv:siteCookieRepository) for the site of current node.
544
+ * @author Magnus Lövgren
545
+ */
546
+ declare namespace ResourceLocatorUtil {
288
547
  export {
289
- getAddonRepository,
290
- getAliasRepository,
548
+ getSite,
549
+ getSitePage,
291
550
  getColorRepository,
551
+ getFontRepository,
292
552
  getDecorationRepository,
293
- getDefaultImageRepository,
294
- getDirectoryRepository,
295
- getExternalTopicIntegrationRepository,
296
553
  getFileRepository,
297
- getFontRepository,
298
- getIconRepository,
554
+ getLocalFileRepository,
299
555
  getImageRepository,
556
+ getLocalImageRepository,
557
+ getPageCommentRepository,
558
+ getPersonalFileRepository,
559
+ getPersonalImageRepository,
560
+ getIconRepository,
300
561
  getIndexRepository,
562
+ getDefaultImageRepository,
563
+ getDirectoryRepository,
564
+ getNodeByIdentifier,
565
+ getNodeByPath,
566
+ getNodeByUrl,
567
+ getNodeId,
568
+ getTemplateRepository,
569
+ getRssFeedRepository,
301
570
  getListStyleRepository,
302
- getLocalFileRepository,
303
- getLocalFileRepository,
304
- getLocalImageRepository,
305
- getLocalImageRepository,
306
- getMetadataDefinitionTemplateRepository,
307
571
  getModuleElementDraftRepository,
572
+ getModuleElementRepository,
308
573
  getModuleElementFileRepository,
309
- getModuleElementFileRepository,
310
- getModuleElementImageRepository,
311
574
  getModuleElementImageRepository,
312
- getModuleElementRepository,
575
+ getAddonRepository,
313
576
  getNamedReferenceRepository,
314
- getNodeByIdentifier,
315
- getNodeByPath,
316
- getNodeByUrl,
317
- getOAuth2ConfigurationRepository,
318
- getPageCommentRepository,
319
- getPageCommentRepository,
320
- getPersonalFileRepository,
321
- getPersonalImageRepository,
322
- getPrincipalRepository,
323
- getResponsiveBreakpointRepository,
324
577
  getRoleRepository,
325
- getRssFeedRepository,
326
- getSite,
327
- getSitePage,
578
+ getVirtualGroupRepository,
328
579
  getTagGroupRepository,
329
- getTemplateRepository,
580
+ getResponsiveBreakpointRepository,
330
581
  getTopicRepository,
582
+ getExternalTopicIntegrationRepository,
583
+ getOAuth2ConfigurationRepository,
584
+ getMetadataDefinitionTemplateRepository,
331
585
  getTrashcan,
332
- getVirtualGroupRepository,
586
+ getPrincipalRepository,
587
+ getAliasRepository,
588
+ getSiteCookieRepository,
333
589
  };
334
590
  }
335
591
 
336
- export default resourceLocatorUtil;
592
+ export default ResourceLocatorUtil;