@sitevision/api 1.1.0-alpha.2 → 2.0.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 (558) hide show
  1. package/client/requester/index.d.ts +7 -7
  2. package/client/toasts/index.d.ts +5 -5
  3. package/common/app/index.d.ts +20 -1
  4. package/common/events/index.d.ts +6 -3
  5. package/common/i18n/index.d.ts +1 -0
  6. package/common/router/index.d.ts +43 -21
  7. package/index.d.ts +23 -18
  8. package/package.json +4 -2
  9. package/server/AliasUtil/index.d.ts +4 -4
  10. package/server/ArchiveUtil/index.d.ts +3 -23
  11. package/server/ArchiveUtil/index.js +1 -3
  12. package/server/ArraysInstance/index.d.ts +4 -18
  13. package/server/ArraysInstance/index.js +27 -0
  14. package/server/ArticleUtil/index.d.ts +11 -158
  15. package/server/ArticleUtil/index.js +3 -17
  16. package/server/AuthenticationUtil/index.d.ts +5 -11
  17. package/server/AuthenticationUtil/index.js +12 -0
  18. package/server/BookmarkUtil/index.d.ts +6 -12
  19. package/server/BuddyIconRenderer/index.d.ts +6 -46
  20. package/server/BuddyIconRenderer/index.js +21 -0
  21. package/server/ClientUtil/index.d.ts +3 -3
  22. package/server/CollaborationFactory/index.d.ts +5 -5
  23. package/server/CollaborationFactory/index.js +6 -1
  24. package/server/CollaborationGroupFolderUtil/index.d.ts +4 -9
  25. package/server/CollaborationGroupFolderUtil/index.js +2 -6
  26. package/server/CollaborationGroupTemplateUtil/index.d.ts +4 -23
  27. package/server/CollaborationGroupTemplateUtil/index.js +3 -9
  28. package/server/CollaborationGroupUtil/index.d.ts +4 -40
  29. package/server/CollaborationGroupUtil/index.js +2 -6
  30. package/server/CollectionsInstance/index.d.ts +36 -53
  31. package/server/CollectionsInstance/index.js +69 -0
  32. package/server/ColorUtil/index.d.ts +4 -4
  33. package/server/CompoundAndFilterBuilder/index.d.ts +5 -8
  34. package/server/CompoundAndFilterBuilder/index.js +12 -0
  35. package/server/CompoundComparatorBuilder/index.d.ts +4 -11
  36. package/server/CompoundComparatorBuilder/index.js +12 -0
  37. package/server/CompoundOrFilterBuilder/index.d.ts +5 -8
  38. package/server/CompoundOrFilterBuilder/index.js +12 -0
  39. package/server/ContentNodeUtil/index.d.ts +3 -19
  40. package/server/ContentNodeUtil/index.js +11 -0
  41. package/server/CurrencyFactory/index.d.ts +3 -54
  42. package/server/CurrencyFactory/index.js +11 -0
  43. package/server/DateUtil/index.d.ts +3 -28
  44. package/server/DateUtil/index.js +5 -5
  45. package/server/DecorationUtil/index.d.ts +4 -4
  46. package/server/DecorationUtil/index.js +10 -0
  47. package/server/DeviceUtil/index.d.ts +4 -4
  48. package/server/DeviceUtil/index.js +11 -0
  49. package/server/DirectoryUtil/index.d.ts +10 -30
  50. package/server/DirectoryUtil/index.js +2 -2
  51. package/server/DocTypeUtil/index.d.ts +8 -9
  52. package/server/DocTypeUtil/index.js +17 -0
  53. package/server/EndecUtil/index.d.ts +2 -210
  54. package/server/EndecUtil/index.js +12 -12
  55. package/server/ExtendedDismaxParserBuilder/index.d.ts +5 -40
  56. package/server/ExtendedDismaxParserBuilder/index.js +22 -0
  57. package/server/FileIconRenderer/index.d.ts +3 -24
  58. package/server/FileIconRenderer/index.js +29 -0
  59. package/server/FileUtil/index.d.ts +4 -145
  60. package/server/FileUtil/index.js +20 -0
  61. package/server/FilterBuilder/index.d.ts +4 -18
  62. package/server/FilterBuilder/index.js +12 -0
  63. package/server/FolderUtil/index.d.ts +3 -51
  64. package/server/FolderUtil/index.js +13 -0
  65. package/server/FontUtil/index.d.ts +4 -4
  66. package/server/FontUtil/index.js +11 -0
  67. package/server/FormatterBuilderFactory/index.d.ts +4 -35
  68. package/server/FormatterBuilderFactory/index.js +12 -0
  69. package/server/HighlightBuilder/index.d.ts +4 -33
  70. package/server/HighlightBuilder/index.js +15 -0
  71. package/server/IconUtil/index.d.ts +4 -4
  72. package/server/IconUtil/index.js +12 -0
  73. package/server/ImageLinkRenderer/index.d.ts +2 -11
  74. package/server/ImageLinkRenderer/index.js +12 -0
  75. package/server/ImageRenderer/index.d.ts +7 -77
  76. package/server/ImageRenderer/index.js +49 -0
  77. package/server/ImageUtil/index.d.ts +4 -148
  78. package/server/ImageUtil/index.js +18 -0
  79. package/server/IndexUtil/index.d.ts +4 -24
  80. package/server/IndexUtil/index.js +11 -0
  81. package/server/IndexingUtil/index.d.ts +3 -33
  82. package/server/IndexingUtil/index.js +10 -0
  83. package/server/InstanceCreatorUtil/index.d.ts +9 -142
  84. package/server/InstanceCreatorUtil/index.js +36 -1
  85. package/server/InstanceTypeUtil/index.d.ts +3 -3
  86. package/server/InstanceTypeUtil/index.js +31 -0
  87. package/server/JwtUtil/index.d.ts +3 -74
  88. package/server/JwtUtil/index.js +13 -0
  89. package/server/LandingPageUtil/index.d.ts +4 -4
  90. package/server/LandingPageUtil/index.js +6 -6
  91. package/server/LinkPageUtil/index.d.ts +8 -177
  92. package/server/LinkPageUtil/index.js +13 -0
  93. package/server/LinkRenderer/index.d.ts +3 -209
  94. package/server/LinkRenderer/index.js +64 -0
  95. package/server/LinkTargetBuilder/index.d.ts +6 -11
  96. package/server/LinkTargetBuilder/index.js +16 -0
  97. package/server/LinkValueBuilder/index.d.ts +7 -5
  98. package/server/LinkValueBuilder/index.js +4 -4
  99. package/server/ListWrapper/index.d.ts +5 -15
  100. package/server/ListWrapper/index.js +19 -0
  101. package/server/LocaleUtil/index.d.ts +3 -302
  102. package/server/LocaleUtil/index.js +4 -4
  103. package/server/LogUtil/index.d.ts +3 -15
  104. package/server/LogUtil/index.js +7 -7
  105. package/server/MailBuilder/index.d.ts +5 -4
  106. package/server/MailBuilder/index.js +23 -0
  107. package/server/MailUtil/index.d.ts +2 -18
  108. package/server/MailUtil/index.js +15 -0
  109. package/server/MathInstance/index.d.ts +3 -10
  110. package/server/MathInstance/index.js +56 -0
  111. package/server/MessageDigesterFactory/index.d.ts +4 -4
  112. package/server/MessageDigesterFactory/index.js +13 -0
  113. package/server/MetadataDefinitionUtil/index.d.ts +5 -5
  114. package/server/MetadataDefinitionUtil/index.js +14 -0
  115. package/server/MetadataUtil/index.d.ts +6 -188
  116. package/server/MetadataUtil/index.js +5 -5
  117. package/server/MimeTypeUtil/index.d.ts +3 -86
  118. package/server/MimeTypeUtil/index.js +21 -0
  119. package/server/MonitorBuilder/index.d.ts +5 -4
  120. package/server/MonitorBuilder/index.js +11 -0
  121. package/server/NodeComparatorUtil/index.d.ts +3 -155
  122. package/server/NodeComparatorUtil/index.js +15 -0
  123. package/server/NodeFactoryUtil/index.d.ts +3 -3
  124. package/server/NodeFactoryUtil/index.js +11 -0
  125. package/server/NodeFilterUtil/index.d.ts +11 -97
  126. package/server/NodeFilterUtil/index.js +59 -0
  127. package/server/NodeIteratorUtil/index.d.ts +11 -117
  128. package/server/NodeIteratorUtil/index.js +6 -6
  129. package/server/NodeResolverUtil/index.d.ts +4 -354
  130. package/server/NodeResolverUtil/index.js +16 -0
  131. package/server/NodeTreeUtil/index.d.ts +10 -128
  132. package/server/NodeTreeUtil/index.js +4 -4
  133. package/server/NodeTypeUtil/index.d.ts +171 -54
  134. package/server/NodeTypeUtil/index.js +28 -23
  135. package/server/OfflineVersionPropertyUtil/index.d.ts +6 -2
  136. package/server/OfflineVersionPropertyUtil/index.js +8 -0
  137. package/server/OnlineVersionPropertyUtil/index.d.ts +6 -2
  138. package/server/OnlineVersionPropertyUtil/index.js +8 -0
  139. package/server/OutputUtil/index.d.ts +4 -244
  140. package/server/OutputUtil/index.js +16 -0
  141. package/server/PageUtil/index.d.ts +11 -122
  142. package/server/PageUtil/index.js +12 -0
  143. package/server/PermissionUtil/index.d.ts +9 -200
  144. package/server/PermissionUtil/index.js +24 -0
  145. package/server/PortletContextUtil/index.d.ts +3 -26
  146. package/server/PortletContextUtil/index.js +6 -5
  147. package/server/PortletUtil/index.d.ts +4 -9
  148. package/server/PortletUtil/index.js +10 -0
  149. package/server/PrincipalUtil/index.d.ts +5 -10
  150. package/server/PrincipalUtil/index.js +12 -0
  151. package/server/Properties/index.d.ts +3 -25
  152. package/server/Properties/index.js +4 -12
  153. package/server/PropertyUtil/index.d.ts +17 -822
  154. package/server/PropertyUtil/index.js +23 -69
  155. package/server/PublishingUtil/index.d.ts +3 -141
  156. package/server/QueryStringUtil/index.d.ts +3 -309
  157. package/server/QueryStringUtil/index.js +17 -0
  158. package/server/RedirectUtil/index.d.ts +4 -20
  159. package/server/RedirectUtil/index.js +14 -0
  160. package/server/RelatedValueBuilder/index.d.ts +8 -6
  161. package/server/RelatedValueBuilder/index.js +3 -3
  162. package/server/Requester/index.d.ts +8 -33
  163. package/server/Requester/index.js +6 -22
  164. package/server/ResourceLocatorUtil/index.d.ts +3 -106
  165. package/server/ResourceLocatorUtil/index.js +27 -25
  166. package/server/RestApi/index.d.ts +7 -39
  167. package/server/RestApi/index.js +2 -2
  168. package/server/RestAppInvokerFactory/index.d.ts +5 -5
  169. package/server/RestAppInvokerFactory/index.js +12 -0
  170. package/server/RoleAssignmentBuilder/index.d.ts +6 -9
  171. package/server/RoleAssignmentBuilder/index.js +13 -0
  172. package/server/RoleMatcherBuilder/index.d.ts +6 -9
  173. package/server/RoleMatcherBuilder/index.js +13 -0
  174. package/server/RoleUtil/index.d.ts +6 -9
  175. package/server/RoleUtil/index.js +13 -0
  176. package/server/ScriptUtil/index.d.ts +4 -194
  177. package/server/ScriptUtil/index.js +19 -14
  178. package/server/SearchFactory/index.d.ts +5 -7
  179. package/server/SearchFactory/index.js +22 -0
  180. package/server/SearchUtil/index.d.ts +5 -40
  181. package/server/SearchUtil/index.js +10 -0
  182. package/server/SearcherBuilder/index.d.ts +11 -49
  183. package/server/SearcherBuilder/index.js +17 -0
  184. package/server/Session/index.d.ts +28 -636
  185. package/server/Session/index.js +48 -0
  186. package/server/SimpleUserUtil/index.d.ts +4 -9
  187. package/server/SiteCookieUtil/index.d.ts +11 -16
  188. package/server/SiteCookieUtil/index.js +3 -0
  189. package/server/SortBuilder/index.d.ts +6 -6
  190. package/server/SortBuilder/index.js +12 -0
  191. package/server/SpellCheckBuilder/index.d.ts +4 -12
  192. package/server/SpellCheckBuilder/index.js +11 -0
  193. package/server/StandardParserBuilder/index.d.ts +5 -12
  194. package/server/StandardParserBuilder/index.js +12 -0
  195. package/server/StructureUtil/index.d.ts +3 -73
  196. package/server/StructureUtil/index.js +10 -0
  197. package/server/SubscriberUtil/index.d.ts +4 -27
  198. package/server/SubscriberUtil/index.js +13 -0
  199. package/server/SubscriptionUtil/index.d.ts +3 -54
  200. package/server/SubscriptionUtil/index.js +14 -0
  201. package/server/SystemUserUtil/index.d.ts +3 -79
  202. package/server/SystemUserUtil/index.js +3 -3
  203. package/server/TagUtil/index.d.ts +4 -60
  204. package/server/TagUtil/index.js +15 -0
  205. package/server/TemplateUtil/index.d.ts +6 -70
  206. package/server/TemplateUtil/index.js +15 -0
  207. package/server/TemporaryFileNodeBuilder/index.d.ts +5 -8
  208. package/server/TemporaryFileNodeBuilder/index.js +12 -0
  209. package/server/TemporaryNodeBuilder/index.d.ts +5 -44
  210. package/server/TemporaryNodeBuilder/index.js +21 -0
  211. package/server/TextModuleRendererBuilder/index.d.ts +6 -5
  212. package/server/TextModuleRendererBuilder/index.js +11 -0
  213. package/server/TimestampUtil/index.d.ts +3 -3
  214. package/server/TimestampUtil/index.js +7 -7
  215. package/server/TranslationUtil/index.d.ts +5 -62
  216. package/server/TranslationUtil/index.js +13 -0
  217. package/server/TrashcanUtil/index.d.ts +3 -78
  218. package/server/TrashcanUtil/index.js +3 -3
  219. package/server/UserDataUtil/index.d.ts +4 -55
  220. package/server/UserDataUtil/index.js +2 -2
  221. package/server/UserFactory/index.d.ts +5 -5
  222. package/server/UserFactory/index.js +4 -4
  223. package/server/UserFieldRenderer/index.d.ts +3 -67
  224. package/server/UserFieldRenderer/index.js +16 -0
  225. package/server/UserIdentityUtil/index.d.ts +3 -20
  226. package/server/UserIdentityUtil/index.js +1 -1
  227. package/server/UserUtil/index.d.ts +3 -14
  228. package/server/Utils/index.d.ts +14 -52
  229. package/server/Utils/index.js +82 -1
  230. package/server/VelocityRenderer/index.d.ts +4 -52
  231. package/server/VelocityRenderer/index.js +11 -0
  232. package/server/VersionUtil/index.d.ts +3 -3
  233. package/server/VersionUtil/index.js +0 -2
  234. package/server/WebContentUtil/index.d.ts +7 -181
  235. package/server/WebContentUtil/index.js +14 -0
  236. package/server/WebResourceFactory/index.d.ts +3 -3
  237. package/server/WebResourceFactory/index.js +15 -0
  238. package/server/XSLTUtil/index.d.ts +2 -15
  239. package/server/XmlParserUtil/index.d.ts +6 -5
  240. package/server/appData/index.d.ts +2 -2
  241. package/server/appInfo/index.d.ts +33 -0
  242. package/server/appInfo/index.js +38 -0
  243. package/server/appResource/index.d.ts +5 -3
  244. package/server/cache/index.d.ts +13 -0
  245. package/server/cache/index.js +15 -0
  246. package/server/globalAppData/index.d.ts +2 -2
  247. package/server/headless/index.d.ts +97 -0
  248. package/server/headless/index.js +10 -0
  249. package/server/hooks/index.d.ts +7 -7
  250. package/server/oauth2/index.d.ts +7 -2
  251. package/server/privileged/index.d.ts +4 -2
  252. package/server/storage/index.d.ts +27 -7
  253. package/{hidden → types}/javax/jcr/Binary/index.d.ts +3 -26
  254. package/types/javax/jcr/Binary/index.js +13 -0
  255. package/{hidden → types}/javax/jcr/Credentials/index.d.ts +3 -3
  256. package/types/javax/jcr/Credentials/index.js +8 -0
  257. package/{hidden → types}/javax/jcr/ImportUUIDBehavior/index.d.ts +3 -3
  258. package/types/javax/jcr/ImportUUIDBehavior/index.js +8 -0
  259. package/{hidden → types}/javax/jcr/Item/index.d.ts +6 -121
  260. package/types/javax/jcr/Item/index.js +23 -0
  261. package/{hidden → types}/javax/jcr/ItemVisitor/index.d.ts +6 -11
  262. package/types/javax/jcr/ItemVisitor/index.js +10 -0
  263. package/{hidden → types}/javax/jcr/NamespaceRegistry/index.d.ts +3 -20
  264. package/types/javax/jcr/NamespaceRegistry/index.js +15 -0
  265. package/{hidden → types}/javax/jcr/Node/index.d.ts +23 -1028
  266. package/types/javax/jcr/Node/index.js +56 -0
  267. package/{hidden → types}/javax/jcr/NodeIterator/index.d.ts +5 -6
  268. package/types/javax/jcr/NodeIterator/index.js +10 -0
  269. package/{hidden → types}/javax/jcr/Property/index.d.ts +71 -197
  270. package/types/javax/jcr/Property/index.js +27 -0
  271. package/{hidden → types}/javax/jcr/PropertyIterator/index.d.ts +5 -6
  272. package/types/javax/jcr/PropertyIterator/index.js +10 -0
  273. package/{hidden → types}/javax/jcr/RangeIterator/index.d.ts +3 -28
  274. package/types/javax/jcr/RangeIterator/index.js +12 -0
  275. package/{hidden → types}/javax/jcr/Repository/index.d.ts +54 -63
  276. package/types/javax/jcr/Repository/index.js +16 -0
  277. package/{hidden → types}/javax/jcr/RepositoryFactory/index.d.ts +5 -19
  278. package/types/javax/jcr/RepositoryFactory/index.js +10 -0
  279. package/{hidden → types}/javax/jcr/Value/index.d.ts +4 -36
  280. package/types/javax/jcr/Value/index.js +18 -0
  281. package/{hidden → types}/javax/jcr/ValueFactory/index.d.ts +7 -44
  282. package/types/javax/jcr/ValueFactory/index.js +11 -0
  283. package/{hidden → types}/javax/jcr/Workspace/index.d.ts +29 -426
  284. package/types/javax/jcr/Workspace/index.js +26 -0
  285. package/{hidden → types}/javax/jcr/lock/Lock/index.d.ts +4 -42
  286. package/types/javax/jcr/lock/Lock/index.js +18 -0
  287. package/{hidden → types}/javax/jcr/lock/LockManager/index.d.ts +4 -66
  288. package/types/javax/jcr/lock/LockManager/index.js +17 -0
  289. package/{hidden → types}/javax/jcr/nodetype/ItemDefinition/index.d.ts +4 -93
  290. package/types/javax/jcr/nodetype/ItemDefinition/index.js +15 -0
  291. package/{hidden → types}/javax/jcr/nodetype/NodeDefinition/index.d.ts +6 -64
  292. package/types/javax/jcr/nodetype/NodeDefinition/index.js +14 -0
  293. package/{hidden → types}/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +5 -8
  294. package/types/javax/jcr/nodetype/NodeDefinitionTemplate/index.js +17 -0
  295. package/{hidden → types}/javax/jcr/nodetype/NodeType/index.d.ts +39 -69
  296. package/types/javax/jcr/nodetype/NodeType/index.js +21 -0
  297. package/{hidden → types}/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +5 -90
  298. package/types/javax/jcr/nodetype/NodeTypeDefinition/index.js +18 -0
  299. package/{hidden → types}/javax/jcr/nodetype/NodeTypeIterator/index.d.ts +5 -6
  300. package/types/javax/jcr/nodetype/NodeTypeIterator/index.js +10 -0
  301. package/{hidden → types}/javax/jcr/nodetype/NodeTypeManager/index.d.ts +10 -50
  302. package/types/javax/jcr/nodetype/NodeTypeManager/index.js +21 -0
  303. package/{hidden → types}/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +7 -17
  304. package/types/javax/jcr/nodetype/NodeTypeTemplate/index.js +18 -0
  305. package/{hidden → types}/javax/jcr/nodetype/PropertyDefinition/index.d.ts +6 -247
  306. package/types/javax/jcr/nodetype/PropertyDefinition/index.js +16 -0
  307. package/{hidden → types}/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +5 -8
  308. package/types/javax/jcr/nodetype/PropertyDefinitionTemplate/index.js +21 -0
  309. package/{hidden → types}/javax/jcr/observation/Event/index.d.ts +7 -26
  310. package/types/javax/jcr/observation/Event/index.js +16 -0
  311. package/{hidden → types}/javax/jcr/observation/EventIterator/index.d.ts +5 -6
  312. package/types/javax/jcr/observation/EventIterator/index.js +10 -0
  313. package/{hidden → types}/javax/jcr/observation/EventJournal/index.d.ts +5 -8
  314. package/types/javax/jcr/observation/EventJournal/index.js +10 -0
  315. package/{hidden → types}/javax/jcr/observation/EventListener/index.d.ts +4 -6
  316. package/types/javax/jcr/observation/EventListener/index.js +10 -0
  317. package/{hidden → types}/javax/jcr/observation/EventListenerIterator/index.d.ts +5 -6
  318. package/types/javax/jcr/observation/EventListenerIterator/index.js +10 -0
  319. package/{hidden → types}/javax/jcr/observation/ObservationManager/index.d.ts +7 -80
  320. package/types/javax/jcr/observation/ObservationManager/index.js +14 -0
  321. package/{hidden → types}/javax/jcr/query/Query/index.d.ts +12 -66
  322. package/types/javax/jcr/query/Query/index.js +18 -0
  323. package/{hidden → types}/javax/jcr/query/QueryManager/index.d.ts +6 -21
  324. package/types/javax/jcr/query/QueryManager/index.js +13 -0
  325. package/{hidden → types}/javax/jcr/query/QueryResult/index.d.ts +5 -12
  326. package/types/javax/jcr/query/QueryResult/index.js +13 -0
  327. package/{hidden → types}/javax/jcr/query/Row/index.d.ts +6 -47
  328. package/types/javax/jcr/query/Row/index.js +14 -0
  329. package/{hidden → types}/javax/jcr/query/RowIterator/index.d.ts +5 -6
  330. package/types/javax/jcr/query/RowIterator/index.js +10 -0
  331. package/{hidden → types}/javax/jcr/query/qom/And/index.d.ts +4 -6
  332. package/types/javax/jcr/query/qom/And/index.js +11 -0
  333. package/{hidden → types}/javax/jcr/query/qom/BindVariableValue/index.d.ts +5 -5
  334. package/types/javax/jcr/query/qom/BindVariableValue/index.js +10 -0
  335. package/{hidden → types}/javax/jcr/query/qom/ChildNode/index.d.ts +5 -5
  336. package/types/javax/jcr/query/qom/ChildNode/index.js +11 -0
  337. package/{hidden → types}/javax/jcr/query/qom/ChildNodeJoinCondition/index.d.ts +5 -5
  338. package/types/javax/jcr/query/qom/ChildNodeJoinCondition/index.js +11 -0
  339. package/{hidden → types}/javax/jcr/query/qom/Column/index.d.ts +3 -6
  340. package/types/javax/jcr/query/qom/Column/index.js +12 -0
  341. package/{hidden → types}/javax/jcr/query/qom/Comparison/index.d.ts +7 -7
  342. package/types/javax/jcr/query/qom/Comparison/index.js +12 -0
  343. package/{hidden → types}/javax/jcr/query/qom/Constraint/index.d.ts +3 -3
  344. package/types/javax/jcr/query/qom/Constraint/index.js +8 -0
  345. package/{hidden → types}/javax/jcr/query/qom/DescendantNode/index.d.ts +5 -5
  346. package/types/javax/jcr/query/qom/DescendantNode/index.js +11 -0
  347. package/{hidden → types}/javax/jcr/query/qom/DescendantNodeJoinCondition/index.d.ts +5 -5
  348. package/types/javax/jcr/query/qom/DescendantNodeJoinCondition/index.js +11 -0
  349. package/{hidden → types}/javax/jcr/query/qom/DynamicOperand/index.d.ts +5 -3
  350. package/types/javax/jcr/query/qom/DynamicOperand/index.js +8 -0
  351. package/{hidden → types}/javax/jcr/query/qom/EquiJoinCondition/index.d.ts +5 -5
  352. package/types/javax/jcr/query/qom/EquiJoinCondition/index.js +13 -0
  353. package/{hidden → types}/javax/jcr/query/qom/FullTextSearch/index.d.ts +5 -6
  354. package/types/javax/jcr/query/qom/FullTextSearch/index.js +12 -0
  355. package/{hidden → types}/javax/jcr/query/qom/FullTextSearchScore/index.d.ts +5 -5
  356. package/types/javax/jcr/query/qom/FullTextSearchScore/index.js +10 -0
  357. package/{hidden → types}/javax/jcr/query/qom/Join/index.d.ts +6 -7
  358. package/types/javax/jcr/query/qom/Join/index.js +13 -0
  359. package/{hidden → types}/javax/jcr/query/qom/JoinCondition/index.d.ts +3 -3
  360. package/types/javax/jcr/query/qom/JoinCondition/index.js +8 -0
  361. package/{hidden → types}/javax/jcr/query/qom/Length/index.d.ts +5 -6
  362. package/types/javax/jcr/query/qom/Length/index.js +10 -0
  363. package/{hidden → types}/javax/jcr/query/qom/Literal/index.d.ts +5 -6
  364. package/types/javax/jcr/query/qom/Literal/index.js +10 -0
  365. package/{hidden → types}/javax/jcr/query/qom/LowerCase/index.d.ts +4 -6
  366. package/types/javax/jcr/query/qom/LowerCase/index.js +10 -0
  367. package/{hidden → types}/javax/jcr/query/qom/NodeLocalName/index.d.ts +5 -5
  368. package/types/javax/jcr/query/qom/NodeLocalName/index.js +10 -0
  369. package/{hidden → types}/javax/jcr/query/qom/NodeName/index.d.ts +5 -5
  370. package/types/javax/jcr/query/qom/NodeName/index.js +10 -0
  371. package/{hidden → types}/javax/jcr/query/qom/Not/index.d.ts +4 -6
  372. package/types/javax/jcr/query/qom/Not/index.js +10 -0
  373. package/{hidden → types}/javax/jcr/query/qom/Operand/index.d.ts +3 -3
  374. package/types/javax/jcr/query/qom/Operand/index.js +8 -0
  375. package/{hidden → types}/javax/jcr/query/qom/Or/index.d.ts +4 -6
  376. package/types/javax/jcr/query/qom/Or/index.js +11 -0
  377. package/{hidden → types}/javax/jcr/query/qom/Ordering/index.d.ts +4 -6
  378. package/types/javax/jcr/query/qom/Ordering/index.js +11 -0
  379. package/{hidden → types}/javax/jcr/query/qom/PropertyExistence/index.d.ts +5 -5
  380. package/types/javax/jcr/query/qom/PropertyExistence/index.js +11 -0
  381. package/{hidden → types}/javax/jcr/query/qom/PropertyValue/index.d.ts +5 -5
  382. package/types/javax/jcr/query/qom/PropertyValue/index.js +11 -0
  383. package/{hidden → types}/javax/jcr/query/qom/QueryObjectModel/index.d.ts +8 -9
  384. package/types/javax/jcr/query/qom/QueryObjectModel/index.js +13 -0
  385. package/{hidden → types}/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +3 -3
  386. package/types/javax/jcr/query/qom/QueryObjectModelConstants/index.js +8 -0
  387. package/{hidden → types}/javax/jcr/query/qom/QueryObjectModelFactory/index.d.ts +38 -174
  388. package/types/javax/jcr/query/qom/QueryObjectModelFactory/index.js +37 -0
  389. package/{hidden → types}/javax/jcr/query/qom/SameNode/index.d.ts +5 -5
  390. package/types/javax/jcr/query/qom/SameNode/index.js +11 -0
  391. package/{hidden → types}/javax/jcr/query/qom/SameNodeJoinCondition/index.d.ts +5 -5
  392. package/types/javax/jcr/query/qom/SameNodeJoinCondition/index.js +12 -0
  393. package/{hidden → types}/javax/jcr/query/qom/Selector/index.d.ts +5 -8
  394. package/types/javax/jcr/query/qom/Selector/index.js +11 -0
  395. package/{hidden → types}/javax/jcr/query/qom/Source/index.d.ts +3 -3
  396. package/types/javax/jcr/query/qom/Source/index.js +8 -0
  397. package/{hidden → types}/javax/jcr/query/qom/StaticOperand/index.d.ts +5 -3
  398. package/types/javax/jcr/query/qom/StaticOperand/index.js +8 -0
  399. package/{hidden → types}/javax/jcr/query/qom/UpperCase/index.d.ts +4 -6
  400. package/types/javax/jcr/query/qom/UpperCase/index.js +10 -0
  401. package/{hidden → types}/javax/jcr/retention/Hold/index.d.ts +3 -5
  402. package/types/javax/jcr/retention/Hold/index.js +11 -0
  403. package/{hidden → types}/javax/jcr/retention/RetentionManager/index.d.ts +6 -60
  404. package/types/javax/jcr/retention/RetentionManager/index.js +15 -0
  405. package/{hidden → types}/javax/jcr/retention/RetentionPolicy/index.d.ts +3 -5
  406. package/types/javax/jcr/retention/RetentionPolicy/index.js +10 -0
  407. package/{hidden → types}/javax/jcr/security/AccessControlEntry/index.d.ts +4 -6
  408. package/types/javax/jcr/security/AccessControlEntry/index.js +11 -0
  409. package/{hidden → types}/javax/jcr/security/AccessControlList/index.d.ts +8 -31
  410. package/types/javax/jcr/security/AccessControlList/index.js +12 -0
  411. package/{hidden → types}/javax/jcr/security/AccessControlManager/index.d.ts +7 -102
  412. package/types/javax/jcr/security/AccessControlManager/index.js +18 -0
  413. package/{hidden → types}/javax/jcr/security/AccessControlPolicy/index.d.ts +3 -3
  414. package/types/javax/jcr/security/AccessControlPolicy/index.js +8 -0
  415. package/{hidden → types}/javax/jcr/security/AccessControlPolicyIterator/index.d.ts +5 -6
  416. package/types/javax/jcr/security/AccessControlPolicyIterator/index.js +10 -0
  417. package/{hidden → types}/javax/jcr/security/NamedAccessControlPolicy/index.d.ts +5 -6
  418. package/types/javax/jcr/security/NamedAccessControlPolicy/index.js +10 -0
  419. package/{hidden → types}/javax/jcr/security/Privilege/index.d.ts +3 -15
  420. package/types/javax/jcr/security/Privilege/index.js +14 -0
  421. package/{hidden → types}/javax/jcr/version/Version/index.d.ts +6 -35
  422. package/types/javax/jcr/version/Version/index.js +16 -0
  423. package/{hidden → types}/javax/jcr/version/VersionHistory/index.d.ts +8 -87
  424. package/types/javax/jcr/version/VersionHistory/index.js +23 -0
  425. package/{hidden → types}/javax/jcr/version/VersionIterator/index.d.ts +5 -6
  426. package/types/javax/jcr/version/VersionIterator/index.js +10 -0
  427. package/{hidden → types}/javax/jcr/version/VersionManager/index.d.ts +8 -410
  428. package/types/javax/jcr/version/VersionManager/index.js +25 -0
  429. package/{hidden → types}/senselogic/sitevision/api/base/Builder/index.d.ts +3 -5
  430. package/types/senselogic/sitevision/api/base/Builder/index.js +10 -0
  431. package/{hidden → types}/senselogic/sitevision/api/base/Filter/index.d.ts +3 -5
  432. package/types/senselogic/sitevision/api/base/Filter/index.js +10 -0
  433. package/{hidden → types}/senselogic/sitevision/api/base/FilterSplit/index.d.ts +6 -12
  434. package/types/senselogic/sitevision/api/base/FilterSplit/index.js +12 -0
  435. package/{hidden → types}/senselogic/sitevision/api/base/Loadable/index.d.ts +3 -5
  436. package/types/senselogic/sitevision/api/base/Loadable/index.js +10 -0
  437. package/{hidden → types}/senselogic/sitevision/api/base/Resolver/index.d.ts +3 -5
  438. package/types/senselogic/sitevision/api/base/Resolver/index.js +10 -0
  439. package/{hidden → types}/senselogic/sitevision/api/base/Wrapper/index.d.ts +3 -5
  440. package/types/senselogic/sitevision/api/base/Wrapper/index.js +10 -0
  441. package/{hidden → types}/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.d.ts +12 -136
  442. package/types/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.js +30 -0
  443. package/{hidden → types}/senselogic/sitevision/api/format/NumericFormatter/index.d.ts +2 -20
  444. package/types/senselogic/sitevision/api/format/NumericFormatter/index.js +13 -0
  445. package/{hidden → types}/senselogic/sitevision/api/format/NumericFormatterBuilder/index.d.ts +5 -26
  446. package/types/senselogic/sitevision/api/format/NumericFormatterBuilder/index.js +15 -0
  447. package/{hidden → types}/senselogic/sitevision/api/i18n/Currency/index.d.ts +2 -45
  448. package/types/senselogic/sitevision/api/i18n/Currency/index.js +12 -0
  449. package/{hidden → types}/senselogic/sitevision/api/link/CustomLinkProcessor/index.d.ts +5 -16
  450. package/types/senselogic/sitevision/api/link/CustomLinkProcessor/index.js +11 -0
  451. package/{hidden → types}/senselogic/sitevision/api/link/CustomLinkRenderData/index.d.ts +4 -31
  452. package/types/senselogic/sitevision/api/link/CustomLinkRenderData/index.js +10 -0
  453. package/{hidden → types}/senselogic/sitevision/api/mail/Mail/index.d.ts +3 -8
  454. package/types/senselogic/sitevision/api/mail/Mail/index.js +11 -0
  455. package/{hidden → types}/senselogic/sitevision/api/message/MessageTextLinker/index.d.ts +3 -5
  456. package/types/senselogic/sitevision/api/message/MessageTextLinker/index.js +10 -0
  457. package/{hidden → types}/senselogic/sitevision/api/metadata/value/LinkValue/index.d.ts +3 -3
  458. package/types/senselogic/sitevision/api/metadata/value/LinkValue/index.js +8 -0
  459. package/{hidden → types}/senselogic/sitevision/api/metadata/value/RelatedValue/index.d.ts +3 -3
  460. package/types/senselogic/sitevision/api/metadata/value/RelatedValue/index.js +8 -0
  461. package/{hidden → types}/senselogic/sitevision/api/property/VersionedPropertyUtil/index.d.ts +9 -200
  462. package/types/senselogic/sitevision/api/property/VersionedPropertyUtil/index.js +18 -0
  463. package/{hidden → types}/senselogic/sitevision/api/render/ImageScaler/index.d.ts +3 -16
  464. package/types/senselogic/sitevision/api/render/ImageScaler/index.js +12 -0
  465. package/{hidden → types}/senselogic/sitevision/api/render/TextModuleRenderer/index.d.ts +3 -72
  466. package/types/senselogic/sitevision/api/render/TextModuleRenderer/index.js +16 -0
  467. package/{hidden → types}/senselogic/sitevision/api/render/velocity/VelocityAccess/index.d.ts +3 -3
  468. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess/index.js +8 -0
  469. package/{hidden → types}/senselogic/sitevision/api/render/velocity/VelocityContext/index.d.ts +3 -6
  470. package/types/senselogic/sitevision/api/render/velocity/VelocityContext/index.js +14 -0
  471. package/{hidden → types}/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.d.ts +2 -38
  472. package/types/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.js +10 -0
  473. package/{hidden → types}/senselogic/sitevision/api/script/RequesterChainable/index.d.ts +5 -52
  474. package/types/senselogic/sitevision/api/script/RequesterChainable/index.js +11 -0
  475. package/{hidden → types}/senselogic/sitevision/api/script/app/RestAppInvoker/index.d.ts +2 -36
  476. package/types/senselogic/sitevision/api/script/app/RestAppInvoker/index.js +13 -0
  477. package/{hidden → types}/senselogic/sitevision/api/script/factory/TypedArgument/index.d.ts +3 -5
  478. package/types/senselogic/sitevision/api/script/factory/TypedArgument/index.js +11 -0
  479. package/{hidden → types}/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts +3 -5
  480. package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.js +10 -0
  481. package/{hidden → types}/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts +3 -38
  482. package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.js +12 -0
  483. package/{hidden → types}/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.d.ts +3 -5
  484. package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.js +12 -0
  485. package/{hidden → types}/senselogic/sitevision/api/search/SearchFieldUtil/index.d.ts +2 -16
  486. package/types/senselogic/sitevision/api/search/SearchFieldUtil/index.js +15 -0
  487. package/{hidden → types}/senselogic/sitevision/api/search/SearchHighlighter/index.d.ts +4 -6
  488. package/types/senselogic/sitevision/api/search/SearchHighlighter/index.js +10 -0
  489. package/{hidden → types}/senselogic/sitevision/api/search/SearchHit/index.d.ts +12 -411
  490. package/types/senselogic/sitevision/api/search/SearchHit/index.js +35 -0
  491. package/{hidden → types}/senselogic/sitevision/api/search/SearchResult/index.d.ts +10 -147
  492. package/types/senselogic/sitevision/api/search/SearchResult/index.js +24 -0
  493. package/{hidden → types}/senselogic/sitevision/api/search/facet/SearchFacetField/index.d.ts +4 -6
  494. package/types/senselogic/sitevision/api/search/facet/SearchFacetField/index.js +12 -0
  495. package/{hidden → types}/senselogic/sitevision/api/search/facet/SearchFacetValue/index.d.ts +3 -16
  496. package/types/senselogic/sitevision/api/search/facet/SearchFacetValue/index.js +14 -0
  497. package/{hidden → types}/senselogic/sitevision/api/search/searcher/Searcher/index.d.ts +3 -39
  498. package/types/senselogic/sitevision/api/search/searcher/Searcher/index.js +10 -0
  499. package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Filter/index.d.ts +3 -3
  500. package/types/senselogic/sitevision/api/search/searcher/component/Filter/index.js +8 -0
  501. package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Highlight/index.d.ts +3 -3
  502. package/types/senselogic/sitevision/api/search/searcher/component/Highlight/index.js +8 -0
  503. package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Monitor/index.d.ts +3 -3
  504. package/types/senselogic/sitevision/api/search/searcher/component/Monitor/index.js +8 -0
  505. package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Parser/index.d.ts +3 -3
  506. package/types/senselogic/sitevision/api/search/searcher/component/Parser/index.js +8 -0
  507. package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Sort/index.d.ts +3 -3
  508. package/types/senselogic/sitevision/api/search/searcher/component/Sort/index.js +8 -0
  509. package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.d.ts +3 -3
  510. package/types/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.js +8 -0
  511. package/{hidden → types}/senselogic/sitevision/api/search/sort/CustomSort/index.d.ts +3 -20
  512. package/types/senselogic/sitevision/api/search/sort/CustomSort/index.js +16 -0
  513. package/{hidden → types}/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.d.ts +3 -5
  514. package/types/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.js +11 -0
  515. package/{hidden → types}/senselogic/sitevision/api/security/DirectoryAttributes/index.d.ts +5 -10
  516. package/types/senselogic/sitevision/api/security/DirectoryAttributes/index.js +13 -0
  517. package/{hidden → types}/senselogic/sitevision/api/security/MessageDigester/index.d.ts +3 -7
  518. package/types/senselogic/sitevision/api/security/MessageDigester/index.js +13 -0
  519. package/{hidden → types}/senselogic/sitevision/api/security/RoleAssignment/index.d.ts +4 -15
  520. package/types/senselogic/sitevision/api/security/RoleAssignment/index.js +13 -0
  521. package/{hidden → types}/senselogic/sitevision/api/security/RoleMatcher/index.d.ts +4 -6
  522. package/types/senselogic/sitevision/api/security/RoleMatcher/index.js +11 -0
  523. package/{hidden → types}/senselogic/sitevision/api/security/SecretStore/index.d.ts +5 -7
  524. package/types/senselogic/sitevision/api/security/SecretStore/index.js +15 -0
  525. package/{hidden → types}/senselogic/sitevision/api/security/UserUtil/index.d.ts +4 -6
  526. package/types/senselogic/sitevision/api/security/UserUtil/index.js +14 -0
  527. package/{hidden → types}/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.d.ts +6 -8
  528. package/types/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.js +10 -0
  529. package/{hidden → types}/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.d.ts +4 -6
  530. package/types/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.js +10 -0
  531. package/{hidden → types}/senselogic/sitevision/api/user/UserIdentityWrapper/index.d.ts +8 -198
  532. package/{server → types/senselogic/sitevision/api/user}/UserIdentityWrapper/index.js +20 -14
  533. package/{hidden → types}/senselogic/sitevision/api/webresource/LinkTarget/index.d.ts +3 -3
  534. package/types/senselogic/sitevision/api/webresource/LinkTarget/index.js +8 -0
  535. package/{hidden → types}/senselogic/sitevision/api/xml/XmlElement/index.d.ts +3 -5
  536. package/types/senselogic/sitevision/api/xml/XmlElement/index.js +15 -0
  537. package/{hidden → types}/senselogic/sitevision/api/xml/XmlElementHandler/index.d.ts +4 -6
  538. package/types/senselogic/sitevision/api/xml/XmlElementHandler/index.js +10 -0
  539. package/hidden/senselogic/sitevision/api/render/BuddyIconRenderer/BuddyIconInfo/index.d.ts +0 -51
  540. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ArticleUtilConstants/index.d.ts +0 -85
  541. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ExceptionSuppressingProxyConstants/index.d.ts +0 -31
  542. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/IndexingUtilConstants/index.d.ts +0 -31
  543. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/LinkPageUtilConstants/index.d.ts +0 -67
  544. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MathInstanceConstants/index.d.ts +0 -25
  545. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MimeTypeUtilConstants/index.d.ts +0 -19
  546. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/NodeTypeUtilConstants/index.d.ts +0 -1243
  547. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/OutputUtilConstants/index.d.ts +0 -31
  548. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PageUtilConstants/index.d.ts +0 -91
  549. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletContextUtilConstants/index.d.ts +0 -27
  550. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletUtilConstants/index.d.ts +0 -19
  551. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/QueryStringUtilConstants/index.d.ts +0 -19
  552. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchHitConstants/index.d.ts +0 -25
  553. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchResultConstants/index.d.ts +0 -37
  554. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/VersionUtilConstants/index.d.ts +0 -25
  555. package/server/ImageScaler/index.d.ts +0 -24
  556. package/server/SourceSetMode/index.d.ts +0 -7
  557. package/server/SourceSetMode/index.js +0 -1
  558. package/server/UserIdentityWrapper/index.d.ts +0 -138
