@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,5 +1,5 @@
1
- import type { PropertyDefinition } from "../PropertyDefinition";
2
- import type { NodeDefinition } from "../NodeDefinition";
1
+ import type PropertyDefinition from "../PropertyDefinition";
2
+ import type NodeDefinition from "../NodeDefinition";
3
3
 
4
4
  /**
5
5
  * The <code>NodeTypeDefinition</code> interface provides methods for
@@ -14,7 +14,7 @@ import type { NodeDefinition } from "../NodeDefinition";
14
14
  * implementing the subinterface <code>NodeType</code> will be encountered.
15
15
  * @since JCR 2.0
16
16
  */
17
- export type NodeTypeDefinition = {
17
+ type NodeTypeDefinition = {
18
18
  /**
19
19
  * Returns the name of the node type.
20
20
  * <p>
@@ -27,19 +27,6 @@ export type NodeTypeDefinition = {
27
27
  */
28
28
  getName(): string;
29
29
 
30
- /**
31
- * Returns the names of the supertypes actually declared in this node type.
32
- * <p>
33
- * In implementations that support node type registration, if this
34
- * <code>NodeTypeDefinition</code> object is actually a newly-created empty
35
- * <code>NodeTypeTemplate</code>, then this method will return an empty array.
36
- *
37
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
38
- * @return an array of <code>String</code>s
39
- * @since JCR 2.0
40
- */
41
- getDeclaredSupertypeNames(): string;
42
-
43
30
  /**
44
31
  * Returns <code>true</code> if this is an abstract node type; returns
45
32
  * <code>false</code> otherwise.
@@ -69,95 +56,6 @@ export type NodeTypeDefinition = {
69
56
  * @since JCR 2.0 moved here from JCR 1.0 <code>NodeType</code>.
70
57
  */
71
58
  isMixin(): boolean;
72
-
73
- /**
74
- * Returns <code>true</code> if nodes of this type must support orderable
75
- * child nodes; returns <code>false</code> otherwise. If a node type returns
76
- * <code>true</code> on a call to this method, then all nodes of that node
77
- * type <i>must</i> support the method <code>Node.orderBefore</code>. If a
78
- * node type returns <code>false</code> on a call to this method, then nodes
79
- * of that node type <i>may</i> support <code>Node.orderBefore</code>. Only
80
- * the primary node type of a node controls that node's status in this
81
- * regard. This setting on a mixin node type will not have any effect on the
82
- * node.
83
- * <p>
84
- * In implementations that support node type registration, if this
85
- * <code>NodeTypeDefinition</code> object is actually a newly-created empty
86
- * <code>NodeTypeTemplate</code>, then this method will return
87
- * <code>false</code>.
88
- *
89
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
90
- * @return a <code>boolean</code>
91
- * @since JCR 2.0 moved here from JCR 1.0 <code>NodeType</code>.
92
- */
93
- hasOrderableChildNodes(): boolean;
94
-
95
- /**
96
- * Returns <code>true</code> if the node type is queryable, meaning that the
97
- * available-query-operators, full-text-searchable and query-orderable
98
- * attributes of its property definitions take effect. See {@link
99
- * javax.jcr.nodetype.PropertyDefinition#getAvailableQueryOperators()},
100
- * {@link javax.jcr.nodetype.PropertyDefinition#isFullTextSearchable()} and
101
- * {@link javax.jcr.nodetype.PropertyDefinition#isQueryOrderable()}.
102
- * <p>
103
- * If a node type is declared non-queryable then these attributes of its
104
- * property definitions have no effect.
105
- * <p>
106
- * In implementations that support node type registration, if this
107
- * <code>NodeTypeDefinition</code> object is actually a newly-created empty
108
- * <code>NodeTypeTemplate</code>, then this method will return
109
- * an implementation-determined defalt value.
110
- *
111
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
112
- * @return a <code>boolean</code>
113
- * @since JCR 2.0
114
- */
115
- isQueryable(): boolean;
116
-
117
- /**
118
- * Returns the name of the primary item (one of the child items of the nodes
119
- * of this node type). If this node has no primary item, then this method
120
- * returns <code>null</code>. This indicator is used by the method
121
- * <code>Node.getPrimaryItem()</code>.
122
- * <p>
123
- * In implementations that support node type registration, if this
124
- * <code>NodeTypeDefinition</code> object is actually a newly-created empty
125
- * <code>NodeTypeTemplate</code>, then this method will return
126
- * <code>null</code>.
127
- *
128
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
129
- * @return a <code>String</code>
130
- * @since JCR 2.0 moved here from JCR 1.0 <code>NodeType</code>.
131
- */
132
- getPrimaryItemName(): string;
133
-
134
- /**
135
- * Returns an array containing the property definitions actually declared in
136
- * this node type.
137
- * <p>
138
- * In implementations that support node type registration, if this
139
- * <code>NodeTypeDefinition</code> object is actually a newly-created empty
140
- * <code>NodeTypeTemplate</code>, then this method will return
141
- * <code>null</code>.
142
- *
143
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
144
- * @return an array of <code>PropertyDefinition</code>s
145
- * @since JCR 2.0 moved here from JCR 1.0 <code>NodeType</code>.
146
- */
147
- getDeclaredPropertyDefinitions(): PropertyDefinition;
148
-
149
- /**
150
- * Returns an array containing the child node definitions actually declared
151
- * in this node type.
152
- * <p>
153
- * In implementations that support node type registration, if this
154
- * <code>NodeTypeDefinition</code> object is actually a newly-created empty
155
- * <code>NodeTypeTemplate</code>, then this method will return
156
- * <code>null</code>.
157
- *
158
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
159
- * @return an array of <code>NodeDefinition</code>s
160
- * @since JCR 2.0 moved here from JCR 1.0 <code>NodeType</code>.
161
- */
162
- getDeclaredChildNodeDefinitions(): NodeDefinition;
163
59
  };
60
+
61
+ export = NodeTypeDefinition;
@@ -6,13 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
8
  getName: function getName() {},
9
- getDeclaredSupertypeNames: function getDeclaredSupertypeNames() {},
10
9
  isAbstract: function isAbstract() {},
11
- isMixin: function isMixin() {},
12
- hasOrderableChildNodes: function hasOrderableChildNodes() {},
13
- isQueryable: function isQueryable() {},
14
- getPrimaryItemName: function getPrimaryItemName() {},
15
- getDeclaredPropertyDefinitions: function getDeclaredPropertyDefinitions() {},
16
- getDeclaredChildNodeDefinitions: function getDeclaredChildNodeDefinitions() {}
10
+ isMixin: function isMixin() {}
17
11
  };
