@sitevision/api 1.0.20 → 1.1.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. package/hidden/javax/jcr/Binary/index.d.ts +86 -0
  2. package/hidden/javax/jcr/Credentials/index.d.ts +11 -0
  3. package/hidden/javax/jcr/ImportUUIDBehavior/index.d.ts +11 -0
  4. package/hidden/javax/jcr/Item/index.d.ts +353 -0
  5. package/hidden/javax/jcr/ItemVisitor/index.d.ts +41 -0
  6. package/hidden/javax/jcr/NamespaceRegistry/index.d.ts +100 -0
  7. package/hidden/javax/jcr/Node/index.d.ts +2808 -0
  8. package/hidden/javax/jcr/NodeIterator/index.d.ts +18 -0
  9. package/hidden/javax/jcr/Property/index.d.ts +801 -0
  10. package/hidden/javax/jcr/PropertyIterator/index.d.ts +17 -0
  11. package/hidden/javax/jcr/RangeIterator/index.d.ts +75 -0
  12. package/hidden/javax/jcr/Repository/index.d.ts +318 -0
  13. package/hidden/javax/jcr/RepositoryFactory/index.d.ts +90 -0
  14. package/hidden/javax/jcr/Value/index.d.ts +190 -0
  15. package/hidden/javax/jcr/ValueFactory/index.d.ts +179 -0
  16. package/hidden/javax/jcr/Workspace/index.d.ts +1061 -0
  17. package/hidden/javax/jcr/lock/Lock/index.d.ts +142 -0
  18. package/hidden/javax/jcr/lock/LockManager/index.d.ts +217 -0
  19. package/hidden/javax/jcr/nodetype/ItemDefinition/index.d.ts +219 -0
  20. package/hidden/javax/jcr/nodetype/NodeDefinition/index.d.ts +158 -0
  21. package/hidden/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +74 -0
  22. package/hidden/javax/jcr/nodetype/NodeType/index.d.ts +349 -0
  23. package/hidden/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +248 -0
  24. package/hidden/javax/jcr/nodetype/NodeTypeIterator/index.d.ts +16 -0
  25. package/hidden/javax/jcr/nodetype/NodeTypeManager/index.d.ts +218 -0
  26. package/hidden/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +98 -0
  27. package/hidden/javax/jcr/nodetype/PropertyDefinition/index.d.ts +536 -0
  28. package/hidden/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +97 -0
  29. package/hidden/javax/jcr/observation/Event/index.d.ts +133 -0
  30. package/hidden/javax/jcr/observation/EventIterator/index.d.ts +20 -0
  31. package/hidden/javax/jcr/observation/EventJournal/index.d.ts +22 -0
  32. package/hidden/javax/jcr/observation/EventListener/index.d.ts +23 -0
  33. package/hidden/javax/jcr/observation/EventListenerIterator/index.d.ts +20 -0
  34. package/hidden/javax/jcr/observation/ObservationManager/index.d.ts +227 -0
  35. package/hidden/javax/jcr/query/Query/index.d.ts +201 -0
  36. package/hidden/javax/jcr/query/QueryManager/index.d.ts +73 -0
  37. package/hidden/javax/jcr/query/QueryResult/index.d.ts +51 -0
  38. package/hidden/javax/jcr/query/Row/index.d.ts +159 -0
  39. package/hidden/javax/jcr/query/RowIterator/index.d.ts +20 -0
  40. package/hidden/javax/jcr/query/qom/And/index.d.ts +26 -0
  41. package/hidden/javax/jcr/query/qom/BindVariableValue/index.d.ts +15 -0
  42. package/hidden/javax/jcr/query/qom/ChildNode/index.d.ts +27 -0
  43. package/hidden/javax/jcr/query/qom/ChildNodeJoinCondition/index.d.ts +27 -0
  44. package/hidden/javax/jcr/query/qom/Column/index.d.ts +39 -0
  45. package/hidden/javax/jcr/query/qom/Comparison/index.d.ts +82 -0
  46. package/hidden/javax/jcr/query/qom/Constraint/index.d.ts +13 -0
  47. package/hidden/javax/jcr/query/qom/DescendantNode/index.d.ts +31 -0
  48. package/hidden/javax/jcr/query/qom/DescendantNodeJoinCondition/index.d.ts +29 -0
  49. package/hidden/javax/jcr/query/qom/DynamicOperand/index.d.ts +9 -0
  50. package/hidden/javax/jcr/query/qom/EquiJoinCondition/index.d.ts +41 -0
  51. package/hidden/javax/jcr/query/qom/FullTextSearch/index.d.ts +89 -0
  52. package/hidden/javax/jcr/query/qom/FullTextSearchScore/index.d.ts +24 -0
  53. package/hidden/javax/jcr/query/qom/Join/index.d.ts +36 -0
  54. package/hidden/javax/jcr/query/qom/JoinCondition/index.d.ts +9 -0
  55. package/hidden/javax/jcr/query/qom/Length/index.d.ts +24 -0
  56. package/hidden/javax/jcr/query/qom/Literal/index.d.ts +18 -0
  57. package/hidden/javax/jcr/query/qom/LowerCase/index.d.ts +26 -0
  58. package/hidden/javax/jcr/query/qom/NodeLocalName/index.d.ts +16 -0
  59. package/hidden/javax/jcr/query/qom/NodeName/index.d.ts +16 -0
  60. package/hidden/javax/jcr/query/qom/Not/index.d.ts +20 -0
  61. package/hidden/javax/jcr/query/qom/Operand/index.d.ts +9 -0
  62. package/hidden/javax/jcr/query/qom/Or/index.d.ts +30 -0
  63. package/hidden/javax/jcr/query/qom/Ordering/index.d.ts +53 -0
  64. package/hidden/javax/jcr/query/qom/PropertyExistence/index.d.ts +24 -0
  65. package/hidden/javax/jcr/query/qom/PropertyValue/index.d.ts +25 -0
  66. package/hidden/javax/jcr/query/qom/QueryObjectModel/index.d.ts +64 -0
  67. package/hidden/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +9 -0
  68. package/hidden/javax/jcr/query/qom/QueryObjectModelFactory/index.d.ts +638 -0
  69. package/hidden/javax/jcr/query/qom/SameNode/index.d.ts +27 -0
  70. package/hidden/javax/jcr/query/qom/SameNodeJoinCondition/index.d.ts +36 -0
  71. package/hidden/javax/jcr/query/qom/Selector/index.d.ts +35 -0
  72. package/hidden/javax/jcr/query/qom/Source/index.d.ts +9 -0
  73. package/hidden/javax/jcr/query/qom/StaticOperand/index.d.ts +10 -0
  74. package/hidden/javax/jcr/query/qom/UpperCase/index.d.ts +26 -0
  75. package/hidden/javax/jcr/retention/Hold/index.d.ts +34 -0
  76. package/hidden/javax/jcr/retention/RetentionManager/index.d.ts +189 -0
  77. package/hidden/javax/jcr/retention/RetentionPolicy/index.d.ts +21 -0
  78. package/hidden/javax/jcr/security/AccessControlEntry/index.d.ts +24 -0
  79. package/hidden/javax/jcr/security/AccessControlList/index.d.ts +91 -0
  80. package/hidden/javax/jcr/security/AccessControlManager/index.d.ts +297 -0
  81. package/hidden/javax/jcr/security/AccessControlPolicy/index.d.ts +11 -0
  82. package/hidden/javax/jcr/security/AccessControlPolicyIterator/index.d.ts +20 -0
  83. package/hidden/javax/jcr/security/NamedAccessControlPolicy/index.d.ts +22 -0
  84. package/hidden/javax/jcr/security/Privilege/index.d.ts +117 -0
  85. package/hidden/javax/jcr/version/Version/index.d.ts +121 -0
  86. package/hidden/javax/jcr/version/VersionHistory/index.d.ts +307 -0
  87. package/hidden/javax/jcr/version/VersionIterator/index.d.ts +20 -0
  88. package/hidden/javax/jcr/version/VersionManager/index.d.ts +1082 -0
  89. package/hidden/senselogic/sitevision/api/base/Builder/index.d.ts +102 -0
  90. package/hidden/senselogic/sitevision/api/base/Filter/index.d.ts +25 -0
  91. package/hidden/senselogic/sitevision/api/base/FilterSplit/index.d.ts +50 -0
  92. package/hidden/senselogic/sitevision/api/base/Loadable/index.d.ts +15 -0
  93. package/hidden/senselogic/sitevision/api/base/Resolver/index.d.ts +31 -0
  94. package/hidden/senselogic/sitevision/api/base/Wrapper/index.d.ts +24 -0
  95. package/hidden/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.d.ts +417 -0
  96. package/hidden/senselogic/sitevision/api/format/NumericFormatter/index.d.ts +80 -0
  97. package/hidden/senselogic/sitevision/api/format/NumericFormatterBuilder/index.d.ts +100 -0
  98. package/hidden/senselogic/sitevision/api/i18n/Currency/index.d.ts +120 -0
  99. package/hidden/senselogic/sitevision/api/link/CustomLinkProcessor/index.d.ts +45 -0
  100. package/hidden/senselogic/sitevision/api/link/CustomLinkRenderData/index.d.ts +65 -0
  101. package/hidden/senselogic/sitevision/api/mail/Mail/index.d.ts +32 -0
  102. package/hidden/senselogic/sitevision/api/message/MessageTextLinker/index.d.ts +15 -0
  103. package/hidden/senselogic/sitevision/api/metadata/value/LinkValue/index.d.ts +23 -0
  104. package/hidden/senselogic/sitevision/api/metadata/value/RelatedValue/index.d.ts +23 -0
  105. package/hidden/senselogic/sitevision/api/property/VersionedPropertyUtil/index.d.ts +642 -0
  106. package/hidden/senselogic/sitevision/api/render/BuddyIconRenderer/BuddyIconInfo/index.d.ts +51 -0
  107. package/hidden/senselogic/sitevision/api/render/ImageScaler/index.d.ts +58 -0
  108. package/hidden/senselogic/sitevision/api/render/TextModuleRenderer/index.d.ts +301 -0
  109. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ArticleUtilConstants/index.d.ts +85 -0
  110. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ExceptionSuppressingProxyConstants/index.d.ts +31 -0
  111. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/IndexingUtilConstants/index.d.ts +31 -0
  112. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/LinkPageUtilConstants/index.d.ts +67 -0
  113. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MathInstanceConstants/index.d.ts +25 -0
  114. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MimeTypeUtilConstants/index.d.ts +19 -0
  115. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/NodeTypeUtilConstants/index.d.ts +1243 -0
  116. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/OutputUtilConstants/index.d.ts +31 -0
  117. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PageUtilConstants/index.d.ts +91 -0
  118. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletContextUtilConstants/index.d.ts +27 -0
  119. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletUtilConstants/index.d.ts +19 -0
  120. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/QueryStringUtilConstants/index.d.ts +19 -0
  121. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchHitConstants/index.d.ts +25 -0
  122. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchResultConstants/index.d.ts +37 -0
  123. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/VersionUtilConstants/index.d.ts +25 -0
  124. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/index.d.ts +8 -0
  125. package/hidden/senselogic/sitevision/api/render/velocity/VelocityContext/index.d.ts +50 -0
  126. package/hidden/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.d.ts +89 -0
  127. package/hidden/senselogic/sitevision/api/script/RequesterChainable/index.d.ts +119 -0
  128. package/hidden/senselogic/sitevision/api/script/app/RestAppInvoker/index.d.ts +272 -0
  129. package/hidden/senselogic/sitevision/api/script/factory/TypedArgument/index.d.ts +43 -0
  130. package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts +94 -0
  131. package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts +117 -0
  132. package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.d.ts +90 -0
  133. package/hidden/senselogic/sitevision/api/search/SearchFieldUtil/index.d.ts +89 -0
  134. package/hidden/senselogic/sitevision/api/search/SearchHighlighter/index.d.ts +45 -0
  135. package/hidden/senselogic/sitevision/api/search/SearchHit/index.d.ts +1176 -0
  136. package/hidden/senselogic/sitevision/api/search/SearchResult/index.d.ts +414 -0
  137. package/hidden/senselogic/sitevision/api/search/facet/SearchFacetField/index.d.ts +27 -0
  138. package/hidden/senselogic/sitevision/api/search/facet/SearchFacetValue/index.d.ts +61 -0
  139. package/hidden/senselogic/sitevision/api/search/searcher/Searcher/index.d.ts +277 -0
  140. package/hidden/senselogic/sitevision/api/search/searcher/component/Filter/index.d.ts +25 -0
  141. package/hidden/senselogic/sitevision/api/search/searcher/component/Highlight/index.d.ts +29 -0
  142. package/hidden/senselogic/sitevision/api/search/searcher/component/Monitor/index.d.ts +25 -0
  143. package/hidden/senselogic/sitevision/api/search/searcher/component/Parser/index.d.ts +35 -0
  144. package/hidden/senselogic/sitevision/api/search/searcher/component/Sort/index.d.ts +25 -0
  145. package/hidden/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.d.ts +29 -0
  146. package/hidden/senselogic/sitevision/api/search/sort/CustomSort/index.d.ts +82 -0
  147. package/hidden/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.d.ts +21 -0
  148. package/hidden/senselogic/sitevision/api/security/DirectoryAttributes/index.d.ts +70 -0
  149. package/hidden/senselogic/sitevision/api/security/MessageDigester/index.d.ts +50 -0
  150. package/hidden/senselogic/sitevision/api/security/RoleAssignment/index.d.ts +72 -0
  151. package/hidden/senselogic/sitevision/api/security/RoleMatcher/index.d.ts +29 -0
  152. package/hidden/senselogic/sitevision/api/security/SecretStore/index.d.ts +55 -0
  153. package/hidden/senselogic/sitevision/api/security/UserUtil/index.d.ts +80 -0
  154. package/hidden/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.d.ts +36 -0
  155. package/hidden/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.d.ts +32 -0
  156. package/hidden/senselogic/sitevision/api/user/UserIdentityWrapper/index.d.ts +599 -0
  157. package/hidden/senselogic/sitevision/api/webresource/LinkTarget/index.d.ts +20 -0
  158. package/hidden/senselogic/sitevision/api/xml/XmlElement/index.d.ts +55 -0
  159. package/hidden/senselogic/sitevision/api/xml/XmlElementHandler/index.d.ts +17 -0
  160. package/package.json +2 -4
  161. package/server/AliasUtil/index.d.ts +25 -0
  162. package/server/AliasUtil/index.js +10 -0
  163. package/server/ArchiveUtil/index.d.ts +65 -11
  164. package/server/ArraysInstance/index.d.ts +1846 -0
  165. package/server/ArticleUtil/index.d.ts +381 -69
  166. package/server/AuthenticationUtil/index.d.ts +106 -0
  167. package/server/BookmarkUtil/index.d.ts +36 -28
  168. package/server/BuddyIconRenderer/index.d.ts +240 -0
  169. package/server/ClientUtil/index.d.ts +18 -4
  170. package/server/CollaborationFactory/index.d.ts +42 -25
  171. package/server/CollaborationGroupFolderUtil/index.d.ts +40 -29
  172. package/server/CollaborationGroupTemplateUtil/index.d.ts +71 -39
  173. package/server/CollaborationGroupUtil/index.d.ts +128 -55
  174. package/server/CollectionsInstance/index.d.ts +738 -0
  175. package/server/ColorUtil/index.d.ts +22 -17
  176. package/server/CompoundAndFilterBuilder/index.d.ts +60 -0
  177. package/server/CompoundComparatorBuilder/index.d.ts +63 -0
  178. package/server/CompoundOrFilterBuilder/index.d.ts +59 -0
  179. package/server/ContentNodeUtil/index.d.ts +76 -0
  180. package/server/CurrencyFactory/index.d.ts +135 -0
  181. package/server/DateUtil/index.d.ts +154 -77
  182. package/server/DecorationUtil/index.d.ts +23 -0
  183. package/server/DeviceUtil/index.d.ts +36 -0
  184. package/server/DirectoryUtil/index.d.ts +107 -47
  185. package/server/DocTypeUtil/index.d.ts +149 -0
  186. package/server/EndecUtil/index.d.ts +537 -91
  187. package/server/ExtendedDismaxParserBuilder/index.d.ts +311 -0
  188. package/server/FileIconRenderer/index.d.ts +346 -0
  189. package/server/FileUtil/index.d.ts +462 -0
  190. package/server/FilterBuilder/index.d.ts +120 -0
  191. package/server/FolderUtil/index.d.ts +161 -0
  192. package/server/FontUtil/index.d.ts +49 -0
  193. package/server/FormatterBuilderFactory/index.d.ts +129 -0
  194. package/server/HighlightBuilder/index.d.ts +194 -0
  195. package/server/IconUtil/index.d.ts +37 -0
  196. package/server/ImageLinkRenderer/index.d.ts +134 -0
  197. package/server/ImageRenderer/index.d.ts +613 -231
  198. package/server/ImageUtil/index.d.ts +430 -0
  199. package/server/IndexUtil/index.d.ts +71 -0
  200. package/server/IndexingUtil/index.d.ts +92 -0
  201. package/server/InstanceCreatorUtil/index.d.ts +661 -0
  202. package/server/InstanceTypeUtil/index.d.ts +202 -0
  203. package/server/JwtUtil/index.d.ts +217 -0
  204. package/server/LandingPageUtil/index.d.ts +67 -50
  205. package/server/LinkPageUtil/index.d.ts +468 -0
  206. package/server/LinkRenderer/index.d.ts +1157 -0
  207. package/server/LinkTargetBuilder/index.d.ts +146 -0
  208. package/server/LinkValueBuilder/index.d.ts +129 -52
  209. package/server/ListWrapper/index.d.ts +172 -0
  210. package/server/LocaleUtil/index.d.ts +695 -61
  211. package/server/LogUtil/index.d.ts +118 -77
  212. package/server/MailBuilder/index.d.ts +238 -0
  213. package/server/MailUtil/index.d.ts +98 -0
  214. package/server/MathInstance/index.d.ts +681 -0
  215. package/server/MessageDigesterFactory/index.d.ts +49 -0
  216. package/server/MetadataDefinitionUtil/index.d.ts +118 -0
  217. package/server/MetadataUtil/index.d.ts +524 -79
  218. package/server/MimeTypeUtil/index.d.ts +316 -0
  219. package/server/MonitorBuilder/index.d.ts +51 -0
  220. package/server/NodeComparatorUtil/index.d.ts +397 -0
  221. package/server/NodeFactoryUtil/index.d.ts +32 -0
  222. package/server/NodeFilterUtil/index.d.ts +924 -0
  223. package/server/NodeIteratorUtil/index.d.ts +322 -72
  224. package/server/NodeResolverUtil/index.d.ts +767 -0
  225. package/server/NodeTreeUtil/index.d.ts +339 -63
  226. package/server/NodeTypeUtil/index.d.ts +391 -197
  227. package/server/OfflineVersionPropertyUtil/index.d.ts +30 -0
  228. package/server/OnlineVersionPropertyUtil/index.d.ts +30 -0
  229. package/server/OutputUtil/index.d.ts +641 -0
  230. package/server/PageUtil/index.d.ts +330 -0
  231. package/server/PermissionUtil/index.d.ts +650 -0
  232. package/server/PortletContextUtil/index.d.ts +118 -37
  233. package/server/PortletContextUtil/index.js +1 -0
  234. package/server/PortletUtil/index.d.ts +40 -0
  235. package/server/PrincipalUtil/index.d.ts +51 -0
  236. package/server/Properties/index.d.ts +185 -38
  237. package/server/PropertyUtil/index.d.ts +2330 -406
  238. package/server/PublishingUtil/index.d.ts +385 -49
  239. package/server/QueryStringUtil/index.d.ts +737 -0
  240. package/server/RedirectUtil/index.d.ts +98 -0
  241. package/server/RelatedValueBuilder/index.d.ts +81 -39
  242. package/server/Requester/index.d.ts +441 -65
  243. package/server/ResourceLocatorUtil/index.d.ts +483 -227
  244. package/server/RestApi/index.d.ts +208 -23
  245. package/server/RestAppInvokerFactory/index.d.ts +73 -0
  246. package/server/RoleAssignmentBuilder/index.d.ts +60 -0
  247. package/server/RoleMatcherBuilder/index.d.ts +59 -0
  248. package/server/RoleUtil/index.d.ts +57 -0
  249. package/server/ScriptUtil/index.d.ts +625 -143
  250. package/server/SearchFactory/index.d.ts +133 -0
  251. package/server/SearchUtil/index.d.ts +164 -0
  252. package/server/SearcherBuilder/index.d.ts +260 -0
  253. package/server/Session/index.d.ts +1758 -0
  254. package/server/SimpleUserUtil/index.d.ts +39 -30
  255. package/server/SiteCookieUtil/index.d.ts +78 -53
  256. package/server/SortBuilder/index.d.ts +111 -0
  257. package/server/SpellCheckBuilder/index.d.ts +68 -0
  258. package/server/StandardParserBuilder/index.d.ts +112 -0
  259. package/server/StructureUtil/index.d.ts +167 -0
  260. package/server/SubscriberUtil/index.d.ts +122 -0
  261. package/server/SubscriptionUtil/index.d.ts +197 -0
  262. package/server/SystemUserUtil/index.d.ts +201 -98
  263. package/server/TagUtil/index.d.ts +193 -0
  264. package/server/TemplateUtil/index.d.ts +217 -0
  265. package/server/TemporaryFileNodeBuilder/index.d.ts +63 -0
  266. package/server/TemporaryNodeBuilder/index.d.ts +241 -0
  267. package/server/TextModuleRendererBuilder/index.d.ts +68 -0
  268. package/server/TimestampUtil/index.d.ts +98 -82
  269. package/server/TranslationUtil/index.d.ts +175 -0
  270. package/server/TrashcanUtil/index.d.ts +193 -24
  271. package/server/UserDataUtil/index.d.ts +167 -85
  272. package/server/UserFactory/index.d.ts +45 -30
  273. package/server/UserFieldRenderer/index.d.ts +258 -0
  274. package/server/UserIdentityUtil/index.d.ts +61 -29
  275. package/server/UserUtil/index.d.ts +69 -28
  276. package/server/Utils/index.d.ts +870 -12
  277. package/server/VelocityRenderer/index.d.ts +248 -0
  278. package/server/VersionUtil/index.d.ts +15 -12
  279. package/server/WebContentUtil/index.d.ts +644 -0
  280. package/server/WebResourceFactory/index.d.ts +66 -0
  281. package/server/XSLTUtil/index.d.ts +49 -10
  282. package/server/XmlParserUtil/index.d.ts +82 -81
  283. package/builtins/Binary/index.d.ts +0 -3
  284. package/builtins/Calendar/index.d.ts +0 -3
  285. package/builtins/Collection/index.d.ts +0 -3
  286. package/builtins/Date/index.d.ts +0 -3
  287. package/builtins/InputStream/index.d.ts +0 -3
  288. package/builtins/Instant/index.d.ts +0 -3
  289. package/builtins/List/index.d.ts +0 -3
  290. package/builtins/LocalDateTime/index.d.ts +0 -3
  291. package/builtins/Locale/index.d.ts +0 -3
  292. package/builtins/Node/index.d.ts +0 -3
  293. package/builtins/NodeIterator/index.d.ts +0 -27
  294. package/builtins/Property/index.d.ts +0 -3
  295. package/builtins/Serializable/index.d.ts +0 -3
  296. package/builtins/Set/index.d.ts +0 -3
  297. package/builtins/Throwable/index.d.ts +0 -3
  298. package/builtins/byte/index.d.ts +0 -3