@@ -1,12 +1,15 @@
1
- import Repository from "../../hidden/javax/jcr/Repository";
2
- import Workspace from "../../hidden/javax/jcr/Workspace";
3
- import Node from "../../hidden/javax/jcr/Node";
4
- import Credentials from "../../hidden/javax/jcr/Credentials";
5
- import Item from "../../hidden/javax/jcr/Item";
6
- import Property from "../../hidden/javax/jcr/Property";
7
- import ValueFactory from "../../hidden/javax/jcr/ValueFactory";
8
- import AccessControlManager from "../../hidden/javax/jcr/security/AccessControlManager";
9
- import RetentionManager from "../../hidden/javax/jcr/retention/RetentionManager";
1
+ import type { Repository } from "../../types/javax/jcr/Repository";
2
+
3
+ import type { Workspace } from "../../types/javax/jcr/Workspace";
4
+ import type { Node } from "../../types/javax/jcr/Node";
5
+ import type { Credentials } from "../../types/javax/jcr/Credentials";
6
+ import type { Item } from "../../types/javax/jcr/Item";
7
+ import type { Property } from "../../types/javax/jcr/Property";
8
+
9
+ import type { ValueFactory } from "../../types/javax/jcr/ValueFactory";
10
+
11
+ import type { AccessControlManager } from "../../types/javax/jcr/security/AccessControlManager";
12
+ import type { RetentionManager } from "../../types/javax/jcr/retention/RetentionManager";
10
13
 