18
12
  exports["default"] = _default;
@@ -1,11 +1,11 @@
1
- import type { NodeType } from "../NodeType";
2
- import type { RangeIterator } from "../../RangeIterator";
1
+ import type NodeType from "../NodeType";
2
+ import type RangeIterator from "../../RangeIterator";
3
3
 
4
4
  /**
5
5
  * An iterator for <code>NodeType</code> objects.
6
6
 
7
7
  */
8
- export type NodeTypeIterator = {
8
+ type NodeTypeIterator = RangeIterator & {
9
9
  /**
10
10
  * Returns the next <code>NodeType</code> in the iteration.
11
11
  * @return the next <code>NodeType</code> in the iteration.
@@ -13,3 +13,5 @@ export type NodeTypeIterator = {
13
13
  */
14
14
  nextNodeType(): NodeType;
15
15
  };
16
+
17
+ export = NodeTypeIterator;
@@ -1,17 +1,17 @@
1
- import type { NodeType } from "../NodeType";
1
+ import type NodeType from "../NodeType";
2
2
 
3
- import type { NodeTypeIterator } from "../NodeTypeIterator";
4
- import type { NodeTypeTemplate } from "../NodeTypeTemplate";
5
- import type { NodeTypeDefinition } from "../NodeTypeDefinition";
6
- import type { NodeDefinitionTemplate } from "../NodeDefinitionTemplate";
7
- import type { PropertyDefinitionTemplate } from "../PropertyDefinitionTemplate";
3
+ import type NodeTypeIterator from "../NodeTypeIterator";
4
+ import type NodeTypeTemplate from "../NodeTypeTemplate";
5
+ import type NodeTypeDefinition from "../NodeTypeDefinition";
6
+ import type NodeDefinitionTemplate from "../NodeDefinitionTemplate";
7
+ import type PropertyDefinitionTemplate from "../PropertyDefinitionTemplate";
8
8
 
9
9
  /**
10
10
  * Allows for the retrieval and (in implementations that support it) the
11
11
  * registration of node types. Accessed via {@link Workspace#getNodeTypeManager}.
12
12
 
13
13
  */
14
- export type NodeTypeManager = {
14
+ type NodeTypeManager = {
15
15
  /**
16
16
  * Returns the named node type.
17
17
  * @param nodeTypeName the name of an existing node type.
@@ -52,127 +52,6 @@ export type NodeTypeManager = {
52
52
  * @throws RepositoryException if an error occurs.
53
53
  */
54
54
  getMixinNodeTypes(): NodeTypeIterator;
55
-
56
- /**
57
- * Returns an empty <code>NodeTypeTemplate</code> which can then be used to
58
- * define a node type and passed to <code>NodeTypeManager.registerNodeType</code>.
59
- *
60
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
61
- * @return A <code>NodeTypeTemplate</code>.
62
- * @throws UnsupportedRepositoryOperationException if this implementation does not support node type registration.
63
- * @throws RepositoryException if another error occurs.
64
- * @since JCR 2.0
65
- */
66
- createNodeTypeTemplate(): NodeTypeTemplate;
67
-
68
- /**
69
- * Returns a <code>NodeTypeTemplate</code> holding the specified node type
70
- * definition. This template can then be altered and passed to
71
- * <code>NodeTypeManager.registerNodeType</code>.
72
- *
73
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
74
- * @param ntd a <code>NodeTypeDefinition</code>.
75
- * @return A <code>NodeTypeTemplate</code>.
76
- * @throws UnsupportedRepositoryOperationException if this implementation does not support node type registration.
77
- * @throws RepositoryException if another error occurs.
78
- * @since JCR 2.0
79
- */
80
- createNodeTypeTemplate(ntd: NodeTypeDefinition): NodeTypeTemplate;
81
-
82
- /**
83
- * Returns an empty <code>NodeDefinitionTemplate</code> which can then be
84
- * used to create a child node definition and attached to a
85
- * <code>NodeTypeTemplate</code>.
86
- *
87
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
88
- * @return A <code>NodeDefinitionTemplate</code>.
89
- * @throws UnsupportedRepositoryOperationException if this implementation does not support node type registration.
90
- * @throws RepositoryException if another error occurs.
91
- * @since JCR 2.0
92
- */
93
- createNodeDefinitionTemplate(): NodeDefinitionTemplate;
94
-
95
- /**
96
- * Returns an empty <code>PropertyDefinitionTemplate</code> which can then
97
- * be used to create a property definition and attached to a
98
- * <code>NodeTypeTemplate</code>.
99
- *
100
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
101
- * @return A <code>PropertyDefinitionTemplate</code>.
102
- * @throws UnsupportedRepositoryOperationException if this implementation does not support node type registration.
103
- * @throws RepositoryException if another error occurs.
104
- * @since JCR 2.0
105
- */
106
- createPropertyDefinitionTemplate(): PropertyDefinitionTemplate;
107
-
108
- /**
109
- * Registers a new node type or updates an existing node type using the
110
- * specified definition and returns the resulting <code>NodeType</code>
111
- * object.
112
- * <p>
113
- * Typically, the object passed to this method will be a
114
- * <code>NodeTypeTemplate</code> (a subclass of <code>NodeTypeDefinition</code>)
115
- * acquired from <code>NodeTypeManager.createNodeTypeTemplate</code> and
116
- * then filled-in with definition information.
117
- *
118
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
119
- * @param ntd an <code>NodeTypeDefinition</code>.
120
- * @param allowUpdate a boolean
121
- * @return the registered node type
122
- * @throws InvalidNodeTypeDefinitionException if the <code>NodeTypeDefinition</code> is invalid.
123
- * @throws NodeTypeExistsException if <code>allowUpdate</code> is <code>false</code> and the <code>NodeTypeDefinition</code> specifies a node type name that is already registered.
124
- * @throws UnsupportedRepositoryOperationException if this implementation does not support node type registration.
125
- * @throws RepositoryException if another error occurs.
126
- * @since JCR 2.0
127
- */
128
- registerNodeType(ntd: NodeTypeDefinition, allowUpdate: boolean): NodeType;
129
-
130
- /**
131
- * Registers or updates the specified array of <code>NodeTypeDefinition</code>
132
- * objects. This method is used to register or update a set of node types
133
- * with mutual dependencies. Returns an iterator over the resulting
134
- * <code>NodeType</code> objects.
135
- * <p>
136
- * The effect of the method is "all or nothing"; if an error occurs, no node
137
- * types are registered or updated.
138
- *
139
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
140
- * @param ntds a collection of <code>NodeTypeDefinition</code>s
141
- * @param allowUpdate a boolean
142
- * @return the registered node types.
143
- * @throws InvalidNodeTypeDefinitionException if a <code>NodeTypeDefinition</code> within the <code>Collection</code> is invalid or if the <code>Collection</code> contains an object of a type other than <code>NodeTypeDefinition</code>.
144
- * @throws NodeTypeExistsException if <code>allowUpdate</code> is <code>false</code> and a <code>NodeTypeDefinition</code> within the <code>Collection</code> specifies a node type name that is already registered.
145
- * @throws UnsupportedRepositoryOperationException if this implementation does not support node type registration.
146
- * @throws RepositoryException if another error occurs.
147
- * @since JCR 2.0
148
- */
149
- registerNodeTypes(
150
- ntds: NodeTypeDefinition,
151
- allowUpdate: boolean
152
- ): NodeTypeIterator;
153
-
154
- /**
155
- * Unregisters the specified node type.
156
- *
157
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
158
- * @param name a <code>String</code>.
159
- * @throws UnsupportedRepositoryOperationException if this implementation does not support node type registration.
160
- * @throws NoSuchNodeTypeException if no registered node type exists with the specified name.
161
- * @throws RepositoryException if another error occurs.
162
- * @since JCR 2.0
163
- */
164
- unregisterNodeType(name: string): void;
165
-
166
- /**
167
- * Unregisters the specified set of node types. Used to unregister a set of
168
- * node types with mutual dependencies.
169
- *
170
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
171
- * @param names a <code>String</code> array
172
- * @throws UnsupportedRepositoryOperationException if this implementation does not support node type registration.
173
- * @throws NoSuchNodeTypeException if one of the names listed is not a registered node type.
174
- * @throws RepositoryException if another error occurs.
175
- * @since JCR 2.0
176
- */
177
- unregisterNodeTypes(names: string): void;
178
55
  };
56
+
57
+ export = NodeTypeManager;
@@ -9,13 +9,6 @@ var _default = {
9
9
  hasNodeType: function hasNodeType() {},
10
10
  getAllNodeTypes: function getAllNodeTypes() {},
11
11
  getPrimaryNodeTypes: function getPrimaryNodeTypes() {},
12
- getMixinNodeTypes: function getMixinNodeTypes() {},
13
- createNodeTypeTemplate: function createNodeTypeTemplate() {},
14
- createNodeDefinitionTemplate: function createNodeDefinitionTemplate() {},
15
- createPropertyDefinitionTemplate: function createPropertyDefinitionTemplate() {},
16
- registerNodeType: function registerNodeType() {},
17
- registerNodeTypes: function registerNodeTypes() {},
18
- unregisterNodeType: function unregisterNodeType() {},
19
- unregisterNodeTypes: function unregisterNodeTypes() {}
12
+ getMixinNodeTypes: function getMixinNodeTypes() {}
20
13
  };
21
14
  exports["default"] = _default;
@@ -1,4 +1,4 @@
1
- import type { NodeTypeDefinition } from "../NodeTypeDefinition";
1
+ import type NodeTypeDefinition from "../NodeTypeDefinition";
2
2
 
3
3
  /**
4
4
  * The <code>NodeTypeTemplate</code> interface is used to define node types which
@@ -18,7 +18,7 @@ import type { NodeTypeDefinition } from "../NodeTypeDefinition";
18
18
  * <p><strong>Sitevision note:</strong> Unsupported operation</p>
19
19
  * @since JCR 2.0
20
20
  */
21
- export type NodeTypeTemplate = {
21
+ type NodeTypeTemplate = NodeTypeDefinition & {
22
22
  /**
23
23
  * Sets the name of the node type. This must be a JCR name in either
24
24
  * qualified or expanded form.
@@ -86,3 +86,5 @@ export type NodeTypeTemplate = {
86
86
  */
87
87
  getNodeDefinitionTemplates(): unknown;
88
88
  };
89
+
90
+ export = NodeTypeTemplate;
@@ -1,203 +1,12 @@
1
- import type { Value } from "../../Value";
1
+ import type Value from "../../Value";
2
2
 
3
- import type { ItemDefinition } from "../ItemDefinition";
3
+ import type ItemDefinition from "../ItemDefinition";
4
4
 
5
5
  /**
6
6
  * A property definition. Used in node type definitions.
7
7
 
8
8
  */
9
- export type PropertyDefinition = {
10
- /**
11
- * Gets the required type of the property. One of: <ul>
12
- * <li><code>PropertyType.STRING</code></li> <li><code>PropertyType.DATE</code></li>
13
- * <li><code>PropertyType.BINARY</code></li> <li><code>PropertyType.DOUBLE</code></li>
14
- * <li><code>PropertyType.DECIMAL</code></li> <li><code>PropertyType.LONG</code></li>
15
- * <li><code>PropertyType.BOOLEAN</code></li> <li><code>PropertyType.NAME</code></li>
16
- * <li><code>PropertyType.PATH</code></li> <li><code>PropertyType.URI</code></li>
17
- * <li><code>PropertyType.REFERENCE</code></li> <li><code>PropertyType.WEAKREFERENCE</code></li>
18
- * <li><code>PropertyType.UNDEFINED</code></li> </ul>
19
- * <code>PropertyType.UNDEFINED</code> is returned if this property may be
20
- * of any type.
21
- * <p>
22
- * In implementations that support node type registration, if this
23
- * <code>PropertyDefinition</code> object is actually a newly-created empty
24
- * <code>PropertyDefinitionTemplate</code>, then this method will return
25
- * <code>PropertyType.STRING</code>.
26
- *
27
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
28
- * @return an <code>int</code> constant member of <code>PropertyType</code>.
29
- */
30
- getRequiredType(): number;
31
-
32
- /**
33
- * Gets the array of constraint strings. Each string in the array specifies
34
- * a constraint on the value of the property. The constraints are OR-ed
35
- * together, meaning that in order to be valid, the value must meet at least
36
- * one of the constraints. For example, a constraint array of
37
- * <code>["constraint1", "constraint2", "constraint3"]</code> has the
38
- * interpretation: "the value of this property must meet at least one of
39
- * <code>constraint1</code>, <code>constraint2 </code>or
40
- * <code>constraint3</code>".
41
- * <p>
42
- * Reporting of value constraints is optional. An implementation may return
43
- * <code>null</code>, indicating that value constraint information is
44
- * unavailable (though a constraint may still exist).
45
- * <p>
46
- * Returning an empty array, on the other hand, indicates that value
47
- * constraint information is available and that no constraints are placed on
48
- * this value.
49
- * <p>
50
- * In the case of multi-value properties, the constraint string array
51
- * returned applies to all the values of the property.
52
- * <p>
53
- * The constraint strings themselves having differing formats and
54
- * interpretations depending on the type of the property in question. The
55
- * following describes the value constraint syntax for each property type:
56
- * <ul> <li> <code>STRING</code> and <code>URI</code>: The constraint string
57
- * is a regular expression pattern. For example the regular expression
58
- * "<code>.*</code>" means "any string, including the empty string". Whereas
59
- * a simple literal string (without any RE-specific meta-characters) like
60
- * "<code>banana</code>" matches only the string "<code>banana</code>".
61
- * </li> <li> <code>PATH</code>: The constraint string is a <i>JCR path</i>
62
- * with an optional "<code>*</code>" character after the last
63
- * "<code>/</code>" character. For example, possible constraint strings for
64
- * a property of type <code>PATH</code> include: <ol> <li>
65
- * "<code>/myapp:products/myapp:televisions</code>" </li> <li>
66
- * "<code>/myapp:products/myapp:televisions/</code>" </li> <li>
67
- * "<code>/myapp:products/*</code>" </li> <li> "<code>myapp:products/myapp:televisions</code>"
68
- * </li> <li> "<code>../myapp:televisions</code>" </li> <li>
69
- * "<code>../myapp:televisions/*</code>" </li> </ol> The following
70
- * principles apply: <ul> <li> The "*" means "matches descendants" not
71
- * "matches any subsequent path". For example, <code>/a/*</code> does not
72
- * match <code>/a/../c</code>. The constraint must match the normalized
73
- * path. </li> <li> Relative path constraint only match relative path values
74
- * and absolute path constraints only match absolute path values. </li> <li>
75
- * A trailing "<code>/</code>" has no effect (hence, <code>1</code> and
76
- * <code>2</code>, above, are equivalent). </li> <li> The trailing
77
- * "<code>*</code>" character means that the value of the <code>PATH</code>
78
- * property is restricted to the indicated subgraph (in other words any
79
- * additional relative path can replace the "<code>*</code>"). For example,
80
- * 3, above would allow <code>/myapp:products/myapp:radios</code>,
81
- * <code>/myapp:products/myapp:microwaves/X900</code>, and so forth. </li>
82
- * <li> A constraint without a "<code>*</code>" means that the
83
- * <code>PATH</code> property is restricted to that precise path. For
84
- * example, <code>1</code>, above, would allow only the value
85
- * <code>/myapp:products/myapp:televisions</code>. </li> <li> The constraint
86
- * can indicate either a relative path or an absolute path depending on
87
- * whether it includes a leading "<code>/</code>" character. <code>1</code>
88
- * and <code>4</code>, above for example, are distinct. </li> <li> The
89
- * string returned must reflect the namespace mapping in the current
90
- * <code>Session</code> (i.e., the current state of the namespace registry
91
- * overlaid with any session-specific mappings). Constraint strings for
92
- * <code>PATH</code> properties should be stored in fully-qualified form
93
- * (using the actual URI instead of the prefix) and then be converted to
94
- * prefix form according to the current mapping upon the
95
- * <code>PropertyDefinition.getValueConstraints</code> call. </li> </ul>
96
- * </li> <li> <code>NAME</code>: The constraint string is a <i>JCR name</i>
97
- * in prefix form. For example "<code>myapp:products</code>". No wildcards
98
- * or other pattern matching are supported. As with <code>PATH</code>
99
- * properties, the string returned must reflect the namespace mapping in the
100
- * current <code>Session</code>. Constraint strings for <code>NAME</code>
101
- * properties should be stored in fully-qualified form (using the actual URI
102
- * instead of the prefix) and then be converted to prefix form according to
103
- * the current mapping. </li> <li> <code>REFERENCE</code> and
104
- * <code>WEAKREFERENCE</code>: The constraint string is a <i>JCR name</i> in
105
- * prefix form. This name is interpreted as a node type name and the
106
- * <code>REFERENCE</code> or <code>WEAKREFERENCE</code> property is
107
- * restricted to referring only to nodes that have at least the indicated
108
- * node type. For example, a constraint of "<code>mytype:document</code>"
109
- * would indicate that the property in question can only refer to nodes that
110
- * have at least the node type <code>mytype:document</code> (assuming this
111
- * was the only constraint returned in the array, recall that the array of
112
- * constraints are to be ORed together). No wildcards or other pattern
113
- * matching are supported. As with <code>PATH</code> properties, the string
114
- * returned must reflect the namespace mapping in the current
115
- * <code>Session</code>. Constraint strings for <code>REFERENCE</code> and
116
- * <code>WEAKREFERENCE</code> properties should be stored by the
117
- * implementation in fully-qualified form (using the actual URI instead of
118
- * the prefix) and then be converted to prefix form according to the current
119
- * mapping. </li> <li> <code>BOOLEAN</code>: A constraint string can be
120
- * either "true" or "false". In most cases <code>getValueConstraints</code>
121
- * will return an empty array since placing a constraint on a
122
- * <code>BOOLEAN</code> value does not usually make sense. </li> </ul> The
123
- * remaining types all have value constraints in the form of inclusive or
124
- * exclusive ranges: i.e., "<code>[min, max]</code>", "<code>(min,
125
- * max)</code>", "<code>(min, max]</code>" or "<code>[min, max)</code>".
126
- * Where "<code>[</code>" and "<code>]</code>" indicate "inclusive", while
127
- * "<code>(</code>" and "<code>)</code>" indicate "exclusive". A missing
128
- * <code>min</code> or <code>max</code> value indicates no bound in that
129
- * direction. For example [,5] means no minimum but a maximum of 5
130
- * (inclusive) while [,] means simply that any value will suffice, The
131
- * meaning of the <code>min</code> and <code>max</code> values themselves
132
- * differ between types as follows: <ul> <li> <code>BINARY</code>:
133
- * <code>min</code> and <code>max</code> specify the allowed size range of
134
- * the binary value in bytes. </li> <li> <code>DATE</code>: <code>min</code>
135
- * and <code>max</code> are dates specifying the allowed date range. The
136
- * date strings must be in the ISO8601-compliant format:
137
- * <code>YYYY-MM-DDThh:mm:ss.sssTZD</code>. </li> <li> <code>LONG</code>,
138
- * <code>DOUBLE</code>: min and max are numbers. </li> </ul> In
139
- * implementations that support node type registration, when specifying that
140
- * a <code>DATE</code>, <code>LONG </code>or <code>DOUBLE </code> is
141
- * constrained to be equal to some disjunctive set of constants, a string
142
- * consisting of just the constant itself, "c" may be used as a shorthand
143
- * for the standard constraint notation of "[c, c]", where c is the
144
- * constant. For example, to indicate that particular LONG property is
145
- * constrained to be one of the values 2, 4, or 8, the constraint string
146
- * array {"2", "4", "8"} can be used instead of the standard notation,
147
- * {"[2,2]", "[4,4]", "[8,8]"}. However, even if this shorthand is used on
148
- * registration, the value returned by <code>PropertyDefinition.getValueConstraints()</code>
149
- * will always use the standard notation.
150
- * <p>
151
- * Because constraints are returned as an array of disjunctive constraints,
152
- * in many cases the elements of the array can serve directly as a "choice
153
- * list". This may, for example, be used by an application to display
154
- * options to the end user indicating the set of permitted values.
155
- * <p>
156
- * In implementations that support node type registration, if this
157
- * <code>PropertyDefinition</code> object is actually a newly-created empty
158
- * <code>PropertyDefinitionTemplate</code>, then this method will return
159
- * <code>null</code>.
160
- *
161
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
162
- * @return a <code>String</code> array.
163
- */
164
- getValueConstraints(): string;
165
-
166
- /**
167
- * Gets the default value(s) of the property. These are the values that the
168
- * property defined by this PropertyDefinition will be assigned if it is
169
- * automatically created (that is, if {@link #isAutoCreated()} returns
170
- * <code>true</code>).
171
- * <p>
172
- * This method returns an array of <code>Value</code> objects. If the
173
- * property is multi-valued, then this array represents the full set of
174
- * values that the property will be assigned upon being auto-created. Note
175
- * that this could be the empty array. If the property is single-valued,
176
- * then the array returned will be of size 1.
177
- * <p>
178
- * If <code>null</code> is returned, then the property has no fixed default
179
- * value. This does not exclude the possibility that the property still
180
- * assumes some value automatically, but that value may be parametrized (for
181
- * example, "the current date") and hence not expressible as a single fixed
182
- * value. In particular, this <i>must</i> be the case if
183
- * <code>isAutoCreated</code> returns <code>true</code> and this method
184
- * returns <code>null</code>.
185
- * <p>
186
- * Note that to indicate a <code>null</code> value for this attribute in a
187
- * node type definition that is stored in content, the
188
- * <code>jcr:defaultValues</code> property is simply removed (since
189
- * <code>null</code> values for properties are not allowed.
190
- * <p>
191
- * In implementations that support node type registration, if this
192
- * <code>PropertyDefinition</code> object is actually a newly-created empty
193
- * <code>PropertyDefinitionTemplate</code>, then this method will return
194
- * <code>null</code>.
195
- *
196
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
197
- * @return an array of <code>Value</code> objects.
198
- */
199
- getDefaultValues(): Value;
200
-
9
+ type PropertyDefinition = ItemDefinition & {
201
10
  /**
202
11
  * Reports whether this property can have multiple values. Note that the
203
12
  * <code>isMultiple</code> flag is special in that a given node type may
@@ -214,82 +23,6 @@ export type PropertyDefinition = {
214
23
  * @return a <code>boolean</code>
215
24
  */
216
25
  isMultiple(): boolean;
217
-
218
- /**
219
- * Returns the set of query comparison operators supported by this
220
- * property.
221
- * <p>
222
- * This attribute only takes effect if the node type holding the property
223
- * definition has a queryable setting of <code>true</code>.
224
- * <p>
225
- * JCR defines the following comparison operators: <ul> <li>{@link
226
- * javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_EQUAL_TO},</li>
227
- * <li>{@link javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_NOT_EQUAL_TO},</li>
228
- * <li>{@link javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_LESS_THAN},</li>
229
- * <li>{@link javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_LESS_THAN_OR_EQUAL_TO},</li>
230
- * <li>{@link javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_GREATER_THAN},</li>
231
- * <li>{@link javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_GREATER_THAN_OR_EQUAL_TO},
232
- * or</li> <li>{@link javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_LIKE}</li>
233
- * </ul> An implementation may define additional comparison operators.
234
- * <p>
235
- * Note that the set of operators that can appear in this attribute may be
236
- * limited by implementation-specific constraints that differ across
237
- * property types. For example, some implementations may permit property
238
- * definitions to provide <code>JCR_OPERATOR_EQUAL_TO</code> and
239
- * <code>JCR_OPERATOR_NOT_EQUAL_TO</code> as available operators for
240
- * <code>BINARY</code> properties while others may not.
241
- * <p>
242
- * However, in all cases where a JCR-defined operator <i>is</i> potentially
243
- * available for a given property type, its behavior must conform to the
244
- * comparison semantics defined in the specification document (see 3.6.5
245
- * <i>Comparison of Values</i>).
246
- * <p>
247
- * In implementations that support node type registration, if this
248
- * <code>NodeTypeDefinition</code> object is actually a newly-created empty
249
- * <code>NodeTypeTemplate</code>, then this method will return an impementation-
250
- * determined default set of operator constants.
251
- *
252
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
253
- * @return a <code>String</code> array.
254
- * @since JCR 2.0
255
- */
256
- getAvailableQueryOperators(): string;
257
-
258
- /**
259
- * Returns <code>true</code> if this property is full-text searchable,
260
- * meaning that its value is accessible through the full-text search
261
- * function within a query.
262
- * <p>
263
- * This attribute only takes effect if the node type holding the property
264
- * definition has a queryable setting of <code>true</code>.
265
- * <p>
266
- * In implementations that support node type registration, if this
267
- * <code>NodeTypeDefinition</code> object is actually a newly-created empty
268
- * <code>NodeTypeTemplate</code>, then this method will return an impementation-
269
- * determined default value.
270
- *
271
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
272
- * @return a <code>boolean</code>
273
- * @since JCR 2.0
274
- */
275
- isFullTextSearchable(): boolean;
276
-
277
- /**
278
- * Returns <code>true</code> if this property is query-orderable, meaning
279
- * that query results may be ordered by this property using the order-by
280
- * clause of a query.
281
- * <p>
282
- * This attribute only takes effect if the node type holding the property
283
- * definition has a queryable setting of <code>true</code>.
284
- * <p>
285
- * In implementations that support node type registration, if this
286
- * <code>NodeTypeDefinition</code> object is actually a newly-created empty
287
- * <code>NodeTypeTemplate</code>, then this method will return an impementation-
288
- * determined default value.
289
- *
290
- * <p><strong>Sitevision note:</strong> Unsupported operation</p>
291
- * @return a <code>boolean</code>
292
- * @since JCR 2.0
293
- */
294
- isQueryOrderable(): boolean;
295
26
  };
27
+
28
+ export = PropertyDefinition;