@sitevision/api 2.0.0-alpha.0 → 2.0.0-alpha.2

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 (609) hide show
  1. package/common/router/index.d.ts +4 -4
  2. package/index.d.ts +8 -0
  3. package/package.json +1 -1
  4. package/server/AliasUtil/index.d.ts +13 -11
  5. package/server/ArchiveUtil/index.d.ts +45 -43
  6. package/server/ArraysInstance/index.d.ts +1667 -1808
  7. package/server/ArticleUtil/index.d.ts +294 -226
  8. package/server/AuthenticationUtil/index.d.ts +73 -85
  9. package/server/BookmarkUtil/index.d.ts +76 -81
  10. package/server/BuddyIconRenderer/index.d.ts +124 -132
  11. package/server/BuddyIconRenderer.BuddyIconSize/index.d.ts +41 -0
  12. package/server/BuddyIconRenderer.BuddyIconSize/index.js +25 -0
  13. package/server/ClientUtil/index.d.ts +11 -9
  14. package/server/CollaborationFactory/index.d.ts +37 -40
  15. package/server/CollaborationGroupFolderUtil/index.d.ts +30 -28
  16. package/server/CollaborationGroupState/index.d.ts +27 -0
  17. package/server/CollaborationGroupState/index.js +11 -0
  18. package/server/CollaborationGroupTemplateUtil/index.d.ts +48 -50
  19. package/server/CollaborationGroupType/index.d.ts +28 -0
  20. package/server/CollaborationGroupType/index.js +12 -0
  21. package/server/CollaborationGroupUtil/index.d.ts +86 -82
  22. package/server/CollectionsInstance/index.d.ts +642 -705
  23. package/server/ColorUtil/index.d.ts +36 -37
  24. package/server/CompoundAndFilterBuilder/index.d.ts +31 -29
  25. package/server/CompoundComparatorBuilder/index.d.ts +35 -33
  26. package/server/CompoundOrFilterBuilder/index.d.ts +31 -29
  27. package/server/ContentNodeUtil/index.d.ts +36 -34
  28. package/server/CurrencyFactory/index.d.ts +72 -70
  29. package/server/DateUtil/index.d.ts +132 -142
  30. package/server/DecorationUtil/index.d.ts +13 -11
  31. package/server/DeviceUtil/index.d.ts +21 -19
  32. package/server/DimensionMode/index.d.ts +17 -0
  33. package/server/DimensionMode/index.js +12 -0
  34. package/server/DirectoryUtil/index.d.ts +90 -88
  35. package/server/DocType/index.d.ts +30 -0
  36. package/server/DocType/index.js +14 -0
  37. package/server/DocTypeUtil/index.d.ts +129 -135
  38. package/server/EndecUtil/index.d.ts +330 -347
  39. package/server/ExtendedDismaxParserBuilder/index.d.ts +156 -170
  40. package/server/FileIconRenderer/index.d.ts +153 -172
  41. package/server/FileUtil/index.d.ts +274 -300
  42. package/server/FilterBuilder/index.d.ts +42 -40
  43. package/server/FolderUtil/index.d.ts +93 -94
  44. package/server/FontUtil/index.d.ts +36 -37
  45. package/server/FormatterBuilderFactory/index.d.ts +76 -84
  46. package/server/HighlightBuilder/index.d.ts +79 -86
  47. package/server/IconUtil/index.d.ts +27 -25
  48. package/server/ImageLinkRenderer/index.d.ts +34 -32
  49. package/server/ImageRenderer/index.d.ts +343 -379
  50. package/server/ImageUtil/index.d.ts +247 -265
  51. package/server/IndexUtil/index.d.ts +40 -37
  52. package/server/IndexUtil.IndexType/index.d.ts +29 -0
  53. package/server/IndexUtil.IndexType/index.js +13 -0
  54. package/server/IndexingUtil/index.d.ts +69 -47
  55. package/server/InstanceCreatorUtil/index.d.ts +421 -457
  56. package/server/InstanceTypeUtil/index.d.ts +168 -189
  57. package/server/JwtUtil/index.d.ts +131 -129
  58. package/server/LandingPageUtil/index.d.ts +84 -87
  59. package/server/LandingPageUtil/index.js +1 -0
  60. package/server/LinkPageUtil/index.d.ts +297 -251
  61. package/server/LinkRenderer/index.d.ts +651 -715
  62. package/server/LinkTargetBuilder/index.d.ts +69 -77
  63. package/server/LinkValueBuilder/index.d.ts +70 -77
  64. package/server/ListWrapper/index.d.ts +82 -91
  65. package/server/LocaleUtil/index.d.ts +382 -394
  66. package/server/LogUtil/index.d.ts +119 -128
  67. package/server/MailBuilder/index.d.ts +109 -124
  68. package/server/MailUtil/index.d.ts +58 -63
  69. package/server/MathInstance/index.d.ts +625 -657
  70. package/server/MessageDigesterFactory/index.d.ts +30 -28
  71. package/server/MetadataDefinitionUtil/index.d.ts +79 -83
  72. package/server/MetadataUtil/index.d.ts +322 -346
  73. package/server/MimeTypeUtil/index.d.ts +209 -215
  74. package/server/MonitorBuilder/index.d.ts +20 -20
  75. package/server/NodeComparatorUtil/index.d.ts +215 -225
  76. package/server/NodeFactoryUtil/index.d.ts +18 -16
  77. package/server/NodeFilterUtil/index.d.ts +652 -739
  78. package/server/NodeIteratorUtil/index.d.ts +214 -229
  79. package/server/NodeResolverUtil/index.d.ts +400 -406
  80. package/server/NodeTreeUtil/index.d.ts +214 -229
  81. package/server/NodeTypeUtil/index.d.ts +1432 -548
  82. package/server/OfflineVersionPropertyUtil/index.d.ts +8 -6
  83. package/server/OnlineVersionPropertyUtil/index.d.ts +8 -6
  84. package/server/OutputUtil/index.d.ts +385 -380
  85. package/server/PageUtil/index.d.ts +266 -188
  86. package/server/PermissionUtil/index.d.ts +393 -430
  87. package/server/PermissionUtil.Permission/index.d.ts +54 -0
  88. package/server/PermissionUtil.Permission/index.js +38 -0
  89. package/server/PortletContextUtil/index.d.ts +112 -109
  90. package/server/PortletUtil/index.d.ts +32 -22
  91. package/server/PrincipalUtil/index.d.ts +35 -33
  92. package/server/Properties/index.d.ts +69 -76
  93. package/server/PropertyUtil/index.d.ts +1422 -1464
  94. package/server/PublishingUtil/index.d.ts +248 -249
  95. package/server/QueryStringUtil/index.d.ts +404 -415
  96. package/server/RedirectUtil/index.d.ts +64 -68
  97. package/server/RelatedValueBuilder/index.d.ts +45 -43
  98. package/server/Requester/index.d.ts +125 -125
  99. package/server/ResourceLocatorUtil/index.d.ts +436 -476
  100. package/server/RestApi/index.d.ts +158 -138
  101. package/server/RestAppInvokerFactory/index.d.ts +28 -26
  102. package/server/RoleAssignmentBuilder/index.d.ts +39 -37
  103. package/server/RoleMatcherBuilder/index.d.ts +39 -37
  104. package/server/RoleUtil/index.d.ts +35 -37
  105. package/server/ScriptUtil/index.d.ts +458 -495
  106. package/server/SearchFactory/index.d.ts +90 -105
  107. package/server/SearchUtil/index.d.ts +75 -73
  108. package/server/SearcherBuilder/index.d.ts +117 -124
  109. package/server/Session/index.d.ts +261 -1103
  110. package/server/Session/index.js +1 -20
  111. package/server/SimpleUserUtil/index.d.ts +28 -29
  112. package/server/SiteCookieUtil/index.d.ts +152 -175
  113. package/server/SortBuilder/index.d.ts +27 -25
  114. package/server/SourceSetMode/index.d.ts +12 -0
  115. package/server/SourceSetMode/index.js +12 -0
  116. package/server/SpellCheckBuilder/index.d.ts +30 -30
  117. package/server/StandardParserBuilder/index.d.ts +36 -34
  118. package/server/StructureUtil/index.d.ts +85 -83
  119. package/server/SubscriberUtil/index.d.ts +60 -67
  120. package/server/SubscriptionUtil/index.d.ts +123 -130
  121. package/server/SystemUserUtil/index.d.ts +148 -146
  122. package/server/TagUtil/index.d.ts +115 -120
  123. package/server/TemplateUtil/index.d.ts +115 -120
  124. package/server/TemporaryFileNodeBuilder/index.d.ts +32 -30
  125. package/server/TemporaryNodeBuilder/index.d.ts +139 -177
  126. package/server/TextModuleRendererBuilder/index.d.ts +22 -20
  127. package/server/TimestampUtil/index.d.ts +103 -117
  128. package/server/TranslationUtil/index.d.ts +98 -104
  129. package/server/TrashcanUtil/index.d.ts +114 -117
  130. package/server/UserDataUtil/index.d.ts +110 -111
  131. package/server/UserFactory/index.d.ts +47 -54
  132. package/server/UserFieldRenderer/index.d.ts +120 -128
  133. package/server/UserIdentityUtil/index.d.ts +38 -36
  134. package/server/UserUtil/index.d.ts +32 -30
  135. package/server/Utils/index.d.ts +634 -723
  136. package/server/VelocityRenderer/index.d.ts +96 -94
  137. package/server/VersionUtil/index.d.ts +25 -9
  138. package/server/WebContentUtil/index.d.ts +277 -284
  139. package/server/WebResourceFactory/index.d.ts +41 -46
  140. package/server/XSLTUtil/index.d.ts +34 -32
  141. package/server/XmlParserUtil/index.d.ts +50 -48
  142. package/server/appData/index.d.ts +1 -1
  143. package/server/appResource/index.d.ts +1 -1
  144. package/server/globalAppData/index.d.ts +1 -1
  145. package/server/oauth2/index.d.ts +1 -1
  146. package/server/privileged/index.d.ts +2 -0
  147. package/{hidden → types}/javax/jcr/Binary/index.d.ts +3 -23
  148. package/{hidden → types}/javax/jcr/Binary/index.js +0 -1
  149. package/{hidden → types}/javax/jcr/Credentials/index.d.ts +3 -3
  150. package/{hidden → types}/javax/jcr/Credentials/index.js +0 -0
  151. package/{hidden → types}/javax/jcr/ImportUUIDBehavior/index.d.ts +27 -3
  152. package/{hidden → types}/javax/jcr/ImportUUIDBehavior/index.js +0 -0
  153. package/{hidden → types}/javax/jcr/Item/index.d.ts +6 -121
  154. package/{hidden → types}/javax/jcr/Item/index.js +0 -6
  155. package/{hidden → types}/javax/jcr/ItemVisitor/index.d.ts +5 -5
  156. package/{hidden → types}/javax/jcr/ItemVisitor/index.js +0 -0
  157. package/types/javax/jcr/NamespaceRegistry/index.d.ts +109 -0
  158. package/{hidden → types}/javax/jcr/NamespaceRegistry/index.js +0 -2
  159. package/types/javax/jcr/Node/index.d.ts +334 -0
  160. package/types/javax/jcr/Node/index.js +23 -0
  161. package/{hidden → types}/javax/jcr/NodeIterator/index.d.ts +5 -5
  162. package/{hidden → types}/javax/jcr/NodeIterator/index.js +0 -0
  163. package/types/javax/jcr/Property/index.d.ts +675 -0
  164. package/{hidden → types}/javax/jcr/Property/index.js +0 -5
  165. package/{hidden → types}/javax/jcr/PropertyIterator/index.d.ts +5 -5
  166. package/{hidden → types}/javax/jcr/PropertyIterator/index.js +0 -0
  167. package/types/javax/jcr/RangeIterator/index.d.ts +10 -0
  168. package/{hidden/javax/jcr/query/qom/Constraint → types/javax/jcr/RangeIterator}/index.js +0 -0
  169. package/types/javax/jcr/Repository/index.d.ts +511 -0
  170. package/types/javax/jcr/Repository/index.js +12 -0
  171. package/{hidden → types}/javax/jcr/RepositoryFactory/index.d.ts +4 -4
  172. package/{hidden → types}/javax/jcr/RepositoryFactory/index.js +0 -0
  173. package/{hidden → types}/javax/jcr/Value/index.d.ts +4 -33
  174. package/{hidden → types}/javax/jcr/Value/index.js +0 -2
  175. package/types/javax/jcr/ValueFactory/index.d.ts +74 -0
  176. package/types/javax/jcr/ValueFactory/index.js +10 -0
  177. package/types/javax/jcr/Workspace/index.d.ts +190 -0
  178. package/types/javax/jcr/Workspace/index.js +15 -0
  179. package/{hidden → types}/javax/jcr/lock/Lock/index.d.ts +4 -4
  180. package/{hidden → types}/javax/jcr/lock/Lock/index.js +0 -0
  181. package/{hidden → types}/javax/jcr/lock/LockManager/index.d.ts +4 -4
  182. package/{hidden → types}/javax/jcr/lock/LockManager/index.js +0 -0
  183. package/types/javax/jcr/nodetype/ItemDefinition/index.d.ts +29 -0
  184. package/types/javax/jcr/nodetype/ItemDefinition/index.js +10 -0
  185. package/{hidden → types}/javax/jcr/nodetype/NodeDefinition/index.d.ts +5 -5
  186. package/{hidden → types}/javax/jcr/nodetype/NodeDefinition/index.js +0 -0
  187. package/{hidden → types}/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +4 -4
  188. package/{hidden → types}/javax/jcr/nodetype/NodeDefinitionTemplate/index.js +0 -0
  189. package/types/javax/jcr/nodetype/NodeType/index.d.ts +312 -0
  190. package/types/javax/jcr/nodetype/NodeType/index.js +10 -0
  191. package/types/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +61 -0
  192. package/types/javax/jcr/nodetype/NodeTypeDefinition/index.js +12 -0
  193. package/{hidden → types}/javax/jcr/nodetype/NodeTypeIterator/index.d.ts +5 -5
  194. package/{hidden → types}/javax/jcr/nodetype/NodeTypeIterator/index.js +0 -0
  195. package/types/javax/jcr/nodetype/NodeTypeManager/index.d.ts +57 -0
  196. package/types/javax/jcr/nodetype/NodeTypeManager/index.js +14 -0
  197. package/{hidden → types}/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +4 -4
  198. package/{hidden → types}/javax/jcr/nodetype/NodeTypeTemplate/index.js +0 -0
  199. package/types/javax/jcr/nodetype/PropertyDefinition/index.d.ts +28 -0
  200. package/types/javax/jcr/nodetype/PropertyDefinition/index.js +10 -0
  201. package/{hidden → types}/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +5 -5
  202. package/{hidden → types}/javax/jcr/nodetype/PropertyDefinitionTemplate/index.js +0 -0
  203. package/{hidden → types}/javax/jcr/observation/Event/index.d.ts +85 -44
  204. package/{hidden → types}/javax/jcr/observation/Event/index.js +0 -0
  205. package/{hidden → types}/javax/jcr/observation/EventIterator/index.d.ts +5 -5
  206. package/{hidden → types}/javax/jcr/observation/EventIterator/index.js +0 -0
  207. package/{hidden → types}/javax/jcr/observation/EventJournal/index.d.ts +4 -4
  208. package/{hidden → types}/javax/jcr/observation/EventJournal/index.js +0 -0
  209. package/{hidden → types}/javax/jcr/observation/EventListener/index.d.ts +4 -4
  210. package/{hidden → types}/javax/jcr/observation/EventListener/index.js +0 -0
  211. package/{hidden → types}/javax/jcr/observation/EventListenerIterator/index.d.ts +5 -5
  212. package/{hidden → types}/javax/jcr/observation/EventListenerIterator/index.js +0 -0
  213. package/{hidden → types}/javax/jcr/observation/ObservationManager/index.d.ts +6 -6
  214. package/{hidden → types}/javax/jcr/observation/ObservationManager/index.js +0 -0
  215. package/{hidden → types}/javax/jcr/query/Query/index.d.ts +35 -14
  216. package/{hidden → types}/javax/jcr/query/Query/index.js +0 -0
  217. package/{hidden → types}/javax/jcr/query/QueryManager/index.d.ts +6 -6
  218. package/{hidden → types}/javax/jcr/query/QueryManager/index.js +0 -0
  219. package/{hidden → types}/javax/jcr/query/QueryResult/index.d.ts +5 -5
  220. package/{hidden → types}/javax/jcr/query/QueryResult/index.js +0 -0
  221. package/{hidden → types}/javax/jcr/query/Row/index.d.ts +5 -5
  222. package/{hidden → types}/javax/jcr/query/Row/index.js +0 -0
  223. package/{hidden → types}/javax/jcr/query/RowIterator/index.d.ts +5 -5
  224. package/{hidden → types}/javax/jcr/query/RowIterator/index.js +0 -0
  225. package/{hidden → types}/javax/jcr/query/qom/And/index.d.ts +4 -4
  226. package/{hidden → types}/javax/jcr/query/qom/And/index.js +0 -0
  227. package/{hidden → types}/javax/jcr/query/qom/BindVariableValue/index.d.ts +4 -4
  228. package/{hidden → types}/javax/jcr/query/qom/BindVariableValue/index.js +0 -0
  229. package/{hidden → types}/javax/jcr/query/qom/ChildNode/index.d.ts +4 -4
  230. package/{hidden → types}/javax/jcr/query/qom/ChildNode/index.js +0 -0
  231. package/{hidden → types}/javax/jcr/query/qom/ChildNodeJoinCondition/index.d.ts +4 -4
  232. package/{hidden → types}/javax/jcr/query/qom/ChildNodeJoinCondition/index.js +0 -0
  233. package/{hidden → types}/javax/jcr/query/qom/Column/index.d.ts +3 -3
  234. package/{hidden → types}/javax/jcr/query/qom/Column/index.js +0 -0
  235. package/{hidden → types}/javax/jcr/query/qom/Comparison/index.d.ts +6 -6
  236. package/{hidden → types}/javax/jcr/query/qom/Comparison/index.js +0 -0
  237. package/{hidden → types}/javax/jcr/query/qom/Constraint/index.d.ts +3 -3
  238. package/{hidden/javax/jcr/query/qom/DynamicOperand → types/javax/jcr/query/qom/Constraint}/index.js +0 -0
  239. package/{hidden → types}/javax/jcr/query/qom/DescendantNode/index.d.ts +4 -4
  240. package/{hidden → types}/javax/jcr/query/qom/DescendantNode/index.js +0 -0
  241. package/{hidden → types}/javax/jcr/query/qom/DescendantNodeJoinCondition/index.d.ts +4 -4
  242. package/{hidden → types}/javax/jcr/query/qom/DescendantNodeJoinCondition/index.js +0 -0
  243. package/{hidden → types}/javax/jcr/query/qom/DynamicOperand/index.d.ts +4 -4
  244. package/{hidden/javax/jcr/query/qom/JoinCondition → types/javax/jcr/query/qom/DynamicOperand}/index.js +0 -0
  245. package/{hidden → types}/javax/jcr/query/qom/EquiJoinCondition/index.d.ts +4 -4
  246. package/{hidden → types}/javax/jcr/query/qom/EquiJoinCondition/index.js +0 -0
  247. package/{hidden → types}/javax/jcr/query/qom/FullTextSearch/index.d.ts +5 -5
  248. package/{hidden → types}/javax/jcr/query/qom/FullTextSearch/index.js +0 -0
  249. package/{hidden → types}/javax/jcr/query/qom/FullTextSearchScore/index.d.ts +4 -4
  250. package/{hidden → types}/javax/jcr/query/qom/FullTextSearchScore/index.js +0 -0
  251. package/{hidden → types}/javax/jcr/query/qom/Join/index.d.ts +5 -5
  252. package/{hidden → types}/javax/jcr/query/qom/Join/index.js +0 -0
  253. package/{hidden → types}/javax/jcr/query/qom/JoinCondition/index.d.ts +3 -3
  254. package/{hidden/javax/jcr/query/qom/Operand → types/javax/jcr/query/qom/JoinCondition}/index.js +0 -0
  255. package/{hidden → types}/javax/jcr/query/qom/Length/index.d.ts +5 -5
  256. package/{hidden → types}/javax/jcr/query/qom/Length/index.js +0 -0
  257. package/{hidden → types}/javax/jcr/query/qom/Literal/index.d.ts +5 -5
  258. package/{hidden → types}/javax/jcr/query/qom/Literal/index.js +0 -0
  259. package/{hidden → types}/javax/jcr/query/qom/LowerCase/index.d.ts +4 -4
  260. package/{hidden → types}/javax/jcr/query/qom/LowerCase/index.js +0 -0
  261. package/{hidden → types}/javax/jcr/query/qom/NodeLocalName/index.d.ts +4 -4
  262. package/{hidden → types}/javax/jcr/query/qom/NodeLocalName/index.js +0 -0
  263. package/{hidden → types}/javax/jcr/query/qom/NodeName/index.d.ts +4 -4
  264. package/{hidden → types}/javax/jcr/query/qom/NodeName/index.js +0 -0
  265. package/{hidden → types}/javax/jcr/query/qom/Not/index.d.ts +4 -4
  266. package/{hidden → types}/javax/jcr/query/qom/Not/index.js +0 -0
  267. package/{hidden → types}/javax/jcr/query/qom/Operand/index.d.ts +3 -3
  268. package/{hidden/javax/jcr/query/qom/QueryObjectModelConstants → types/javax/jcr/query/qom/Operand}/index.js +0 -0
  269. package/{hidden → types}/javax/jcr/query/qom/Or/index.d.ts +4 -4
  270. package/{hidden → types}/javax/jcr/query/qom/Or/index.js +0 -0
  271. package/{hidden → types}/javax/jcr/query/qom/Ordering/index.d.ts +4 -4
  272. package/{hidden → types}/javax/jcr/query/qom/Ordering/index.js +0 -0
  273. package/{hidden → types}/javax/jcr/query/qom/PropertyExistence/index.d.ts +4 -4
  274. package/{hidden → types}/javax/jcr/query/qom/PropertyExistence/index.js +0 -0
  275. package/{hidden → types}/javax/jcr/query/qom/PropertyValue/index.d.ts +4 -4
  276. package/{hidden → types}/javax/jcr/query/qom/PropertyValue/index.js +0 -0
  277. package/{hidden → types}/javax/jcr/query/qom/QueryObjectModel/index.d.ts +8 -8
  278. package/{hidden → types}/javax/jcr/query/qom/QueryObjectModel/index.js +0 -0
  279. package/types/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +83 -0
  280. package/{hidden/javax/jcr/query/qom/Source → types/javax/jcr/query/qom/QueryObjectModelConstants}/index.js +0 -0
  281. package/{hidden → types}/javax/jcr/query/qom/QueryObjectModelFactory/index.d.ts +37 -37
  282. package/{hidden → types}/javax/jcr/query/qom/QueryObjectModelFactory/index.js +0 -0
  283. package/{hidden → types}/javax/jcr/query/qom/SameNode/index.d.ts +4 -4
  284. package/{hidden → types}/javax/jcr/query/qom/SameNode/index.js +0 -0
  285. package/{hidden → types}/javax/jcr/query/qom/SameNodeJoinCondition/index.d.ts +4 -4
  286. package/{hidden → types}/javax/jcr/query/qom/SameNodeJoinCondition/index.js +0 -0
  287. package/{hidden → types}/javax/jcr/query/qom/Selector/index.d.ts +4 -4
  288. package/{hidden → types}/javax/jcr/query/qom/Selector/index.js +0 -0
  289. package/{hidden → types}/javax/jcr/query/qom/Source/index.d.ts +3 -3
  290. package/{hidden/javax/jcr/query/qom/StaticOperand → types/javax/jcr/query/qom/Source}/index.js +0 -0
  291. package/{hidden → types}/javax/jcr/query/qom/StaticOperand/index.d.ts +4 -4
  292. package/{hidden/javax/jcr/security/AccessControlPolicy → types/javax/jcr/query/qom/StaticOperand}/index.js +0 -0
  293. package/{hidden → types}/javax/jcr/query/qom/UpperCase/index.d.ts +4 -4
  294. package/{hidden → types}/javax/jcr/query/qom/UpperCase/index.js +0 -0
  295. package/{hidden → types}/javax/jcr/retention/Hold/index.d.ts +3 -3
  296. package/{hidden → types}/javax/jcr/retention/Hold/index.js +0 -0
  297. package/{hidden → types}/javax/jcr/retention/RetentionManager/index.d.ts +5 -5
  298. package/{hidden → types}/javax/jcr/retention/RetentionManager/index.js +0 -0
  299. package/{hidden → types}/javax/jcr/retention/RetentionPolicy/index.d.ts +3 -3
  300. package/{hidden → types}/javax/jcr/retention/RetentionPolicy/index.js +0 -0
  301. package/{hidden → types}/javax/jcr/security/AccessControlEntry/index.d.ts +4 -4
  302. package/{hidden → types}/javax/jcr/security/AccessControlEntry/index.js +0 -0
  303. package/{hidden → types}/javax/jcr/security/AccessControlList/index.d.ts +6 -6
  304. package/{hidden → types}/javax/jcr/security/AccessControlList/index.js +0 -0
  305. package/{hidden → types}/javax/jcr/security/AccessControlManager/index.d.ts +6 -6
  306. package/{hidden → types}/javax/jcr/security/AccessControlManager/index.js +0 -0
  307. package/{hidden → types}/javax/jcr/security/AccessControlPolicy/index.d.ts +3 -3
  308. package/{hidden/senselogic/sitevision/api/metadata/value/LinkValue → types/javax/jcr/security/AccessControlPolicy}/index.js +0 -0
  309. package/{hidden → types}/javax/jcr/security/AccessControlPolicyIterator/index.d.ts +5 -5
  310. package/{hidden → types}/javax/jcr/security/AccessControlPolicyIterator/index.js +0 -0
  311. package/{hidden → types}/javax/jcr/security/NamedAccessControlPolicy/index.d.ts +4 -4
  312. package/{hidden → types}/javax/jcr/security/NamedAccessControlPolicy/index.js +0 -0
  313. package/{hidden → types}/javax/jcr/security/Privilege/index.d.ts +130 -46
  314. package/{hidden → types}/javax/jcr/security/Privilege/index.js +0 -0
  315. package/{hidden → types}/javax/jcr/version/Version/index.d.ts +5 -5
  316. package/{hidden → types}/javax/jcr/version/Version/index.js +0 -0
  317. package/{hidden → types}/javax/jcr/version/VersionHistory/index.d.ts +7 -7
  318. package/{hidden → types}/javax/jcr/version/VersionHistory/index.js +0 -0
  319. package/{hidden → types}/javax/jcr/version/VersionIterator/index.d.ts +5 -5
  320. package/{hidden → types}/javax/jcr/version/VersionIterator/index.js +0 -0
  321. package/{hidden → types}/javax/jcr/version/VersionManager/index.d.ts +7 -7
  322. package/{hidden → types}/javax/jcr/version/VersionManager/index.js +0 -0
  323. package/{hidden → types}/senselogic/sitevision/api/base/Builder/index.d.ts +3 -3
  324. package/{hidden → types}/senselogic/sitevision/api/base/Builder/index.js +0 -0
  325. package/{hidden → types}/senselogic/sitevision/api/base/Filter/index.d.ts +3 -3
  326. package/{hidden → types}/senselogic/sitevision/api/base/Filter/index.js +0 -0
  327. package/{hidden → types}/senselogic/sitevision/api/base/FilterSplit/index.d.ts +4 -4
  328. package/{hidden → types}/senselogic/sitevision/api/base/FilterSplit/index.js +0 -0
  329. package/{hidden → types}/senselogic/sitevision/api/base/Loadable/index.d.ts +3 -3
  330. package/{hidden → types}/senselogic/sitevision/api/base/Loadable/index.js +0 -0
  331. package/types/senselogic/sitevision/api/base/Requireable/ScriptEngine/index.d.ts +9 -0
  332. package/types/senselogic/sitevision/api/base/Requireable/ScriptEngine/index.js +11 -0
  333. package/{hidden → types}/senselogic/sitevision/api/base/Resolver/index.d.ts +3 -3
  334. package/{hidden → types}/senselogic/sitevision/api/base/Resolver/index.js +0 -0
  335. package/{hidden → types}/senselogic/sitevision/api/base/Wrapper/index.d.ts +3 -3
  336. package/{hidden → types}/senselogic/sitevision/api/base/Wrapper/index.js +0 -0
  337. package/{hidden → types}/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.d.ts +13 -9
  338. package/{hidden → types}/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.js +0 -0
  339. package/{hidden → types}/senselogic/sitevision/api/format/NumericFormatter/index.d.ts +3 -3
  340. package/{hidden → types}/senselogic/sitevision/api/format/NumericFormatter/index.js +0 -0
  341. package/{hidden → types}/senselogic/sitevision/api/format/NumericFormatterBuilder/index.d.ts +5 -5
  342. package/{hidden → types}/senselogic/sitevision/api/format/NumericFormatterBuilder/index.js +0 -0
  343. package/{hidden → types}/senselogic/sitevision/api/i18n/Currency/index.d.ts +3 -3
  344. package/{hidden → types}/senselogic/sitevision/api/i18n/Currency/index.js +0 -0
  345. package/{hidden → types}/senselogic/sitevision/api/link/CustomLinkProcessor/index.d.ts +5 -5
  346. package/{hidden → types}/senselogic/sitevision/api/link/CustomLinkProcessor/index.js +0 -0
  347. package/{hidden → types}/senselogic/sitevision/api/link/CustomLinkRenderData/index.d.ts +3 -3
  348. package/{hidden → types}/senselogic/sitevision/api/link/CustomLinkRenderData/index.js +0 -0
  349. package/{hidden → types}/senselogic/sitevision/api/mail/Mail/index.d.ts +3 -3
  350. package/{hidden → types}/senselogic/sitevision/api/mail/Mail/index.js +0 -0
  351. package/{hidden → types}/senselogic/sitevision/api/message/MessageTextLinker/index.d.ts +3 -3
  352. package/{hidden → types}/senselogic/sitevision/api/message/MessageTextLinker/index.js +0 -0
  353. package/{hidden → types}/senselogic/sitevision/api/metadata/value/LinkValue/index.d.ts +3 -3
  354. package/{hidden/senselogic/sitevision/api/metadata/value/RelatedValue → types/senselogic/sitevision/api/metadata/value/LinkValue}/index.js +0 -0
  355. package/{hidden → types}/senselogic/sitevision/api/metadata/value/RelatedValue/index.d.ts +3 -3
  356. package/{hidden/senselogic/sitevision/api/render/velocity/VelocityAccess → types/senselogic/sitevision/api/metadata/value/RelatedValue}/index.js +0 -0
  357. package/{hidden → types}/senselogic/sitevision/api/property/VersionedPropertyUtil/index.d.ts +4 -4
  358. package/{hidden → types}/senselogic/sitevision/api/property/VersionedPropertyUtil/index.js +0 -0
  359. package/types/senselogic/sitevision/api/render/BuddyIconRenderer.BuddyIconInfo/index.d.ts +51 -0
  360. package/types/senselogic/sitevision/api/render/BuddyIconRenderer.BuddyIconInfo/index.js +12 -0
  361. package/{hidden → types}/senselogic/sitevision/api/render/ImageScaler/index.d.ts +4 -4
  362. package/{hidden → types}/senselogic/sitevision/api/render/ImageScaler/index.js +0 -0
  363. package/{hidden → types}/senselogic/sitevision/api/render/TextModuleRenderer/index.d.ts +4 -4
  364. package/{hidden → types}/senselogic/sitevision/api/render/TextModuleRenderer/index.js +0 -0
  365. package/{hidden → types}/senselogic/sitevision/api/render/velocity/VelocityAccess/index.d.ts +3 -3
  366. package/{hidden/senselogic/sitevision/api/search/searcher/component/Filter → types/senselogic/sitevision/api/render/velocity/VelocityAccess}/index.js +0 -0
  367. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ArticleUtilConstants/index.d.ts +85 -0
  368. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ArticleUtilConstants/index.js +21 -0
  369. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ExceptionSuppressingProxyConstants/index.d.ts +31 -0
  370. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ExceptionSuppressingProxyConstants/index.js +12 -0
  371. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.IndexingUtilConstants/index.d.ts +31 -0
  372. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.IndexingUtilConstants/index.js +12 -0
  373. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.LinkPageUtilConstants/index.d.ts +67 -0
  374. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.LinkPageUtilConstants/index.js +18 -0
  375. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MathInstanceConstants/index.d.ts +25 -0
  376. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MathInstanceConstants/index.js +11 -0
  377. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MimeTypeUtilConstants/index.d.ts +19 -0
  378. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MimeTypeUtilConstants/index.js +10 -0
  379. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.NodeTypeUtilConstants/index.d.ts +1243 -0
  380. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.NodeTypeUtilConstants/index.js +189 -0
  381. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.OutputUtilConstants/index.d.ts +31 -0
  382. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.OutputUtilConstants/index.js +12 -0
  383. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PageUtilConstants/index.d.ts +91 -0
  384. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PageUtilConstants/index.js +22 -0
  385. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletContextUtilConstants/index.d.ts +27 -0
  386. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletContextUtilConstants/index.js +11 -0
  387. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletUtilConstants/index.d.ts +19 -0
  388. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletUtilConstants/index.js +10 -0
  389. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.QueryStringUtilConstants/index.d.ts +19 -0
  390. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.QueryStringUtilConstants/index.js +10 -0
  391. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchHitConstants/index.d.ts +25 -0
  392. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchHitConstants/index.js +11 -0
  393. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchResultConstants/index.d.ts +37 -0
  394. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchResultConstants/index.js +13 -0
  395. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.VersionUtilConstants/index.d.ts +25 -0
  396. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.VersionUtilConstants/index.js +11 -0
  397. package/{hidden → types}/senselogic/sitevision/api/render/velocity/VelocityContext/index.d.ts +3 -3
  398. package/{hidden → types}/senselogic/sitevision/api/render/velocity/VelocityContext/index.js +0 -0
  399. package/{hidden → types}/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.d.ts +3 -3
  400. package/{hidden → types}/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.js +0 -0
  401. package/{hidden → types}/senselogic/sitevision/api/script/RequesterChainable/index.d.ts +4 -4
  402. package/{hidden → types}/senselogic/sitevision/api/script/RequesterChainable/index.js +0 -0
  403. package/{hidden → types}/senselogic/sitevision/api/script/app/RestAppInvoker/index.d.ts +3 -3
  404. package/{hidden → types}/senselogic/sitevision/api/script/app/RestAppInvoker/index.js +0 -0
  405. package/{hidden → types}/senselogic/sitevision/api/script/factory/TypedArgument/index.d.ts +3 -3
  406. package/{hidden → types}/senselogic/sitevision/api/script/factory/TypedArgument/index.js +0 -0
  407. package/{hidden → types}/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts +3 -3
  408. package/{hidden → types}/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.js +0 -0
  409. package/{hidden → types}/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts +4 -4
  410. package/{hidden → types}/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.js +0 -0
  411. package/{hidden → types}/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.d.ts +24 -4
  412. package/{hidden → types}/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.js +0 -0
  413. package/{hidden → types}/senselogic/sitevision/api/search/SearchFieldUtil/index.d.ts +3 -3
  414. package/{hidden → types}/senselogic/sitevision/api/search/SearchFieldUtil/index.js +0 -0
  415. package/{hidden → types}/senselogic/sitevision/api/search/SearchHighlighter/index.d.ts +4 -4
  416. package/{hidden → types}/senselogic/sitevision/api/search/SearchHighlighter/index.js +0 -0
  417. package/{hidden → types}/senselogic/sitevision/api/search/SearchHit/index.d.ts +19 -5
  418. package/{hidden → types}/senselogic/sitevision/api/search/SearchHit/index.js +0 -0
  419. package/{hidden → types}/senselogic/sitevision/api/search/SearchResult/index.d.ts +31 -9
  420. package/{hidden → types}/senselogic/sitevision/api/search/SearchResult/index.js +0 -0
  421. package/{hidden → types}/senselogic/sitevision/api/search/facet/SearchFacetField/index.d.ts +3 -3
  422. package/{hidden → types}/senselogic/sitevision/api/search/facet/SearchFacetField/index.js +0 -0
  423. package/{hidden → types}/senselogic/sitevision/api/search/facet/SearchFacetValue/index.d.ts +3 -3
  424. package/{hidden → types}/senselogic/sitevision/api/search/facet/SearchFacetValue/index.js +0 -0
  425. package/{hidden → types}/senselogic/sitevision/api/search/searcher/Searcher/index.d.ts +4 -4
  426. package/{hidden → types}/senselogic/sitevision/api/search/searcher/Searcher/index.js +0 -0
  427. package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Filter/index.d.ts +3 -3
  428. package/{hidden/senselogic/sitevision/api/search/searcher/component/Highlight → types/senselogic/sitevision/api/search/searcher/component/Filter}/index.js +0 -0
  429. package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Highlight/index.d.ts +3 -3
  430. package/{hidden/senselogic/sitevision/api/search/searcher/component/Monitor → types/senselogic/sitevision/api/search/searcher/component/Highlight}/index.js +0 -0
  431. package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Monitor/index.d.ts +3 -3
  432. package/{hidden/senselogic/sitevision/api/search/searcher/component/Parser → types/senselogic/sitevision/api/search/searcher/component/Monitor}/index.js +0 -0
  433. package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Parser/index.d.ts +3 -3
  434. package/{hidden/senselogic/sitevision/api/search/searcher/component/Sort → types/senselogic/sitevision/api/search/searcher/component/Parser}/index.js +0 -0
  435. package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Sort/index.d.ts +3 -3
  436. package/{hidden/senselogic/sitevision/api/search/searcher/component/SpellCheck → types/senselogic/sitevision/api/search/searcher/component/Sort}/index.js +0 -0
  437. package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.d.ts +3 -3
  438. package/{hidden/senselogic/sitevision/api/webresource/LinkTarget → types/senselogic/sitevision/api/search/searcher/component/SpellCheck}/index.js +0 -0
  439. package/{hidden → types}/senselogic/sitevision/api/search/sort/CustomSort/index.d.ts +3 -3
  440. package/{hidden → types}/senselogic/sitevision/api/search/sort/CustomSort/index.js +0 -0
  441. package/{hidden → types}/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.d.ts +3 -3
  442. package/{hidden → types}/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.js +0 -0
  443. package/{hidden → types}/senselogic/sitevision/api/security/DirectoryAttributes/index.d.ts +3 -3
  444. package/{hidden → types}/senselogic/sitevision/api/security/DirectoryAttributes/index.js +0 -0
  445. package/{hidden → types}/senselogic/sitevision/api/security/MessageDigester/index.d.ts +3 -3
  446. package/{hidden → types}/senselogic/sitevision/api/security/MessageDigester/index.js +0 -0
  447. package/{hidden → types}/senselogic/sitevision/api/security/RoleAssignment/index.d.ts +4 -4
  448. package/{hidden → types}/senselogic/sitevision/api/security/RoleAssignment/index.js +0 -0
  449. package/{hidden → types}/senselogic/sitevision/api/security/RoleMatcher/index.d.ts +4 -4
  450. package/{hidden → types}/senselogic/sitevision/api/security/RoleMatcher/index.js +0 -0
  451. package/{hidden → types}/senselogic/sitevision/api/security/SecretStore/index.d.ts +3 -3
  452. package/{hidden → types}/senselogic/sitevision/api/security/SecretStore/index.js +0 -0
  453. package/{hidden → types}/senselogic/sitevision/api/security/UserUtil/index.d.ts +4 -4
  454. package/{hidden → types}/senselogic/sitevision/api/security/UserUtil/index.js +0 -0
  455. package/{hidden → types}/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.d.ts +35 -5
  456. package/{hidden → types}/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.js +0 -0
  457. package/{hidden → types}/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.d.ts +3 -3
  458. package/{hidden → types}/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.js +0 -0
  459. package/{hidden → types}/senselogic/sitevision/api/user/UserIdentityWrapper/index.d.ts +5 -5
  460. package/{hidden → types}/senselogic/sitevision/api/user/UserIdentityWrapper/index.js +0 -0
  461. package/{hidden → types}/senselogic/sitevision/api/webresource/LinkTarget/index.d.ts +3 -3
  462. package/types/senselogic/sitevision/api/webresource/LinkTarget/index.js +8 -0
  463. package/{hidden → types}/senselogic/sitevision/api/xml/XmlElement/index.d.ts +3 -3
  464. package/{hidden → types}/senselogic/sitevision/api/xml/XmlElement/index.js +0 -0
  465. package/{hidden → types}/senselogic/sitevision/api/xml/XmlElementHandler/index.d.ts +4 -4
  466. package/{hidden → types}/senselogic/sitevision/api/xml/XmlElementHandler/index.js +0 -0
  467. package/hidden/javax/jcr/NamespaceRegistry/index.d.ts +0 -85
  468. package/hidden/javax/jcr/Node/index.d.ts +0 -1805
  469. package/hidden/javax/jcr/Node/index.js +0 -56
  470. package/hidden/javax/jcr/Property/index.d.ts +0 -677
  471. package/hidden/javax/jcr/RangeIterator/index.d.ts +0 -52
  472. package/hidden/javax/jcr/RangeIterator/index.js +0 -12
  473. package/hidden/javax/jcr/Repository/index.d.ts +0 -311
  474. package/hidden/javax/jcr/Repository/index.js +0 -16
  475. package/hidden/javax/jcr/Session/index.d.ts +0 -1107
  476. package/hidden/javax/jcr/ValueFactory/index.d.ts +0 -144
  477. package/hidden/javax/jcr/ValueFactory/index.js +0 -11
  478. package/hidden/javax/jcr/Workspace/index.d.ts +0 -666
  479. package/hidden/javax/jcr/Workspace/index.js +0 -26
  480. package/hidden/javax/jcr/nodetype/ItemDefinition/index.d.ts +0 -132
  481. package/hidden/javax/jcr/nodetype/ItemDefinition/index.js +0 -15
  482. package/hidden/javax/jcr/nodetype/NodeType/index.d.ts +0 -321
  483. package/hidden/javax/jcr/nodetype/NodeType/index.js +0 -21
  484. package/hidden/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +0 -165
  485. package/hidden/javax/jcr/nodetype/NodeTypeDefinition/index.js +0 -18
  486. package/hidden/javax/jcr/nodetype/NodeTypeManager/index.d.ts +0 -180
  487. package/hidden/javax/jcr/nodetype/NodeTypeManager/index.js +0 -21
  488. package/hidden/javax/jcr/nodetype/PropertyDefinition/index.d.ts +0 -297
  489. package/hidden/javax/jcr/nodetype/PropertyDefinition/index.js +0 -16
  490. package/hidden/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +0 -11
  491. package/hidden/senselogic/sitevision/api/Utils/index.d.ts +0 -753
  492. package/hidden/senselogic/sitevision/api/alias/AliasUtil/index.d.ts +0 -22
  493. package/hidden/senselogic/sitevision/api/bookmark/BookmarkUtil/index.d.ts +0 -87
  494. package/hidden/senselogic/sitevision/api/client/ClientUtil/index.d.ts +0 -23
  495. package/hidden/senselogic/sitevision/api/collaboration/CollaborationFactory/index.d.ts +0 -49
  496. package/hidden/senselogic/sitevision/api/collaboration/CollaborationGroupFolderUtil/index.d.ts +0 -39
  497. package/hidden/senselogic/sitevision/api/collaboration/CollaborationGroupTemplateUtil/index.d.ts +0 -58
  498. package/hidden/senselogic/sitevision/api/collaboration/CollaborationGroupUtil/index.d.ts +0 -99
  499. package/hidden/senselogic/sitevision/api/context/PortletContextUtil/index.d.ts +0 -112
  500. package/hidden/senselogic/sitevision/api/cookie/SiteCookieUtil/index.d.ts +0 -166
  501. package/hidden/senselogic/sitevision/api/date/DateUtil/index.d.ts +0 -153
  502. package/hidden/senselogic/sitevision/api/date/TimestampUtil/index.d.ts +0 -121
  503. package/hidden/senselogic/sitevision/api/device/DeviceUtil/index.d.ts +0 -33
  504. package/hidden/senselogic/sitevision/api/format/FormatterBuilderFactory/index.d.ts +0 -89
  505. package/hidden/senselogic/sitevision/api/i18n/CurrencyFactory/index.d.ts +0 -81
  506. package/hidden/senselogic/sitevision/api/i18n/LocaleUtil/index.d.ts +0 -412
  507. package/hidden/senselogic/sitevision/api/i18n/TranslationUtil/index.d.ts +0 -110
  508. package/hidden/senselogic/sitevision/api/log/LogUtil/index.d.ts +0 -128
  509. package/hidden/senselogic/sitevision/api/mail/MailBuilder/index.d.ts +0 -221
  510. package/hidden/senselogic/sitevision/api/mail/MailUtil/index.d.ts +0 -72
  511. package/hidden/senselogic/sitevision/api/metadata/MetadataDefinitionUtil/index.d.ts +0 -109
  512. package/hidden/senselogic/sitevision/api/metadata/MetadataUtil/index.d.ts +0 -356
  513. package/hidden/senselogic/sitevision/api/metadata/builder/LinkValueBuilder/index.d.ts +0 -131
  514. package/hidden/senselogic/sitevision/api/metadata/builder/RelatedValueBuilder/index.d.ts +0 -89
  515. package/hidden/senselogic/sitevision/api/node/ContentNodeUtil/index.d.ts +0 -57
  516. package/hidden/senselogic/sitevision/api/node/NodeComparatorUtil/index.d.ts +0 -235
  517. package/hidden/senselogic/sitevision/api/node/NodeFactoryUtil/index.d.ts +0 -29
  518. package/hidden/senselogic/sitevision/api/node/NodeFilterUtil/index.d.ts +0 -781
  519. package/hidden/senselogic/sitevision/api/node/NodeIteratorUtil/index.d.ts +0 -231
  520. package/hidden/senselogic/sitevision/api/node/NodeResolverUtil/index.d.ts +0 -406
  521. package/hidden/senselogic/sitevision/api/node/NodeTreeUtil/index.d.ts +0 -232
  522. package/hidden/senselogic/sitevision/api/node/NodeTypeUtil/index.d.ts +0 -549
  523. package/hidden/senselogic/sitevision/api/node/builder/CompoundAndFilterBuilder/index.d.ts +0 -54
  524. package/hidden/senselogic/sitevision/api/node/builder/CompoundComparatorBuilder/index.d.ts +0 -53
  525. package/hidden/senselogic/sitevision/api/node/builder/CompoundOrFilterBuilder/index.d.ts +0 -53
  526. package/hidden/senselogic/sitevision/api/node/builder/TemporaryFileNodeBuilder/index.d.ts +0 -57
  527. package/hidden/senselogic/sitevision/api/node/builder/TemporaryNodeBuilder/index.d.ts +0 -177
  528. package/hidden/senselogic/sitevision/api/property/OfflineVersionPropertyUtil/index.d.ts +0 -31
  529. package/hidden/senselogic/sitevision/api/property/OnlineVersionPropertyUtil/index.d.ts +0 -31
  530. package/hidden/senselogic/sitevision/api/property/Properties/index.d.ts +0 -176
  531. package/hidden/senselogic/sitevision/api/property/PropertyUtil/index.d.ts +0 -1550
  532. package/hidden/senselogic/sitevision/api/redirect/RedirectUtil/index.d.ts +0 -73
  533. package/hidden/senselogic/sitevision/api/render/BuddyIconRenderer/index.d.ts +0 -186
  534. package/hidden/senselogic/sitevision/api/render/FileIconRenderer/index.d.ts +0 -301
  535. package/hidden/senselogic/sitevision/api/render/ImageLinkRenderer/index.d.ts +0 -122
  536. package/hidden/senselogic/sitevision/api/render/ImageRenderer/index.d.ts +0 -504
  537. package/hidden/senselogic/sitevision/api/render/LinkRenderer/index.d.ts +0 -890
  538. package/hidden/senselogic/sitevision/api/render/OutputUtil/index.d.ts +0 -390
  539. package/hidden/senselogic/sitevision/api/render/TextModuleRendererBuilder/index.d.ts +0 -66
  540. package/hidden/senselogic/sitevision/api/render/UserFieldRenderer/index.d.ts +0 -181
  541. package/hidden/senselogic/sitevision/api/render/velocity/VelocityRenderer/index.d.ts +0 -197
  542. package/hidden/senselogic/sitevision/api/render/xslt/XSLTUtil/index.d.ts +0 -59
  543. package/hidden/senselogic/sitevision/api/resource/ColorUtil/index.d.ts +0 -46
  544. package/hidden/senselogic/sitevision/api/resource/DecorationUtil/index.d.ts +0 -20
  545. package/hidden/senselogic/sitevision/api/resource/FontUtil/index.d.ts +0 -43
  546. package/hidden/senselogic/sitevision/api/resource/IconUtil/index.d.ts +0 -34
  547. package/hidden/senselogic/sitevision/api/resource/LandingPageUtil/index.d.ts +0 -88
  548. package/hidden/senselogic/sitevision/api/resource/PortletUtil/index.d.ts +0 -32
  549. package/hidden/senselogic/sitevision/api/resource/ResourceLocatorUtil/index.d.ts +0 -444
  550. package/hidden/senselogic/sitevision/api/resource/TemplateUtil/index.d.ts +0 -143
  551. package/hidden/senselogic/sitevision/api/script/InstanceTypeUtil/index.d.ts +0 -176
  552. package/hidden/senselogic/sitevision/api/script/Requester/index.d.ts +0 -420
  553. package/hidden/senselogic/sitevision/api/script/RestApi/index.d.ts +0 -195
  554. package/hidden/senselogic/sitevision/api/script/ScriptUtil/index.d.ts +0 -482
  555. package/hidden/senselogic/sitevision/api/script/app/RestAppInvokerFactory/index.d.ts +0 -70
  556. package/hidden/senselogic/sitevision/api/script/factory/ArraysInstance/index.d.ts +0 -1643
  557. package/hidden/senselogic/sitevision/api/script/factory/CollectionsInstance/index.d.ts +0 -661
  558. package/hidden/senselogic/sitevision/api/script/factory/InstanceCreatorUtil/index.d.ts +0 -490
  559. package/hidden/senselogic/sitevision/api/script/factory/ListWrapper/index.d.ts +0 -148
  560. package/hidden/senselogic/sitevision/api/script/factory/MathInstance/index.d.ts +0 -623
  561. package/hidden/senselogic/sitevision/api/search/SearchFactory/index.d.ts +0 -114
  562. package/hidden/senselogic/sitevision/api/search/SearchUtil/index.d.ts +0 -126
  563. package/hidden/senselogic/sitevision/api/search/index/IndexUtil/index.d.ts +0 -50
  564. package/hidden/senselogic/sitevision/api/search/index/IndexingUtil/index.d.ts +0 -59
  565. package/hidden/senselogic/sitevision/api/search/query/QueryStringUtil/index.d.ts +0 -419
  566. package/hidden/senselogic/sitevision/api/search/searcher/builder/ExtendedDismaxParserBuilder/index.d.ts +0 -257
  567. package/hidden/senselogic/sitevision/api/search/searcher/builder/FilterBuilder/index.d.ts +0 -103
  568. package/hidden/senselogic/sitevision/api/search/searcher/builder/HighlightBuilder/index.d.ts +0 -153
  569. package/hidden/senselogic/sitevision/api/search/searcher/builder/MonitorBuilder/index.d.ts +0 -47
  570. package/hidden/senselogic/sitevision/api/search/searcher/builder/SearcherBuilder/index.d.ts +0 -210
  571. package/hidden/senselogic/sitevision/api/search/searcher/builder/SortBuilder/index.d.ts +0 -110
  572. package/hidden/senselogic/sitevision/api/search/searcher/builder/SpellCheckBuilder/index.d.ts +0 -57
  573. package/hidden/senselogic/sitevision/api/search/searcher/builder/StandardParserBuilder/index.d.ts +0 -102
  574. package/hidden/senselogic/sitevision/api/security/AuthenticationUtil/index.d.ts +0 -103
  575. package/hidden/senselogic/sitevision/api/security/DirectoryUtil/index.d.ts +0 -98
  576. package/hidden/senselogic/sitevision/api/security/JwtUtil/index.d.ts +0 -143
  577. package/hidden/senselogic/sitevision/api/security/MessageDigesterFactory/index.d.ts +0 -46
  578. package/hidden/senselogic/sitevision/api/security/PermissionUtil/index.d.ts +0 -426
  579. package/hidden/senselogic/sitevision/api/security/PrincipalUtil/index.d.ts +0 -46
  580. package/hidden/senselogic/sitevision/api/security/RoleAssignmentBuilder/index.d.ts +0 -54
  581. package/hidden/senselogic/sitevision/api/security/RoleMatcherBuilder/index.d.ts +0 -53
  582. package/hidden/senselogic/sitevision/api/security/RoleUtil/index.d.ts +0 -49
  583. package/hidden/senselogic/sitevision/api/subscription/SubscriberUtil/index.d.ts +0 -96
  584. package/hidden/senselogic/sitevision/api/subscription/SubscriptionUtil/index.d.ts +0 -137
  585. package/hidden/senselogic/sitevision/api/tag/TagUtil/index.d.ts +0 -127
  586. package/hidden/senselogic/sitevision/api/text/EndecUtil/index.d.ts +0 -352
  587. package/hidden/senselogic/sitevision/api/user/SimpleUserUtil/index.d.ts +0 -43
  588. package/hidden/senselogic/sitevision/api/user/SystemUserUtil/index.d.ts +0 -163
  589. package/hidden/senselogic/sitevision/api/user/UserDataUtil/index.d.ts +0 -140
  590. package/hidden/senselogic/sitevision/api/user/UserFactory/index.d.ts +0 -61
  591. package/hidden/senselogic/sitevision/api/user/UserIdentityUtil/index.d.ts +0 -52
  592. package/hidden/senselogic/sitevision/api/user/UserUtil/index.d.ts +0 -67
  593. package/hidden/senselogic/sitevision/api/versioning/PublishingUtil/index.d.ts +0 -265
  594. package/hidden/senselogic/sitevision/api/versioning/VersionUtil/index.d.ts +0 -19
  595. package/hidden/senselogic/sitevision/api/webresource/ArticleUtil/index.d.ts +0 -252
  596. package/hidden/senselogic/sitevision/api/webresource/FileUtil/index.d.ts +0 -294
  597. package/hidden/senselogic/sitevision/api/webresource/ImageUtil/index.d.ts +0 -267
  598. package/hidden/senselogic/sitevision/api/webresource/LinkPageUtil/index.d.ts +0 -288
  599. package/hidden/senselogic/sitevision/api/webresource/PageUtil/index.d.ts +0 -216
  600. package/hidden/senselogic/sitevision/api/webresource/WebResourceFactory/index.d.ts +0 -56
  601. package/hidden/senselogic/sitevision/api/webresource/builder/LinkTargetBuilder/index.d.ts +0 -128
  602. package/hidden/senselogic/sitevision/api/webresource/doctype/DocTypeUtil/index.d.ts +0 -141
  603. package/hidden/senselogic/sitevision/api/webresource/mime/MimeTypeUtil/index.d.ts +0 -217
  604. package/hidden/senselogic/sitevision/api/webresource/structure/ArchiveUtil/index.d.ts +0 -53
  605. package/hidden/senselogic/sitevision/api/webresource/structure/FolderUtil/index.d.ts +0 -107
  606. package/hidden/senselogic/sitevision/api/webresource/structure/StructureUtil/index.d.ts +0 -94
  607. package/hidden/senselogic/sitevision/api/webresource/structure/TrashcanUtil/index.d.ts +0 -123
  608. package/hidden/senselogic/sitevision/api/webresource/webcontent/WebContentUtil/index.d.ts +0 -458
  609. package/hidden/senselogic/sitevision/api/xml/XmlParserUtil/index.d.ts +0 -116