11
14
  /**
12
15
  * Returns the <code>Repository</code> object through which this session was
@@ -1080,638 +1083,27 @@ export function getRetentionManager(): RetentionManager;
1080
1083
  * </p>
1081
1084
  * <pre><em><code>
1082
1085
  * #set ($jcrSession = $request.getAttribute('sitevision.jcr.session'))
1083
- * </code></em></pre>Returns the <code>Repository</code> object through which this session was
1084
- * acquired.Gets the user ID associated with this <code>Session</code>. How the user
1085
- * ID is set is up to the implementation, it may be a string passed in as
1086
- * part of the credentials or it may be a string acquired in some other way.
1087
- * This method is free to return an "anonymous user ID" or
1088
- * <code>null</code>.Returns the names of the attributes set in this session as a result of
1089
- * the <code>Credentials</code> that were used to acquire it. Not all
1090
- * <code>Credentials</code> implementations will contain attributes (though,
1091
- * for example, <code>SimpleCredentials</code> does allow for them). This
1092
- * method returns an empty array if the <code>Credentials</code> instance
1093
- * did not provide attributes.Returns the value of the named attribute as an <code>Object</code>, or
1094
- * <code>null</code> if no attribute of the given name exists. See {@link
1095
- * Session#getAttributeNames}.Returns the <code>Workspace</code> attached to this
1096
- * <code>Session</code>.Returns the root node of the workspace, "/". This node is the main access
1097
- * point to the content of the workspace.Returns a new session in accordance with the specified (new) Credentials.
1098
- * Allows the current user to "impersonate" another using incomplete or
1099
- * relaxed credentials requirements (perhaps including a user name but no
1100
- * password, for example), assuming that this <code>Session</code> gives
1101
- * them that permission.
1102
- * <p>
1103
- * The new <code>Session</code> is tied to a new <code>Workspace</code>
1104
- * instance. In other words, <code>Workspace</code> instances are not
1105
- * re-used. However, the <code>Workspace</code> instance returned represents
1106
- * the same actual persistent workspace entity in the repository as is
1107
- * represented by the <code>Workspace</code> object tied to this
1108
- * <code>Session</code>.Returns the node specified by the given UUID. Only applies to nodes that
1109
- * expose a UUID, in other words, those of mixin node type
1110
- * <code>mix:referenceable</code>
1111
- *
1112
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the node specified by the given identifier. Applies to both
1113
- * referenceable and non-referenceable nodes.Returns the node at the specified absolute path in the workspace. If no
1114
- * such node exists, then it returns the property at the specified path.
1115
- * <p>
1116
- * This method should only be used if the application does not know whether
1117
- * the item at the indicated path is property or node. In cases where the
1118
- * application has this information, either {@link #getNode} or {@link
1119
- * #getProperty} should be used, as appropriate. In many repository
1120
- * implementations the node and property-specific methods are likely to be
1121
- * more efficient than <code>getItem</code>.Returns the node at the specified absolute path in the workspace.Returns the property at the specified absolute path in the workspace.Returns <code>true</code> if an item exists at <code>absPath</code> and
1122
- * this <code>Session</code> has read access to it; otherwise returns
1123
- * <code>false</code>.Returns <code>true</code> if a node exists at <code>absPath</code> and
1124
- * this <code>Session</code> has read access to it; otherwise returns
1125
- * <code>false</code>.Returns <code>true</code> if a property exists at <code>absPath</code>
1126
- * and this <code>Session</code> has read access to it; otherwise returns
1127
- * <code>false</code>.Moves the node at <code>srcAbsPath</code> (and its entire subgraph) to
1128
- * the new location at <code>destAbsPath</code>.
1129
- * <p>
1130
- * This is a session-write method and therefor requires a <code>save</code>
1131
- * to dispatch the change.
1132
- * <p>
1133
- * The identifiers of referenceable nodes <i>must not</i> be changed by a
1134
- * <code>move</code>. The identifiers of non-referenceable nodes <i>may</i>
1135
- * change.
1136
- * <p>
1137
- * A <code>ConstraintViolationException</code> is thrown either immediately,
1138
- * on dispatch or on persist, if performing this operation would violate a
1139
- * node type or implementation-specific constraint. Implementations may
1140
- * differ on when this validation is performed.
1141
- * <p>
1142
- * As well, a <code>ConstraintViolationException</code> will be thrown on
1143
- * persist if an attempt is made to separately <code>save</code> either the
1144
- * source or destination node.
1145
- * <p>
1146
- * Note that this behavior differs from that of {@link Workspace#move},
1147
- * which is a workspace-write method and therefore immediately dispatches
1148
- * changes.
1149
- * <p>
1150
- * The <code>destAbsPath</code> provided must not have an index on its final
1151
- * element. If ordering is supported by the node type of the parent node of
1152
- * the new location, then the newly moved node is appended to the end of the
1153
- * child node list.
1154
- * <p>
1155
- * This method cannot be used to move an individual property by itself. It
1156
- * moves an entire node and its subgraph.
1157
- * <p>
1158
- * If no node exists at <code>srcAbsPath</code> or no node exists one level
1159
- * above <code>destAbsPath</code> (in other words, there is no node that
1160
- * will serve as the parent of the moved item) then a
1161
- * <code>PathNotFoundException</code> is thrown either immediately, on
1162
- * dispatch or on persist. Implementations may differ on when this
1163
- * validation is performed.
1164
- * <p>
1165
- * An <code>ItemExistsException</code> is thrown either immediately, on
1166
- * dispatch or on persist, if a node already exists at
1167
- * <code>destAbsPath</code> and same-name siblings are not allowed.
1168
- * Implementations may differ on when this validation is performed.
1169
- * <p>
1170
- * Note that if a property already exists at <code>destAbsPath</code>, the
1171
- * operation succeeds, since a node may have a child node and property with
1172
- * the same name.
1173
- * <p>
1174
- * A <code>VersionException</code> is thrown either immediately, on dispatch
1175
- * or on persist, if the parent node of <code>destAbsPath</code> or the
1176
- * parent node of <code>srcAbsPath</code> is read-only due to a checked-in node.
1177
- * Implementations may differ on when this validation is performed.
1178
- * <p>
1179
- * A <code>LockException</code> is thrown either immediately, on dispatch or
1180
- * on persist, if a lock prevents the <code>move</code>. Implementations may
1181
- * differ on when this validation is performed.
1182
- *
1183
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>Removes the specified item and its subgraph.
1184
- * <p>
1185
- * This is a session-write method and therefore requires a <code>save</code>
1186
- * in order to dispatch the change.
1187
- * <p>
1188
- * If a node with same-name siblings is removed, this decrements by one the
1189
- * indices of all the siblings with indices greater than that of the removed
1190
- * node. In other words, a removal compacts the array of same-name siblings
1191
- * and causes the minimal re-numbering required to maintain the original
1192
- * order but leave no gaps in the numbering.
1193
- * <p>
1194
- * A <code>ReferentialIntegrityException</code> will be thrown on dispatch
1195
- * if the specified item or an item in its subgraph is currently the target
1196
- * of a <code>REFERENCE</code> property located in this workspace but
1197
- * outside the specified item's subgraph and the current
1198
- * <code>Session</code> has read access to that <code>REFERENCE</code>
1199
- * property.
1200
- * <p>
1201
- * A <code>ConstraintViolationException</code> will be thrown either
1202
- * immediately, on dispatch or on persist, if removing the specified item
1203
- * would violate a node type or implementation-specific constraint.
1204
- * Implementations may differ on when this validation is performed.
1205
- * <p>
1206
- * A <code>VersionException</code> will be thrown either immediately, on
1207
- * dispatch or on persist, if the parent node of the specified item is
1208
- * read-only due to a checked-in node. Implementations may differ on when
1209
- * this validation is performed.
1210
- * <p>
1211
- * A <code>LockException</code> will be thrown either immediately, on
1212
- * dispatch or on persist, if a lock prevents the removal of the specified
1213
- * item. Implementations may differ on when this validation is performed.
1214
- * <p>
1215
- * A <code>PathNotFoundException</code> will be thrown either immediately,
1216
- * on dispatch or on persist, if no accessible item is found at at
1217
- * <code>absPath</code>.
1218
- * <p>
1219
- * A <code>AccessDeniedException</code> will be thrown either immediately,
1220
- * on dispatch or on persist, if the specified item or an item in its
1221
- * subgraph is currently the target of a <code>REFERENCE</code> property
1222
- * located in this workspace but outside the specified item's subgraph and
1223
- * the current <code>Session</code> <i>does not</i> have read access to that
1224
- * <code>REFERENCE</code> property.
1225
- *
1226
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>Validates all pending changes currently recorded in this
1227
- * <code>Session</code>. If validation of <i>all</i> pending changes
1228
- * succeeds, then this change information is cleared from the
1229
- * <code>Session</code>.
1230
- * <p>
1231
- * If the <code>save</code> occurs outside a transaction, the changes are
1232
- * <i>dispatched</i> and <i>persisted</i>. Upon being persisted the changes
1233
- * become potentially visible to other <code>Sessions</code> bound to the
1234
- * same persitent workspace.
1235
- * <p>
1236
- * If the <code>save</code> occurs within a transaction, the changes are
1237
- * <i>dispatched</i> but are not <i>persisted</i> until the transaction is
1238
- * committed.
1239
- * <p>
1240
- * If validation fails, then no pending changes are dispatched and they
1241
- * remain recorded on the <code>Session</code>. There is no best-effort or
1242
- * partial <code>save</code>.
1243
- *
1244
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>If <code>keepChanges</code> is <code>false</code>, this method discards
1245
- * all pending changes currently recorded in this <code>Session</code> and
1246
- * returns all items to reflect the current saved state. Outside a
1247
- * transaction this state is simply the current state of persistent storage.
1248
- * Within a transaction, this state will reflect persistent storage as
1249
- * modified by changes that have been saved but not yet committed.
1250
- * <p>
1251
- * If <code>keepChanges</code> is true then pending change are not discarded
1252
- * but items that do not have changes pending have their state refreshed to
1253
- * reflect the current saved state, thus revealing changes made by other
1254
- * sessions.
1255
- *
1256
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>true</code> if this session holds pending (that is,
1257
- * unsaved) changes; otherwise returns <code>false</code>.
1258
- *
1259
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>This method returns a <code>ValueFactory</code> that is used to create
1260
- * <code>Value</code> objects for use when setting repository properties.Returns <code>true</code> if this <code>Session</code> has permission to
1261
- * perform the specified actions at the specified <code>absPath</code> and
1262
- * <code>false</code> otherwise.
1263
- * <p>
1264
- * The <code>actions</code> parameter is a comma separated list of action
1265
- * strings. The following action strings are defined: <ul> <li> {@link
1266
- * #ACTION_ADD_NODE add_node}: If <code>hasPermission(path,
1267
- * "add_node")</code> returns <code>true</code>, then this
1268
- * <code>Session</code> has permission to add a node at <code>path</code>.
1269
- * </li> <li> {@link #ACTION_SET_PROPERTY set_property}: If
1270
- * <code>hasPermission(path, "set_property")</code> returns
1271
- * <code>true</code>, then this <code>Session</code> has permission to set
1272
- * (add or change) a property at <code>path</code>. </li> <li> {@link
1273
- * #ACTION_REMOVE remove}: If <code>hasPermission(path,
1274
- * "remove")</code> returns <code>true</code>, then this
1275
- * <code>Session</code> has permission to remove an item at
1276
- * <code>path</code>. </li> <li> {@link #ACTION_READ read}: If
1277
- * <code>hasPermission(path, "read")</code> returns <code>true</code>, then
1278
- * this <code>Session</code> has permission to retrieve (and read the value
1279
- * of, in the case of a property) an item at <code>path</code>. </li> </ul>
1280
- * When more than one action is specified in the <code>actions</code>
1281
- * parameter, this method will only return <code>true</code> if this
1282
- * <code>Session</code> has permission to perform <i>all</i> of the listed
1283
- * actions at the specified path.
1284
- * <p>
1285
- * The information returned through this method will only reflect the access
1286
- * control status (both JCR defined and implementation-specific) and not
1287
- * other restrictions that may exist, such as node type constraints. For
1288
- * example, even though <code>hasPermission</code> may indicate that a
1289
- * particular <code>Session</code> may add a property at
1290
- * <code>/A/B/C</code>, the node type of the node at <code>/A/B</code> may
1291
- * prevent the addition of a property called <code>C</code>.
1292
- *
1293
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>Determines whether this <code>Session</code> has permission to perform
1294
- * the specified actions at the specified <code>absPath</code>. This method
1295
- * quietly returns if the access request is permitted, or throws a suitable
1296
- * <code>java.security.AccessControlException</code> otherwise.
1297
- * <p>
1298
- * The <code>actions</code> parameter is a comma separated list of action
1299
- * strings. The following action strings are defined: <ul> <li> {@link
1300
- * #ACTION_ADD_NODE add_node}: If <code>checkPermission(path,
1301
- * "add_node")</code> returns quietly, then this <code>Session</code> has
1302
- * permission to add a node at <code>path</code>, otherwise permission is
1303
- * denied. </li> <li> {@link #ACTION_SET_PROPERTY set_property}:
1304
- * If <code>checkPermission(path, "set_property")</code> returns quietly,
1305
- * then this <code>Session</code> has permission to set (add or change) a
1306
- * property at <code>path</code>, otherwise permission is denied. </li> <li>
1307
- * {@link #ACTION_REMOVE remove}: If <code>checkPermission(path,
1308
- * "remove")</code> returns quietly, then this <code>Session</code> has
1309
- * permission to remove an item at <code>path</code>, otherwise permission
1310
- * is denied. </li> <li> {@link #ACTION_READ read}: If
1311
- * <code>checkPermission(path, "read")</code> returns quietly, then this
1312
- * <code>Session</code> has permission to retrieve (and read the value of,
1313
- * in the case of a property) an item at <code>path</code>, otherwise
1314
- * permission is denied. </li> </ul> When more than one action is specified
1315
- * in the <code>actions</code> parameter, this method will only return
1316
- * quietly if this <code>Session</code> has permission to perform <i>all</i>
1317
- * of the listed actions at the specified path.
1318
- * <p>
1319
- * The information returned through this method will only reflect access
1320
- * control status (both JCR defined and implementation-specific) and not
1321
- * other restrictions that may exist, such as node type constraints. For
1322
- * example, even though <code>checkPermission</code> may indicate that a
1323
- * particular <code>Session</code> may add a property at
1324
- * <code>/A/B/C</code>, the node type of the node at <code>/A/B</code> may
1325
- * prevent the addition of a property called <code>C</code>.
1326
- *
1327
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>Checks whether an operation can be performed given as much context as can
1328
- * be determined by the repository, including: <ul> <li> Permissions granted
1329
- * to the current user, including access control privileges. </li> <li>
1330
- * Current state of the target object (reflecting locks, checkin/checkout
1331
- * status, retention and hold status etc.). </li> <li> Repository
1332
- * capabilities. </li> <li> Node type-enforced restrictions. </li> <li>
1333
- * Repository configuration-specific restrictions. </li> </ul> The
1334
- * implementation of this method is best effort: returning
1335
- * <code>false</code> guarantees that the operation cannot be performed, but
1336
- * returning <code>true</code> does not guarantee the opposite. The
1337
- * repository implementation should use this to give priority to performance
1338
- * over completeness. An exception should be thrown only for important
1339
- * failures such as loss of connectivity to the back-end.
1340
- * <p>
1341
- * The implementation of this method is best effort: returning false
1342
- * guarantees that the operation cannot be performed, but returning true
1343
- * does not guarantee the opposite.
1344
- * <p>
1345
- * The <code>methodName</code> parameter identifies the method in question
1346
- * by its name as defined in the Javadoc.
1347
- * <p>
1348
- * The <code>target</code> parameter identifies the object on which the
1349
- * specified method is called.
1350
- * <p>
1351
- * The <code>arguments</code> parameter contains an array of type
1352
- * <code>Object</code> object consisting of the arguments to be passed
1353
- * to the method in question. In cases where a parameter is a Java
1354
- * primitive type it must be converted to its corresponding Java object form.
1355
- * <p>
1356
- * For example, given a <code>Session</code> <code>S</code> and
1357
- * <code>Node</code> <code>N</code> then
1358
- * <p>
1359
- * <code>boolean b = S.hasCapability("addNode", N, new Object[]{"foo"});</code>
1360
- * <p>
1361
- * will result in <code>b == false</code> if a child node called <code>foo</code> cannot be added to
1362
- * the node <code>N</code> within the session <code>S</code>.
1363
- *
1364
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns an <code>org.xml.sax.ContentHandler</code> which is used to push
1365
- * SAX events to the repository. If the incoming XML (in the form of SAX
1366
- * events) does not appear to be a JCR <i>system view</i> XML document then
1367
- * it is interpreted as a JCR <i>document view</i> XML document.
1368
- * <p>
1369
- * The incoming XML is deserialized into a subgraph of items immediately
1370
- * below the node at <code>parentAbsPath</code>.
1371
- * <p>
1372
- * This method simply returns the <code>ContentHandler</code> without
1373
- * altering the state of the session; the actual deserialization to the
1374
- * session transient space is done through the methods of the
1375
- * <code>ContentHandler</code>. Invalid XML data will cause the
1376
- * <code>ContentHandler</code> to throw a <code>SAXException</code>.
1377
- * <p>
1378
- * As SAX events are fed into the <code>ContentHandler</code>, the tree of
1379
- * new items is built in the transient storage of the session. In order to
1380
- * dispatch the new content, <code>save</code> must be called. See {@link
1381
- * Workspace#getImportContentHandler} for a workspace-write version of this
1382
- * method.
1383
- * <p>
1384
- * The flag <code>uuidBehavior</code> governs how the identifiers of
1385
- * incoming nodes are handled: <ul> <li> {@link ImportUUIDBehavior#IMPORT_UUID_CREATE_NEW}:
1386
- * Incoming identifiers nodes are added in the same way that new node is
1387
- * added with <code>Node.addNode</code>. That is, they are either assigned
1388
- * newly created identifiers upon addition or upon <code>save</code>
1389
- * (depending on the implementation). In either case, identifier collisions
1390
- * will not occur. </li> <li> {@link ImportUUIDBehavior#IMPORT_UUID_COLLISION_REMOVE_EXISTING}:
1391
- * If an incoming node has the same identifier as a node already existing in
1392
- * the workspace then the already existing node (and its subgraph) is
1393
- * removed from wherever it may be in the workspace before the incoming node
1394
- * is added. Note that this can result in nodes "disappearing" from
1395
- * locations in the workspace that are remote from the location to which the
1396
- * incoming subgraph is being written. Both the removal and the new addition
1397
- * will be persisted on <code>save</code>. </li> <li> {@link
1398
- * ImportUUIDBehavior#IMPORT_UUID_COLLISION_REPLACE_EXISTING}: If an
1399
- * incoming node has the same identifier as a node already existing in the
1400
- * workspace, then the already-existing node is replaced by the incoming
1401
- * node in the same position as the existing node. Note that this may result
1402
- * in the incoming subgraph being disaggregated and "spread around" to
1403
- * different locations in the workspace. In the most extreme case this
1404
- * behavior may result in no node at all being added as child of
1405
- * <code>parentAbsPath</code>. This will occur if the topmost element of the
1406
- * incoming XML has the same identifier as an existing node elsewhere in the
1407
- * workspace. The change will be persisted on <code>save</code>. </li> <li>
1408
- * {@link ImportUUIDBehavior#IMPORT_UUID_COLLISION_THROW}: If an incoming
1409
- * node has the same identifier as a node already existing in the workspace
1410
- * then a <code>SAXException</code> is thrown by the
1411
- * <code>ContentHandler</code> during deserialization. </li> </ul> Unlike
1412
- * <code>Workspace.getImportContentHandler</code>, this method does not
1413
- * necessarily enforce all node type constraints during deserialization.
1414
- * Those that would be immediately enforced in a session-write method
1415
- * (<code>Node.addNode</code>, <code>Node.setProperty</code> etc.) of this
1416
- * implementation cause the returned <code>ContentHandler</code> to throw an
1417
- * immediate <code>SAXException</code> during deserialization. All other
1418
- * constraints are checked on save, just as they are in normal write
1419
- * operations. However, which node type constraints are enforced depends
1420
- * upon whether node type information in the imported data is respected, and
1421
- * this is an implementation-specific issue.
1422
- * <p>
1423
- * A <code>SAXException</code> will also be thrown by the returned
1424
- * <code>ContentHandler</code> during deserialization if
1425
- * <code>uuidBehavior</code> is set to <code>IMPORT_UUID_COLLISION_REMOVE_EXISTING</code>
1426
- * and an incoming node has the same identifier as the node at
1427
- * <code>parentAbsPath</code> or one of its ancestors.
1428
- * <p>
1429
- * A <code>PathNotFoundException</code> is thrown either immediately, on
1430
- * dispatch or on persist, if no node exists at <code>parentAbsPath</code>.
1431
- * Implementations may differ on when this validation is performed
1432
- * <p>
1433
- * A <code>ConstraintViolationException</code> is thrown either immediately,
1434
- * on dispatch or on persist, if the new subgraph cannot be added to the
1435
- * node at <code>parentAbsPath</code> due to node-type or other
1436
- * implementation-specific constraints, and this can be determined before
1437
- * the first SAX event is sent. Implementations may differ on when this
1438
- * validation is performed.
1439
- * <p>
1440
- * A <code>VersionException</code> is thrown either immediately, on dispatch
1441
- * or on persist, if the node at <code>parentAbsPath</code> is read-only due
1442
- * to a check-in. Implementations may differ on when this validation is
1443
- * performed.
1444
- * <p>
1445
- * A <code>LockException</code> is thrown either immediately, on dispatch or
1446
- * on persist, if a lock prevents the addition of the subgraph.
1447
- * Implementations may differ on when this validation is performed.
1448
- *
1449
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>Deserializes an XML document and adds the resulting item subgraph as a
1450
- * child of the node at <code>parentAbsPath</code>.
1451
- * <p>
1452
- * If the incoming XML stream does not appear to be a JCR <i>system view</i>
1453
- * XML document then it is interpreted as a <i>document view</i> XML
1454
- * document.
1455
- * <p>
1456
- * The passed <code>InputStream</code> is closed before this method returns
1457
- * either normally or because of an exception.
1458
- * <p>
1459
- * The tree of new items is built in the transient storage of the
1460
- * <code>Session</code>. In order to persist the new content,
1461
- * <code>save</code> must be called. The advantage of this
1462
- * through-the-session method is that (depending on what constraint checks
1463
- * the implementation leaves until <code>save</code>) structures that
1464
- * violate node type constraints can be imported, fixed and then saved. The
1465
- * disadvantage is that a large import will result in a large cache of
1466
- * pending nodes in the session. See {@link Workspace#importXML} for a
1467
- * version of this method that does not go through the
1468
- * <code>Session</code>.
1469
- * <p>
1470
- * The flag <code>uuidBehavior</code> governs how the identifiers of
1471
- * incoming nodes are handled. There are four options: <ul> <li> {@link
1472
- * ImportUUIDBehavior#IMPORT_UUID_CREATE_NEW}: Incoming nodes are added in
1473
- * the same way that new node is added with <code>Node.addNode</code>. That
1474
- * is, they are either assigned newly created identifiers upon addition or
1475
- * upon <code>save</code> (depending on the implementation, see <i>4.9.1.1
1476
- * When Identifiers are Assigned</i> in the specification). In either case,
1477
- * identifier collisions will not occur. </li> <li> {@link
1478
- * ImportUUIDBehavior#IMPORT_UUID_COLLISION_REMOVE_EXISTING}: If an incoming
1479
- * node has the same identifier as a node already existing in the workspace
1480
- * then the already existing node (and its subgraph) is removed from
1481
- * wherever it may be in the workspace before the incoming node is added.
1482
- * Note that this can result in nodes "disappearing" from locations in the
1483
- * workspace that are remote from the location to which the incoming
1484
- * subgraph is being written. Both the removal and the new addition will be
1485
- * dispatched on <code>save</code>. </li> <li> {@link
1486
- * ImportUUIDBehavior#IMPORT_UUID_COLLISION_REPLACE_EXISTING}: If an
1487
- * incoming node has the same identifier as a node already existing in the
1488
- * workspace, then the already-existing node is replaced by the incoming
1489
- * node in the same position as the existing node. Note that this may result
1490
- * in the incoming subgraph being disaggregated and "spread around" to
1491
- * different locations in the workspace. In the most extreme case this
1492
- * behavior may result in no node at all being added as child of
1493
- * <code>parentAbsPath</code>. This will occur if the topmost element of the
1494
- * incoming XML has the same identifier as an existing node elsewhere in the
1495
- * workspace. The change will be dispatched on <code>save</code>. </li> <li>
1496
- * {@link ImportUUIDBehavior#IMPORT_UUID_COLLISION_THROW}: If an incoming
1497
- * node has the same identifier as a node already existing in the workspace
1498
- * then an <code>ItemExistsException</code> is thrown. </li> </ul> Unlike
1499
- * {@link Workspace#importXML}, this method does not necessarily enforce all
1500
- * node type constraints during deserialization. Those that would be
1501
- * immediately enforced in a normal write method (<code>Node.addNode</code>,
1502
- * <code>Node.setProperty</code> etc.) of this implementation cause an
1503
- * immediate <code>ConstraintViolationException</code> during
1504
- * deserialization. All other constraints are checked on <code>save</code>,
1505
- * just as they are in normal write operations. However, which node type
1506
- * constraints are enforced depends upon whether node type information in
1507
- * the imported data is respected, and this is an implementation-specific
1508
- * issue.
1509
- * <p>
1510
- * A <code>ConstraintViolationException</code> will also be thrown
1511
- * immediately if <code>uuidBehavior</code> is set to
1512
- * <code>IMPORT_UUID_COLLISION_REMOVE_EXISTING</code> and an incoming node
1513
- * has the same identifier as the node at <code>parentAbsPath</code> or one
1514
- * of its ancestors.
1515
- * <p>
1516
- * A <code>PathNotFoundException</code> is thrown either immediately, on
1517
- * dispatch or on persist, if no node exists at <code>parentAbsPath</code>.
1518
- * Implementations may differ on when this validation is performed
1519
- * <p>
1520
- * A <code>ConstraintViolationException</code> is thrown either immediately,
1521
- * on dispatch or on persist, if the new subgraph cannot be added to the
1522
- * node at <code>parentAbsPath</code> due to node-type or other
1523
- * implementation-specific constraints. Implementations may differ on when
1524
- * this validation is performed.
1525
- * <p>
1526
- * A <code>VersionException</code> is thrown either immediately, on dispatch
1527
- * or on persist, if the node at <code>parentAbsPath</code> is read-only due
1528
- * to a check-in. Implementations may differ on when this validation is
1529
- * performed.
1530
- * <p>
1531
- * A <code>LockException</code> is thrown either immediately, on dispatch or
1532
- * on persist, if a lock prevents the addition of the subgraph.
1533
- * Implementations may differ on when this validation is performed.
1534
- *
1535
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>Serializes the node (and if <code>noRecurse</code> is <code>false</code>,
1536
- * the whole subgraph) at <code>absPath</code> into a series of SAX events
1537
- * by calling the methods of the supplied <code>org.xml.sax.ContentHandler</code>.
1538
- * The resulting XML is in the system view form. Note that
1539
- * <code>absPath</code> must be the path of a node, not a property.
1540
- * <p>
1541
- * If <code>skipBinary</code> is true then any properties of
1542
- * <code>PropertyType.BINARY</code> will be serialized as if they are empty.
1543
- * That is, the existence of the property will be serialized, but its
1544
- * content will not appear in the serialized output (the
1545
- * <code>&lt;sv:value&gt;</code> element will have no content). Note that in
1546
- * the case of multi-value <code>BINARY</code> properties, the number of
1547
- * values in the property will be reflected in the serialized output, though
1548
- * they will all be empty. If <code>skipBinary</code> is false then the
1549
- * actual value(s) of each <code>BINARY</code> property is recorded using
1550
- * Base64 encoding.
1551
- * <p>
1552
- * If <code>noRecurse</code> is true then only the node at
1553
- * <code>absPath</code> and its properties, but not its child nodes, are
1554
- * serialized. If <code>noRecurse</code> is <code>false</code> then the
1555
- * entire subgraph rooted at <code>absPath</code> is serialized.
1556
- * <p>
1557
- * If the user lacks read access to some subsection of the specified tree,
1558
- * that section simply does not get serialized, since, from the user's point
1559
- * of view, it is not there.
1560
- * <p>
1561
- * The serialized output will reflect the state of the current workspace as
1562
- * modified by the state of this <code>Session</code>. This means that
1563
- * pending changes (regardless of whether they are valid according to node
1564
- * type constraints) and all namespace mappings in the namespace registry,
1565
- * as modified by the current session-mappings, are reflected in the
1566
- * output.
1567
- * <p>
1568
- * The output XML will be encoded in UTF-8.
1569
- *
1570
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>Serializes the node (and if <code>noRecurse</code> is <code>false</code>,
1571
- * the whole subgraph) at <code>absPath</code> as an XML stream and outputs
1572
- * it to the supplied <code>OutputStream</code>. The resulting XML is in the
1573
- * system view form. Note that <code>absPath</code> must be the path of a
1574
- * node, not a property.
1575
- * <p>
1576
- * If <code>skipBinary</code> is true then any properties of
1577
- * <code>PropertyType.BINARY</code> will be serialized as if they are empty.
1578
- * That is, the existence of the property will be serialized, but its
1579
- * content will not appear in the serialized output (the
1580
- * <code>&lt;sv:value&gt;</code> element will have no content). Note that in
1581
- * the case of multi-value <code>BINARY</code> properties, the number of
1582
- * values in the property will be reflected in the serialized output, though
1583
- * they will all be empty. If <code>skipBinary</code> is false then the
1584
- * actual value(s) of each <code>BINARY</code> property is recorded using
1585
- * Base64 encoding.
1586
- * <p>
1587
- * If <code>noRecurse</code> is true then only the node at
1588
- * <code>absPath</code> and its properties, but not its child nodes, are
1589
- * serialized. If <code>noRecurse</code> is <code>false</code> then the
1590
- * entire subgraph rooted at <code>absPath</code> is serialized.
1591
- * <p>
1592
- * If the user lacks read access to some subsection of the specified tree,
1593
- * that section simply does not get serialized, since, from the user's point
1594
- * of view, it is not there.
1595
- * <p>
1596
- * The serialized output will reflect the state of the current workspace as
1597
- * modified by the state of this <code>Session</code>. This means that
1598
- * pending changes (regardless of whether they are valid according to node
1599
- * type constraints) and all namespace mappings in the namespace registry,
1600
- * as modified by the current session-mappings, are reflected in the
1601
- * output.
1602
- * <p>
1603
- * The output XML will be encoded in UTF-8.
1604
- * <p>
1605
- * It is the responsibility of the caller to close the passed
1606
- * <code>OutputStream</code>.
1607
- *
1608
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>Serializes the node (and if <code>noRecurse</code> is <code>false</code>,
1609
- * the whole subgraph) at <code>absPath</code> into a series of SAX events
1610
- * by calling the methods of the supplied <code>org.xml.sax.ContentHandler</code>.
1611
- * The resulting XML is in the document view form. Note that
1612
- * <code>absPath</code> must be the path of a node, not a property.
1613
- * <p>
1614
- * If <code>skipBinary</code> is true then any properties of
1615
- * <code>PropertyType.BINARY</code> will be serialized as if they are empty.
1616
- * That is, the existence of the property will be serialized, but its
1617
- * content will not appear in the serialized output (the value of the
1618
- * attribute will be empty). If <code>skipBinary</code> is false then the
1619
- * actual value(s) of each <code>BINARY</code> property is recorded using
1620
- * Base64 encoding.
1621
- * <p>
1622
- * If <code>noRecurse</code> is true then only the node at
1623
- * <code>absPath</code> and its properties, but not its child nodes, are
1624
- * serialized. If <code>noRecurse</code> is <code>false</code> then the
1625
- * entire subgraph rooted at <code>absPath</code> is serialized.
1626
- * <p>
1627
- * If the user lacks read access to some subsection of the specified tree,
1628
- * that section simply does not get serialized, since, from the user's point
1629
- * of view, it is not there.
1630
- * <p>
1631
- * The serialized output will reflect the state of the current workspace as
1632
- * modified by the state of this <code>Session</code>. This means that
1633
- * pending changes (regardless of whether they are valid according to node
1634
- * type constraints) and all namespace mappings in the namespace registry,
1635
- * as modified by the current session-mappings, are reflected in the
1636
- * output.
1637
- * <p>
1638
- * The output XML will be encoded in UTF-8.
1639
- *
1640
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>Serializes the node (and if <code>noRecurse</code> is <code>false</code>,
1641
- * the whole subgraph) at <code>absPath</code> as an XML stream and outputs
1642
- * it to the supplied <code>OutputStream</code>. The resulting XML is in the
1643
- * document view form. Note that <code>absPath</code> must be the path of a
1644
- * node, not a property.
1645
- * <p>
1646
- * If <code>skipBinary</code> is true then any properties of
1647
- * <code>PropertyType.BINARY</code> will be serialized as if they are empty.
1648
- * That is, the existence of the property will be serialized, but its
1649
- * content will not appear in the serialized output (the value of the
1650
- * attribute will be empty). If <code>skipBinary</code> is false then the
1651
- * actual value(s) of each <code>BINARY</code> property is recorded using
1652
- * Base64 encoding.
1653
- * <p>
1654
- * If <code>noRecurse</code> is true then only the node at
1655
- * <code>absPath</code> and its properties, but not its child nodes, are
1656
- * serialized. If <code>noRecurse</code> is <code>false</code> then the
1657
- * entire subgraph rooted at <code>absPath</code> is serialized.
1658
- * <p>
1659
- * If the user lacks read access to some subsection of the specified tree,
1660
- * that section simply does not get serialized, since, from the user's point
1661
- * of view, it is not there.
1662
- * <p>
1663
- * The serialized output will reflect the state of the current workspace as
1664
- * modified by the state of this <code>Session</code>. This means that
1665
- * pending changes (regardless of whether they are valid according to node
1666
- * type constraints) and all namespace mappings in the namespace registry,
1667
- * as modified by the current session-mappings, are reflected in the
1668
- * output.
1669
- * <p>
1670
- * The output XML will be encoded in UTF-8.
1671
- * <p>
1672
- * It is the responsibility of the caller to close the passed
1673
- * <code>OutputStream</code>.
1674
- *
1675
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>Within the scope of this <code>Session</code>, this method maps
1676
- * <code>uri</code> to <code>prefix</code>. The remapping only affects
1677
- * operations done through this <code>Session</code>. To clear all
1678
- * remappings, the client must acquire a new <code>Session</code>.
1679
- * <p>
1680
- * All local mappings already present in the <code>Session</code> that
1681
- * include either the specified <code>prefix</code> or the specified
1682
- * <code>uri</code> are removed and the new mapping is added.
1683
- *
1684
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns all prefixes currently mapped to URIs in this
1685
- * <code>Session</code>.Returns the URI to which the given <code>prefix</code> is mapped as
1686
- * currently set in this <code>Session</code>.Returns the prefix to which the given <code>uri</code> is mapped as
1687
- * currently set in this <code>Session</code>.Releases all resources associated with this <code>Session</code>. This
1688
- * method should be called when a <code>Session</code> is no longer needed.Returns <code>true</code> if this <code>Session</code> object is usable
1689
- * by the client. Otherwise, returns <code>false</code>. A usable
1690
- * <code>Session</code> is one that is neither logged-out, timed-out nor in
1691
- * any other way disconnected from the repository.Adds the specified lock token to this <code>Session</code>. Holding a
1692
- * lock token makes this <code>Session</code> the owner of the lock
1693
- * specified by that particular lock token.
1694
- *
1695
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns an array containing all lock tokens currently held by this
1696
- * <code>Session</code>. Note that any such tokens will represent
1697
- * open-scoped locks, since session-scoped locks do not have tokens.
1698
- *
1699
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>Removes the specified lock token from this <code>Session</code>.
1700
- *
1701
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the access control manager for this <code>Session</code>.
1702
- *
1703
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the retention and hold manager for this <code>Session</code>.
1704
- *
1705
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>A constant representing the <code>read</code> action string, used to
1086
+ * </code></em></pre>A constant representing the <code>read</code> action string, used to
1706
1087
  * determine if this <code>Session</code> has permission to retrieve an item
1707
1088
  * (and read the value, in the case of a property).A constant representing the <code>add_node</code> action string, used to
1708
1089
  * determine if this <code>Session</code> has permission to add a new node.A constant representing the <code>set_property</code> action string, used
1709
1090
  * to determine if this <code>Session</code> has permission to set (add or
1710
1091
  * modify) a property.A constant representing the <code>remove</code> action string, used to
1711
1092
  * determine if this <code>Session</code> has permission to remove an item.
1712
-
1713
- */
1714
- declare namespace Session {
1093
+ * @see #hasPermission(String, String)
1094
+ * @see #checkPermission(String, String)
1095
+ * @since JCR 2.0
1096
+ * @see #hasPermission(String, String)
1097
+ * @see #checkPermission(String, String)
1098
+ * @since JCR 2.0
1099
+ * @see #hasPermission(String, String)
1100
+ * @see #checkPermission(String, String)
1101
+ * @since JCR 2.0
1102
+ * @see #hasPermission(String, String)
1103
+ * @see #checkPermission(String, String)
1104
+ * @since JCR 2.0
1105
+ */
1106
+ declare namespace session {
1715
1107
  export {
1716
1108
  getRepository,
1717
1109
  getUserID,
@@ -1755,4 +1147,4 @@ declare namespace Session {
1755
1147
  };
1756
1148
  }
1757
1149
 
1758
- export default Session;
1150
+ export default session;