@@ -0,0 +1,297 @@
1
+ import Privilege from "../Privilege";
2
+ import AccessControlPolicy from "../AccessControlPolicy";
3
+ import AccessControlPolicyIterator from "../AccessControlPolicyIterator";
4
+
5
+ /**
6
+ * The <code>AccessControlManager</code> object is accessed via {@link
7
+ * javax.jcr.Session#getAccessControlManager()}. It provides methods for: <ul>
8
+ * <li>Access control discovery</li> <li>Assigning access control policies</li>
9
+ * </ul>
10
+ *
11
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the privileges supported for absolute path <code>absPath</code>,
12
+ * which must be an existing node.
13
+ * <p>
14
+ * This method does not return the privileges held by the session. Instead,
15
+ * it returns the privileges that the repository supports.Returns the privilege with the specified <code>privilegeName</code>.
16
+ * Since the privilege name is a JCR name, it may be passed in either
17
+ * qualified or expanded form (see specification for details on JCR names).Returns whether the session has the specified privileges for absolute
18
+ * path <code>absPath</code>, which must be an existing node.
19
+ * <p>
20
+ * Testing an aggregate privilege is equivalent to testing each non
21
+ * aggregate privilege among the set returned by calling
22
+ * <code>Privilege.getAggregatePrivileges()</code> for that privilege.
23
+ * <p>
24
+ * The results reported by the this method reflect the net <i>effect</i> of
25
+ * the currently applied control mechanisms. It does not reflect unsaved
26
+ * access control policies or unsaved access control entries. Changes to
27
+ * access control status caused by these mechanisms only take effect on
28
+ * <code>Session.save()</code> and are only then reflected in the results of
29
+ * the privilege test methods.Returns the privileges the session has for absolute path absPath, which
30
+ * must be an existing node.
31
+ * <p>
32
+ * The returned privileges are those for which {@link #hasPrivileges} would
33
+ * return <code>true</code>.
34
+ * <p>
35
+ * The results reported by the this method reflect the net <i>effect</i> of
36
+ * the currently applied control mechanisms. It does not reflect unsaved
37
+ * access control policies or unsaved access control entries. Changes to
38
+ * access control status caused by these mechanisms only take effect on
39
+ * <code>Session.save()</code> and are only then reflected in the results of
40
+ * the privilege test methods.Returns the <code>AccessControlPolicy</code> objects that have been set
41
+ * to the node at <code>absPath</code> or an empty array if no policy has
42
+ * been set. This method reflects the binding state, including transient
43
+ * policy modifications.
44
+ * <p>
45
+ * Use {@link #getEffectivePolicies(String)} in order to determine the
46
+ * policy that effectively applies at <code>absPath</code>.Returns the <code>AccessControlPolicy</code> objects that currently are
47
+ * in effect at the node at <code>absPath</code>. This may be policies set
48
+ * through this API or some implementation specific (default) policies.Returns the access control policies that are capable of being applied to
49
+ * the node at <code>absPath</code>.Binds the <code>policy</code> to the node at <code>absPath</code>.
50
+ * <p>
51
+ * The behavior of the call <code>acm.setPolicy(absPath, policy)</code>
52
+ * differs depending on how the <code>policy</code> object was originally
53
+ * acquired.
54
+ * <p>
55
+ * If <code>policy</code> was acquired through {@link #getApplicablePolicies
56
+ * acm.getApplicablePolicies(absPath)} then that <code>policy</code> object
57
+ * is <i>added</i> to the node at <code>absPath</code>.
58
+ * <p>
59
+ * On the other hand, if <code>policy</code> was acquired through {@link
60
+ * #getPolicies acm.getPolicies(absPath)} then that <code>policy</code>
61
+ * object (usually after being altered) replaces its former version on the
62
+ * node at <code>absPath</code>.
63
+ * <p>
64
+ * This is session-write method and therefore the access control policy is
65
+ * only dispatched on <code>save</code> and will only take effect upon
66
+ * persist.
67
+ * <p>
68
+ * A <code>VersionException</code> will be thrown either immediately, on
69
+ * dispatch or on persists, if the node at <code>absPath</code> is read-only
70
+ * due to a checked-in node. Implementations may differ on when this
71
+ * validation is performed.
72
+ * <p>
73
+ * A <code>LockException</code> will be thrown either immediately, on
74
+ * dispatch or on persists, if a lock prevents the operation.
75
+ * Implementations may differ on when this validation is performed.Removes the specified <code>AccessControlPolicy</code> from the node at
76
+ * <code>absPath</code>.
77
+ * <p>
78
+ * An <code>AccessControlPolicy</code> can only be removed if it was bound
79
+ * to the specified node through this API before. The effect of the removal
80
+ * only takes place upon <code>Session.save()</code>. Note, that an
81
+ * implementation default or any other effective <code>AccessControlPolicy</code>
82
+ * that has not been applied to the node before may never be removed using
83
+ * this method.
84
+ * <p>
85
+ * A <code>PathNotFoundException</code> is thrown if no node at
86
+ * <code>absPath</code> exists or the session does not have privilege to
87
+ * retrieve the node.
88
+ * <p>
89
+ * An <code>AccessControlException</code> is thrown if the policy to remove
90
+ * does not exist at the node at <code>absPath</code>.
91
+ * <p>
92
+ * An <code>AccessDeniedException</code> is thrown if the session lacks
93
+ * <code>MODIFY_ACCESS_CONTROL</code> privilege for the <code>absPath</code>
94
+ * node.
95
+ * <p>
96
+ * An <code>LockException</code> is thrown either immediately, on dispatch
97
+ * or on persists, if the node at <code>absPath</code> is locked.
98
+ * Implementations may differ on when this validation is performed.
99
+ * <p>
100
+ * An <code>VersionException</code> is thrown either immediately, on
101
+ * dispatch or on persists, if the node at <code>absPath</code> is read-only
102
+ * due to a checked-in node.Implementations may differ on when this
103
+ * validation is performed.
104
+ * <p>
105
+ * A <code>RepositoryException</code> is thrown if another error occurs.
106
+ * @since JCR 2.0
107
+ */
108
+ interface AccessControlManager {
109
+ /**
110
+ * Returns the privileges supported for absolute path <code>absPath</code>,
111
+ * which must be an existing node.
112
+ * <p>
113
+ * This method does not return the privileges held by the session. Instead,
114
+ * it returns the privileges that the repository supports.
115
+ * @param absPath an absolute path.
116
+ * @return an array of <code>Privilege</code>s.
117
+ * @throws PathNotFoundException if no node at <code>absPath</code> exists or the session does not have sufficient access to retrieve a node at that location.
118
+ * @throws RepositoryException if another error occurs.
119
+ */
120
+ getSupportedPrivileges(absPath: string): Privilege;
121
+
122
+ /**
123
+ * Returns the privilege with the specified <code>privilegeName</code>.
124
+ * Since the privilege name is a JCR name, it may be passed in either
125
+ * qualified or expanded form (see specification for details on JCR names).
126
+ * @param privilegeName the name of an existing privilege.
127
+ * @return the <code>Privilege</code> with the specified <code>privilegeName</code>.
128
+ * @throws AccessControlException if no privilege with the specified name exists.
129
+ * @throws RepositoryException if another error occurs.
130
+ */
131
+ privilegeFromName(privilegeName: string): Privilege;
132
+
133
+ /**
134
+ * Returns whether the session has the specified privileges for absolute
135
+ * path <code>absPath</code>, which must be an existing node.
136
+ * <p>
137
+ * Testing an aggregate privilege is equivalent to testing each non
138
+ * aggregate privilege among the set returned by calling
139
+ * <code>Privilege.getAggregatePrivileges()</code> for that privilege.
140
+ * <p>
141
+ * The results reported by the this method reflect the net <i>effect</i> of
142
+ * the currently applied control mechanisms. It does not reflect unsaved
143
+ * access control policies or unsaved access control entries. Changes to
144
+ * access control status caused by these mechanisms only take effect on
145
+ * <code>Session.save()</code> and are only then reflected in the results of
146
+ * the privilege test methods.
147
+ * @param absPath an absolute path.
148
+ * @param privileges an array of <code>Privilege</code>s.
149
+ * @return <code>true</code> if the session has the specified privileges; <code>false</code> otherwise.
150
+ * @throws PathNotFoundException if no node at <code>absPath</code> exists or the session does not have sufficent access to retrieve a node at that location.
151
+ * @throws RepositoryException if another error occurs.
152
+ */
153
+ hasPrivileges(absPath: string, privileges: Privilege): boolean;
154
+
155
+ /**
156
+ * Returns the privileges the session has for absolute path absPath, which
157
+ * must be an existing node.
158
+ * <p>
159
+ * The returned privileges are those for which {@link #hasPrivileges} would
160
+ * return <code>true</code>.
161
+ * <p>
162
+ * The results reported by the this method reflect the net <i>effect</i> of
163
+ * the currently applied control mechanisms. It does not reflect unsaved
164
+ * access control policies or unsaved access control entries. Changes to
165
+ * access control status caused by these mechanisms only take effect on
166
+ * <code>Session.save()</code> and are only then reflected in the results of
167
+ * the privilege test methods.
168
+ * @param absPath an absolute path.
169
+ * @return an array of <code>Privilege</code>s.
170
+ * @throws PathNotFoundException if no node at <code>absPath</code> exists or the session does not have sufficient access to retrieve a node at that location.
171
+ * @throws RepositoryException if another error occurs.
172
+ */
173
+ getPrivileges(absPath: string): Privilege;
174
+
175
+ /**
176
+ * Returns the <code>AccessControlPolicy</code> objects that have been set
177
+ * to the node at <code>absPath</code> or an empty array if no policy has
178
+ * been set. This method reflects the binding state, including transient
179
+ * policy modifications.
180
+ * <p>
181
+ * Use {@link #getEffectivePolicies(String)} in order to determine the
182
+ * policy that effectively applies at <code>absPath</code>.
183
+ * @param absPath an absolute path.
184
+ * @return an array of <code>AccessControlPolicy</code> objects or an empty array if no policy has been set.
185
+ * @throws PathNotFoundException if no node at <code>absPath</code> exists or the session does not have sufficient access to retrieve a node at that location.
186
+ * @throws AccessDeniedException if the session lacks <code>READ_ACCESS_CONTROL</code> privilege for the <code>absPath</code> node.
187
+ * @throws RepositoryException if another error occurs.
188
+ */
189
+ getPolicies(absPath: string): AccessControlPolicy;
190
+
191
+ /**
192
+ * Returns the <code>AccessControlPolicy</code> objects that currently are
193
+ * in effect at the node at <code>absPath</code>. This may be policies set
194
+ * through this API or some implementation specific (default) policies.
195
+ * @param absPath an absolute path.
196
+ * @return an array of <code>AccessControlPolicy</code> objects.
197
+ * @throws PathNotFoundException if no node at <code>absPath</code> exists or the session does not have sufficient access to retrieve a node at that location.
198
+ * @throws AccessDeniedException if the session lacks <code>READ_ACCESS_CONTROL</code> privilege for the <code>absPath</code> node.
199
+ * @throws RepositoryException if another error occurs.
200
+ */
201
+ getEffectivePolicies(absPath: string): AccessControlPolicy;
202
+
203
+ /**
204
+ * Returns the access control policies that are capable of being applied to
205
+ * the node at <code>absPath</code>.
206
+ * @param absPath an absolute path.
207
+ * @return an <code>AccessControlPolicyIterator</code> over the applicable access control policies or an empty iterator if no policies are applicable.
208
+ * @throws PathNotFoundException if no node at <code>absPath</code> exists or the session does not have sufficient access to retrieve a node at that location.
209
+ * @throws AccessDeniedException if the session lacks <code>READ_ACCESS_CONTROL</code> privilege for the <code>absPath</code> node.
210
+ * @throws RepositoryException if another error occurs.
211
+ */
212
+ getApplicablePolicies(absPath: string): AccessControlPolicyIterator;
213
+
214
+ /**
215
+ * Binds the <code>policy</code> to the node at <code>absPath</code>.
216
+ * <p>
217
+ * The behavior of the call <code>acm.setPolicy(absPath, policy)</code>
218
+ * differs depending on how the <code>policy</code> object was originally
219
+ * acquired.
220
+ * <p>
221
+ * If <code>policy</code> was acquired through {@link #getApplicablePolicies
222
+ * acm.getApplicablePolicies(absPath)} then that <code>policy</code> object
223
+ * is <i>added</i> to the node at <code>absPath</code>.
224
+ * <p>
225
+ * On the other hand, if <code>policy</code> was acquired through {@link
226
+ * #getPolicies acm.getPolicies(absPath)} then that <code>policy</code>
227
+ * object (usually after being altered) replaces its former version on the
228
+ * node at <code>absPath</code>.
229
+ * <p>
230
+ * This is session-write method and therefore the access control policy is
231
+ * only dispatched on <code>save</code> and will only take effect upon
232
+ * persist.
233
+ * <p>
234
+ * A <code>VersionException</code> will be thrown either immediately, on
235
+ * dispatch or on persists, if the node at <code>absPath</code> is read-only
236
+ * due to a checked-in node. Implementations may differ on when this
237
+ * validation is performed.
238
+ * <p>
239
+ * A <code>LockException</code> will be thrown either immediately, on
240
+ * dispatch or on persists, if a lock prevents the operation.
241
+ * Implementations may differ on when this validation is performed.
242
+ * @param absPath an absolute path.
243
+ * @param policy the <code>AccessControlPolicy</code> to be applied.
244
+ * @throws PathNotFoundException if no node at <code>absPath</code> exists or the session does not have sufficient access to retrieve a node at that location.
245
+ * @throws AccessControlException if the policy is not applicable.
246
+ * @throws AccessDeniedException if the session lacks <code>MODIFY_ACCESS_CONTROL</code> privilege for the <code>absPath</code> node.
247
+ * @throws LockException if a lock applies at the node at <code>absPath</code> and this implementation performs this validation immediately.
248
+ * @throws VersionException if the node at <code>absPath</code> is read-only due to a checked-in node and this implementation performs this validation immediately.
249
+ * @throws RepositoryException if another error occurs.
250
+ */
251
+ setPolicy(absPath: string, policy: AccessControlPolicy): void;
252
+
253
+ /**
254
+ * Removes the specified <code>AccessControlPolicy</code> from the node at
255
+ * <code>absPath</code>.
256
+ * <p>
257
+ * An <code>AccessControlPolicy</code> can only be removed if it was bound
258
+ * to the specified node through this API before. The effect of the removal
259
+ * only takes place upon <code>Session.save()</code>. Note, that an
260
+ * implementation default or any other effective <code>AccessControlPolicy</code>
261
+ * that has not been applied to the node before may never be removed using
262
+ * this method.
263
+ * <p>
264
+ * A <code>PathNotFoundException</code> is thrown if no node at
265
+ * <code>absPath</code> exists or the session does not have privilege to
266
+ * retrieve the node.
267
+ * <p>
268
+ * An <code>AccessControlException</code> is thrown if the policy to remove
269
+ * does not exist at the node at <code>absPath</code>.
270
+ * <p>
271
+ * An <code>AccessDeniedException</code> is thrown if the session lacks
272
+ * <code>MODIFY_ACCESS_CONTROL</code> privilege for the <code>absPath</code>
273
+ * node.
274
+ * <p>
275
+ * An <code>LockException</code> is thrown either immediately, on dispatch
276
+ * or on persists, if the node at <code>absPath</code> is locked.
277
+ * Implementations may differ on when this validation is performed.
278
+ * <p>
279
+ * An <code>VersionException</code> is thrown either immediately, on
280
+ * dispatch or on persists, if the node at <code>absPath</code> is read-only
281
+ * due to a checked-in node.Implementations may differ on when this
282
+ * validation is performed.
283
+ * <p>
284
+ * A <code>RepositoryException</code> is thrown if another error occurs.
285
+ * @param absPath an absolute path.
286
+ * @param policy the policy to be removed.
287
+ * @throws PathNotFoundException if no node at <code>absPath</code> exists or the session does not have sufficient access to retrieve a node at that location.
288
+ * @throws AccessControlException if no policy exists.
289
+ * @throws AccessDeniedException if the session lacks <code>MODIFY_ACCESS_CONTROL</code> privilege for the <code>absPath</code> node.
290
+ * @throws LockException if a lock applies at the node at <code>absPath</code> and this implementation performs this validation immediately instead of waiting until <code>save</code>.
291
+ * @throws VersionException if the node at <code>absPath</code> is versionable and checked-in or is non-versionable but its nearest versionable ancestor is checked-in and this implementation performs this validation immediately instead of waiting until <code>save</code>.
292
+ * @throws RepositoryException if another error occurs.
293
+ */
294
+ removePolicy(absPath: string, policy: AccessControlPolicy): void;
295
+ }
296
+
297
+ export default AccessControlManager;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * The <code>AccessControlPolicy</code> is a marker interface for all kind of
3
+ * access control policies. This API defines two subinterfaces: <ul> <li>{@link
4
+ * NamedAccessControlPolicy},</li> <li>{@link AccessControlList}.</li> </ul>
5
+ *
6
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>
7
+ * @since JCR 2.0
8
+ */
9
+ interface AccessControlPolicy {}
10
+
11
+ export default AccessControlPolicy;
@@ -0,0 +1,20 @@
1
+ import AccessControlPolicy from "../AccessControlPolicy";
2
+
3
+ /**
4
+ * Allows easy iteration through a list of <code>AccessControlPolicy</code>s
5
+ * with <code>nextAccessControlPolicy</code> as well as a <code>skip</code>
6
+ * method inherited from <code>RangeIterator</code>.
7
+ *
8
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the next <code>AccessControlPolicy</code> in the iteration.
9
+ * @since JCR 2.0
10
+ */
11
+ interface AccessControlPolicyIterator {
12
+ /**
13
+ * Returns the next <code>AccessControlPolicy</code> in the iteration.
14
+ * @return the next <code>AccessControlPolicy</code> in the iteration.
15
+ * @throws java.util.NoSuchElementException if iteration has no more <code>AccessControlPolicy</code>s.
16
+ */
17
+ nextAccessControlPolicy(): AccessControlPolicy;
18
+ }
19
+
20
+ export default AccessControlPolicyIterator;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * An <code>NamedAccessControlPolicy</code> is an opaque access control policy
3
+ * that is described by a JCR name and optionally a description.
4
+ * <code>NamedAccessControlPolicy</code> are immutable and can therefore be
5
+ * directly applied to a node without additional configuration step.
6
+ *
7
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the name of the access control policy, which is JCR name and
8
+ * should be unique among the choices applicable to any particular node.
9
+ * @since Sitevision 3.5
10
+ * @since JCR 2.0
11
+ */
12
+ interface NamedAccessControlPolicy {
13
+ /**
14
+ * Returns the name of the access control policy, which is JCR name and
15
+ * should be unique among the choices applicable to any particular node.
16
+ * @return the name of the access control policy. A JCR name.
17
+ * @throws RepositoryException if an error occurs.
18
+ */
19
+ getName(): string;
20
+ }
21
+
22
+ export default NamedAccessControlPolicy;
@@ -0,0 +1,117 @@
1
+ /**
2
+ * A privilege represents the capability of performing a particular set of
3
+ * operations on items in the JCR repository. Each privilege is identified by a
4
+ * JCR name. JCR defines a set of standard privileges in the <code>jcr</code>
5
+ * namespace. Implementations may add additional privileges in namespaces other
6
+ * than <code>jcr</code>.
7
+ * <p>
8
+ * A privilege may be an aggregate privilege. Aggregate privileges are sets of
9
+ * other privileges. Granting, denying, or testing an aggregate privilege is
10
+ * equivalent to individually granting, denying, or testing each privilege it
11
+ * contains. The privileges contained by an aggregate privilege may themselves
12
+ * be aggregate privileges if the resulting privilege graph is acyclic.
13
+ * <p>
14
+ * A privilege may be an abstract privilege. Abstract privileges cannot
15
+ * themselves be granted or denied, but can be composed into aggregate
16
+ * privileges which are granted or denied.
17
+ * <p>
18
+ * A privilege can be both aggregate and abstract.
19
+ *
20
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the name of this privilege.
21
+ * <p>
22
+ * Since the privilege name is a JCR name, it must be returned
23
+ * in qualified form, according to the prevailing namespace-to-prefix
24
+ * mapping in the current <code>Session</code> (see the specification
25
+ * for details on JCR names).Returns whether this privilege is an abstract privilege.Returns whether this privilege is an aggregate privilege.If this privilege is an aggregate privilege, returns the privileges
26
+ * directly contained by the aggregate privilege. Otherwise returns an empty
27
+ * array.If this privilege is an aggregate privilege, returns the privileges it
28
+ * contains, the privileges contained by any aggregate privileges among
29
+ * those, and so on (the transitive closure of privileges contained by this
30
+ * privilege). Otherwise returns an empty array.A constant representing <code>jcr:read</code> (in expanded form), the
31
+ * privilege to retrieve a node and get its properties and their values.A constant representing <code>jcr:modifyProperties</code> (in expanded
32
+ * form), the privilege to create, modify and remove the properties of a
33
+ * node.A constant representing <code>jcr:addChildNodes</code> (in expanded
34
+ * form), the privilege to create child nodes of a node.A constant representing <code>jcr:removeNode</code> (in expanded form),
35
+ * the privilege to remove a node.
36
+ * <p>
37
+ * In order to actually remove a node requires <code>jcr:removeNode</code>
38
+ * on that node and <code>jcr:removeChildNodes</code> on the parent node.
39
+ * <p>
40
+ * The distinction is provided in order to reflect implementations that
41
+ * internally model "remove" as a "delete" instead of a "unlink". A
42
+ * repository that uses the "delete" model can have <code>jcr:removeChildNodes</code>
43
+ * in every access control policy, so that removal is effectively controlled
44
+ * by <code>jcr:removeNode</code>.A constant representing <code>jcr:removeChildNodes</code> (in expanded
45
+ * form), the privilege to remove child nodes of a node. In order to
46
+ * actually remove a node requires <code>jcr:removeNode</code> on that node
47
+ * and <code>jcr:removeChildNodes</code> on the parent node.
48
+ * <p>
49
+ * The distinction is provided in order to reflect implementations that
50
+ * internally model "remove" as a "unlink" instead of a "delete". A
51
+ * repository that uses the "unlink" model can have <code>jcr:removeNode</code>
52
+ * in every access control policy, so that removal is effectively controlled
53
+ * by <code>jcr:removeChildNodes</code>.A constant representing <code>jcr:write</code> (in expanded form), an
54
+ * aggregate privilege that contains: <ul> <li><code>jcr:modifyProperties</code></li>
55
+ * <li><code>jcr:addChildNodes</code></li> <li><code>jcr:removeNode</code></li>
56
+ * <li><code>jcr:removeChildNodes</code></li> </ul>A constant representing <code>jcr:readAccessControl</code> (in expanded
57
+ * form), the privilege to get the access control policy of a node.A constant representing <code>jcr:modifyAccessControl</code> (in expanded
58
+ * form), the privilege to modify the access control policies of a node.A constant representing <code>jcr:lockManagement</code> (in expanded
59
+ * form), the privilege to lock and unlock a node.A constant representing <code>jcr:versionManagement</code> (in expanded
60
+ * form), the privilege to perform versioning operations on a node.A constant representing <code>jcr:nodeTypeManagement</code> (in expanded
61
+ * form), the privilege to add and remove mixin node types and change the
62
+ * primary node type of a node.A constant representing <code>jcr:retentionManagement</code> (in expanded
63
+ * form), the privilege to perform retention management operations on a
64
+ * node.A constant representing <code>jcr:lifecycleManagement</code> (in expanded
65
+ * form), the privilege to perform lifecycle operations on a node.A constant representing <code>jcr:all</code> (in expanded form), an
66
+ * aggregate privilege that contains all predefined privileges. <ul>
67
+ * <li><code>jcr:read</code></li> <li><code>jcr:write</code></li>
68
+ * <li><code>jcr:readAccessControl</code></li> <li><code>jcr:modifyAccessControl</code></li>
69
+ * <li><code>jcr:lockManagement</code></li> <li><code>jcr:versionManagement</code></li>
70
+ * <li><code>jcr:nodeTypeManagement</code></li> <li><code>jcr:retentionManagement</code></li>
71
+ * <li><code>jcr:lifecycleManagement</code></li> </ul> It should, in
72
+ * addition, include all implementation-defined privileges.
73
+ * @since JCR 2.0
74
+ */
75
+ interface Privilege {
76
+ /**
77
+ * Returns the name of this privilege.
78
+ * <p>
79
+ * Since the privilege name is a JCR name, it must be returned
80
+ * in qualified form, according to the prevailing namespace-to-prefix
81
+ * mapping in the current <code>Session</code> (see the specification
82
+ * for details on JCR names).
83
+ * @return the name of this privilege.
84
+ */
85
+ getName(): string;
86
+
87
+ /**
88
+ * Returns whether this privilege is an abstract privilege.
89
+ * @return <code>true</code> if this privilege is an abstract privilege; <code>false</code> otherwise.
90
+ */
91
+ isAbstract(): boolean;
92
+
93
+ /**
94
+ * Returns whether this privilege is an aggregate privilege.
95
+ * @return <code>true</code> if this privilege is an aggregate privilege; <code>false</code> otherwise.
96
+ */
97
+ isAggregate(): boolean;
98
+
99
+ /**
100
+ * If this privilege is an aggregate privilege, returns the privileges
101
+ * directly contained by the aggregate privilege. Otherwise returns an empty
102
+ * array.
103
+ * @return an array of <code>Privilege</code>s
104
+ */
105
+ getDeclaredAggregatePrivileges(): Privilege;
106
+
107
+ /**
108
+ * If this privilege is an aggregate privilege, returns the privileges it
109
+ * contains, the privileges contained by any aggregate privileges among
110
+ * those, and so on (the transitive closure of privileges contained by this
111
+ * privilege). Otherwise returns an empty array.
112
+ * @return an array of <code>Privilege</code>s
113
+ */
114
+ getAggregatePrivileges(): Privilege;
115
+ }
116
+
117
+ export default Privilege;
@@ -0,0 +1,121 @@
1
+ import VersionHistory from "../VersionHistory";
2
+ import Node from "../../Node";
3
+
4
+ /**
5
+ * A <code>Version</code> object wraps an <code>nt:version</code> node. It
6
+ * provides convenient access to version information.
7
+ *
8
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the <code>VersionHistory</code> that contains this
9
+ * <code>Version</code>.Returns the date this version was created. This corresponds to the value
10
+ * of the <code>jcr:created</code> property in the <code>nt:version</code>
11
+ * node that represents this version.Assuming that this <code>Version</code> object was acquired through a
12
+ * <code>Workspace</code> <code>W</code> and is within the
13
+ * <code>VersionHistory</code> <code>H</code>, this method returns the
14
+ * successor of this version along the same line of descent as is returned
15
+ * by <code>H.getAllLinearVersions()</code> where <code>H</code> was also
16
+ * acquired through <code>W</code>.
17
+ * <p>
18
+ * Note that under simple versioning the behavior of this method is
19
+ * equivalent to getting the unique successor (if any) of this version.Returns the successor versions of this version. This corresponds to
20
+ * returning all the <code>nt:version</code> nodes referenced by the
21
+ * <code>jcr:successors</code> multi-value property in the
22
+ * <code>nt:version</code> node that represents this version.
23
+ * <p>
24
+ * In a simple versioning repository this methodAssuming that this <code>Version</code> object was acquired through a
25
+ * <code>Workspace</code> <code>W</code> and is within the
26
+ * <code>VersionHistory</code> <code>H</code>, this method returns the
27
+ * predecessor of this version along the same line of descent as is returned
28
+ * by <code>H.getAllLinearVersions()</code> where <code>H</code> was also
29
+ * acquired through <code>W</code>.
30
+ * <p>
31
+ * Note that under simple versioning the behavior of this method is
32
+ * equivalent to getting the unique predecessor (if any) of this version.In both simple and full versioning repositories, this method returns the
33
+ * predecessor versions of this version. This corresponds to returning all
34
+ * the <code>nt:version</code> nodes whose <code>jcr:successors</code>
35
+ * property includes a reference to the <code>nt:version</code> node that
36
+ * represents this version.Returns the frozen node of this version.
37
+
38
+ */
39
+ interface Version {
40
+ /**
41
+ * Returns the <code>VersionHistory</code> that contains this
42
+ * <code>Version</code>.
43
+ * @return the <code>VersionHistory</code> that contains this <code>Version</code>.
44
+ * @throws RepositoryException if an error occurs.
45
+ */
46
+ getContainingHistory(): VersionHistory;
47
+
48
+ /**
49
+ * Returns the date this version was created. This corresponds to the value
50
+ * of the <code>jcr:created</code> property in the <code>nt:version</code>
51
+ * node that represents this version.
52
+ * @return a <code>Calendar</code> object
53
+ * @throws RepositoryException if an error occurs.
54
+ */
55
+ getCreated(): unknown;
56
+
57
+ /**
58
+ * Assuming that this <code>Version</code> object was acquired through a
59
+ * <code>Workspace</code> <code>W</code> and is within the
60
+ * <code>VersionHistory</code> <code>H</code>, this method returns the
61
+ * successor of this version along the same line of descent as is returned
62
+ * by <code>H.getAllLinearVersions()</code> where <code>H</code> was also
63
+ * acquired through <code>W</code>.
64
+ * <p>
65
+ * Note that under simple versioning the behavior of this method is
66
+ * equivalent to getting the unique successor (if any) of this version.
67
+ * @return a <code>Version</code> or <code>null</code> if no linear successor exists.
68
+ * @throws RepositoryException if an error occurs.
69
+ * @see VersionHistory#getAllLinearVersions
70
+ */
71
+ getLinearSuccessor(): Version;
72
+
73
+ /**
74
+ * Returns the successor versions of this version. This corresponds to
75
+ * returning all the <code>nt:version</code> nodes referenced by the
76
+ * <code>jcr:successors</code> multi-value property in the
77
+ * <code>nt:version</code> node that represents this version.
78
+ * <p>
79
+ * In a simple versioning repository this method
80
+ * @return a <code>Version</code> array.
81
+ * @throws RepositoryException if an error occurs.
82
+ */
83
+ getSuccessors(): Version;
84
+
85
+ /**
86
+ * Assuming that this <code>Version</code> object was acquired through a
87
+ * <code>Workspace</code> <code>W</code> and is within the
88
+ * <code>VersionHistory</code> <code>H</code>, this method returns the
89
+ * predecessor of this version along the same line of descent as is returned
90
+ * by <code>H.getAllLinearVersions()</code> where <code>H</code> was also
91
+ * acquired through <code>W</code>.
92
+ * <p>
93
+ * Note that under simple versioning the behavior of this method is
94
+ * equivalent to getting the unique predecessor (if any) of this version.
95
+ * @return a <code>Version</code> or <code>null</code> if no linear predecessor exists.
96
+ * @throws RepositoryException if an error occurs.
97
+ * @see VersionHistory#getAllLinearVersions
98
+ */
99
+ getLinearPredecessor(): Version;
100
+
101
+ /**
102
+ * In both simple and full versioning repositories, this method returns the
103
+ * predecessor versions of this version. This corresponds to returning all
104
+ * the <code>nt:version</code> nodes whose <code>jcr:successors</code>
105
+ * property includes a reference to the <code>nt:version</code> node that
106
+ * represents this version.
107
+ * @return a <code>Version</code> array.
108
+ * @throws RepositoryException if an error occurs.
109
+ */
110
+ getPredecessors(): Version;
111
+
112
+ /**
113
+ * Returns the frozen node of this version.
114
+ * @return a <code>Node</code> object
115
+ * @throws RepositoryException if an error occurs.
116
+ * @since JCR 2.0
117
+ */
118
+ getFrozenNode(): Node;
119
+ }
120
+
121
+ export default Version;