@@ -1,1107 +0,0 @@
1
- import Repository from "../Repository";
2
-
3
- import Workspace from "../Workspace";
4
- import Node from "../Node";
5
- import Credentials from "../Credentials";
6
- import Item from "../Item";
7
- import Property from "../Property";
8
-
9
- import ValueFactory from "../ValueFactory";
10
-
11
- import AccessControlManager from "../security/AccessControlManager";
12
- import RetentionManager from "../retention/RetentionManager";
13
-
14
- /**
15
- * The <code>Session</code> object provides read and (in level 2) write access
16
- * to the content of a particular workspace in the repository.
17
- * <p>
18
- * The <code>Session</code> object is returned by {@link
19
- * Repository#login(Credentials, String) Repository.login()}. It encapsulates
20
- * both the authorization settings of a particular user (as specified by the
21
- * passed <code>Credentials</code>) and a binding to the workspace specified by
22
- * the <code>workspaceName</code> passed on <code>login</code>.
23
- * <p>
24
- * Each <code>Session</code> object is associated one-to-one with a
25
- * <code>Workspace</code> object. The <code>Workspace</code> object represents a
26
- * "view" of an actual repository workspace entity as seen through the
27
- * authorization settings of its associated <code>Session</code>.
28
- *
29
- * <h3>Session instance retrieval in Sitevision</h3>
30
- * <p>
31
- * An instance of this interface can be obtained via the request attribute "<code>sitevision.jcr.session</code>".
32
- * Below is an example of how to get hold of a <code>Session</code> instance from your custom JSR 286 portlet:
33
- * </p>
34
- * <pre><code>
35
- * Session jcrSession = (Session) aPortletRequest.getAttribute("sitevision.jcr.session");
36
- * </code></pre>
37
- * <p>
38
- * This interface is annotated with {@link senselogic.sitevision.api.base.Requireable} so in server-side JavaScript you would typically obtain an instance of this interface via the <code>require</code> function:
39
- * </p>
40
- * <pre><code>
41
- * var session = require('Session');
42
- * </code></pre>
43
- * <p>
44
- * In JCR capable portlets that are bundled with Sitevision and exposes a "Custom template", you typically have a <code>Session</code> instance
45
- * available as "<code>$jcrSession</code>" on the VelocityContext:
46
- * </p>
47
- * <pre><code>
48
- * $jcrSession
49
- * </code></pre>
50
- * <p>
51
- * <em>If $jcrSession is not available on the VelocityContext, use the portlet request (if available) to retrieve it. :</em>
52
- * </p>
53
- * <pre><em><code>
54
- * #set ($jcrSession = $request.getAttribute('sitevision.jcr.session'))
55
- * </code></em></pre>A constant representing the <code>read</code> action string, used to
56
- * determine if this <code>Session</code> has permission to retrieve an item
57
- * (and read the value, in the case of a property).A constant representing the <code>add_node</code> action string, used to
58
- * determine if this <code>Session</code> has permission to add a new node.A constant representing the <code>set_property</code> action string, used
59
- * to determine if this <code>Session</code> has permission to set (add or
60
- * modify) a property.A constant representing the <code>remove</code> action string, used to
61
- * determine if this <code>Session</code> has permission to remove an item.
62
- * @see #hasPermission(String, String)
63
- * @see #checkPermission(String, String)
64
- * @since JCR 2.0
65
- * @see #hasPermission(String, String)
66
- * @see #checkPermission(String, String)
67
- * @since JCR 2.0
68
- * @see #hasPermission(String, String)
69
- * @see #checkPermission(String, String)
70
- * @since JCR 2.0
71
- * @see #hasPermission(String, String)
72
- * @see #checkPermission(String, String)
73
- * @since JCR 2.0
74
- */
75
-
76
- interface Session {
77
- /**
78
- * Returns the <code>Repository</code> object through which this session was
79
- * acquired.
80
- * @return a <code>{@link Repository}</code> object.
81
- */
82
- getRepository(): Repository;
83
-
84
- /**
85
- * Gets the user ID associated with this <code>Session</code>. How the user
86
- * ID is set is up to the implementation, it may be a string passed in as
87
- * part of the credentials or it may be a string acquired in some other way.
88
- * This method is free to return an "anonymous user ID" or
89
- * <code>null</code>.
90
- * @return the user ID associated with this <code>Session</code>.
91
- */
92
- getUserID(): string;
93
-
94
- /**
95
- * Returns the names of the attributes set in this session as a result of
96
- * the <code>Credentials</code> that were used to acquire it. Not all
97
- * <code>Credentials</code> implementations will contain attributes (though,
98
- * for example, <code>SimpleCredentials</code> does allow for them). This
99
- * method returns an empty array if the <code>Credentials</code> instance
100
- * did not provide attributes.
101
- * @return A string array containing the names of all attributes passed in the credentials used to acquire this session.
102
- */
103
- getAttributeNames(): string;
104
-
105
- /**
106
- * Returns the value of the named attribute as an <code>Object</code>, or
107
- * <code>null</code> if no attribute of the given name exists. See {@link
108
- * Session#getAttributeNames}.
109
- * @param name the name of an attribute passed in the credentials used to acquire this session.
110
- * @return the value of the attribute or <code>null</code> if no attribute of the given name exists.
111
- */
112
- getAttribute(name: java.lang.String): unknown;
113
-
114
- /**
115
- * Returns the <code>Workspace</code> attached to this
116
- * <code>Session</code>.
117
- * @return a <code>{@link Workspace}</code> object.
118
- */
119
- getWorkspace(): Workspace;
120
-
121
- /**
122
- * Returns the root node of the workspace, "/". This node is the main access
123
- * point to the content of the workspace.
124
- * @return The root node of the workspace: a <code>{@link Node}</code> object.
125
- * @throws RepositoryException if an error occurs.
126
- */
127
- getRootNode(): Node;
128
-
129
- /**
130
- * Returns a new session in accordance with the specified (new) Credentials.
131
- * Allows the current user to "impersonate" another using incomplete or
132
- * relaxed credentials requirements (perhaps including a user name but no
133
- * password, for example), assuming that this <code>Session</code> gives
134
- * them that permission.
135
- * <p>
136
- * The new <code>Session</code> is tied to a new <code>Workspace</code>
137
- * instance. In other words, <code>Workspace</code> instances are not
138
- * re-used. However, the <code>Workspace</code> instance returned represents
139
- * the same actual persistent workspace entity in the repository as is
140
- * represented by the <code>Workspace</code> object tied to this
141
- * <code>Session</code>.
142
- * @param credentials A <code>Credentials</code> object
143
- * @return a <code>Session</code> object
144
- * @throws LoginException if the current session does not have sufficient access to perform the operation.
145
- * @throws RepositoryException if another error occurs.
146
- */
147
- impersonate(credentials: Credentials): Session;
148
-
149
- /**
150
- * Returns the node specified by the given UUID. Only applies to nodes that
151
- * expose a UUID, in other words, those of mixin node type
152
- * <code>mix:referenceable</code>
153
- *
154
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
155
- * @param uuid A universally unique identifier.
156
- * @return A <code>Node</code>.
157
- * @throws ItemNotFoundException if the specified UUID is not found.
158
- * @throws RepositoryException if another error occurs.
159
- * @deprecated As of JCR 2.0, {@link #getNodeByIdentifier(String)} should be used instead.
160
- */
161
- getNodeByUUID(uuid: java.lang.String): Node;
162
-
163
- /**
164
- * Returns the node specified by the given identifier. Applies to both
165
- * referenceable and non-referenceable nodes.
166
- * @param id An identifier.
167
- * @return A <code>Node</code>.
168
- * @throws ItemNotFoundException if no node with the specified identifier exists or if this <code>Session</code> does not have read access to the node with the specified identifier.
169
- * @throws RepositoryException if another error occurs.
170
- * @since JCR 2.0
171
- */
172
- getNodeByIdentifier(id: java.lang.String): Node;
173
-
174
- /**
175
- * Returns the node at the specified absolute path in the workspace. If no
176
- * such node exists, then it returns the property at the specified path.
177
- * <p>
178
- * This method should only be used if the application does not know whether
179
- * the item at the indicated path is property or node. In cases where the
180
- * application has this information, either {@link #getNode} or {@link
181
- * #getProperty} should be used, as appropriate. In many repository
182
- * implementations the node and property-specific methods are likely to be
183
- * more efficient than <code>getItem</code>.
184
- * @param absPath An absolute path.
185
- * @return the specified <code>Item</code>.
186
- * @throws PathNotFoundException if no accessible item is found at the specified path.
187
- * @throws RepositoryException if another error occurs.
188
- */
189
- getItem(absPath: java.lang.String): Item;
190
-
191
- /**
192
- * Returns the node at the specified absolute path in the workspace.
193
- * @param absPath An absolute path.
194
- * @return the specified <code>Node</code>.
195
- * @throws PathNotFoundException If no accessible node is found at the specifed path.
196
- * @throws RepositoryException If another error occurs.
197
- * @since JCR 2.0
198
- */
199
- getNode(absPath: java.lang.String): Node;
200
-
201
- /**
202
- * Returns the property at the specified absolute path in the workspace.
203
- * @param absPath An absolute path.
204
- * @return the specified <code>Property</code>.
205
- * @throws PathNotFoundException If no accessible property is found at the specified path.
206
- * @throws RepositoryException if another error occurs.
207
- * @since JCR 2.0
208
- */
209
- getProperty(absPath: java.lang.String): Property;
210
-
211
- /**
212
- * Returns <code>true</code> if an item exists at <code>absPath</code> and
213
- * this <code>Session</code> has read access to it; otherwise returns
214
- * <code>false</code>.
215
- * @param absPath An absolute path.
216
- * @return a <code>boolean</code>
217
- * @throws RepositoryException if <code>absPath</code> is not a well-formed absolute path.
218
- */
219
- itemExists(absPath: java.lang.String): boolean;
220
-
221
- /**
222
- * Returns <code>true</code> if a node exists at <code>absPath</code> and
223
- * this <code>Session</code> has read access to it; otherwise returns
224
- * <code>false</code>.
225
- * @param absPath An absolute path.
226
- * @return a <code>boolean</code>
227
- * @throws RepositoryException if <code>absPath</code> is not a well-formed absolute path.
228
- * @since JCR 2.0
229
- */
230
- nodeExists(absPath: java.lang.String): boolean;
231
-
232
- /**
233
- * Returns <code>true</code> if a property exists at <code>absPath</code>
234
- * and this <code>Session</code> has read access to it; otherwise returns
235
- * <code>false</code>.
236
- * @param absPath An absolute path.
237
- * @return a <code>boolean</code>
238
- * @throws RepositoryException if <code>absPath</code> is not a well-formed absolute path.
239
- * @since JCR 2.0
240
- */
241
- propertyExists(absPath: java.lang.String): boolean;
242
-
243
- /**
244
- * Moves the node at <code>srcAbsPath</code> (and its entire subgraph) to
245
- * the new location at <code>destAbsPath</code>.
246
- * <p>
247
- * This is a session-write method and therefor requires a <code>save</code>
248
- * to dispatch the change.
249
- * <p>
250
- * The identifiers of referenceable nodes <i>must not</i> be changed by a
251
- * <code>move</code>. The identifiers of non-referenceable nodes <i>may</i>
252
- * change.
253
- * <p>
254
- * A <code>ConstraintViolationException</code> is thrown either immediately,
255
- * on dispatch or on persist, if performing this operation would violate a
256
- * node type or implementation-specific constraint. Implementations may
257
- * differ on when this validation is performed.
258
- * <p>
259
- * As well, a <code>ConstraintViolationException</code> will be thrown on
260
- * persist if an attempt is made to separately <code>save</code> either the
261
- * source or destination node.
262
- * <p>
263
- * Note that this behavior differs from that of {@link Workspace#move},
264
- * which is a workspace-write method and therefore immediately dispatches
265
- * changes.
266
- * <p>
267
- * The <code>destAbsPath</code> provided must not have an index on its final
268
- * element. If ordering is supported by the node type of the parent node of
269
- * the new location, then the newly moved node is appended to the end of the
270
- * child node list.
271
- * <p>
272
- * This method cannot be used to move an individual property by itself. It
273
- * moves an entire node and its subgraph.
274
- * <p>
275
- * If no node exists at <code>srcAbsPath</code> or no node exists one level
276
- * above <code>destAbsPath</code> (in other words, there is no node that
277
- * will serve as the parent of the moved item) then a
278
- * <code>PathNotFoundException</code> is thrown either immediately, on
279
- * dispatch or on persist. Implementations may differ on when this
280
- * validation is performed.
281
- * <p>
282
- * An <code>ItemExistsException</code> is thrown either immediately, on
283
- * dispatch or on persist, if a node already exists at
284
- * <code>destAbsPath</code> and same-name siblings are not allowed.
285
- * Implementations may differ on when this validation is performed.
286
- * <p>
287
- * Note that if a property already exists at <code>destAbsPath</code>, the
288
- * operation succeeds, since a node may have a child node and property with
289
- * the same name.
290
- * <p>
291
- * A <code>VersionException</code> is thrown either immediately, on dispatch
292
- * or on persist, if the parent node of <code>destAbsPath</code> or the
293
- * parent node of <code>srcAbsPath</code> is read-only due to a checked-in node.
294
- * Implementations may differ on when this validation is performed.
295
- * <p>
296
- * A <code>LockException</code> is thrown either immediately, on dispatch or
297
- * on persist, if a lock prevents the <code>move</code>. Implementations may
298
- * differ on when this validation is performed.
299
- *
300
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
301
- * @param srcAbsPath the root of the subgraph to be moved.
302
- * @param destAbsPath the location to which the subgraph is to be moved.
303
- * @throws ItemExistsException if a node already exists at <code>destAbsPath</code> and same-name siblings are not allowed.
304
- * @throws PathNotFoundException if either <code>srcAbsPath</code> or <code>destAbsPath</code> cannot be found and this implementation performs this validation immediately.
305
- * @throws VersionException if the parent node of <code>destAbsPath</code> or the parent node of <code>srcAbsPath</code> is versionable and checked-in, or or is non-versionable and its nearest versionable ancestor is checked-in and this implementation performs this validation immediately.
306
- * @throws ConstraintViolationException if a node-type or other constraint violation is detected immediately and this implementation performs this validation immediately.
307
- * @throws LockException if the move operation would violate a lock and this implementation performs this validation immediately.
308
- * @throws RepositoryException if the last element of <code>destAbsPath</code> has an index or if another error occurs.
309
- */
310
- move(srcAbsPath: java.lang.String, destAbsPath: java.lang.String): void;
311
-
312
- /**
313
- * Removes the specified item and its subgraph.
314
- * <p>
315
- * This is a session-write method and therefore requires a <code>save</code>
316
- * in order to dispatch the change.
317
- * <p>
318
- * If a node with same-name siblings is removed, this decrements by one the
319
- * indices of all the siblings with indices greater than that of the removed
320
- * node. In other words, a removal compacts the array of same-name siblings
321
- * and causes the minimal re-numbering required to maintain the original
322
- * order but leave no gaps in the numbering.
323
- * <p>
324
- * A <code>ReferentialIntegrityException</code> will be thrown on dispatch
325
- * if the specified item or an item in its subgraph is currently the target
326
- * of a <code>REFERENCE</code> property located in this workspace but
327
- * outside the specified item's subgraph and the current
328
- * <code>Session</code> has read access to that <code>REFERENCE</code>
329
- * property.
330
- * <p>
331
- * A <code>ConstraintViolationException</code> will be thrown either
332
- * immediately, on dispatch or on persist, if removing the specified item
333
- * would violate a node type or implementation-specific constraint.
334
- * Implementations may differ on when this validation is performed.
335
- * <p>
336
- * A <code>VersionException</code> will be thrown either immediately, on
337
- * dispatch or on persist, if the parent node of the specified item is
338
- * read-only due to a checked-in node. Implementations may differ on when
339
- * this validation is performed.
340
- * <p>
341
- * A <code>LockException</code> will be thrown either immediately, on
342
- * dispatch or on persist, if a lock prevents the removal of the specified
343
- * item. Implementations may differ on when this validation is performed.
344
- * <p>
345
- * A <code>PathNotFoundException</code> will be thrown either immediately,
346
- * on dispatch or on persist, if no accessible item is found at at
347
- * <code>absPath</code>.
348
- * <p>
349
- * A <code>AccessDeniedException</code> will be thrown either immediately,
350
- * on dispatch or on persist, if the specified item or an item in its
351
- * subgraph is currently the target of a <code>REFERENCE</code> property
352
- * located in this workspace but outside the specified item's subgraph and
353
- * the current <code>Session</code> <i>does not</i> have read access to that
354
- * <code>REFERENCE</code> property.
355
- *
356
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
357
- * @param absPath the absolute path of the item to be removed.
358
- * @throws VersionException if the parent node of the item at absPath is read-only due to a checked-in node and this implementation performs this validation immediately.
359
- * @throws LockException if a lock prevents the removal of the specified item and this implementation performs this validation immediately.
360
- * @throws ConstraintViolationException if removing the specified item would violate a node type or implementation-specific constraint and this implementation performs this validation immediately.
361
- * @throws PathNotFoundException if no accessible item is found at <code>absPath</code> and this implementation performs this validation immediately.
362
- * @throws AccessDeniedException if the specified item or an item in its subgraph is currently the target of a <code>REFERENCE</code> property located in this workspace but outside the specified item's subgraph and the current <code>Session</code> <i>does not</i> have read access to that <code>REFERENCE</code> property and this implementation performs this validation immediately.
363
- * @throws RepositoryException if another error occurs.
364
- * @see Item#remove()
365
- * @since JCR 2.0
366
- */
367
- removeItem(absPath: java.lang.String): void;
368
-
369
- /**
370
- * Validates all pending changes currently recorded in this
371
- * <code>Session</code>. If validation of <i>all</i> pending changes
372
- * succeeds, then this change information is cleared from the
373
- * <code>Session</code>.
374
- * <p>
375
- * If the <code>save</code> occurs outside a transaction, the changes are
376
- * <i>dispatched</i> and <i>persisted</i>. Upon being persisted the changes
377
- * become potentially visible to other <code>Sessions</code> bound to the
378
- * same persitent workspace.
379
- * <p>
380
- * If the <code>save</code> occurs within a transaction, the changes are
381
- * <i>dispatched</i> but are not <i>persisted</i> until the transaction is
382
- * committed.
383
- * <p>
384
- * If validation fails, then no pending changes are dispatched and they
385
- * remain recorded on the <code>Session</code>. There is no best-effort or
386
- * partial <code>save</code>.
387
- *
388
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
389
- * @throws AccessDeniedException if any of the changes to be persisted would violate the access privileges of the this <code>Session</code>. Also thrown if any of the changes to be persisted would cause the removal of a node that is currently referenced by a <code>REFERENCE</code> property that this Session <i>does not</i> have read access to.
390
- * @throws ItemExistsException if any of the changes to be persisted would be prevented by the presence of an already existing item in the workspace.
391
- * @throws ConstraintViolationException if any of the changes to be persisted would violate a node type or restriction. Additionally, a repository may use this exception to enforce implementation- or configuration-dependent restrictions.
392
- * @throws InvalidItemStateException if any of the changes to be persisted conflicts with a change already persisted through another session and the implementation is such that this conflict can only be detected at <code>save</code>-time and therefore was not detected earlier, at change-time.
393
- * @throws ReferentialIntegrityException if any of the changes to be persisted would cause the removal of a node that is currently referenced by a <code>REFERENCE</code> property that this <code>Session</code> has read access to.
394
- * @throws VersionException if the <code>save</code> would make a result in a change to persistent storage that would violate the read-only status of a checked-in node.
395
- * @throws LockException if the <code>save</code> would result in a change to persistent storage that would violate a lock.
396
- * @throws NoSuchNodeTypeException if the <code>save</code> would result in the addition of a node with an unrecognized node type.
397
- * @throws RepositoryException if another error occurs.
398
- */
399
- save(): void;
400
-
401
- /**
402
- * If <code>keepChanges</code> is <code>false</code>, this method discards
403
- * all pending changes currently recorded in this <code>Session</code> and
404
- * returns all items to reflect the current saved state. Outside a
405
- * transaction this state is simply the current state of persistent storage.
406
- * Within a transaction, this state will reflect persistent storage as
407
- * modified by changes that have been saved but not yet committed.
408
- * <p>
409
- * If <code>keepChanges</code> is true then pending change are not discarded
410
- * but items that do not have changes pending have their state refreshed to
411
- * reflect the current saved state, thus revealing changes made by other
412
- * sessions.
413
- *
414
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
415
- * @param keepChanges a boolean
416
- * @throws RepositoryException if an error occurs.
417
- */
418
- refresh(keepChanges: boolean): void;
419
-
420
- /**
421
- * Returns <code>true</code> if this session holds pending (that is,
422
- * unsaved) changes; otherwise returns <code>false</code>.
423
- *
424
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
425
- * @return a boolean
426
- * @throws RepositoryException if an error occurs
427
- */
428
- hasPendingChanges(): boolean;
429
-
430
- /**
431
- * This method returns a <code>ValueFactory</code> that is used to create
432
- * <code>Value</code> objects for use when setting repository properties.
433
- * @since Sitevision 3.0
434
- * @return a <code>ValueFactory</code>
435
- * @throws UnsupportedRepositoryOperationException if writing to the repository is not supported.
436
- * @throws RepositoryException if another error occurs.
437
- */
438
- getValueFactory(): ValueFactory;
439
-
440
- /**
441
- * Returns <code>true</code> if this <code>Session</code> has permission to
442
- * perform the specified actions at the specified <code>absPath</code> and
443
- * <code>false</code> otherwise.
444
- * <p>
445
- * The <code>actions</code> parameter is a comma separated list of action
446
- * strings. The following action strings are defined: <ul> <li> {@link
447
- * #ACTION_ADD_NODE add_node}: If <code>hasPermission(path,
448
- * "add_node")</code> returns <code>true</code>, then this
449
- * <code>Session</code> has permission to add a node at <code>path</code>.
450
- * </li> <li> {@link #ACTION_SET_PROPERTY set_property}: If
451
- * <code>hasPermission(path, "set_property")</code> returns
452
- * <code>true</code>, then this <code>Session</code> has permission to set
453
- * (add or change) a property at <code>path</code>. </li> <li> {@link
454
- * #ACTION_REMOVE remove}: If <code>hasPermission(path,
455
- * "remove")</code> returns <code>true</code>, then this
456
- * <code>Session</code> has permission to remove an item at
457
- * <code>path</code>. </li> <li> {@link #ACTION_READ read}: If
458
- * <code>hasPermission(path, "read")</code> returns <code>true</code>, then
459
- * this <code>Session</code> has permission to retrieve (and read the value
460
- * of, in the case of a property) an item at <code>path</code>. </li> </ul>
461
- * When more than one action is specified in the <code>actions</code>
462
- * parameter, this method will only return <code>true</code> if this
463
- * <code>Session</code> has permission to perform <i>all</i> of the listed
464
- * actions at the specified path.
465
- * <p>
466
- * The information returned through this method will only reflect the access
467
- * control status (both JCR defined and implementation-specific) and not
468
- * other restrictions that may exist, such as node type constraints. For
469
- * example, even though <code>hasPermission</code> may indicate that a
470
- * particular <code>Session</code> may add a property at
471
- * <code>/A/B/C</code>, the node type of the node at <code>/A/B</code> may
472
- * prevent the addition of a property called <code>C</code>.
473
- *
474
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
475
- * @param absPath an absolute path.
476
- * @param actions a comma separated list of action strings.
477
- * @return <code>true</code> if this <code>Session</code> has permission to perform the specified actions at the specified <code>absPath</code>.
478
- * @throws RepositoryException if an error occurs.
479
- * @since JCR 2.0
480
- */
481
- hasPermission(absPath: java.lang.String, actions: java.lang.String): boolean;
482
-
483
- /**
484
- * Determines whether this <code>Session</code> has permission to perform
485
- * the specified actions at the specified <code>absPath</code>. This method
486
- * quietly returns if the access request is permitted, or throws a suitable
487
- * <code>java.security.AccessControlException</code> otherwise.
488
- * <p>
489
- * The <code>actions</code> parameter is a comma separated list of action
490
- * strings. The following action strings are defined: <ul> <li> {@link
491
- * #ACTION_ADD_NODE add_node}: If <code>checkPermission(path,
492
- * "add_node")</code> returns quietly, then this <code>Session</code> has
493
- * permission to add a node at <code>path</code>, otherwise permission is
494
- * denied. </li> <li> {@link #ACTION_SET_PROPERTY set_property}:
495
- * If <code>checkPermission(path, "set_property")</code> returns quietly,
496
- * then this <code>Session</code> has permission to set (add or change) a
497
- * property at <code>path</code>, otherwise permission is denied. </li> <li>
498
- * {@link #ACTION_REMOVE remove}: If <code>checkPermission(path,
499
- * "remove")</code> returns quietly, then this <code>Session</code> has
500
- * permission to remove an item at <code>path</code>, otherwise permission
501
- * is denied. </li> <li> {@link #ACTION_READ read}: If
502
- * <code>checkPermission(path, "read")</code> returns quietly, then this
503
- * <code>Session</code> has permission to retrieve (and read the value of,
504
- * in the case of a property) an item at <code>path</code>, otherwise
505
- * permission is denied. </li> </ul> When more than one action is specified
506
- * in the <code>actions</code> parameter, this method will only return
507
- * quietly if this <code>Session</code> has permission to perform <i>all</i>
508
- * of the listed actions at the specified path.
509
- * <p>
510
- * The information returned through this method will only reflect access
511
- * control status (both JCR defined and implementation-specific) and not
512
- * other restrictions that may exist, such as node type constraints. For
513
- * example, even though <code>checkPermission</code> may indicate that a
514
- * particular <code>Session</code> may add a property at
515
- * <code>/A/B/C</code>, the node type of the node at <code>/A/B</code> may
516
- * prevent the addition of a property called <code>C</code>.
517
- *
518
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
519
- * @param absPath an absolute path.
520
- * @param actions a comma separated list of action strings.
521
- * @throws java.security.AccessControlException If permission is denied.
522
- * @throws RepositoryException if another error occurs.
523
- */
524
- checkPermission(absPath: java.lang.String, actions: java.lang.String): void;
525
-
526
- /**
527
- * Checks whether an operation can be performed given as much context as can
528
- * be determined by the repository, including: <ul> <li> Permissions granted
529
- * to the current user, including access control privileges. </li> <li>
530
- * Current state of the target object (reflecting locks, checkin/checkout
531
- * status, retention and hold status etc.). </li> <li> Repository
532
- * capabilities. </li> <li> Node type-enforced restrictions. </li> <li>
533
- * Repository configuration-specific restrictions. </li> </ul> The
534
- * implementation of this method is best effort: returning
535
- * <code>false</code> guarantees that the operation cannot be performed, but
536
- * returning <code>true</code> does not guarantee the opposite. The
537
- * repository implementation should use this to give priority to performance
538
- * over completeness. An exception should be thrown only for important
539
- * failures such as loss of connectivity to the back-end.
540
- * <p>
541
- * The implementation of this method is best effort: returning false
542
- * guarantees that the operation cannot be performed, but returning true
543
- * does not guarantee the opposite.
544
- * <p>
545
- * The <code>methodName</code> parameter identifies the method in question
546
- * by its name as defined in the Javadoc.
547
- * <p>
548
- * The <code>target</code> parameter identifies the object on which the
549
- * specified method is called.
550
- * <p>
551
- * The <code>arguments</code> parameter contains an array of type
552
- * <code>Object</code> object consisting of the arguments to be passed
553
- * to the method in question. In cases where a parameter is a Java
554
- * primitive type it must be converted to its corresponding Java object form.
555
- * <p>
556
- * For example, given a <code>Session</code> <code>S</code> and
557
- * <code>Node</code> <code>N</code> then
558
- * <p>
559
- * <code>boolean b = S.hasCapability("addNode", N, new Object[]{"foo"});</code>
560
- * <p>
561
- * will result in <code>b == false</code> if a child node called <code>foo</code> cannot be added to
562
- * the node <code>N</code> within the session <code>S</code>.
563
- *
564
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
565
- * @param methodName the nakme of the method.
566
- * @param target the target object of the operation.
567
- * @param arguments the arguments of the operation.
568
- * @return <code>false</code> if the operation cannot be performed, <code>true</code> if the operation can be performed or if the repository cannot determine whether the operation can be performed.
569
- * @throws RepositoryException if an error occurs
570
- * @since JCR 2.0
571
- */
572
- hasCapability(
573
- methodName: java.lang.String,
574
- target: java.lang.Object,
575
- arguments: java.lang.Object
576
- ): boolean;
577
-
578
- /**
579
- * Returns an <code>org.xml.sax.ContentHandler</code> which is used to push
580
- * SAX events to the repository. If the incoming XML (in the form of SAX
581
- * events) does not appear to be a JCR <i>system view</i> XML document then
582
- * it is interpreted as a JCR <i>document view</i> XML document.
583
- * <p>
584
- * The incoming XML is deserialized into a subgraph of items immediately
585
- * below the node at <code>parentAbsPath</code>.
586
- * <p>
587
- * This method simply returns the <code>ContentHandler</code> without
588
- * altering the state of the session; the actual deserialization to the
589
- * session transient space is done through the methods of the
590
- * <code>ContentHandler</code>. Invalid XML data will cause the
591
- * <code>ContentHandler</code> to throw a <code>SAXException</code>.
592
- * <p>
593
- * As SAX events are fed into the <code>ContentHandler</code>, the tree of
594
- * new items is built in the transient storage of the session. In order to
595
- * dispatch the new content, <code>save</code> must be called. See {@link
596
- * Workspace#getImportContentHandler} for a workspace-write version of this
597
- * method.
598
- * <p>
599
- * The flag <code>uuidBehavior</code> governs how the identifiers of
600
- * incoming nodes are handled: <ul> <li> {@link ImportUUIDBehavior#IMPORT_UUID_CREATE_NEW}:
601
- * Incoming identifiers nodes are added in the same way that new node is
602
- * added with <code>Node.addNode</code>. That is, they are either assigned
603
- * newly created identifiers upon addition or upon <code>save</code>
604
- * (depending on the implementation). In either case, identifier collisions
605
- * will not occur. </li> <li> {@link ImportUUIDBehavior#IMPORT_UUID_COLLISION_REMOVE_EXISTING}:
606
- * If an incoming node has the same identifier as a node already existing in
607
- * the workspace then the already existing node (and its subgraph) is
608
- * removed from wherever it may be in the workspace before the incoming node
609
- * is added. Note that this can result in nodes "disappearing" from
610
- * locations in the workspace that are remote from the location to which the
611
- * incoming subgraph is being written. Both the removal and the new addition
612
- * will be persisted on <code>save</code>. </li> <li> {@link
613
- * ImportUUIDBehavior#IMPORT_UUID_COLLISION_REPLACE_EXISTING}: If an
614
- * incoming node has the same identifier as a node already existing in the
615
- * workspace, then the already-existing node is replaced by the incoming
616
- * node in the same position as the existing node. Note that this may result
617
- * in the incoming subgraph being disaggregated and "spread around" to
618
- * different locations in the workspace. In the most extreme case this
619
- * behavior may result in no node at all being added as child of
620
- * <code>parentAbsPath</code>. This will occur if the topmost element of the
621
- * incoming XML has the same identifier as an existing node elsewhere in the
622
- * workspace. The change will be persisted on <code>save</code>. </li> <li>
623
- * {@link ImportUUIDBehavior#IMPORT_UUID_COLLISION_THROW}: If an incoming
624
- * node has the same identifier as a node already existing in the workspace
625
- * then a <code>SAXException</code> is thrown by the
626
- * <code>ContentHandler</code> during deserialization. </li> </ul> Unlike
627
- * <code>Workspace.getImportContentHandler</code>, this method does not
628
- * necessarily enforce all node type constraints during deserialization.
629
- * Those that would be immediately enforced in a session-write method
630
- * (<code>Node.addNode</code>, <code>Node.setProperty</code> etc.) of this
631
- * implementation cause the returned <code>ContentHandler</code> to throw an
632
- * immediate <code>SAXException</code> during deserialization. All other
633
- * constraints are checked on save, just as they are in normal write
634
- * operations. However, which node type constraints are enforced depends
635
- * upon whether node type information in the imported data is respected, and
636
- * this is an implementation-specific issue.
637
- * <p>
638
- * A <code>SAXException</code> will also be thrown by the returned
639
- * <code>ContentHandler</code> during deserialization if
640
- * <code>uuidBehavior</code> is set to <code>IMPORT_UUID_COLLISION_REMOVE_EXISTING</code>
641
- * and an incoming node has the same identifier as the node at
642
- * <code>parentAbsPath</code> or one of its ancestors.
643
- * <p>
644
- * A <code>PathNotFoundException</code> is thrown either immediately, on
645
- * dispatch or on persist, if no node exists at <code>parentAbsPath</code>.
646
- * Implementations may differ on when this validation is performed
647
- * <p>
648
- * A <code>ConstraintViolationException</code> is thrown either immediately,
649
- * on dispatch or on persist, if the new subgraph cannot be added to the
650
- * node at <code>parentAbsPath</code> due to node-type or other
651
- * implementation-specific constraints, and this can be determined before
652
- * the first SAX event is sent. Implementations may differ on when this
653
- * validation is performed.
654
- * <p>
655
- * A <code>VersionException</code> is thrown either immediately, on dispatch
656
- * or on persist, if the node at <code>parentAbsPath</code> is read-only due
657
- * to a check-in. Implementations may differ on when this validation is
658
- * performed.
659
- * <p>
660
- * A <code>LockException</code> is thrown either immediately, on dispatch or
661
- * on persist, if a lock prevents the addition of the subgraph.
662
- * Implementations may differ on when this validation is performed.
663
- *
664
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
665
- * @param parentAbsPath the absolute path of a node under which (as child) the imported subgraph will be built.
666
- * @param uuidBehavior a four-value flag that governs how incoming identifiers are handled.
667
- * @return an org.xml.sax.ContentHandler whose methods may be called to feed SAX events into the deserializer.
668
- * @throws PathNotFoundException if no node exists at <code>parentAbsPath</code> and this implementation performs this validation immediately.
669
- * @throws ConstraintViolationException if the new subgraph cannot be added to the node at <code>parentAbsPath</code> due to node-type or other implementation-specific constraints, and this implementation performs this validation immediately.
670
- * @throws VersionException if the node at <code>parentAbsPath</code> is read-only due to a checked-in node and this implementation performs this validation immediately.
671
- * @throws LockException if a lock prevents the addition of the subgraph and this implementation performs this validation immediately.
672
- * @throws RepositoryException if another error occurs.
673
- */
674
- getImportContentHandler(
675
- parentAbsPath: java.lang.String,
676
- uuidBehavior: int
677
- ): unknown;
678
-
679
- /**
680
- * Deserializes an XML document and adds the resulting item subgraph as a
681
- * child of the node at <code>parentAbsPath</code>.
682
- * <p>
683
- * If the incoming XML stream does not appear to be a JCR <i>system view</i>
684
- * XML document then it is interpreted as a <i>document view</i> XML
685
- * document.
686
- * <p>
687
- * The passed <code>InputStream</code> is closed before this method returns
688
- * either normally or because of an exception.
689
- * <p>
690
- * The tree of new items is built in the transient storage of the
691
- * <code>Session</code>. In order to persist the new content,
692
- * <code>save</code> must be called. The advantage of this
693
- * through-the-session method is that (depending on what constraint checks
694
- * the implementation leaves until <code>save</code>) structures that
695
- * violate node type constraints can be imported, fixed and then saved. The
696
- * disadvantage is that a large import will result in a large cache of
697
- * pending nodes in the session. See {@link Workspace#importXML} for a
698
- * version of this method that does not go through the
699
- * <code>Session</code>.
700
- * <p>
701
- * The flag <code>uuidBehavior</code> governs how the identifiers of
702
- * incoming nodes are handled. There are four options: <ul> <li> {@link
703
- * ImportUUIDBehavior#IMPORT_UUID_CREATE_NEW}: Incoming nodes are added in
704
- * the same way that new node is added with <code>Node.addNode</code>. That
705
- * is, they are either assigned newly created identifiers upon addition or
706
- * upon <code>save</code> (depending on the implementation, see <i>4.9.1.1
707
- * When Identifiers are Assigned</i> in the specification). In either case,
708
- * identifier collisions will not occur. </li> <li> {@link
709
- * ImportUUIDBehavior#IMPORT_UUID_COLLISION_REMOVE_EXISTING}: If an incoming
710
- * node has the same identifier as a node already existing in the workspace
711
- * then the already existing node (and its subgraph) is removed from
712
- * wherever it may be in the workspace before the incoming node is added.
713
- * Note that this can result in nodes "disappearing" from locations in the
714
- * workspace that are remote from the location to which the incoming
715
- * subgraph is being written. Both the removal and the new addition will be
716
- * dispatched on <code>save</code>. </li> <li> {@link
717
- * ImportUUIDBehavior#IMPORT_UUID_COLLISION_REPLACE_EXISTING}: If an
718
- * incoming node has the same identifier as a node already existing in the
719
- * workspace, then the already-existing node is replaced by the incoming
720
- * node in the same position as the existing node. Note that this may result
721
- * in the incoming subgraph being disaggregated and "spread around" to
722
- * different locations in the workspace. In the most extreme case this
723
- * behavior may result in no node at all being added as child of
724
- * <code>parentAbsPath</code>. This will occur if the topmost element of the
725
- * incoming XML has the same identifier as an existing node elsewhere in the
726
- * workspace. The change will be dispatched on <code>save</code>. </li> <li>
727
- * {@link ImportUUIDBehavior#IMPORT_UUID_COLLISION_THROW}: If an incoming
728
- * node has the same identifier as a node already existing in the workspace
729
- * then an <code>ItemExistsException</code> is thrown. </li> </ul> Unlike
730
- * {@link Workspace#importXML}, this method does not necessarily enforce all
731
- * node type constraints during deserialization. Those that would be
732
- * immediately enforced in a normal write method (<code>Node.addNode</code>,
733
- * <code>Node.setProperty</code> etc.) of this implementation cause an
734
- * immediate <code>ConstraintViolationException</code> during
735
- * deserialization. All other constraints are checked on <code>save</code>,
736
- * just as they are in normal write operations. However, which node type
737
- * constraints are enforced depends upon whether node type information in
738
- * the imported data is respected, and this is an implementation-specific
739
- * issue.
740
- * <p>
741
- * A <code>ConstraintViolationException</code> will also be thrown
742
- * immediately if <code>uuidBehavior</code> is set to
743
- * <code>IMPORT_UUID_COLLISION_REMOVE_EXISTING</code> and an incoming node
744
- * has the same identifier as the node at <code>parentAbsPath</code> or one
745
- * of its ancestors.
746
- * <p>
747
- * A <code>PathNotFoundException</code> is thrown either immediately, on
748
- * dispatch or on persist, if no node exists at <code>parentAbsPath</code>.
749
- * Implementations may differ on when this validation is performed
750
- * <p>
751
- * A <code>ConstraintViolationException</code> is thrown either immediately,
752
- * on dispatch or on persist, if the new subgraph cannot be added to the
753
- * node at <code>parentAbsPath</code> due to node-type or other
754
- * implementation-specific constraints. Implementations may differ on when
755
- * this validation is performed.
756
- * <p>
757
- * A <code>VersionException</code> is thrown either immediately, on dispatch
758
- * or on persist, if the node at <code>parentAbsPath</code> is read-only due
759
- * to a check-in. Implementations may differ on when this validation is
760
- * performed.
761
- * <p>
762
- * A <code>LockException</code> is thrown either immediately, on dispatch or
763
- * on persist, if a lock prevents the addition of the subgraph.
764
- * Implementations may differ on when this validation is performed.
765
- *
766
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
767
- * @param parentAbsPath the absolute path of the node below which the deserialized subgraph is added.
768
- * @param in The <code>Inputstream</code> from which the XML to be deserialized is read.
769
- * @param uuidBehavior a four-value flag that governs how incoming identifiers are handled.
770
- * @throws java.io.IOException if an error during an I/O operation occurs.
771
- * @throws PathNotFoundException if no node exists at <code>parentAbsPath</code> and this implementation performs this validation immediately.
772
- * @throws ItemExistsException if deserialization would overwrite an existing item and this implementation performs this validation immediately.
773
- * @throws ConstraintViolationException if a node type or other implementation-specific constraint is violated that would be checked on a session-write method or if <code>uuidBehavior</code> is set to <code>IMPORT_UUID_COLLISION_REMOVE_EXISTING</code> and an incoming node has the same UUID as the node at <code>parentAbsPath</code> or one of its ancestors.
774
- * @throws VersionException if the node at <code>parentAbsPath</code> is read-only due to a checked-in node and this implementation performs this validation immediately.
775
- * @throws InvalidSerializedDataException if incoming stream is not a valid XML document.
776
- * @throws LockException if a lock prevents the addition of the subgraph and this implementation performs this validation immediately.
777
- * @throws RepositoryException if another error occurs.
778
- */
779
- importXML(
780
- parentAbsPath: java.lang.String,
781
- _in: java.io.InputStream,
782
- uuidBehavior: int
783
- ): void;
784
-
785
- /**
786
- * Serializes the node (and if <code>noRecurse</code> is <code>false</code>,
787
- * the whole subgraph) at <code>absPath</code> into a series of SAX events
788
- * by calling the methods of the supplied <code>org.xml.sax.ContentHandler</code>.
789
- * The resulting XML is in the system view form. Note that
790
- * <code>absPath</code> must be the path of a node, not a property.
791
- * <p>
792
- * If <code>skipBinary</code> is true then any properties of
793
- * <code>PropertyType.BINARY</code> will be serialized as if they are empty.
794
- * That is, the existence of the property will be serialized, but its
795
- * content will not appear in the serialized output (the
796
- * <code>&lt;sv:value&gt;</code> element will have no content). Note that in
797
- * the case of multi-value <code>BINARY</code> properties, the number of
798
- * values in the property will be reflected in the serialized output, though
799
- * they will all be empty. If <code>skipBinary</code> is false then the
800
- * actual value(s) of each <code>BINARY</code> property is recorded using
801
- * Base64 encoding.
802
- * <p>
803
- * If <code>noRecurse</code> is true then only the node at
804
- * <code>absPath</code> and its properties, but not its child nodes, are
805
- * serialized. If <code>noRecurse</code> is <code>false</code> then the
806
- * entire subgraph rooted at <code>absPath</code> is serialized.
807
- * <p>
808
- * If the user lacks read access to some subsection of the specified tree,
809
- * that section simply does not get serialized, since, from the user's point
810
- * of view, it is not there.
811
- * <p>
812
- * The serialized output will reflect the state of the current workspace as
813
- * modified by the state of this <code>Session</code>. This means that
814
- * pending changes (regardless of whether they are valid according to node
815
- * type constraints) and all namespace mappings in the namespace registry,
816
- * as modified by the current session-mappings, are reflected in the
817
- * output.
818
- * <p>
819
- * The output XML will be encoded in UTF-8.
820
- *
821
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
822
- * @param absPath The path of the root of the subgraph to be serialized. This must be the path to a node, not a property
823
- * @param contentHandler The <code>org.xml.sax.ContentHandler</code> to which the SAX events representing the XML serialization of the subgraph will be output.
824
- * @param skipBinary A <code>boolean</code> governing whether binary properties are to be serialized.
825
- * @param noRecurse A <code>boolean</code> governing whether the subgraph at absPath is to be recursed.
826
- * @throws PathNotFoundException if no node exists at <code>absPath</code>.
827
- * @throws org.xml.sax.SAXException if an error occurs while feeding events to the <code>org.xml.sax.ContentHandler</code>.
828
- * @throws RepositoryException if another error occurs.
829
- */
830
- exportSystemView(
831
- absPath: java.lang.String,
832
- contentHandler: org.xml.sax.ContentHandler,
833
- skipBinary: boolean,
834
- noRecurse: boolean
835
- ): void;
836
-
837
- /**
838
- * Serializes the node (and if <code>noRecurse</code> is <code>false</code>,
839
- * the whole subgraph) at <code>absPath</code> as an XML stream and outputs
840
- * it to the supplied <code>OutputStream</code>. The resulting XML is in the
841
- * system view form. Note that <code>absPath</code> must be the path of a
842
- * node, not a property.
843
- * <p>
844
- * If <code>skipBinary</code> is true then any properties of
845
- * <code>PropertyType.BINARY</code> will be serialized as if they are empty.
846
- * That is, the existence of the property will be serialized, but its
847
- * content will not appear in the serialized output (the
848
- * <code>&lt;sv:value&gt;</code> element will have no content). Note that in
849
- * the case of multi-value <code>BINARY</code> properties, the number of
850
- * values in the property will be reflected in the serialized output, though
851
- * they will all be empty. If <code>skipBinary</code> is false then the
852
- * actual value(s) of each <code>BINARY</code> property is recorded using
853
- * Base64 encoding.
854
- * <p>
855
- * If <code>noRecurse</code> is true then only the node at
856
- * <code>absPath</code> and its properties, but not its child nodes, are
857
- * serialized. If <code>noRecurse</code> is <code>false</code> then the
858
- * entire subgraph rooted at <code>absPath</code> is serialized.
859
- * <p>
860
- * If the user lacks read access to some subsection of the specified tree,
861
- * that section simply does not get serialized, since, from the user's point
862
- * of view, it is not there.
863
- * <p>
864
- * The serialized output will reflect the state of the current workspace as
865
- * modified by the state of this <code>Session</code>. This means that
866
- * pending changes (regardless of whether they are valid according to node
867
- * type constraints) and all namespace mappings in the namespace registry,
868
- * as modified by the current session-mappings, are reflected in the
869
- * output.
870
- * <p>
871
- * The output XML will be encoded in UTF-8.
872
- * <p>
873
- * It is the responsibility of the caller to close the passed
874
- * <code>OutputStream</code>.
875
- *
876
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
877
- * @param absPath The path of the root of the subgraph to be serialized. This must be the path to a node, not a property
878
- * @param out The <code>OutputStream</code> to which the XML serialization of the subgraph will be output.
879
- * @param skipBinary A <code>boolean</code> governing whether binary properties are to be serialized.
880
- * @param noRecurse A <code>boolean</code> governing whether the subgraph at absPath is to be recursed.
881
- * @throws PathNotFoundException if no node exists at <code>absPath</code>.
882
- * @throws IOException if an error during an I/O operation occurs.
883
- * @throws RepositoryException if another error occurs.
884
- */
885
- exportSystemView(
886
- absPath: java.lang.String,
887
- out: java.io.OutputStream,
888
- skipBinary: boolean,
889
- noRecurse: boolean
890
- ): void;
891
-
892
- /**
893
- * Serializes the node (and if <code>noRecurse</code> is <code>false</code>,
894
- * the whole subgraph) at <code>absPath</code> into a series of SAX events
895
- * by calling the methods of the supplied <code>org.xml.sax.ContentHandler</code>.
896
- * The resulting XML is in the document view form. Note that
897
- * <code>absPath</code> must be the path of a node, not a property.
898
- * <p>
899
- * If <code>skipBinary</code> is true then any properties of
900
- * <code>PropertyType.BINARY</code> will be serialized as if they are empty.
901
- * That is, the existence of the property will be serialized, but its
902
- * content will not appear in the serialized output (the value of the
903
- * attribute will be empty). If <code>skipBinary</code> is false then the
904
- * actual value(s) of each <code>BINARY</code> property is recorded using
905
- * Base64 encoding.
906
- * <p>
907
- * If <code>noRecurse</code> is true then only the node at
908
- * <code>absPath</code> and its properties, but not its child nodes, are
909
- * serialized. If <code>noRecurse</code> is <code>false</code> then the
910
- * entire subgraph rooted at <code>absPath</code> is serialized.
911
- * <p>
912
- * If the user lacks read access to some subsection of the specified tree,
913
- * that section simply does not get serialized, since, from the user's point
914
- * of view, it is not there.
915
- * <p>
916
- * The serialized output will reflect the state of the current workspace as
917
- * modified by the state of this <code>Session</code>. This means that
918
- * pending changes (regardless of whether they are valid according to node
919
- * type constraints) and all namespace mappings in the namespace registry,
920
- * as modified by the current session-mappings, are reflected in the
921
- * output.
922
- * <p>
923
- * The output XML will be encoded in UTF-8.
924
- *
925
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
926
- * @param absPath The path of the root of the subgraph to be serialized. This must be the path to a node, not a property
927
- * @param contentHandler The <code>org.xml.sax.ContentHandler</code> to which the SAX events representing the XML serialization of the subgraph will be output.
928
- * @param skipBinary A <code>boolean</code> governing whether binary properties are to be serialized.
929
- * @param noRecurse A <code>boolean</code> governing whether the subgraph at absPath is to be recursed.
930
- * @throws PathNotFoundException if no node exists at <code>absPath</code>.
931
- * @throws org.xml.sax.SAXException if an error occurs while feeding events to the <code>org.xml.sax.ContentHandler</code>.
932
- * @throws RepositoryException if another error occurs.
933
- */
934
- exportDocumentView(
935
- absPath: java.lang.String,
936
- contentHandler: org.xml.sax.ContentHandler,
937
- skipBinary: boolean,
938
- noRecurse: boolean
939
- ): void;
940
-
941
- /**
942
- * Serializes the node (and if <code>noRecurse</code> is <code>false</code>,
943
- * the whole subgraph) at <code>absPath</code> as an XML stream and outputs
944
- * it to the supplied <code>OutputStream</code>. The resulting XML is in the
945
- * document view form. Note that <code>absPath</code> must be the path of a
946
- * node, not a property.
947
- * <p>
948
- * If <code>skipBinary</code> is true then any properties of
949
- * <code>PropertyType.BINARY</code> will be serialized as if they are empty.
950
- * That is, the existence of the property will be serialized, but its
951
- * content will not appear in the serialized output (the value of the
952
- * attribute will be empty). If <code>skipBinary</code> is false then the
953
- * actual value(s) of each <code>BINARY</code> property is recorded using
954
- * Base64 encoding.
955
- * <p>
956
- * If <code>noRecurse</code> is true then only the node at
957
- * <code>absPath</code> and its properties, but not its child nodes, are
958
- * serialized. If <code>noRecurse</code> is <code>false</code> then the
959
- * entire subgraph rooted at <code>absPath</code> is serialized.
960
- * <p>
961
- * If the user lacks read access to some subsection of the specified tree,
962
- * that section simply does not get serialized, since, from the user's point
963
- * of view, it is not there.
964
- * <p>
965
- * The serialized output will reflect the state of the current workspace as
966
- * modified by the state of this <code>Session</code>. This means that
967
- * pending changes (regardless of whether they are valid according to node
968
- * type constraints) and all namespace mappings in the namespace registry,
969
- * as modified by the current session-mappings, are reflected in the
970
- * output.
971
- * <p>
972
- * The output XML will be encoded in UTF-8.
973
- * <p>
974
- * It is the responsibility of the caller to close the passed
975
- * <code>OutputStream</code>.
976
- *
977
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
978
- * @param absPath The path of the root of the subgraph to be serialized. This must be the path to a node, not a property
979
- * @param out The <code>OutputStream</code> to which the XML serialization of the subgraph will be output.
980
- * @param skipBinary A <code>boolean</code> governing whether binary properties are to be serialized.
981
- * @param noRecurse A <code>boolean</code> governing whether the subgraph at absPath is to be recursed.
982
- * @throws PathNotFoundException if no node exists at <code>absPath</code>.
983
- * @throws IOException if an error during an I/O operation occurs.
984
- * @throws RepositoryException if another error occurs.
985
- */
986
- exportDocumentView(
987
- absPath: java.lang.String,
988
- out: java.io.OutputStream,
989
- skipBinary: boolean,
990
- noRecurse: boolean
991
- ): void;
992
-
993
- /**
994
- * Within the scope of this <code>Session</code>, this method maps
995
- * <code>uri</code> to <code>prefix</code>. The remapping only affects
996
- * operations done through this <code>Session</code>. To clear all
997
- * remappings, the client must acquire a new <code>Session</code>.
998
- * <p>
999
- * All local mappings already present in the <code>Session</code> that
1000
- * include either the specified <code>prefix</code> or the specified
1001
- * <code>uri</code> are removed and the new mapping is added.
1002
- *
1003
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
1004
- * @param prefix a string
1005
- * @param uri a string
1006
- * @throws NamespaceException if an attempt is made to map a namespace URI to a prefix beginning with the characters "<code>xml</code>" (in any combination of case) or if an attempt is made to map either the empty prefix or the empty namespace (i.e., if either <code>prefix</code> or <code>uri</code> are the empty string).
1007
- * @throws RepositoryException if another error occurs.
1008
- */
1009
- setNamespacePrefix(prefix: java.lang.String, uri: java.lang.String): void;
1010
-
1011
- /**
1012
- * Returns all prefixes currently mapped to URIs in this
1013
- * <code>Session</code>.
1014
- * @return a string array
1015
- * @throws RepositoryException if an error occurs
1016
- */
1017
- getNamespacePrefixes(): string;
1018
-
1019
- /**
1020
- * Returns the URI to which the given <code>prefix</code> is mapped as
1021
- * currently set in this <code>Session</code>.
1022
- * @param prefix a string
1023
- * @return a string
1024
- * @throws NamespaceException if the specified <code>prefix</code> is unknown.
1025
- * @throws RepositoryException if another error occurs
1026
- */
1027
- getNamespaceURI(prefix: java.lang.String): string;
1028
-
1029
- /**
1030
- * Returns the prefix to which the given <code>uri</code> is mapped as
1031
- * currently set in this <code>Session</code>.
1032
- * @param uri a string
1033
- * @return a string
1034
- * @throws NamespaceException if the specified <code>uri</code> is unknown.
1035
- * @throws RepositoryException if another error occurs
1036
- */
1037
- getNamespacePrefix(uri: java.lang.String): string;
1038
-
1039
- /**
1040
- * Releases all resources associated with this <code>Session</code>. This
1041
- * method should be called when a <code>Session</code> is no longer needed.
1042
-
1043
- */
1044
- logout(): void;
1045
-
1046
- /**
1047
- * Returns <code>true</code> if this <code>Session</code> object is usable
1048
- * by the client. Otherwise, returns <code>false</code>. A usable
1049
- * <code>Session</code> is one that is neither logged-out, timed-out nor in
1050
- * any other way disconnected from the repository.
1051
- * @return <code>true</code> if this <code>Session</code> is usable, <code>false</code> otherwise.
1052
- */
1053
- isLive(): boolean;
1054
-
1055
- /**
1056
- * Adds the specified lock token to this <code>Session</code>. Holding a
1057
- * lock token makes this <code>Session</code> the owner of the lock
1058
- * specified by that particular lock token.
1059
- *
1060
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
1061
- * @param lt a lock token (a string).
1062
- * @deprecated As of JCR 2.0, {@link LockManager#addLockToken(String)} should be used instead.
1063
- */
1064
- addLockToken(lt: java.lang.String): void;
1065
-
1066
- /**
1067
- * Returns an array containing all lock tokens currently held by this
1068
- * <code>Session</code>. Note that any such tokens will represent
1069
- * open-scoped locks, since session-scoped locks do not have tokens.
1070
- *
1071
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
1072
- * @return an array of lock tokens (strings)
1073
- * @deprecated As of JCR 2.0, {@link LockManager#getLockTokens()} should be used instead.
1074
- */
1075
- getLockTokens(): string;
1076
-
1077
- /**
1078
- * Removes the specified lock token from this <code>Session</code>.
1079
- *
1080
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
1081
- * @param lt a lock token (a string)
1082
- * @deprecated As of JCR 2.0, {@link LockManager#removeLockToken(String)} should be used instead.
1083
- */
1084
- removeLockToken(lt: java.lang.String): void;
1085
-
1086
- /**
1087
- * Returns the access control manager for this <code>Session</code>.
1088
- *
1089
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
1090
- * @return the access control manager for this <code>Session</code>
1091
- * @throws UnsupportedRepositoryOperationException if access control is not supported.
1092
- * @throws RepositoryException if another error occurs.
1093
- * @since JCR 2.0
1094
- */
1095
- getAccessControlManager(): AccessControlManager;
1096
-
1097
- /**
1098
- * Returns the retention and hold manager for this <code>Session</code>.
1099
- *
1100
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
1101
- * @return the retention manager for this <code>Session</code>.
1102
- * @throws UnsupportedRepositoryOperationException if retention and hold are not supported.
1103
- * @throws RepositoryException if another error occurs.
1104
- * @since JCR 2.0
1105
- */
1106
- getRetentionManager(): RetentionManager;
1107
- }