@sitevision/api 2.0.0-alpha.1 → 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 (332) hide show
  1. package/index.d.ts +8 -0
  2. package/package.json +1 -1
  3. package/server/AliasUtil/index.d.ts +13 -11
  4. package/server/ArchiveUtil/index.d.ts +45 -43
  5. package/server/ArraysInstance/index.d.ts +1667 -1808
  6. package/server/ArticleUtil/index.d.ts +294 -226
  7. package/server/AuthenticationUtil/index.d.ts +73 -85
  8. package/server/BookmarkUtil/index.d.ts +76 -81
  9. package/server/BuddyIconRenderer/index.d.ts +124 -132
  10. package/server/BuddyIconRenderer.BuddyIconSize/index.d.ts +41 -0
  11. package/server/BuddyIconRenderer.BuddyIconSize/index.js +25 -0
  12. package/server/ClientUtil/index.d.ts +11 -9
  13. package/server/CollaborationFactory/index.d.ts +37 -40
  14. package/server/CollaborationGroupFolderUtil/index.d.ts +30 -28
  15. package/server/CollaborationGroupState/index.d.ts +27 -0
  16. package/server/CollaborationGroupState/index.js +11 -0
  17. package/server/CollaborationGroupTemplateUtil/index.d.ts +48 -50
  18. package/server/CollaborationGroupType/index.d.ts +28 -0
  19. package/server/CollaborationGroupType/index.js +12 -0
  20. package/server/CollaborationGroupUtil/index.d.ts +86 -82
  21. package/server/CollectionsInstance/index.d.ts +642 -705
  22. package/server/ColorUtil/index.d.ts +36 -37
  23. package/server/CompoundAndFilterBuilder/index.d.ts +31 -29
  24. package/server/CompoundComparatorBuilder/index.d.ts +35 -33
  25. package/server/CompoundOrFilterBuilder/index.d.ts +31 -29
  26. package/server/ContentNodeUtil/index.d.ts +36 -34
  27. package/server/CurrencyFactory/index.d.ts +72 -70
  28. package/server/DateUtil/index.d.ts +132 -142
  29. package/server/DecorationUtil/index.d.ts +13 -11
  30. package/server/DeviceUtil/index.d.ts +21 -19
  31. package/server/DimensionMode/index.d.ts +17 -0
  32. package/server/DimensionMode/index.js +12 -0
  33. package/server/DirectoryUtil/index.d.ts +90 -88
  34. package/server/DocType/index.d.ts +30 -0
  35. package/server/DocType/index.js +14 -0
  36. package/server/DocTypeUtil/index.d.ts +129 -135
  37. package/server/EndecUtil/index.d.ts +330 -347
  38. package/server/ExtendedDismaxParserBuilder/index.d.ts +156 -170
  39. package/server/FileIconRenderer/index.d.ts +153 -172
  40. package/server/FileUtil/index.d.ts +274 -300
  41. package/server/FilterBuilder/index.d.ts +42 -40
  42. package/server/FolderUtil/index.d.ts +93 -94
  43. package/server/FontUtil/index.d.ts +36 -37
  44. package/server/FormatterBuilderFactory/index.d.ts +76 -84
  45. package/server/HighlightBuilder/index.d.ts +79 -86
  46. package/server/IconUtil/index.d.ts +27 -25
  47. package/server/ImageLinkRenderer/index.d.ts +34 -32
  48. package/server/ImageRenderer/index.d.ts +343 -379
  49. package/server/ImageUtil/index.d.ts +247 -265
  50. package/server/IndexUtil/index.d.ts +40 -37
  51. package/server/IndexUtil.IndexType/index.d.ts +29 -0
  52. package/server/IndexUtil.IndexType/index.js +13 -0
  53. package/server/IndexingUtil/index.d.ts +69 -47
  54. package/server/InstanceCreatorUtil/index.d.ts +421 -457
  55. package/server/InstanceTypeUtil/index.d.ts +168 -189
  56. package/server/JwtUtil/index.d.ts +131 -129
  57. package/server/LandingPageUtil/index.d.ts +84 -87
  58. package/server/LandingPageUtil/index.js +1 -0
  59. package/server/LinkPageUtil/index.d.ts +297 -251
  60. package/server/LinkRenderer/index.d.ts +651 -715
  61. package/server/LinkTargetBuilder/index.d.ts +69 -77
  62. package/server/LinkValueBuilder/index.d.ts +70 -77
  63. package/server/ListWrapper/index.d.ts +82 -91
  64. package/server/LocaleUtil/index.d.ts +382 -394
  65. package/server/LogUtil/index.d.ts +119 -128
  66. package/server/MailBuilder/index.d.ts +109 -124
  67. package/server/MailUtil/index.d.ts +58 -63
  68. package/server/MathInstance/index.d.ts +625 -657
  69. package/server/MessageDigesterFactory/index.d.ts +30 -28
  70. package/server/MetadataDefinitionUtil/index.d.ts +79 -83
  71. package/server/MetadataUtil/index.d.ts +322 -346
  72. package/server/MimeTypeUtil/index.d.ts +209 -215
  73. package/server/MonitorBuilder/index.d.ts +20 -20
  74. package/server/NodeComparatorUtil/index.d.ts +215 -225
  75. package/server/NodeFactoryUtil/index.d.ts +18 -16
  76. package/server/NodeFilterUtil/index.d.ts +652 -739
  77. package/server/NodeIteratorUtil/index.d.ts +214 -229
  78. package/server/NodeResolverUtil/index.d.ts +400 -406
  79. package/server/NodeTreeUtil/index.d.ts +214 -229
  80. package/server/NodeTypeUtil/index.d.ts +1432 -548
  81. package/server/OfflineVersionPropertyUtil/index.d.ts +8 -6
  82. package/server/OnlineVersionPropertyUtil/index.d.ts +8 -6
  83. package/server/OutputUtil/index.d.ts +385 -380
  84. package/server/PageUtil/index.d.ts +266 -188
  85. package/server/PermissionUtil/index.d.ts +393 -430
  86. package/server/PermissionUtil.Permission/index.d.ts +54 -0
  87. package/server/PermissionUtil.Permission/index.js +38 -0
  88. package/server/PortletContextUtil/index.d.ts +112 -107
  89. package/server/PortletUtil/index.d.ts +32 -22
  90. package/server/PrincipalUtil/index.d.ts +35 -33
  91. package/server/Properties/index.d.ts +69 -76
  92. package/server/PropertyUtil/index.d.ts +1422 -1464
  93. package/server/PublishingUtil/index.d.ts +248 -249
  94. package/server/QueryStringUtil/index.d.ts +404 -415
  95. package/server/RedirectUtil/index.d.ts +64 -68
  96. package/server/RelatedValueBuilder/index.d.ts +45 -43
  97. package/server/Requester/index.d.ts +125 -125
  98. package/server/ResourceLocatorUtil/index.d.ts +436 -476
  99. package/server/RestApi/index.d.ts +158 -138
  100. package/server/RestAppInvokerFactory/index.d.ts +28 -26
  101. package/server/RoleAssignmentBuilder/index.d.ts +39 -37
  102. package/server/RoleMatcherBuilder/index.d.ts +39 -37
  103. package/server/RoleUtil/index.d.ts +35 -37
  104. package/server/ScriptUtil/index.d.ts +458 -495
  105. package/server/SearchFactory/index.d.ts +90 -105
  106. package/server/SearchUtil/index.d.ts +75 -73
  107. package/server/SearcherBuilder/index.d.ts +117 -124
  108. package/server/Session/index.d.ts +261 -1103
  109. package/server/Session/index.js +1 -20
  110. package/server/SimpleUserUtil/index.d.ts +28 -29
  111. package/server/SiteCookieUtil/index.d.ts +152 -175
  112. package/server/SortBuilder/index.d.ts +27 -25
  113. package/server/SourceSetMode/index.d.ts +12 -0
  114. package/server/SourceSetMode/index.js +12 -0
  115. package/server/SpellCheckBuilder/index.d.ts +30 -30
  116. package/server/StandardParserBuilder/index.d.ts +36 -34
  117. package/server/StructureUtil/index.d.ts +85 -83
  118. package/server/SubscriberUtil/index.d.ts +60 -67
  119. package/server/SubscriptionUtil/index.d.ts +123 -130
  120. package/server/SystemUserUtil/index.d.ts +148 -146
  121. package/server/TagUtil/index.d.ts +115 -120
  122. package/server/TemplateUtil/index.d.ts +115 -120
  123. package/server/TemporaryFileNodeBuilder/index.d.ts +32 -30
  124. package/server/TemporaryNodeBuilder/index.d.ts +139 -177
  125. package/server/TextModuleRendererBuilder/index.d.ts +22 -20
  126. package/server/TimestampUtil/index.d.ts +103 -117
  127. package/server/TranslationUtil/index.d.ts +98 -104
  128. package/server/TrashcanUtil/index.d.ts +114 -117
  129. package/server/UserDataUtil/index.d.ts +110 -111
  130. package/server/UserFactory/index.d.ts +47 -54
  131. package/server/UserFieldRenderer/index.d.ts +120 -128
  132. package/server/UserIdentityUtil/index.d.ts +38 -36
  133. package/server/UserUtil/index.d.ts +32 -30
  134. package/server/Utils/index.d.ts +634 -723
  135. package/server/VelocityRenderer/index.d.ts +96 -94
  136. package/server/VersionUtil/index.d.ts +25 -9
  137. package/server/WebContentUtil/index.d.ts +277 -284
  138. package/server/WebResourceFactory/index.d.ts +41 -46
  139. package/server/XSLTUtil/index.d.ts +34 -32
  140. package/server/XmlParserUtil/index.d.ts +50 -48
  141. package/types/javax/jcr/Binary/index.d.ts +3 -21
  142. package/types/javax/jcr/Binary/index.js +0 -1
  143. package/types/javax/jcr/Credentials/index.d.ts +3 -1
  144. package/types/javax/jcr/ImportUUIDBehavior/index.d.ts +27 -1
  145. package/types/javax/jcr/Item/index.d.ts +6 -119
  146. package/types/javax/jcr/Item/index.js +0 -6
  147. package/types/javax/jcr/ItemVisitor/index.d.ts +5 -3
  148. package/types/javax/jcr/NamespaceRegistry/index.d.ts +69 -43
  149. package/types/javax/jcr/NamespaceRegistry/index.js +0 -2
  150. package/types/javax/jcr/Node/index.d.ts +37 -1506
  151. package/types/javax/jcr/Node/index.js +1 -34
  152. package/types/javax/jcr/NodeIterator/index.d.ts +5 -3
  153. package/types/javax/jcr/Property/index.d.ts +494 -494
  154. package/types/javax/jcr/Property/index.js +0 -5
  155. package/types/javax/jcr/PropertyIterator/index.d.ts +5 -3
  156. package/types/javax/jcr/RangeIterator/index.d.ts +2 -42
  157. package/types/javax/jcr/RangeIterator/index.js +1 -5
  158. package/types/javax/jcr/Repository/index.d.ts +465 -263
  159. package/types/javax/jcr/Repository/index.js +0 -4
  160. package/types/javax/jcr/RepositoryFactory/index.d.ts +4 -2
  161. package/types/javax/jcr/Value/index.d.ts +4 -31
  162. package/types/javax/jcr/Value/index.js +0 -2
  163. package/types/javax/jcr/ValueFactory/index.d.ts +6 -74
  164. package/types/javax/jcr/ValueFactory/index.js +1 -2
  165. package/types/javax/jcr/Workspace/index.d.ts +103 -577
  166. package/types/javax/jcr/Workspace/index.js +1 -12
  167. package/types/javax/jcr/lock/Lock/index.d.ts +4 -2
  168. package/types/javax/jcr/lock/LockManager/index.d.ts +4 -2
  169. package/types/javax/jcr/nodetype/ItemDefinition/index.d.ts +4 -105
  170. package/types/javax/jcr/nodetype/ItemDefinition/index.js +0 -5
  171. package/types/javax/jcr/nodetype/NodeDefinition/index.d.ts +5 -3
  172. package/types/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +4 -2
  173. package/types/javax/jcr/nodetype/NodeType/index.d.ts +262 -269
  174. package/types/javax/jcr/nodetype/NodeType/index.js +1 -12
  175. package/types/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +5 -107
  176. package/types/javax/jcr/nodetype/NodeTypeDefinition/index.js +1 -7
  177. package/types/javax/jcr/nodetype/NodeTypeIterator/index.d.ts +5 -3
  178. package/types/javax/jcr/nodetype/NodeTypeManager/index.d.ts +9 -130
  179. package/types/javax/jcr/nodetype/NodeTypeManager/index.js +1 -8
  180. package/types/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +4 -2
  181. package/types/javax/jcr/nodetype/PropertyDefinition/index.d.ts +5 -272
  182. package/types/javax/jcr/nodetype/PropertyDefinition/index.js +1 -7
  183. package/types/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +5 -3
  184. package/types/javax/jcr/observation/Event/index.d.ts +85 -42
  185. package/types/javax/jcr/observation/EventIterator/index.d.ts +5 -3
  186. package/types/javax/jcr/observation/EventJournal/index.d.ts +4 -2
  187. package/types/javax/jcr/observation/EventListener/index.d.ts +4 -2
  188. package/types/javax/jcr/observation/EventListenerIterator/index.d.ts +5 -3
  189. package/types/javax/jcr/observation/ObservationManager/index.d.ts +6 -4
  190. package/types/javax/jcr/query/Query/index.d.ts +35 -12
  191. package/types/javax/jcr/query/QueryManager/index.d.ts +6 -4
  192. package/types/javax/jcr/query/QueryResult/index.d.ts +5 -3
  193. package/types/javax/jcr/query/Row/index.d.ts +5 -3
  194. package/types/javax/jcr/query/RowIterator/index.d.ts +5 -3
  195. package/types/javax/jcr/query/qom/And/index.d.ts +4 -2
  196. package/types/javax/jcr/query/qom/BindVariableValue/index.d.ts +4 -2
  197. package/types/javax/jcr/query/qom/ChildNode/index.d.ts +4 -2
  198. package/types/javax/jcr/query/qom/ChildNodeJoinCondition/index.d.ts +4 -2
  199. package/types/javax/jcr/query/qom/Column/index.d.ts +3 -1
  200. package/types/javax/jcr/query/qom/Comparison/index.d.ts +6 -4
  201. package/types/javax/jcr/query/qom/Constraint/index.d.ts +3 -1
  202. package/types/javax/jcr/query/qom/DescendantNode/index.d.ts +4 -2
  203. package/types/javax/jcr/query/qom/DescendantNodeJoinCondition/index.d.ts +4 -2
  204. package/types/javax/jcr/query/qom/DynamicOperand/index.d.ts +4 -2
  205. package/types/javax/jcr/query/qom/EquiJoinCondition/index.d.ts +4 -2
  206. package/types/javax/jcr/query/qom/FullTextSearch/index.d.ts +5 -3
  207. package/types/javax/jcr/query/qom/FullTextSearchScore/index.d.ts +4 -2
  208. package/types/javax/jcr/query/qom/Join/index.d.ts +5 -3
  209. package/types/javax/jcr/query/qom/JoinCondition/index.d.ts +3 -1
  210. package/types/javax/jcr/query/qom/Length/index.d.ts +5 -3
  211. package/types/javax/jcr/query/qom/Literal/index.d.ts +5 -3
  212. package/types/javax/jcr/query/qom/LowerCase/index.d.ts +4 -2
  213. package/types/javax/jcr/query/qom/NodeLocalName/index.d.ts +4 -2
  214. package/types/javax/jcr/query/qom/NodeName/index.d.ts +4 -2
  215. package/types/javax/jcr/query/qom/Not/index.d.ts +4 -2
  216. package/types/javax/jcr/query/qom/Operand/index.d.ts +3 -1
  217. package/types/javax/jcr/query/qom/Or/index.d.ts +4 -2
  218. package/types/javax/jcr/query/qom/Ordering/index.d.ts +4 -2
  219. package/types/javax/jcr/query/qom/PropertyExistence/index.d.ts +4 -2
  220. package/types/javax/jcr/query/qom/PropertyValue/index.d.ts +4 -2
  221. package/types/javax/jcr/query/qom/QueryObjectModel/index.d.ts +8 -6
  222. package/types/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +76 -2
  223. package/types/javax/jcr/query/qom/QueryObjectModelFactory/index.d.ts +37 -35
  224. package/types/javax/jcr/query/qom/SameNode/index.d.ts +4 -2
  225. package/types/javax/jcr/query/qom/SameNodeJoinCondition/index.d.ts +4 -2
  226. package/types/javax/jcr/query/qom/Selector/index.d.ts +4 -2
  227. package/types/javax/jcr/query/qom/Source/index.d.ts +3 -1
  228. package/types/javax/jcr/query/qom/StaticOperand/index.d.ts +4 -2
  229. package/types/javax/jcr/query/qom/UpperCase/index.d.ts +4 -2
  230. package/types/javax/jcr/retention/Hold/index.d.ts +3 -1
  231. package/types/javax/jcr/retention/RetentionManager/index.d.ts +5 -3
  232. package/types/javax/jcr/retention/RetentionPolicy/index.d.ts +3 -1
  233. package/types/javax/jcr/security/AccessControlEntry/index.d.ts +4 -2
  234. package/types/javax/jcr/security/AccessControlList/index.d.ts +6 -4
  235. package/types/javax/jcr/security/AccessControlManager/index.d.ts +6 -4
  236. package/types/javax/jcr/security/AccessControlPolicy/index.d.ts +3 -1
  237. package/types/javax/jcr/security/AccessControlPolicyIterator/index.d.ts +5 -3
  238. package/types/javax/jcr/security/NamedAccessControlPolicy/index.d.ts +4 -2
  239. package/types/javax/jcr/security/Privilege/index.d.ts +130 -44
  240. package/types/javax/jcr/version/Version/index.d.ts +5 -3
  241. package/types/javax/jcr/version/VersionHistory/index.d.ts +7 -5
  242. package/types/javax/jcr/version/VersionIterator/index.d.ts +5 -3
  243. package/types/javax/jcr/version/VersionManager/index.d.ts +7 -5
  244. package/types/senselogic/sitevision/api/base/Builder/index.d.ts +3 -1
  245. package/types/senselogic/sitevision/api/base/Filter/index.d.ts +3 -1
  246. package/types/senselogic/sitevision/api/base/FilterSplit/index.d.ts +4 -2
  247. package/types/senselogic/sitevision/api/base/Loadable/index.d.ts +3 -1
  248. package/types/senselogic/sitevision/api/base/Requireable/ScriptEngine/index.d.ts +9 -0
  249. package/types/senselogic/sitevision/api/base/Requireable/ScriptEngine/index.js +11 -0
  250. package/types/senselogic/sitevision/api/base/Resolver/index.d.ts +3 -1
  251. package/types/senselogic/sitevision/api/base/Wrapper/index.d.ts +3 -1
  252. package/types/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.d.ts +13 -7
  253. package/types/senselogic/sitevision/api/format/NumericFormatter/index.d.ts +3 -1
  254. package/types/senselogic/sitevision/api/format/NumericFormatterBuilder/index.d.ts +5 -3
  255. package/types/senselogic/sitevision/api/i18n/Currency/index.d.ts +3 -1
  256. package/types/senselogic/sitevision/api/link/CustomLinkProcessor/index.d.ts +5 -3
  257. package/types/senselogic/sitevision/api/link/CustomLinkRenderData/index.d.ts +3 -1
  258. package/types/senselogic/sitevision/api/mail/Mail/index.d.ts +3 -1
  259. package/types/senselogic/sitevision/api/message/MessageTextLinker/index.d.ts +3 -1
  260. package/types/senselogic/sitevision/api/metadata/value/LinkValue/index.d.ts +3 -1
  261. package/types/senselogic/sitevision/api/metadata/value/RelatedValue/index.d.ts +3 -1
  262. package/types/senselogic/sitevision/api/property/VersionedPropertyUtil/index.d.ts +4 -2
  263. package/types/senselogic/sitevision/api/render/BuddyIconRenderer.BuddyIconInfo/index.d.ts +51 -0
  264. package/types/senselogic/sitevision/api/render/BuddyIconRenderer.BuddyIconInfo/index.js +12 -0
  265. package/types/senselogic/sitevision/api/render/ImageScaler/index.d.ts +4 -2
  266. package/types/senselogic/sitevision/api/render/TextModuleRenderer/index.d.ts +4 -2
  267. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess/index.d.ts +3 -1
  268. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ArticleUtilConstants/index.d.ts +85 -0
  269. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ArticleUtilConstants/index.js +21 -0
  270. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ExceptionSuppressingProxyConstants/index.d.ts +31 -0
  271. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ExceptionSuppressingProxyConstants/index.js +12 -0
  272. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.IndexingUtilConstants/index.d.ts +31 -0
  273. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.IndexingUtilConstants/index.js +12 -0
  274. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.LinkPageUtilConstants/index.d.ts +67 -0
  275. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.LinkPageUtilConstants/index.js +18 -0
  276. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MathInstanceConstants/index.d.ts +25 -0
  277. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MathInstanceConstants/index.js +11 -0
  278. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MimeTypeUtilConstants/index.d.ts +19 -0
  279. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MimeTypeUtilConstants/index.js +10 -0
  280. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.NodeTypeUtilConstants/index.d.ts +1243 -0
  281. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.NodeTypeUtilConstants/index.js +189 -0
  282. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.OutputUtilConstants/index.d.ts +31 -0
  283. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.OutputUtilConstants/index.js +12 -0
  284. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PageUtilConstants/index.d.ts +91 -0
  285. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PageUtilConstants/index.js +22 -0
  286. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletContextUtilConstants/index.d.ts +27 -0
  287. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletContextUtilConstants/index.js +11 -0
  288. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletUtilConstants/index.d.ts +19 -0
  289. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletUtilConstants/index.js +10 -0
  290. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.QueryStringUtilConstants/index.d.ts +19 -0
  291. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.QueryStringUtilConstants/index.js +10 -0
  292. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchHitConstants/index.d.ts +25 -0
  293. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchHitConstants/index.js +11 -0
  294. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchResultConstants/index.d.ts +37 -0
  295. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchResultConstants/index.js +13 -0
  296. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.VersionUtilConstants/index.d.ts +25 -0
  297. package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.VersionUtilConstants/index.js +11 -0
  298. package/types/senselogic/sitevision/api/render/velocity/VelocityContext/index.d.ts +3 -1
  299. package/types/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.d.ts +3 -1
  300. package/types/senselogic/sitevision/api/script/RequesterChainable/index.d.ts +4 -2
  301. package/types/senselogic/sitevision/api/script/app/RestAppInvoker/index.d.ts +3 -1
  302. package/types/senselogic/sitevision/api/script/factory/TypedArgument/index.d.ts +3 -1
  303. package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts +3 -1
  304. package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts +4 -2
  305. package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.d.ts +24 -2
  306. package/types/senselogic/sitevision/api/search/SearchFieldUtil/index.d.ts +3 -1
  307. package/types/senselogic/sitevision/api/search/SearchHighlighter/index.d.ts +4 -2
  308. package/types/senselogic/sitevision/api/search/SearchHit/index.d.ts +19 -3
  309. package/types/senselogic/sitevision/api/search/SearchResult/index.d.ts +31 -7
  310. package/types/senselogic/sitevision/api/search/facet/SearchFacetField/index.d.ts +3 -1
  311. package/types/senselogic/sitevision/api/search/facet/SearchFacetValue/index.d.ts +3 -1
  312. package/types/senselogic/sitevision/api/search/searcher/Searcher/index.d.ts +4 -2
  313. package/types/senselogic/sitevision/api/search/searcher/component/Filter/index.d.ts +3 -1
  314. package/types/senselogic/sitevision/api/search/searcher/component/Highlight/index.d.ts +3 -1
  315. package/types/senselogic/sitevision/api/search/searcher/component/Monitor/index.d.ts +3 -1
  316. package/types/senselogic/sitevision/api/search/searcher/component/Parser/index.d.ts +3 -1
  317. package/types/senselogic/sitevision/api/search/searcher/component/Sort/index.d.ts +3 -1
  318. package/types/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.d.ts +3 -1
  319. package/types/senselogic/sitevision/api/search/sort/CustomSort/index.d.ts +3 -1
  320. package/types/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.d.ts +3 -1
  321. package/types/senselogic/sitevision/api/security/DirectoryAttributes/index.d.ts +3 -1
  322. package/types/senselogic/sitevision/api/security/MessageDigester/index.d.ts +3 -1
  323. package/types/senselogic/sitevision/api/security/RoleAssignment/index.d.ts +4 -2
  324. package/types/senselogic/sitevision/api/security/RoleMatcher/index.d.ts +4 -2
  325. package/types/senselogic/sitevision/api/security/SecretStore/index.d.ts +3 -1
  326. package/types/senselogic/sitevision/api/security/UserUtil/index.d.ts +4 -2
  327. package/types/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.d.ts +35 -3
  328. package/types/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.d.ts +3 -1
  329. package/types/senselogic/sitevision/api/user/UserIdentityWrapper/index.d.ts +5 -3
  330. package/types/senselogic/sitevision/api/webresource/LinkTarget/index.d.ts +3 -1
  331. package/types/senselogic/sitevision/api/xml/XmlElement/index.d.ts +3 -1
  332. package/types/senselogic/sitevision/api/xml/XmlElementHandler/index.d.ts +4 -2
@@ -1,175 +1,13 @@
1
- import type { Value } from "../Value";
2
- import type { Credentials } from "../Credentials";
3
- import Session from "../../../../server/Session";
1
+ import type Value from "../Value";
2
+ import type Credentials from "../Credentials";
3
+ import { Session } from "../../../../server/Session";
4
4
 
5
5
  /**
6
6
  * The entry point into the content repository. The <code>Repository</code>
7
- * object is usually acquired through the {@link RepositoryFactory}.The descriptor key for the version of the specification that this
8
- * repository implements. For JCR 2.0 the value of this descriptor is the
9
- * <code>String</code> "2.0".The descriptor key for the name of the specification that this repository
10
- * implements. For JCR 2.0 the value of this descriptor is the
11
- * <code>String</code> "Content Repository for Java Technology API".The descriptor key for the name of the repository vendor. The descriptor
12
- * returned for this key is a <code>String</code>.The descriptor key for the URL of the repository vendor. The descriptor
13
- * returned for this key is a <code>String</code>.The descriptor key for the name of this repository implementation. The
14
- * descriptor returned for this key is a <code>String</code>.The descriptor key for the version of this repository implementation. The
15
- * descriptor returned for this key is a <code>String</code>.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
16
- * and only if repository content can be updated through the JCR API (as
17
- * opposed to having read-only access).Key to a <code>String</code> descriptor. Returns one of the following
18
- * <code>javax.jcr.Repository</code> constants indicating the stability of
19
- * identifiers:
20
- * <dl>
21
- * <dt>IDENTIFIER_STABILITY_METHOD_DURATION</dt>
22
- * <dd>Identifiers may change between method calls.</dd>
23
- * <dt>IDENTIFIER_STABILITY_SAVE_DURATION</dt>
24
- * <dd>Identifiers are guaranteed stable within a single save/refresh cycle.</dd>
25
- * <dt>IDENTIFIER_STABILITY_SESSION_DURATION</dt>
26
- * <dd>Identifiers are guaranteed stable within a single session.</dd>
27
- * <dt>IDENTIFIER_STABILITY_INDEFINITE_DURATION</dt>
28
- * <dd>Identifiers are guaranteed to be stable forever.</dd>
29
- * </dl>One of four possible values for the descriptor <code>IDENTIFIER_STABILITY</code>.
30
- * Indicates that identifiers may change between method calls.One of four possible values for the descriptor <code>IDENTIFIER_STABILITY</code>.
31
- * Indicates that identifiers are guaranteed stable within a single
32
- * save/refresh cycle.One of four possible values for the descriptor <code>IDENTIFIER_STABILITY</code>.
33
- * Indicates that identifiers are guaranteed stable within a single
34
- * session.One of four possible values for the descriptor <code>IDENTIFIER_STABILITY</code>.
35
- * Indicates that identifiers are guaranteed to be stable forever.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
36
- * and only if XML export is supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
37
- * and only if XML import is supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
38
- * and only if unfiled content is supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
39
- * and only if full versioning is supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
40
- * and only if activities are supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
41
- * and only if configurations and baselines are supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
42
- * and only if access control is supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
43
- * and only if locking is supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
44
- * and only if asynchronous observation is supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
45
- * and only if journaled observation is supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
46
- * and only if retention and hold are supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
47
- * and only if lifecycles are supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
48
- * and only if transactions are supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
49
- * and only if workspace management is supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
50
- * and only if the primary node type of an existing node can be updated.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
51
- * and only if the mixin node types of an existing node can be added and
52
- * removed.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
53
- * and only if the creation of shareable nodes is supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
54
- * and only if node type management is supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
55
- * and only if node and property with same name is supported.Key to <code>String</code> descriptor. Returns one of the following
56
- * <code>javax.jcr.Repository</code> constants indicating the level of
57
- * support for node type inheritance: <dl> <dt>NODE_TYPE_MANAGEMENT_INHERITANCE_MINIMAL</dt>
58
- * <dd> Registration of primary node types is limited to those which have
59
- * only nt:base as supertype. Registration of mixin node types is limited to
60
- * those without any supertypes. </dd> <dt>NODE_TYPE_MANAGEMENT_INHERITANCE_SINGLE</dt>
61
- * <dd> Registration of primary node types is limited to those with exactly
62
- * one supertype. Registration of mixin node types is limited to those with
63
- * at most one supertype. </dd> <dt>NODE_TYPE_MANAGEMENT_INHERITANCE_MULTIPLE</dt>
64
- * <dd> Primary node types can be registered with one or more supertypes.
65
- * Mixin node types can be registered with zero or more supertypes. </dd>
66
- * </dl>One of three possible values for the descriptor <code>NODE_TYPE_MANAGEMENT_INHERITANCE</code>.
67
- * Indicates that registration of primary node types is limited to those
68
- * which have only nt:base as supertype. Registration of mixin node types is
69
- * limited to those without any supertypes.One of three possible values for the descriptor <code>NODE_TYPE_MANAGEMENT_INHERITANCE</code>.
70
- * Indicates that registration of primary node types is limited to those
71
- * with exactly one supertype. Registration of mixin node types is limited
72
- * to those with at most one supertype.One of three possible values for the descriptor <code>NODE_TYPE_MANAGEMENT_INHERITANCE</code>.
73
- * Indicates that primary node types can be registered with one or more
74
- * supertypes. Mixin node types can be registered with zero or more
75
- * supertypes.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
76
- * and only if override of inherited property or child node definitions is
77
- * supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
78
- * and only if primary items are supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
79
- * and only if preservation of child node ordering is supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
80
- * and only if residual property and child node definitions are supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
81
- * and only if autocreated properties and child nodes are supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
82
- * and only if same-name sibling child nodes are supported.Key to a <code>long[]</code> descriptor. Returns an array holding the
83
- * <code>javax.jcr.PropertyType</code> constants for the property types
84
- * (including <code>UNDEFINED</code>, if supported) that a registered node
85
- * type can specify, or a zero-length array if registered node types cannot
86
- * specify property definitions.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
87
- * and only if multivalue properties are supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
88
- * and only if registration of a node types with more than one
89
- * <code>BINARY</code> property is permitted.Key to a <code>boolean</code> descriptor. Returns true if and only
90
- * value-constraints are supported.Key to a <code>boolean</code> descriptor. Returns true if and only the
91
- * update of node types is supported for node types currently in use as the
92
- * type of an existing node in the repository.Key to a <code>String[]</code> descriptor. Returns an array holding the
93
- * constants representing the supported query languages, or a zero-length if
94
- * query is not supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
95
- * and only if stored queries are supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
96
- * and only if full-text search is supported.Key to <code>String</code> descriptor. Returns one of the following
97
- * <code>javax.jcr.Repository</code> constants indicating the level of
98
- * support for joins in queries: <dl> <dt>QUERY_JOINS_NONE</dt> <dd>Joins
99
- * are not supported. Queries are limited to a single selector.</dd>
100
- * <dt>QUERY_JOINS_INNER</dt> <dd> Inner joins are supported.</dd>
101
- * <dt>QUERY_JOINS_INNER_OUTER</dt> <dd>Inner and outer joins are
102
- * supported.</dd> </dl>One of three possible values for the descriptor <code>QUERY_JOINS
103
- * </code>. Indicates that joins are not supported. Queries are limited to a
104
- * single selector.One of three possible values for the descriptor <code>QUERY_JOINS
105
- * </code>. Indicates that inner joins are supported.One of three possible values for the descriptor <code>QUERY_JOINS
106
- * </code>. Indicates that inner and outer joins are supported.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
107
- * and only if <ul> <li><code>OPTION_XML_EXPORT_SUPPORTED = true</code>
108
- * and</li> <li><code>QUERY_LANGUAGES</code> is of non-zero length.</li>
109
- * </ul> These semantics are identical to those in JCR 1.0. This constant is
110
- * deprecated.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
111
- * and only if <ul> <li><code>LEVEL_1_SUPPORTED = true</code>,</li>
112
- * <li><code>WRITE_SUPPORTED = true</code> and</li> <li><code>OPTION_XML_IMPORT_SUPPORTED
113
- * = true</code>.</li> </ul> These semantics are identical to those in JCR
114
- * 1.0. This constant is deprecated.Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
115
- * and only if the (deprecated) JCR 1.0 XPath query language is supported.
116
- * This constant is deprecated.Key to a <code>boolean</code> descriptor. Returns false unless the
117
- * (deprecated) JCR 1.0 XPath query language is supported. If JCR 1.0 XPath
118
- * is supported then this descriptor has the same semantics as in JCR 1.0.
119
- * This constant is deprecated.Key to a <code>boolean</code> descriptor. Returns false unless the
120
- * (deprecated) JCR 1.0 XPath query language is supported. If JCR 1.0 XPath
121
- * is supported then this descriptor has the same semantics as in JCR 1.0.
122
- * This constant is deprecated.
123
- * @since JCR 2.0
124
- * @since JCR 2.0
125
- * @since JCR 2.0
126
- * @since JCR 2.0
127
- * @since JCR 2.0
128
- * @since JCR 2.0
129
- * @since JCR 2.0
130
- * @since JCR 2.0
131
- * @since JCR 2.0
132
- * @since JCR 2.0
133
- * @since JCR 2.0
134
- * @since JCR 2.0
135
- * @since JCR 2.0
136
- * @since JCR 2.0
137
- * @since JCR 2.0
138
- * @since JCR 2.0
139
- * @since JCR 2.0
140
- * @since JCR 2.0
141
- * @since JCR 2.0
142
- * @since JCR 2.0
143
- * @since JCR 2.0
144
- * @since JCR 2.0
145
- * @since JCR 2.0
146
- * @since JCR 2.0
147
- * @since JCR 2.0
148
- * @since JCR 2.0
149
- * @since JCR 2.0
150
- * @since JCR 2.0
151
- * @since JCR 2.0
152
- * @since JCR 2.0
153
- * @since JCR 2.0
154
- * @since JCR 2.0
155
- * @since JCR 2.0
156
- * @since JCR 2.0
157
- * @since JCR 2.0
158
- * @since JCR 2.0
159
- * @since JCR 2.0
160
- * @since JCR 2.0
161
- * @since JCR 2.0
162
- * @since JCR 2.0
163
- * @since JCR 2.0
164
- * @since JCR 2.0
165
- * @since JCR 2.0
166
- * @deprecated As of JCR 2.0.
167
- * @deprecated As of JCR 2.0.
168
- * @deprecated As of JCR 2.0.
169
- * @deprecated As of JCR 2.0.
170
- * @deprecated As of JCR 2.0.
171
- */
172
- export type Repository = {
7
+ * object is usually acquired through the {@link RepositoryFactory}.
8
+
9
+ */
10
+ type Repository = {
173
11
  /**
174
12
  * Returns a string array holding all descriptor keys available for this
175
13
  * implementation, both the standard descriptors defined by the string
@@ -182,128 +20,492 @@ export type Repository = {
182
20
  getDescriptorKeys(): string;
183
21
 
184
22
  /**
185
- * Returns <code>true</code> if <code>key</code> is a standard descriptor
186
- * defined by the string constants in this interface and <code>false</code>
187
- * if it is either a valid implementation-specific key or not a valid key.
188
- *
189
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
23
+ * <p> A convenience method. The call <p> <code>String s =
24
+ * repository.getDescriptor(key);</code> <p> is equivalent to
25
+ * <p>
26
+ * <code>Value v = repository.getDescriptorValue(key);<br>String s = (v ==
27
+ * null) ? null : v.getString();</code>
190
28
  * @param key a descriptor key.
191
- * @return whether <code>key</code> is a standard descriptor.
29
+ * @return a descriptor value in string form.
30
+ */
31
+ getDescriptor(key: string): string;
32
+
33
+ /**
34
+ * Equivalent to <code>login(null, null)</code>.
35
+ * @return a valid session for the user to access the repository.
36
+ * @throws LoginException if authentication or authorization fails.
37
+ * @throws RepositoryException if another error occurs.
38
+ */
39
+ login(): Session;
40
+
41
+ /**
42
+ * The descriptor key for the version of the specification that this
43
+ * repository implements. For JCR 2.0 the value of this descriptor is the
44
+ * <code>String</code> "2.0".
45
+
46
+ */
47
+ SPEC_VERSION_DESC: string;
48
+
49
+ /**
50
+ * The descriptor key for the name of the specification that this repository
51
+ * implements. For JCR 2.0 the value of this descriptor is the
52
+ * <code>String</code> "Content Repository for Java Technology API".
53
+
54
+ */
55
+ SPEC_NAME_DESC: string;
56
+
57
+ /**
58
+ * The descriptor key for the name of the repository vendor. The descriptor
59
+ * returned for this key is a <code>String</code>.
60
+
61
+ */
62
+ REP_VENDOR_DESC: string;
63
+
64
+ /**
65
+ * The descriptor key for the URL of the repository vendor. The descriptor
66
+ * returned for this key is a <code>String</code>.
67
+
68
+ */
69
+ REP_VENDOR_URL_DESC: string;
70
+
71
+ /**
72
+ * The descriptor key for the name of this repository implementation. The
73
+ * descriptor returned for this key is a <code>String</code>.
74
+
75
+ */
76
+ REP_NAME_DESC: string;
77
+
78
+ /**
79
+ * The descriptor key for the version of this repository implementation. The
80
+ * descriptor returned for this key is a <code>String</code>.
81
+
82
+ */
83
+ REP_VERSION_DESC: string;
84
+
85
+ /**
86
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
87
+ * and only if repository content can be updated through the JCR API (as
88
+ * opposed to having read-only access).
192
89
  * @since JCR 2.0
193
90
  */
194
- isStandardDescriptor(key: string): boolean;
91
+ WRITE_SUPPORTED: string;
195
92
 
196
93
  /**
197
- * Returns <code>true</code> if <code>key</code> is a valid single-value
198
- * descriptor; otherwise returns <code>false</code>.
199
- *
200
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
201
- * @param key a descriptor key.
202
- * @return whether the specified desdfriptor is multi-valued.
94
+ * Key to a <code>String</code> descriptor. Returns one of the following
95
+ * <code>javax.jcr.Repository</code> constants indicating the stability of
96
+ * identifiers:
97
+ * <dl>
98
+ * <dt>IDENTIFIER_STABILITY_METHOD_DURATION</dt>
99
+ * <dd>Identifiers may change between method calls.</dd>
100
+ * <dt>IDENTIFIER_STABILITY_SAVE_DURATION</dt>
101
+ * <dd>Identifiers are guaranteed stable within a single save/refresh cycle.</dd>
102
+ * <dt>IDENTIFIER_STABILITY_SESSION_DURATION</dt>
103
+ * <dd>Identifiers are guaranteed stable within a single session.</dd>
104
+ * <dt>IDENTIFIER_STABILITY_INDEFINITE_DURATION</dt>
105
+ * <dd>Identifiers are guaranteed to be stable forever.</dd>
106
+ * </dl>
203
107
  * @since JCR 2.0
204
108
  */
205
- isSingleValueDescriptor(key: string): boolean;
109
+ IDENTIFIER_STABILITY: string;
206
110
 
207
111
  /**
208
- * The value of a single-value descriptor is found by passing the key for
209
- * that descriptor to this method. If <code>key</code> is the key of a
210
- * multi-value descriptor or not a valid key this method returns
211
- * <code>null</code>.
212
- *
213
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
214
- * @param key a descriptor key.
215
- * @return The value of the indicated descriptor
112
+ * One of four possible values for the descriptor <code>IDENTIFIER_STABILITY</code>.
113
+ * Indicates that identifiers may change between method calls.
216
114
  * @since JCR 2.0
217
115
  */
218
- getDescriptorValue(key: string): Value;
116
+ IDENTIFIER_STABILITY_METHOD_DURATION: string;
219
117
 
220
118
  /**
221
- * The value array of a multi-value descriptor is found by passing the key
222
- * for that descriptor to this method. If <code>key</code> is the key of a
223
- * single-value descriptor then this method returns that value as an array
224
- * of size one. If <code>key</code> is not a valid key this method returns
225
- * <code>null</code>.
226
- *
227
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
228
- * @param key a descriptor key.
229
- * @return the value array for the indicated descriptor
119
+ * One of four possible values for the descriptor <code>IDENTIFIER_STABILITY</code>.
120
+ * Indicates that identifiers are guaranteed stable within a single
121
+ * save/refresh cycle.
230
122
  * @since JCR 2.0
231
123
  */
232
- getDescriptorValues(key: string): Value;
124
+ IDENTIFIER_STABILITY_SAVE_DURATION: string;
233
125
 
234
126
  /**
235
- * <p> A convenience method. The call <p> <code>String s =
236
- * repository.getDescriptor(key);</code> <p> is equivalent to
237
- * <p>
238
- * <code>Value v = repository.getDescriptorValue(key);<br>String s = (v ==
239
- * null) ? null : v.getString();</code>
240
- * @param key a descriptor key.
241
- * @return a descriptor value in string form.
127
+ * One of four possible values for the descriptor <code>IDENTIFIER_STABILITY</code>.
128
+ * Indicates that identifiers are guaranteed stable within a single
129
+ * session.
130
+ * @since JCR 2.0
242
131
  */
243
- getDescriptor(key: string): string;
132
+ IDENTIFIER_STABILITY_SESSION_DURATION: string;
244
133
 
245
134
  /**
246
- * Authenticates the user using the supplied <code>credentials</code>. If
247
- * <code>workspaceName</code> is recognized as the name of an existing
248
- * workspace in the repository and authorization to access that workspace is
249
- * granted, then a new <code>Session</code> object is returned. The format
250
- * of the string <code>workspaceName</code> depends upon the
251
- * implementation.
252
- * <p>
253
- * If <code>credentials</code> is <code>null</code>, it is assumed that
254
- * authentication is handled by a mechanism external to the repository
255
- * itself (for example, through the JAAS framework) and that the repository
256
- * implementation exists within a context (for example, an application
257
- * server) that allows it to handle authorization of the request for access
258
- * to the specified workspace.
259
- * <p>
260
- * If <code>workspaceName</code> is <code>null</code>, a default workspace
261
- * is automatically selected by the repository implementation. This may, for
262
- * example, be the "home workspace" of the user whose credentials were
263
- * passed, though this is entirely up to the configuration and
264
- * implementation of the repository. Alternatively, it may be a "null
265
- * workspace" that serves only to provide the method {@link
266
- * Workspace#getAccessibleWorkspaceNames}, allowing the client to select
267
- * from among available "real" workspaces.
268
- *
269
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
270
- * @param credentials The credentials of the user
271
- * @param workspaceName the name of a workspace.
272
- * @return a valid session for the user to access the repository.
273
- * @throws LoginException if authentication or authorization for the specified workspace fails.
274
- * @throws NoSuchWorkspaceException if the specified <code>workspaceName</code> is not recognized.
275
- * @throws RepositoryException if another error occurs.
135
+ * One of four possible values for the descriptor <code>IDENTIFIER_STABILITY</code>.
136
+ * Indicates that identifiers are guaranteed to be stable forever.
137
+ * @since JCR 2.0
276
138
  */
277
- login(credentials: Credentials, workspaceName: string): Session;
139
+ IDENTIFIER_STABILITY_INDEFINITE_DURATION: string;
278
140
 
279
141
  /**
280
- * Equivalent to <code>login(credentials, null)</code>.
281
- *
282
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
283
- * @param credentials The credentials of the user
284
- * @return a valid session for the user to access the repository.
285
- * @throws LoginException if authentication or authorization fails.
286
- * @throws RepositoryException if another error occurs.
142
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
143
+ * and only if XML export is supported.
144
+ * @since JCR 2.0
287
145
  */
288
- login(credentials: Credentials): Session;
146
+ OPTION_XML_EXPORT_SUPPORTED: string;
289
147
 
290
148
  /**
291
- * Equivalent to <code>login(null, workspaceName)</code>.
292
- *
293
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
294
- * @param workspaceName the name of a workspace.
295
- * @return a valid session for the user to access the repository.
296
- * @throws LoginException if authentication or authorization for the specified workspace fails.
297
- * @throws NoSuchWorkspaceException if the specified <code>workspaceName</code> is not recognized.
298
- * @throws RepositoryException if another error occurs.
149
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
150
+ * and only if XML import is supported.
151
+ * @since JCR 2.0
299
152
  */
300
- login(workspaceName: string): Session;
153
+ OPTION_XML_IMPORT_SUPPORTED: string;
301
154
 
302
155
  /**
303
- * Equivalent to <code>login(null, null)</code>.
304
- * @return a valid session for the user to access the repository.
305
- * @throws LoginException if authentication or authorization fails.
306
- * @throws RepositoryException if another error occurs.
156
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
157
+ * and only if unfiled content is supported.
158
+ * @since JCR 2.0
307
159
  */
308
- login(): Session;
160
+ OPTION_UNFILED_CONTENT_SUPPORTED: string;
161
+
162
+ /**
163
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
164
+ * and only if full versioning is supported.
165
+
166
+ */
167
+ OPTION_VERSIONING_SUPPORTED: string;
168
+
169
+ /**
170
+ *
171
+
172
+ */
173
+ OPTION_SIMPLE_VERSIONING_SUPPORTED: string;
174
+
175
+ /**
176
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
177
+ * and only if activities are supported.
178
+ * @since JCR 2.0
179
+ */
180
+ OPTION_ACTIVITIES_SUPPORTED: string;
181
+
182
+ /**
183
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
184
+ * and only if configurations and baselines are supported.
185
+ * @since JCR 2.0
186
+ */
187
+ OPTION_BASELINES_SUPPORTED: string;
188
+
189
+ /**
190
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
191
+ * and only if access control is supported.
192
+ * @since JCR 2.0
193
+ */
194
+ OPTION_ACCESS_CONTROL_SUPPORTED: string;
195
+
196
+ /**
197
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
198
+ * and only if locking is supported.
199
+
200
+ */
201
+ OPTION_LOCKING_SUPPORTED: string;
202
+
203
+ /**
204
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
205
+ * and only if asynchronous observation is supported.
206
+
207
+ */
208
+ OPTION_OBSERVATION_SUPPORTED: string;
209
+
210
+ /**
211
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
212
+ * and only if journaled observation is supported.
213
+ * @since JCR 2.0
214
+ */
215
+ OPTION_JOURNALED_OBSERVATION_SUPPORTED: string;
216
+
217
+ /**
218
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
219
+ * and only if retention and hold are supported.
220
+ * @since JCR 2.0
221
+ */
222
+ OPTION_RETENTION_SUPPORTED: string;
223
+
224
+ /**
225
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
226
+ * and only if lifecycles are supported.
227
+ * @since JCR 2.0
228
+ */
229
+ OPTION_LIFECYCLE_SUPPORTED: string;
230
+
231
+ /**
232
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
233
+ * and only if transactions are supported.
234
+
235
+ */
236
+ OPTION_TRANSACTIONS_SUPPORTED: string;
237
+
238
+ /**
239
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
240
+ * and only if workspace management is supported.
241
+ * @since JCR 2.0
242
+ */
243
+ OPTION_WORKSPACE_MANAGEMENT_SUPPORTED: string;
244
+
245
+ /**
246
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
247
+ * and only if the primary node type of an existing node can be updated.
248
+ * @since JCR 2.0
249
+ */
250
+ OPTION_UPDATE_PRIMARY_NODE_TYPE_SUPPORTED: string;
251
+
252
+ /**
253
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
254
+ * and only if the mixin node types of an existing node can be added and
255
+ * removed.
256
+ * @since JCR 2.0
257
+ */
258
+ OPTION_UPDATE_MIXIN_NODE_TYPES_SUPPORTED: string;
259
+
260
+ /**
261
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
262
+ * and only if the creation of shareable nodes is supported.
263
+ * @since JCR 2.0
264
+ */
265
+ OPTION_SHAREABLE_NODES_SUPPORTED: string;
266
+
267
+ /**
268
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
269
+ * and only if node type management is supported.
270
+ * @since JCR 2.0
271
+ */
272
+ OPTION_NODE_TYPE_MANAGEMENT_SUPPORTED: string;
273
+
274
+ /**
275
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
276
+ * and only if node and property with same name is supported.
277
+ * @since JCR 2.0
278
+ */
279
+ OPTION_NODE_AND_PROPERTY_WITH_SAME_NAME_SUPPORTED: string;
280
+
281
+ /**
282
+ * Key to <code>String</code> descriptor. Returns one of the following
283
+ * <code>javax.jcr.Repository</code> constants indicating the level of
284
+ * support for node type inheritance: <dl> <dt>NODE_TYPE_MANAGEMENT_INHERITANCE_MINIMAL</dt>
285
+ * <dd> Registration of primary node types is limited to those which have
286
+ * only nt:base as supertype. Registration of mixin node types is limited to
287
+ * those without any supertypes. </dd> <dt>NODE_TYPE_MANAGEMENT_INHERITANCE_SINGLE</dt>
288
+ * <dd> Registration of primary node types is limited to those with exactly
289
+ * one supertype. Registration of mixin node types is limited to those with
290
+ * at most one supertype. </dd> <dt>NODE_TYPE_MANAGEMENT_INHERITANCE_MULTIPLE</dt>
291
+ * <dd> Primary node types can be registered with one or more supertypes.
292
+ * Mixin node types can be registered with zero or more supertypes. </dd>
293
+ * </dl>
294
+ * @since JCR 2.0
295
+ */
296
+ NODE_TYPE_MANAGEMENT_INHERITANCE: string;
297
+
298
+ /**
299
+ * One of three possible values for the descriptor <code>NODE_TYPE_MANAGEMENT_INHERITANCE</code>.
300
+ * Indicates that registration of primary node types is limited to those
301
+ * which have only nt:base as supertype. Registration of mixin node types is
302
+ * limited to those without any supertypes.
303
+ * @since JCR 2.0
304
+ */
305
+ NODE_TYPE_MANAGEMENT_INHERITANCE_MINIMAL: string;
306
+
307
+ /**
308
+ * One of three possible values for the descriptor <code>NODE_TYPE_MANAGEMENT_INHERITANCE</code>.
309
+ * Indicates that registration of primary node types is limited to those
310
+ * with exactly one supertype. Registration of mixin node types is limited
311
+ * to those with at most one supertype.
312
+ * @since JCR 2.0
313
+ */
314
+ NODE_TYPE_MANAGEMENT_INHERITANCE_SINGLE: string;
315
+
316
+ /**
317
+ * One of three possible values for the descriptor <code>NODE_TYPE_MANAGEMENT_INHERITANCE</code>.
318
+ * Indicates that primary node types can be registered with one or more
319
+ * supertypes. Mixin node types can be registered with zero or more
320
+ * supertypes.
321
+ * @since JCR 2.0
322
+ */
323
+ NODE_TYPE_MANAGEMENT_INHERITANCE_MULTIPLE: string;
324
+
325
+ /**
326
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
327
+ * and only if override of inherited property or child node definitions is
328
+ * supported.
329
+ * @since JCR 2.0
330
+ */
331
+ NODE_TYPE_MANAGEMENT_OVERRIDES_SUPPORTED: string;
332
+
333
+ /**
334
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
335
+ * and only if primary items are supported.
336
+ * @since JCR 2.0
337
+ */
338
+ NODE_TYPE_MANAGEMENT_PRIMARY_ITEM_NAME_SUPPORTED: string;
339
+
340
+ /**
341
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
342
+ * and only if preservation of child node ordering is supported.
343
+ * @since JCR 2.0
344
+ */
345
+ NODE_TYPE_MANAGEMENT_ORDERABLE_CHILD_NODES_SUPPORTED: string;
346
+
347
+ /**
348
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
349
+ * and only if residual property and child node definitions are supported.
350
+ * @since JCR 2.0
351
+ */
352
+ NODE_TYPE_MANAGEMENT_RESIDUAL_DEFINITIONS_SUPPORTED: string;
353
+
354
+ /**
355
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
356
+ * and only if autocreated properties and child nodes are supported.
357
+ * @since JCR 2.0
358
+ */
359
+ NODE_TYPE_MANAGEMENT_AUTOCREATED_DEFINITIONS_SUPPORTED: string;
360
+
361
+ /**
362
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
363
+ * and only if same-name sibling child nodes are supported.
364
+ * @since JCR 2.0
365
+ */
366
+ NODE_TYPE_MANAGEMENT_SAME_NAME_SIBLINGS_SUPPORTED: string;
367
+
368
+ /**
369
+ * Key to a <code>long[]</code> descriptor. Returns an array holding the
370
+ * <code>javax.jcr.PropertyType</code> constants for the property types
371
+ * (including <code>UNDEFINED</code>, if supported) that a registered node
372
+ * type can specify, or a zero-length array if registered node types cannot
373
+ * specify property definitions.
374
+ * @since JCR 2.0
375
+ */
376
+ NODE_TYPE_MANAGEMENT_PROPERTY_TYPES: string;
377
+
378
+ /**
379
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
380
+ * and only if multivalue properties are supported.
381
+ * @since JCR 2.0
382
+ */
383
+ NODE_TYPE_MANAGEMENT_MULTIVALUED_PROPERTIES_SUPPORTED: string;
384
+
385
+ /**
386
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
387
+ * and only if registration of a node types with more than one
388
+ * <code>BINARY</code> property is permitted.
389
+ * @since JCR 2.0
390
+ */
391
+ NODE_TYPE_MANAGEMENT_MULTIPLE_BINARY_PROPERTIES_SUPPORTED: string;
392
+
393
+ /**
394
+ * Key to a <code>boolean</code> descriptor. Returns true if and only
395
+ * value-constraints are supported.
396
+ * @since JCR 2.0
397
+ */
398
+ NODE_TYPE_MANAGEMENT_VALUE_CONSTRAINTS_SUPPORTED: string;
399
+
400
+ /**
401
+ * Key to a <code>boolean</code> descriptor. Returns true if and only the
402
+ * update of node types is supported for node types currently in use as the
403
+ * type of an existing node in the repository.
404
+ * @since JCR 2.0
405
+ */
406
+ NODE_TYPE_MANAGEMENT_UPDATE_IN_USE_SUPORTED: string;
407
+
408
+ /**
409
+ * Key to a <code>String[]</code> descriptor. Returns an array holding the
410
+ * constants representing the supported query languages, or a zero-length if
411
+ * query is not supported.
412
+ * @since JCR 2.0
413
+ */
414
+ QUERY_LANGUAGES: string;
415
+
416
+ /**
417
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
418
+ * and only if stored queries are supported.
419
+ * @since JCR 2.0
420
+ */
421
+ QUERY_STORED_QUERIES_SUPPORTED: string;
422
+
423
+ /**
424
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
425
+ * and only if full-text search is supported.
426
+ * @since JCR 2.0
427
+ */
428
+ QUERY_FULL_TEXT_SEARCH_SUPPORTED: string;
429
+
430
+ /**
431
+ * Key to <code>String</code> descriptor. Returns one of the following
432
+ * <code>javax.jcr.Repository</code> constants indicating the level of
433
+ * support for joins in queries: <dl> <dt>QUERY_JOINS_NONE</dt> <dd>Joins
434
+ * are not supported. Queries are limited to a single selector.</dd>
435
+ * <dt>QUERY_JOINS_INNER</dt> <dd> Inner joins are supported.</dd>
436
+ * <dt>QUERY_JOINS_INNER_OUTER</dt> <dd>Inner and outer joins are
437
+ * supported.</dd> </dl>
438
+ * @since JCR 2.0
439
+ */
440
+ QUERY_JOINS: string;
441
+
442
+ /**
443
+ * One of three possible values for the descriptor <code>QUERY_JOINS
444
+ * </code>. Indicates that joins are not supported. Queries are limited to a
445
+ * single selector.
446
+ * @since JCR 2.0
447
+ */
448
+ QUERY_JOINS_NONE: string;
449
+
450
+ /**
451
+ * One of three possible values for the descriptor <code>QUERY_JOINS
452
+ * </code>. Indicates that inner joins are supported.
453
+ * @since JCR 2.0
454
+ */
455
+ QUERY_JOINS_INNER: string;
456
+
457
+ /**
458
+ * One of three possible values for the descriptor <code>QUERY_JOINS
459
+ * </code>. Indicates that inner and outer joins are supported.
460
+ * @since JCR 2.0
461
+ */
462
+ QUERY_JOINS_INNER_OUTER: string;
463
+
464
+ /**
465
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
466
+ * and only if <ul> <li><code>OPTION_XML_EXPORT_SUPPORTED = true</code>
467
+ * and</li> <li><code>QUERY_LANGUAGES</code> is of non-zero length.</li>
468
+ * </ul> These semantics are identical to those in JCR 1.0. This constant is
469
+ * deprecated.
470
+ * @deprecated As of JCR 2.0.
471
+ */
472
+ LEVEL_1_SUPPORTED: string;
473
+
474
+ /**
475
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
476
+ * and only if <ul> <li><code>LEVEL_1_SUPPORTED = true</code>,</li>
477
+ * <li><code>WRITE_SUPPORTED = true</code> and</li> <li><code>OPTION_XML_IMPORT_SUPPORTED
478
+ * = true</code>.</li> </ul> These semantics are identical to those in JCR
479
+ * 1.0. This constant is deprecated.
480
+ * @deprecated As of JCR 2.0.
481
+ */
482
+ LEVEL_2_SUPPORTED: string;
483
+
484
+ /**
485
+ * Key to a <code>boolean</code> descriptor. Returns <code>true</code> if
486
+ * and only if the (deprecated) JCR 1.0 XPath query language is supported.
487
+ * This constant is deprecated.
488
+ * @deprecated As of JCR 2.0.
489
+ */
490
+ OPTION_QUERY_SQL_SUPPORTED: string;
491
+
492
+ /**
493
+ * Key to a <code>boolean</code> descriptor. Returns false unless the
494
+ * (deprecated) JCR 1.0 XPath query language is supported. If JCR 1.0 XPath
495
+ * is supported then this descriptor has the same semantics as in JCR 1.0.
496
+ * This constant is deprecated.
497
+ * @deprecated As of JCR 2.0.
498
+ */
499
+ QUERY_XPATH_POS_INDEX: string;
500
+
501
+ /**
502
+ * Key to a <code>boolean</code> descriptor. Returns false unless the
503
+ * (deprecated) JCR 1.0 XPath query language is supported. If JCR 1.0 XPath
504
+ * is supported then this descriptor has the same semantics as in JCR 1.0.
505
+ * This constant is deprecated.
506
+ * @deprecated As of JCR 2.0.
507
+ */
508
+ QUERY_XPATH_DOC_ORDER: string;
309
509
  };
510
+
511
+ export = Repository;