@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,692 +1,9 @@
1
- import type { Filter } from "../../types/senselogic/sitevision/api/base/Filter";
1
+ import type Filter from "../../types/senselogic/sitevision/api/base/Filter";
2
2
 
3
- import type { FilterSplit } from "../../types/senselogic/sitevision/api/base/FilterSplit";
3
+ import type FilterSplit from "../../types/senselogic/sitevision/api/base/FilterSplit";
4
4
  import CompoundAndFilterBuilder from "../CompoundAndFilterBuilder";
5
5
  import CompoundOrFilterBuilder from "../CompoundOrFilterBuilder";
6
6
 
7
- /**
8
- * Applies a node filter to a list and gets the result.
9
- * @param aNodeList the list of nodes
10
- * @param aNodeFilter a node filter
11
- * @return a list of all nodes of <code>aNodeList</code> that is accepted by <code>aNodeFilter</code>, never <code>null</code>. <code>aNodeList</code> itself is returned if it's empty or if <code>aNodeFilter</code> is <code>null</code>
12
- */
13
- export function getFilteredList(
14
- aNodeList: unknown,
15
- aNodeFilter: Filter
16
- ): unknown;
17
-
18
- /**
19
- * Applies a node filter to a Map with Node values and gets the result.
20
- * @param aNodeValueMap a map with node values
21
- * @param aNodeFilter a node filter
22
- * @return a Map with all <code>aNodeValueMap</code> entries with a value that is accepted by <code>aNodeFilter</code>, never <code>null</code>. <code>aNodeValueMap</code> itself is returned if it's empty or if <code>aNodeFilter</code> is <code>null</code>
23
- * @since Sitevision 4.3.1
24
- */
25
- export function getFilteredValueMap(
26
- aNodeValueMap: unknown,
27
- aNodeFilter: Filter
28
- ): unknown;
29
-
30
- /**
31
- * Applies a node filter to a Map with Node keys and gets the result.
32
- * @param aNodeKeyMap a map with node keys
33
- * @param aNodeFilter a node filter
34
- * @return a Map with all <code>aNodeKeyMap</code> entries with a key that is accepted by <code>aNodeFilter</code>, never <code>null</code>. <code>aNodeKeyMap</code> itself is returned if it's empty or if <code>aNodeFilter</code> is <code>null</code>
35
- * @since Sitevision 4.3.1
36
- */
37
- export function getFilteredKeyMap(
38
- aNodeKeyMap: unknown,
39
- aNodeFilter: Filter
40
- ): unknown;
41
-
42
- /**
43
- * Gets the filtering result of a split operation for a collection of nodes with a node filter as divider.
44
- *
45
- * <p>
46
- * This method would typically be used instead of {@link #getFilteredList(java.util.List, senselogic.sitevision.api.base.Filter)}
47
- * when you are also interested in the nodes that does NOT match the filter.
48
- * </p>
49
- *
50
- * <p>
51
- * When nodes are available via a <code>NodeIterator</code>, you would typically use the
52
- * {@link senselogic.sitevision.api.node.NodeIteratorUtil#split(javax.jcr.NodeIterator, senselogic.sitevision.api.base.Filter)}
53
- * instead!
54
- * </p>
55
- * @param aNodeCollection a node collection
56
- * @param aNodeFilter a node filter
57
- * @return the result of the filtering operation
58
- * @since Sitevision 3.6.3
59
- * @see senselogic.sitevision.api.node.NodeIteratorUtil#split(javax.jcr.NodeIterator, senselogic.sitevision.api.base.Filter)
60
- */
61
- export function split(
62
- aNodeCollection: unknown,
63
- aNodeFilter: Filter
64
- ): FilterSplit;
65
-
66
- /**
67
- * Gets a builder for creating a compound filter that requires that <em>all</em> of the containing filters matches.
68
- *
69
- * <p>
70
- * The CompoundAndFilterBuilder builds a node filter of multiple filters that are combined using the logical
71
- * <em>AND</em> operator.
72
- * </p>
73
- * @return a CompoundAndFilterBuilder
74
- */
75
- export function getCompoundAndFilterBuilder(): CompoundAndFilterBuilder;
76
-
77
- /**
78
- * Gets a builder for creating a compound filter that requires that <em>any</em> of the containing filters matches.
79
- *
80
- * <p>
81
- * The CompoundOrFilterBuilder builds a node filter of multiple filters that are combined using the logical
82
- * <em>OR</em> operator.
83
- * </p>
84
- * @return a CompoundOrFilterBuilder
85
- * @see #getAnyOfPrimaryNodeTypesFilter(Collection)
86
- */
87
- export function getCompoundOrFilterBuilder(): CompoundOrFilterBuilder;
88
-
89
- /**
90
- * Gets a filter that always matches.
91
- * @return a filter that matches all nodes.
92
- */
93
- export function getAlwaysAcceptFilter(): Filter;
94
-
95
- /**
96
- * Gets a filter that never matches.
97
- * @return a filter that never matches any nodes.
98
- */
99
- export function getNeverAcceptFilter(): Filter;
100
-
101
- /**
102
- * Gets a filter that matches null nodes.
103
- * @return a filter that matches null nodes.
104
- * @since Sitevision 4.3.1
105
- */
106
- export function getNullFilter(): Filter;
107
-
108
- /**
109
- * Gets a filter that matches non-null nodes.
110
- * @return a filter that matches non-null nodes.
111
- * @since Sitevision 4.3.1
112
- */
113
- export function getNonNullFilter(): Filter;
114
-
115
- /**
116
- * Gets a filter that inverts the result of another filter.
117
- * @param aFilter the filter to invert
118
- * @return a filter that inverts the result
119
- * @throws IllegalArgumentException if <code>aFilter</code> is <code>null</code>
120
- */
121
- export function getInvertedFilter(aFilter: Filter): Filter;
122
-
123
- /**
124
- * Gets a filter that matches by a specified node identifier.
125
- * @param aIdentifier the node identifier
126
- * @return a filter that matches all nodes (typically just one) with node identifier <code>aIdentifier</code>
127
- * @throws IllegalArgumentException if <code>aIdentifier</code> is <code>null</code> or whitespace only
128
- * @since Sitevision 4.1
129
- */
130
- export function getIdentifierFilter(aIdentifier: string): Filter;
131
-
132
- /**
133
- * Gets a filter that matches by a specified node identifier prefix.
134
- * @param aIdentifierPrefix the node identifier prefix
135
- * @return a filter that matches all nodes with an identifier that starts with <code>aIdentifierPrefix</code>
136
- * @throws IllegalArgumentException if <code>aIdentifierPrefix</code> is <code>null</code> or whitespace only
137
- * @since Sitevision 4.1
138
- */
139
- export function getIdentifierPrefixFilter(aIdentifierPrefix: string): Filter;
140
-
141
- /**
142
- * Gets a filter that matches by a specified node identifier suffix.
143
- * @param aIdentifierSuffix the node identifier suffix
144
- * @return a filter that matches all nodes with an identifier that ends with <code>aIdentifierSuffix</code>
145
- * @throws IllegalArgumentException if <code>aIdentifierSuffix</code> is <code>null</code> or whitespace only
146
- * @since Sitevision 4.1
147
- */
148
- export function getIdentifierSuffixFilter(aIdentifierSuffix: string): Filter;
149
-
150
- /**
151
- * Gets a filter that matches by a specified primary node type.
152
- * @param aPrimaryNodeTypeName the primary node type name
153
- * @return a filter that matches all nodes that has primary node type <code>aPrimaryNodeTypeName</code>
154
- * @throws IllegalArgumentException if <code>aPrimaryNodeTypeName</code> is <code>null</code> or whitespace only
155
- * @see #getAnyOfPrimaryNodeTypesFilter(Collection)
156
- * @see #getNoneOfPrimaryNodeTypesFilter(Collection)
157
- * @see senselogic.sitevision.api.node.NodeTypeUtil
158
- */
159
- export function getPrimaryNodeTypeFilter(aPrimaryNodeTypeName: string): Filter;
160
-
161
- /**
162
- * Gets a filter that matches all nodes that has a primary node type that is present in given collection.
163
- *
164
- * <p>
165
- * This convenience method is conceptually equivalent - but also more efficient - than building a "match any of" filter via
166
- * {@link #getCompoundOrFilterBuilder() CompoundOrFilter} with a number of {@link #getPrimaryNodeTypeFilter(String) PrimaryNodeTypeFilters}.
167
- * </p>
168
- * @param aPrimaryNodeTypeNames a collection of primary node type names, must not be null. Null and blank collection items will be silently ignored (such value are not a valid node type name)
169
- * @return a filter that matches all Nodes that has a primary node type that is present in aPrimaryNodeTypeNames.
170
- * @throws NullPointerException if aPrimaryNodeTypeNames is null
171
- * @see #getNoneOfPrimaryNodeTypesFilter(Collection)
172
- * @see senselogic.sitevision.api.node.NodeTypeUtil
173
- * @since Sitevision 8.1
174
- */
175
- export function getAnyOfPrimaryNodeTypesFilter(
176
- aPrimaryNodeTypeNames: unknown
177
- ): Filter;
178
-
179
- /**
180
- * Gets a filter that matches all nodes that does not have a primary node type present in given collection.
181
- *
182
- * <p>
183
- * This convenience method is conceptually equivalent - but also more efficient - than building a "match none of" filter via
184
- * {@link #getCompoundOrFilterBuilder() CompoundOrFilter} with a number of {@link #getPrimaryNodeTypeFilter(String) PrimaryNodeTypeFilters}
185
- * and a {@link #getInvertedFilter(Filter) InvertedFilter}
186
- * </p>
187
- * @param aExcludedPrimaryNodeTypeNames a collection of primary node type names, must not be null. Null and blank collection items will be silently ignored (such value are not a valid node type name)
188
- * @return a filter that matches all Nodes that does not have a primary node type present in aExcludedPrimaryNodeTypeNames.
189
- * @throws NullPointerException if aExcludedPrimaryNodeTypeNames is null
190
- * @see #getAnyOfPrimaryNodeTypesFilter(Collection)
191
- * @see senselogic.sitevision.api.node.NodeTypeUtil
192
- * @since Sitevision 8.1
193
- */
194
- export function getNoneOfPrimaryNodeTypesFilter(
195
- aExcludedPrimaryNodeTypeNames: unknown
196
- ): Filter;
197
-
198
- /**
199
- * Gets a filter that matches by the existence of a specified property.
200
- * @param aPropertyName the name of the property
201
- * @return a filter that matches all nodes that has a property named <code>aPropertyName</code>
202
- * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only
203
- * @see javax.jcr.Node#hasProperty(String)
204
- */
205
- export function getHasPropertyFilter(aPropertyName: string): Filter;
206
-
207
- /**
208
- * Gets a filter that matches by a specified string property.
209
- * @param aPropertyName the name of the property
210
- * @param aMatchValue the value of the property
211
- * @return a filter that matches all nodes that has a string property named <code>aPropertyName</code> with value <code>aMatchValue</code>
212
- * @throws IllegalArgumentException if <code>aPropertyName</code> or <code>aMatchValue</code> is <code>null</code>
213
- * @see senselogic.sitevision.api.property.PropertyUtil#getString(javax.jcr.Node, String)
214
- */
215
- export function getStringPropertyFilter(
216
- aPropertyName: string,
217
- aMatchValue: string
218
- ): Filter;
219
-
220
- /**
221
- * Gets a filter that matches by a specified multi-valued string property.
222
- * @param aPropertyName the name of the property
223
- * @param aMatchValue the value of the property
224
- * @return a filter that matches all nodes that has a string property named <code>aPropertyName</code> with value <code>aMatchValue</code>
225
- * @throws IllegalArgumentException if <code>aPropertyName</code> or <code>aMatchValue</code> is <code>null</code>
226
- * @see senselogic.sitevision.api.property.PropertyUtil#getStrings(javax.jcr.Node, String)
227
- */
228
- export function getStringMultiPropertyFilter(
229
- aPropertyName: string,
230
- aMatchValue: string
231
- ): Filter;
232
-
233
- /**
234
- * Gets a filter that matches case-insensitive by a specified string property.
235
- * @param aPropertyName the name of the property
236
- * @param aCaseInsensitiveValue the case-insensitive value of the property
237
- * @return a filter that matches all nodes that has a string property named <code>aPropertyName</code> with value <code>aCaseInsensitiveValue</code>
238
- * @throws IllegalArgumentException if <code>aPropertyName</code> or <code>aCaseInsensitiveValue</code> is <code>null</code>
239
- */
240
- export function getIgnoreCaseStringPropertyFilter(
241
- aPropertyName: string,
242
- aCaseInsensitiveValue: string
243
- ): Filter;
244
-
245
- /**
246
- * Gets a filter that matches by the value-starts-with of a specified string property.
247
- *
248
- * <p>
249
- * <em>The starts-with check is performed using the <code>String.startsWith(String)</code> method.</em>
250
- * </p>
251
- * @param aPropertyName the name of the property
252
- * @param aStartsWithValue the value the property should start with
253
- * @return a filter that matches all nodes that has a string property named <code>aPropertyName</code> that starts with value <code>aStartsWithValue</code>
254
- * @throws IllegalArgumentException if <code>aPropertyName</code> or <code>aStartsWithValue</code> is <code>null</code>
255
- */
256
- export function getStartsWithStringPropertyFilter(
257
- aPropertyName: string,
258
- aStartsWithValue: string
259
- ): Filter;
260
-
261
- /**
262
- * Gets a filter that matches by the value-ends-with of a specified string property.
263
- *
264
- * <p>
265
- * <em>The ends-with check is performed using the <code>String.endsWith(String)</code> method.</em>
266
- * </p>
267
- * @param aPropertyName the name of the property
268
- * @param aEndsWithValue the value the property should end with
269
- * @return a filter that matches all nodes that has a string property named <code>aPropertyName</code> that ends with value <code>aEndsWithValue</code>
270
- * @throws IllegalArgumentException if <code>aPropertyName</code> or <code>aEndsWithValue</code> is <code>null</code>
271
- */
272
- export function getEndsWithStringPropertyFilter(
273
- aPropertyName: string,
274
- aEndsWithValue: string
275
- ): Filter;
276
-
277
- /**
278
- * Gets a filter that matches by the value-contains of a specified string property.
279
- *
280
- * <p>
281
- * <em>The contains check is performed using the <code>String.contains(String)</code> method.</em>
282
- * </p>
283
- * @param aPropertyName the name of the property
284
- * @param aContainsValue the value the property should contain
285
- * @return a filter that matches all nodes that has a string property named <code>aPropertyName</code> that contains value <code>aContainsValue</code>
286
- * @throws IllegalArgumentException if <code>aPropertyName</code> or <code>aContainsValue</code> is <code>null</code>
287
- */
288
- export function getContainsStringPropertyFilter(
289
- aPropertyName: string,
290
- aContainsValue: string
291
- ): Filter;
292
-
293
- /**
294
- * Gets a filter that matches by the value-contains of a specified multi-valued string property.
295
- *
296
- * <p>
297
- * <em>The contains check is performed using the <code>String.contains(String)</code> method for each extracted property value.</em>
298
- * </p>
299
- * @param aPropertyName the name of the property
300
- * @param aContainsValue the value the property should contain
301
- * @return a filter that matches all nodes that has a string property named <code>aPropertyName</code> that contains value <code>aContainsValue</code>
302
- * @throws IllegalArgumentException if <code>aPropertyName</code> or <code>aContainsValue</code> is <code>null</code>
303
- */
304
- export function getContainsStringMultiPropertyFilter(
305
- aPropertyName: string,
306
- aContainsValue: string
307
- ): Filter;
308
-
309
- /**
310
- * Gets a filter that matches by a regular expression of a specified string property.
311
- *
312
- * <p>
313
- * <em>The regular expression is compiled to a <code>Pattern</code> and the check is performed using the
314
- * <code>matches()</code> method of the <code>Matcher</code> extracted from the compiled pattern via
315
- * <code>Pattern.matcher(String)</code>.</em>
316
- * </p>
317
- * @param aPropertyName the name of the property
318
- * @param aRegularExpression the regular expression
319
- * @return a filter that matches all nodes that has a string property named <code>aPropertyName</code> that matches <code>aRegularExpression</code>
320
- * @throws IllegalArgumentException if <code>aPropertyName</code> or <code>aRegularExpression</code> is <code>null</code>
321
- * @throws PatternSyntaxException if the compilation of <code>aRegularExpression</code> fails
322
- */
323
- export function getPatternStringPropertyFilter(
324
- aPropertyName: string,
325
- aRegularExpression: string
326
- ): Filter;
327
-
328
- /**
329
- * Gets a filter that matches by a regular expression of a specified multi-valued string property.
330
- *
331
- * <p>
332
- * <em>The regular expression is compiled to a <code>Pattern</code> and the check for each extracted property value is performed using the
333
- * <code>matches()</code> method of the <code>Matcher</code> extracted from the compiled pattern via
334
- * <code>Pattern.matcher(String)</code>.</em>
335
- * </p>
336
- * @param aPropertyName the name of the property
337
- * @param aRegularExpression the regular expression
338
- * @return a filter that matches all nodes that has a string property named <code>aPropertyName</code> that matches <code>aRegularExpression</code>
339
- * @throws IllegalArgumentException if <code>aPropertyName</code> or <code>aRegularExpression</code> is <code>null</code>
340
- * @throws PatternSyntaxException if the compilation of <code>aRegularExpression</code> fails
341
- */
342
- export function getPatternStringMultiPropertyFilter(
343
- aPropertyName: string,
344
- aRegularExpression: string
345
- ): Filter;
346
-
347
- /**
348
- * Gets a filter that matches by a specified boolean property.
349
- * @param aPropertyName the name of the property
350
- * @param aMatchValue the value of the property
351
- * @return a filter that matches all nodes that has a boolean property named <code>aPropertyName</code> with value <code>aMatchValue</code>
352
- * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only
353
- * @see senselogic.sitevision.api.property.PropertyUtil#getBoolean(javax.jcr.Node, String)
354
- */
355
- export function getBooleanPropertyFilter(
356
- aPropertyName: string,
357
- aMatchValue: boolean
358
- ): Filter;
359
-
360
- /**
361
- * Gets a filter that matches by a nested node's specified boolean property.
362
- * @param aNodePropertyName the name of the property for the Node
363
- * @param aPropertyName the name of the property for the "inner/nested" Node specified by <code>aNodePropertyName</code>
364
- * @param aMatchValue the value of the property
365
- * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value <code>aMatchValue</code>
366
- * @throws IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only
367
- * @see senselogic.sitevision.api.property.PropertyUtil#getNestedBoolean(javax.jcr.Node, String, String)
368
- */
369
- export function getNestedBooleanPropertyFilter(
370
- aNodePropertyName: string,
371
- aPropertyName: string,
372
- aMatchValue: boolean
373
- ): Filter;
374
-
375
- /**
376
- * Gets a filter that matches by a specified int property.
377
- * @param aPropertyName the name of the property
378
- * @param aMatchValue the value of the property
379
- * @return a filter that matches all nodes that has a int property named <code>aPropertyName</code> with value <code>aMatchValue</code>
380
- * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only
381
- * @see senselogic.sitevision.api.property.PropertyUtil#getInt(javax.jcr.Node, String)
382
- */
383
- export function getIntPropertyFilter(
384
- aPropertyName: string,
385
- aMatchValue: number
386
- ): Filter;
387
-
388
- /**
389
- * Gets a filter that matches by the min value of a specified int property.
390
- * @param aPropertyName the name of the property
391
- * @param aMinValue the min value of the property
392
- * @return a filter that matches all nodes that has a int property named <code>aPropertyName</code> with value <code>aMinValue</code> or higher
393
- * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only
394
- */
395
- export function getMinIntPropertyFilter(
396
- aPropertyName: string,
397
- aMinValue: number
398
- ): Filter;
399
-
400
- /**
401
- * Gets a filter that matches by the max value of a specified int property.
402
- * @param aPropertyName the name of the property
403
- * @param aMaxValue the max value of the property
404
- * @return a filter that matches all nodes that has a int property named <code>aPropertyName</code> with value <code>aMaxValue</code> or lower
405
- * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only
406
- */
407
- export function getMaxIntPropertyFilter(
408
- aPropertyName: string,
409
- aMaxValue: number
410
- ): Filter;
411
-
412
- /**
413
- * Gets a filter that matches by the range of a specified int property.
414
- *
415
- * <p>
416
- * <em>This is a convenience method that combines the min int filter ({@link #getMinIntPropertyFilter(String, int)})
417
- * and the max int filter ({@link #getMinIntPropertyFilter(String, int)}) to check a range for an integer.</em>
418
- * </p>
419
- * @param aPropertyName the name of the property
420
- * @param aMinValue the min value of the property
421
- * @param aMaxValue the max value of the property
422
- * @return a filter that matches all nodes that has a int property named <code>aPropertyName</code> with value within inclusive range <code>[aMinValue..aMaxValue]</code>
423
- * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only, or if <code>aMinValue</code> is greater than <code>aMaxValue</code>
424
- */
425
- export function getRangeIntPropertyFilter(
426
- aPropertyName: string,
427
- aMinValue: number,
428
- aMaxValue: number
429
- ): Filter;
430
-
431
- /**
432
- * Gets a filter that matches by a nested node's specified int property.
433
- * @param aNodePropertyName the name of the property for the Node
434
- * @param aPropertyName the name of the property for the "inner/nested" Node specified by <code>aNodePropertyName</code>
435
- * @param aMatchValue the value of the property
436
- * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value <code>aMatchValue</code>
437
- * @throws IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only
438
- * @see senselogic.sitevision.api.property.PropertyUtil#getNestedInt(javax.jcr.Node, String, String)
439
- */
440
- export function getNestedIntPropertyFilter(
441
- aNodePropertyName: string,
442
- aPropertyName: string,
443
- aMatchValue: number
444
- ): Filter;
445
-
446
- /**
447
- * Gets a filter that matches by a nested node's min value of a specified int property.
448
- * @param aNodePropertyName the name of the property for the Node
449
- * @param aPropertyName the name of the property for the "inner/nested" Node specified by <code>aNodePropertyName</code>
450
- * @param aMinValue the min value of the property
451
- * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value <code>aMatchValue</code> or higher
452
- * @throws IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only
453
- * @see senselogic.sitevision.api.property.PropertyUtil#getNestedInt(javax.jcr.Node, String, String)
454
- */
455
- export function getMinNestedIntPropertyFilter(
456
- aNodePropertyName: string,
457
- aPropertyName: string,
458
- aMinValue: number
459
- ): Filter;
460
-
461
- /**
462
- * Gets a filter that matches by a nested node's max value of a specified int property.
463
- * @param aNodePropertyName the name of the property for the Node
464
- * @param aPropertyName the name of the property for the "inner/nested" Node specified by <code>aNodePropertyName</code>
465
- * @param aMaxValue the max value of the property
466
- * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value <code>aMatchValue</code> or lower
467
- * @throws IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only
468
- * @see senselogic.sitevision.api.property.PropertyUtil#getNestedInt(javax.jcr.Node, String, String)
469
- */
470
- export function getMaxNestedIntPropertyFilter(
471
- aNodePropertyName: string,
472
- aPropertyName: string,
473
- aMaxValue: number
474
- ): Filter;
475
-
476
- /**
477
- * Gets a filter that matches by a nested node's range of a specified int property.
478
- *
479
- * <p>
480
- * <em>This is a convenience method that combines the nested min int filter ({@link #getMinNestedIntPropertyFilter(String, String, int)})
481
- * and the nested max int filter ({@link #getMaxNestedIntPropertyFilter(String, String, int)}) to check a range for an integer.</em>
482
- * </p>
483
- * @param aNodePropertyName the name of the property for the Node
484
- * @param aPropertyName the name of the property for the "inner/nested" Node specified by <code>aNodePropertyName</code>
485
- * @param aMinValue the min value of the property
486
- * @param aMaxValue the max value of the property
487
- * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value within inclusive range <code>[aMinValue..aMaxValue]</code>
488
- * @throws IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only, or if <code>aMinValue</code> is greater than <code>aMaxValue</code>
489
- */
490
- export function getRangeNestedIntPropertyFilter(
491
- aNodePropertyName: string,
492
- aPropertyName: string,
493
- aMinValue: number,
494
- aMaxValue: number
495
- ): Filter;
496
-
497
- /**
498
- * Gets a filter that matches by a specified double property.
499
- * @param aPropertyName the name of the property
500
- * @param aMatchValue the value of the property
501
- * @return a filter that matches all nodes that has a double property named <code>aPropertyName</code> with value <code>aMatchValue</code>
502
- * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only
503
- * @see senselogic.sitevision.api.property.PropertyUtil#getDouble(javax.jcr.Node, String)
504
- */
505
- export function getDoublePropertyFilter(
506
- aPropertyName: string,
507
- aMatchValue: number
508
- ): Filter;
509
-
510
- /**
511
- * Gets a filter that matches by a nested node's specified double property.
512
- * @param aNodePropertyName the name of the property for the Node
513
- * @param aPropertyName the name of the property for the "inner/nested" Node specified by <code>aNodePropertyName</code>
514
- * @param aMatchValue the value of the property
515
- * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value <code>aMatchValue</code>
516
- * @throws IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only
517
- * @see senselogic.sitevision.api.property.PropertyUtil#getNestedDouble(javax.jcr.Node, String, String)
518
- */
519
- export function getNestedDoublePropertyFilter(
520
- aNodePropertyName: string,
521
- aPropertyName: string,
522
- aMatchValue: number
523
- ): Filter;
524
-
525
- /**
526
- * Gets a filter that matches by the min value of a specified double property.
527
- * @param aPropertyName the name of the property
528
- * @param aMinValue the min value of the property
529
- * @return a filter that matches all nodes that has a double property named <code>aPropertyName</code> with value <code>aMinValue</code> or higher
530
- * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only
531
- */
532
- export function getMinDoublePropertyFilter(
533
- aPropertyName: string,
534
- aMinValue: number
535
- ): Filter;
536
-
537
- /**
538
- * Gets a filter that matches by the max value of a specified double property.
539
- * @param aPropertyName the name of the property
540
- * @param aMaxValue the max value of the property
541
- * @return a filter that matches all nodes that has a double property named <code>aPropertyName</code> with value <code>aMaxValue</code> or lower
542
- * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only
543
- */
544
- export function getMaxDoublePropertyFilter(
545
- aPropertyName: string,
546
- aMaxValue: number
547
- ): Filter;
548
-
549
- /**
550
- * Gets a filter that matches by the range of a specified double property.
551
- *
552
- * <p>
553
- * <em>This is a convenience method that combines the min double filter ({@link #getMinDoublePropertyFilter(String, double)})
554
- * and the max double filter ({@link #getMaxDoublePropertyFilter(String, double)}) to check a range for a double.</em>
555
- * </p>
556
- * @param aPropertyName the name of the property
557
- * @param aMinValue the min value of the property
558
- * @param aMaxValue the max value of the property
559
- * @return a filter that matches all nodes that has a double property named <code>aPropertyName</code> with value within inclusive range <code>[aMinValue..aMaxValue]</code>
560
- * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only, or if <code>aMinValue</code> is greater than <code>aMaxValue</code>
561
- */
562
- export function getRangeDoublePropertyFilter(
563
- aPropertyName: string,
564
- aMinValue: number,
565
- aMaxValue: number
566
- ): Filter;
567
-
568
- /**
569
- * Gets a filter that matches by a specified Calendar property.
570
- * @param aPropertyName the name of the property
571
- * @param aMatchValue the value of the property
572
- * @return a filter that matches all nodes that has a Calendar property named <code>aPropertyName</code> with value <code>aMatchValue</code>
573
- * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only, or <code>aMatchValue</code> is <code>null</code>
574
- * @see senselogic.sitevision.api.property.PropertyUtil#getCalendar(javax.jcr.Node, String)
575
- */
576
- export function getCalendarPropertyFilter(
577
- aPropertyName: string,
578
- aMatchValue: unknown
579
- ): Filter;
580
-
581
- /**
582
- * Gets a filter that matches by a nested node's specified Calendar property.
583
- * @param aNodePropertyName the name of the property for the Node
584
- * @param aPropertyName the name of the property for the "inner/nested" Node specified by <code>aNodePropertyName</code>
585
- * @param aMatchValue the value of the property
586
- * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value <code>aMatchValue</code>
587
- * @throws IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only, or if <code>aMatchValue</code> is <code>null</code>
588
- * @see senselogic.sitevision.api.property.PropertyUtil#getNestedCalendar(javax.jcr.Node, String, String)
589
- */
590
- export function getNestedCalendarPropertyFilter(
591
- aNodePropertyName: string,
592
- aPropertyName: string,
593
- aMatchValue: unknown
594
- ): Filter;
595
-
596
- /**
597
- * Gets a filter that matches by a before value for a specified Calendar property.
598
- * @param aPropertyName the name of the property
599
- * @param aBeforeThresholdValue the before threshold value of the property
600
- * @return a filter that matches all nodes that has a Calendar property named <code>aPropertyName</code> with value before <code>aBeforeThresholdValue</code>
601
- * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only, or <code>aBeforeThresholdValue</code> is <code>null</code>
602
- */
603
- export function getBeforeCalendarPropertyFilter(
604
- aPropertyName: string,
605
- aBeforeThresholdValue: unknown
606
- ): Filter;
607
-
608
- /**
609
- * Gets a filter that matches by a before value of a nested node's specified Calendar property.
610
- * @param aNodePropertyName the name of the property for the Node
611
- * @param aPropertyName the name of the property for the "inner/nested" Node specified by <code>aNodePropertyName</code>
612
- * @param aBeforeThresholdValue the before threshold value of the property
613
- * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value before <code>aBeforeThresholdValue</code>
614
- * @throws IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only, or if <code>aBeforeThresholdValue</code> is <code>null</code>
615
- */
616
- export function getBeforeNestedCalendarPropertyFilter(
617
- aNodePropertyName: string,
618
- aPropertyName: string,
619
- aBeforeThresholdValue: unknown
620
- ): Filter;
621
-
622
- /**
623
- * Gets a filter that matches by an after value for a specified Calendar property.
624
- * @param aPropertyName the name of the property
625
- * @param aAfterThresholdValue the after threshold value of the property
626
- * @return a filter that matches all nodes that has a Calendar property named <code>aPropertyName</code> with value after <code>aAfterThresholdValue</code>
627
- * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only, or <code>aAfterThresholdValue</code> is <code>null</code>
628
- */
629
- export function getAfterCalendarPropertyFilter(
630
- aPropertyName: string,
631
- aAfterThresholdValue: unknown
632
- ): Filter;
633
-
634
- /**
635
- * Gets a filter that matches by an after value of a nested node's specified Calendar property.
636
- * @param aNodePropertyName the name of the property for the Node
637
- * @param aPropertyName the name of the property for the "inner/nested" Node specified by <code>aNodePropertyName</code>
638
- * @param aAfterThresholdValue the after threshold value of the property
639
- * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value after <code>aAfterThresholdValue</code>
640
- * @throws IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only, or if <code>aAfterThresholdValue</code> is <code>null</code>
641
- */
642
- export function getAfterNestedCalendarPropertyFilter(
643
- aNodePropertyName: string,
644
- aPropertyName: string,
645
- aAfterThresholdValue: unknown
646
- ): Filter;
647
-
648
- /**
649
- * Gets a filter that matches by the between range of a specified Calendar property.
650
- *
651
- * <p>
652
- * <em>This is a convenience method that combines the after calendar filter
653
- * ({@link #getAfterCalendarPropertyFilter(String, java.util.Calendar)})
654
- * and the before calendar filter ({@link #getBeforeCalendarPropertyFilter(String, java.util.Calendar)}) to check a range for a Calendar.</em>
655
- * </p>
656
- * @param aPropertyName the name of the property
657
- * @param aAfterThresholdValue the after threshold value of the property
658
- * @param aBeforeThresholdValue the before threshold value of the property
659
- * @return a filter that matches all nodes that has a Calendar property named <code>aPropertyName</code> with value between exclusive range <code>[aAfterThresholdValue..aBeforeThresholdValue]</code>
660
- * @throws IllegalArgumentException IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only, or if <code>aAfterThresholdValue</code> or <code>aBeforeThresholdValue</code> is <code>null</code>, or if <code>aAfterThresholdValue</code> is after <code>aBeforeThresholdValue</code>
661
- */
662
- export function getRangeCalendarPropertyFilter(
663
- aPropertyName: string,
664
- aAfterThresholdValue: unknown,
665
- aBeforeThresholdValue: unknown
666
- ): Filter;
667
-
668
- /**
669
- * Gets a filter that matches by the between range of a nested node's specified Calendar property.
670
- *
671
- * <p>
672
- * <em>This is a convenience method that combines the nested after calendar filter
673
- * ({@link #getAfterNestedCalendarPropertyFilter(String, String, java.util.Calendar)}) and the nested before calendar filter
674
- * ({@link #getBeforeNestedCalendarPropertyFilter(String, String, java.util.Calendar)}) to check a range for a Calendar.</em>
675
- * </p>
676
- * @param aNodePropertyName the name of the property for the Node
677
- * @param aPropertyName the name of the property
678
- * @param aAfterThresholdValue the after threshold value of the property
679
- * @param aBeforeThresholdValue the before threshold value of the property
680
- * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value between exclusive range <code>[aAfterThresholdValue..aBeforeThresholdValue]</code>
681
- * @throws IllegalArgumentException IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only, or if <code>aAfterThresholdValue</code> or <code>aBeforeThresholdValue</code> is <code>null</code>, or if <code>aAfterThresholdValue</code> is after <code>aBeforeThresholdValue</code>
682
- */
683
- export function getRangeNestedCalendarPropertyFilter(
684
- aNodePropertyName: string,
685
- aPropertyName: string,
686
- aAfterThresholdValue: unknown,
687
- aBeforeThresholdValue: unknown
688
- ): Filter;
689
-
690
7
  /**
691
8
  * Node filter utility interface.
692
9
  *
@@ -780,59 +97,655 @@ export function getRangeNestedCalendarPropertyFilter(
780
97
  * @author Magnus Lövgren
781
98
  * @since Sitevision 3.6.2
782
99
  */
783
- declare namespace nodeFilterUtil {
784
- export {
785
- getFilteredList,
786
- getFilteredValueMap,
787
- getFilteredKeyMap,
788
- split,
789
- getCompoundAndFilterBuilder,
790
- getCompoundOrFilterBuilder,
791
- getAlwaysAcceptFilter,
792
- getNeverAcceptFilter,
793
- getNullFilter,
794
- getNonNullFilter,
795
- getInvertedFilter,
796
- getIdentifierFilter,
797
- getIdentifierPrefixFilter,
798
- getIdentifierSuffixFilter,
799
- getPrimaryNodeTypeFilter,
800
- getAnyOfPrimaryNodeTypesFilter,
801
- getNoneOfPrimaryNodeTypesFilter,
802
- getHasPropertyFilter,
803
- getStringPropertyFilter,
804
- getStringMultiPropertyFilter,
805
- getIgnoreCaseStringPropertyFilter,
806
- getStartsWithStringPropertyFilter,
807
- getEndsWithStringPropertyFilter,
808
- getContainsStringPropertyFilter,
809
- getContainsStringMultiPropertyFilter,
810
- getPatternStringPropertyFilter,
811
- getPatternStringMultiPropertyFilter,
812
- getBooleanPropertyFilter,
813
- getNestedBooleanPropertyFilter,
814
- getIntPropertyFilter,
815
- getMinIntPropertyFilter,
816
- getMaxIntPropertyFilter,
817
- getRangeIntPropertyFilter,
818
- getNestedIntPropertyFilter,
819
- getMinNestedIntPropertyFilter,
820
- getMaxNestedIntPropertyFilter,
821
- getRangeNestedIntPropertyFilter,
822
- getDoublePropertyFilter,
823
- getNestedDoublePropertyFilter,
824
- getMinDoublePropertyFilter,
825
- getMaxDoublePropertyFilter,
826
- getRangeDoublePropertyFilter,
827
- getCalendarPropertyFilter,
828
- getNestedCalendarPropertyFilter,
829
- getBeforeCalendarPropertyFilter,
830
- getBeforeNestedCalendarPropertyFilter,
831
- getAfterCalendarPropertyFilter,
832
- getAfterNestedCalendarPropertyFilter,
833
- getRangeCalendarPropertyFilter,
834
- getRangeNestedCalendarPropertyFilter,
835
- };
100
+ export interface NodeFilterUtil {
101
+ /**
102
+ * Applies a node filter to a list and gets the result.
103
+ * @param aNodeList the list of nodes
104
+ * @param aNodeFilter a node filter
105
+ * @return a list of all nodes of <code>aNodeList</code> that is accepted by <code>aNodeFilter</code>, never <code>null</code>. <code>aNodeList</code> itself is returned if it's empty or if <code>aNodeFilter</code> is <code>null</code>
106
+ */
107
+ getFilteredList(aNodeList: unknown, aNodeFilter: Filter): unknown;
108
+
109
+ /**
110
+ * Applies a node filter to a Map with Node values and gets the result.
111
+ * @param aNodeValueMap a map with node values
112
+ * @param aNodeFilter a node filter
113
+ * @return a Map with all <code>aNodeValueMap</code> entries with a value that is accepted by <code>aNodeFilter</code>, never <code>null</code>. <code>aNodeValueMap</code> itself is returned if it's empty or if <code>aNodeFilter</code> is <code>null</code>
114
+ * @since Sitevision 4.3.1
115
+ */
116
+ getFilteredValueMap(aNodeValueMap: unknown, aNodeFilter: Filter): unknown;
117
+
118
+ /**
119
+ * Applies a node filter to a Map with Node keys and gets the result.
120
+ * @param aNodeKeyMap a map with node keys
121
+ * @param aNodeFilter a node filter
122
+ * @return a Map with all <code>aNodeKeyMap</code> entries with a key that is accepted by <code>aNodeFilter</code>, never <code>null</code>. <code>aNodeKeyMap</code> itself is returned if it's empty or if <code>aNodeFilter</code> is <code>null</code>
123
+ * @since Sitevision 4.3.1
124
+ */
125
+ getFilteredKeyMap(aNodeKeyMap: unknown, aNodeFilter: Filter): unknown;
126
+
127
+ /**
128
+ * Gets the filtering result of a split operation for a collection of nodes with a node filter as divider.
129
+ *
130
+ * <p>
131
+ * This method would typically be used instead of {@link #getFilteredList(java.util.List, senselogic.sitevision.api.base.Filter)}
132
+ * when you are also interested in the nodes that does NOT match the filter.
133
+ * </p>
134
+ *
135
+ * <p>
136
+ * When nodes are available via a <code>NodeIterator</code>, you would typically use the
137
+ * {@link senselogic.sitevision.api.node.NodeIteratorUtil#split(javax.jcr.NodeIterator, senselogic.sitevision.api.base.Filter)}
138
+ * instead!
139
+ * </p>
140
+ * @param aNodeCollection a node collection
141
+ * @param aNodeFilter a node filter
142
+ * @return the result of the filtering operation
143
+ * @since Sitevision 3.6.3
144
+ * @see senselogic.sitevision.api.node.NodeIteratorUtil#split(javax.jcr.NodeIterator, senselogic.sitevision.api.base.Filter)
145
+ */
146
+ split(aNodeCollection: unknown, aNodeFilter: Filter): FilterSplit;
147
+
148
+ /**
149
+ * Gets a builder for creating a compound filter that requires that <em>all</em> of the containing filters matches.
150
+ *
151
+ * <p>
152
+ * The CompoundAndFilterBuilder builds a node filter of multiple filters that are combined using the logical
153
+ * <em>AND</em> operator.
154
+ * </p>
155
+ * @return a CompoundAndFilterBuilder
156
+ */
157
+ getCompoundAndFilterBuilder(): CompoundAndFilterBuilder;
158
+
159
+ /**
160
+ * Gets a builder for creating a compound filter that requires that <em>any</em> of the containing filters matches.
161
+ *
162
+ * <p>
163
+ * The CompoundOrFilterBuilder builds a node filter of multiple filters that are combined using the logical
164
+ * <em>OR</em> operator.
165
+ * </p>
166
+ * @return a CompoundOrFilterBuilder
167
+ * @see #getAnyOfPrimaryNodeTypesFilter(Collection)
168
+ */
169
+ getCompoundOrFilterBuilder(): CompoundOrFilterBuilder;
170
+
171
+ /**
172
+ * Gets a filter that always matches.
173
+ * @return a filter that matches all nodes.
174
+ */
175
+ getAlwaysAcceptFilter(): Filter;
176
+
177
+ /**
178
+ * Gets a filter that never matches.
179
+ * @return a filter that never matches any nodes.
180
+ */
181
+ getNeverAcceptFilter(): Filter;
182
+
183
+ /**
184
+ * Gets a filter that matches null nodes.
185
+ * @return a filter that matches null nodes.
186
+ * @since Sitevision 4.3.1
187
+ */
188
+ getNullFilter(): Filter;
189
+
190
+ /**
191
+ * Gets a filter that matches non-null nodes.
192
+ * @return a filter that matches non-null nodes.
193
+ * @since Sitevision 4.3.1
194
+ */
195
+ getNonNullFilter(): Filter;
196
+
197
+ /**
198
+ * Gets a filter that inverts the result of another filter.
199
+ * @param aFilter the filter to invert
200
+ * @return a filter that inverts the result
201
+ * @throws IllegalArgumentException if <code>aFilter</code> is <code>null</code>
202
+ */
203
+ getInvertedFilter(aFilter: Filter): Filter;
204
+
205
+ /**
206
+ * Gets a filter that matches by a specified node identifier.
207
+ * @param aIdentifier the node identifier
208
+ * @return a filter that matches all nodes (typically just one) with node identifier <code>aIdentifier</code>
209
+ * @throws IllegalArgumentException if <code>aIdentifier</code> is <code>null</code> or whitespace only
210
+ * @since Sitevision 4.1
211
+ */
212
+ getIdentifierFilter(aIdentifier: string): Filter;
213
+
214
+ /**
215
+ * Gets a filter that matches by a specified node identifier prefix.
216
+ * @param aIdentifierPrefix the node identifier prefix
217
+ * @return a filter that matches all nodes with an identifier that starts with <code>aIdentifierPrefix</code>
218
+ * @throws IllegalArgumentException if <code>aIdentifierPrefix</code> is <code>null</code> or whitespace only
219
+ * @since Sitevision 4.1
220
+ */
221
+ getIdentifierPrefixFilter(aIdentifierPrefix: string): Filter;
222
+
223
+ /**
224
+ * Gets a filter that matches by a specified node identifier suffix.
225
+ * @param aIdentifierSuffix the node identifier suffix
226
+ * @return a filter that matches all nodes with an identifier that ends with <code>aIdentifierSuffix</code>
227
+ * @throws IllegalArgumentException if <code>aIdentifierSuffix</code> is <code>null</code> or whitespace only
228
+ * @since Sitevision 4.1
229
+ */
230
+ getIdentifierSuffixFilter(aIdentifierSuffix: string): Filter;
231
+
232
+ /**
233
+ * Gets a filter that matches by a specified primary node type.
234
+ * @param aPrimaryNodeTypeName the primary node type name
235
+ * @return a filter that matches all nodes that has primary node type <code>aPrimaryNodeTypeName</code>
236
+ * @throws IllegalArgumentException if <code>aPrimaryNodeTypeName</code> is <code>null</code> or whitespace only
237
+ * @see #getAnyOfPrimaryNodeTypesFilter(Collection)
238
+ * @see #getNoneOfPrimaryNodeTypesFilter(Collection)
239
+ * @see senselogic.sitevision.api.node.NodeTypeUtil
240
+ */
241
+ getPrimaryNodeTypeFilter(aPrimaryNodeTypeName: string): Filter;
242
+
243
+ /**
244
+ * Gets a filter that matches all nodes that has a primary node type that is present in given collection.
245
+ *
246
+ * <p>
247
+ * This convenience method is conceptually equivalent - but also more efficient - than building a "match any of" filter via
248
+ * {@link #getCompoundOrFilterBuilder() CompoundOrFilter} with a number of {@link #getPrimaryNodeTypeFilter(String) PrimaryNodeTypeFilters}.
249
+ * </p>
250
+ * @param aPrimaryNodeTypeNames a collection of primary node type names, must not be null. Null and blank collection items will be silently ignored (such value are not a valid node type name)
251
+ * @return a filter that matches all Nodes that has a primary node type that is present in aPrimaryNodeTypeNames.
252
+ * @throws NullPointerException if aPrimaryNodeTypeNames is null
253
+ * @see #getNoneOfPrimaryNodeTypesFilter(Collection)
254
+ * @see senselogic.sitevision.api.node.NodeTypeUtil
255
+ * @since Sitevision 8.1
256
+ */
257
+ getAnyOfPrimaryNodeTypesFilter(aPrimaryNodeTypeNames: unknown): Filter;
258
+
259
+ /**
260
+ * Gets a filter that matches all nodes that does not have a primary node type present in given collection.
261
+ *
262
+ * <p>
263
+ * This convenience method is conceptually equivalent - but also more efficient - than building a "match none of" filter via
264
+ * {@link #getCompoundOrFilterBuilder() CompoundOrFilter} with a number of {@link #getPrimaryNodeTypeFilter(String) PrimaryNodeTypeFilters}
265
+ * and a {@link #getInvertedFilter(Filter) InvertedFilter}
266
+ * </p>
267
+ * @param aExcludedPrimaryNodeTypeNames a collection of primary node type names, must not be null. Null and blank collection items will be silently ignored (such value are not a valid node type name)
268
+ * @return a filter that matches all Nodes that does not have a primary node type present in aExcludedPrimaryNodeTypeNames.
269
+ * @throws NullPointerException if aExcludedPrimaryNodeTypeNames is null
270
+ * @see #getAnyOfPrimaryNodeTypesFilter(Collection)
271
+ * @see senselogic.sitevision.api.node.NodeTypeUtil
272
+ * @since Sitevision 8.1
273
+ */
274
+ getNoneOfPrimaryNodeTypesFilter(
275
+ aExcludedPrimaryNodeTypeNames: unknown
276
+ ): Filter;
277
+
278
+ /**
279
+ * Gets a filter that matches by the existence of a specified property.
280
+ * @param aPropertyName the name of the property
281
+ * @return a filter that matches all nodes that has a property named <code>aPropertyName</code>
282
+ * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only
283
+ * @see javax.jcr.Node#hasProperty(String)
284
+ */
285
+ getHasPropertyFilter(aPropertyName: string): Filter;
286
+
287
+ /**
288
+ * Gets a filter that matches by a specified string property.
289
+ * @param aPropertyName the name of the property
290
+ * @param aMatchValue the value of the property
291
+ * @return a filter that matches all nodes that has a string property named <code>aPropertyName</code> with value <code>aMatchValue</code>
292
+ * @throws IllegalArgumentException if <code>aPropertyName</code> or <code>aMatchValue</code> is <code>null</code>
293
+ * @see senselogic.sitevision.api.property.PropertyUtil#getString(javax.jcr.Node, String)
294
+ */
295
+ getStringPropertyFilter(aPropertyName: string, aMatchValue: string): Filter;
296
+
297
+ /**
298
+ * Gets a filter that matches by a specified multi-valued string property.
299
+ * @param aPropertyName the name of the property
300
+ * @param aMatchValue the value of the property
301
+ * @return a filter that matches all nodes that has a string property named <code>aPropertyName</code> with value <code>aMatchValue</code>
302
+ * @throws IllegalArgumentException if <code>aPropertyName</code> or <code>aMatchValue</code> is <code>null</code>
303
+ * @see senselogic.sitevision.api.property.PropertyUtil#getStrings(javax.jcr.Node, String)
304
+ */
305
+ getStringMultiPropertyFilter(
306
+ aPropertyName: string,
307
+ aMatchValue: string
308
+ ): Filter;
309
+
310
+ /**
311
+ * Gets a filter that matches case-insensitive by a specified string property.
312
+ * @param aPropertyName the name of the property
313
+ * @param aCaseInsensitiveValue the case-insensitive value of the property
314
+ * @return a filter that matches all nodes that has a string property named <code>aPropertyName</code> with value <code>aCaseInsensitiveValue</code>
315
+ * @throws IllegalArgumentException if <code>aPropertyName</code> or <code>aCaseInsensitiveValue</code> is <code>null</code>
316
+ */
317
+ getIgnoreCaseStringPropertyFilter(
318
+ aPropertyName: string,
319
+ aCaseInsensitiveValue: string
320
+ ): Filter;
321
+
322
+ /**
323
+ * Gets a filter that matches by the value-starts-with of a specified string property.
324
+ *
325
+ * <p>
326
+ * <em>The starts-with check is performed using the <code>String.startsWith(String)</code> method.</em>
327
+ * </p>
328
+ * @param aPropertyName the name of the property
329
+ * @param aStartsWithValue the value the property should start with
330
+ * @return a filter that matches all nodes that has a string property named <code>aPropertyName</code> that starts with value <code>aStartsWithValue</code>
331
+ * @throws IllegalArgumentException if <code>aPropertyName</code> or <code>aStartsWithValue</code> is <code>null</code>
332
+ */
333
+ getStartsWithStringPropertyFilter(
334
+ aPropertyName: string,
335
+ aStartsWithValue: string
336
+ ): Filter;
337
+
338
+ /**
339
+ * Gets a filter that matches by the value-ends-with of a specified string property.
340
+ *
341
+ * <p>
342
+ * <em>The ends-with check is performed using the <code>String.endsWith(String)</code> method.</em>
343
+ * </p>
344
+ * @param aPropertyName the name of the property
345
+ * @param aEndsWithValue the value the property should end with
346
+ * @return a filter that matches all nodes that has a string property named <code>aPropertyName</code> that ends with value <code>aEndsWithValue</code>
347
+ * @throws IllegalArgumentException if <code>aPropertyName</code> or <code>aEndsWithValue</code> is <code>null</code>
348
+ */
349
+ getEndsWithStringPropertyFilter(
350
+ aPropertyName: string,
351
+ aEndsWithValue: string
352
+ ): Filter;
353
+
354
+ /**
355
+ * Gets a filter that matches by the value-contains of a specified string property.
356
+ *
357
+ * <p>
358
+ * <em>The contains check is performed using the <code>String.contains(String)</code> method.</em>
359
+ * </p>
360
+ * @param aPropertyName the name of the property
361
+ * @param aContainsValue the value the property should contain
362
+ * @return a filter that matches all nodes that has a string property named <code>aPropertyName</code> that contains value <code>aContainsValue</code>
363
+ * @throws IllegalArgumentException if <code>aPropertyName</code> or <code>aContainsValue</code> is <code>null</code>
364
+ */
365
+ getContainsStringPropertyFilter(
366
+ aPropertyName: string,
367
+ aContainsValue: string
368
+ ): Filter;
369
+
370
+ /**
371
+ * Gets a filter that matches by the value-contains of a specified multi-valued string property.
372
+ *
373
+ * <p>
374
+ * <em>The contains check is performed using the <code>String.contains(String)</code> method for each extracted property value.</em>
375
+ * </p>
376
+ * @param aPropertyName the name of the property
377
+ * @param aContainsValue the value the property should contain
378
+ * @return a filter that matches all nodes that has a string property named <code>aPropertyName</code> that contains value <code>aContainsValue</code>
379
+ * @throws IllegalArgumentException if <code>aPropertyName</code> or <code>aContainsValue</code> is <code>null</code>
380
+ */
381
+ getContainsStringMultiPropertyFilter(
382
+ aPropertyName: string,
383
+ aContainsValue: string
384
+ ): Filter;
385
+
386
+ /**
387
+ * Gets a filter that matches by a regular expression of a specified string property.
388
+ *
389
+ * <p>
390
+ * <em>The regular expression is compiled to a <code>Pattern</code> and the check is performed using the
391
+ * <code>matches()</code> method of the <code>Matcher</code> extracted from the compiled pattern via
392
+ * <code>Pattern.matcher(String)</code>.</em>
393
+ * </p>
394
+ * @param aPropertyName the name of the property
395
+ * @param aRegularExpression the regular expression
396
+ * @return a filter that matches all nodes that has a string property named <code>aPropertyName</code> that matches <code>aRegularExpression</code>
397
+ * @throws IllegalArgumentException if <code>aPropertyName</code> or <code>aRegularExpression</code> is <code>null</code>
398
+ * @throws PatternSyntaxException if the compilation of <code>aRegularExpression</code> fails
399
+ */
400
+ getPatternStringPropertyFilter(
401
+ aPropertyName: string,
402
+ aRegularExpression: string
403
+ ): Filter;
404
+
405
+ /**
406
+ * Gets a filter that matches by a regular expression of a specified multi-valued string property.
407
+ *
408
+ * <p>
409
+ * <em>The regular expression is compiled to a <code>Pattern</code> and the check for each extracted property value is performed using the
410
+ * <code>matches()</code> method of the <code>Matcher</code> extracted from the compiled pattern via
411
+ * <code>Pattern.matcher(String)</code>.</em>
412
+ * </p>
413
+ * @param aPropertyName the name of the property
414
+ * @param aRegularExpression the regular expression
415
+ * @return a filter that matches all nodes that has a string property named <code>aPropertyName</code> that matches <code>aRegularExpression</code>
416
+ * @throws IllegalArgumentException if <code>aPropertyName</code> or <code>aRegularExpression</code> is <code>null</code>
417
+ * @throws PatternSyntaxException if the compilation of <code>aRegularExpression</code> fails
418
+ */
419
+ getPatternStringMultiPropertyFilter(
420
+ aPropertyName: string,
421
+ aRegularExpression: string
422
+ ): Filter;
423
+
424
+ /**
425
+ * Gets a filter that matches by a specified boolean property.
426
+ * @param aPropertyName the name of the property
427
+ * @param aMatchValue the value of the property
428
+ * @return a filter that matches all nodes that has a boolean property named <code>aPropertyName</code> with value <code>aMatchValue</code>
429
+ * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only
430
+ * @see senselogic.sitevision.api.property.PropertyUtil#getBoolean(javax.jcr.Node, String)
431
+ */
432
+ getBooleanPropertyFilter(aPropertyName: string, aMatchValue: boolean): Filter;
433
+
434
+ /**
435
+ * Gets a filter that matches by a nested node's specified boolean property.
436
+ * @param aNodePropertyName the name of the property for the Node
437
+ * @param aPropertyName the name of the property for the "inner/nested" Node specified by <code>aNodePropertyName</code>
438
+ * @param aMatchValue the value of the property
439
+ * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value <code>aMatchValue</code>
440
+ * @throws IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only
441
+ * @see senselogic.sitevision.api.property.PropertyUtil#getNestedBoolean(javax.jcr.Node, String, String)
442
+ */
443
+ getNestedBooleanPropertyFilter(
444
+ aNodePropertyName: string,
445
+ aPropertyName: string,
446
+ aMatchValue: boolean
447
+ ): Filter;
448
+
449
+ /**
450
+ * Gets a filter that matches by a specified int property.
451
+ * @param aPropertyName the name of the property
452
+ * @param aMatchValue the value of the property
453
+ * @return a filter that matches all nodes that has a int property named <code>aPropertyName</code> with value <code>aMatchValue</code>
454
+ * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only
455
+ * @see senselogic.sitevision.api.property.PropertyUtil#getInt(javax.jcr.Node, String)
456
+ */
457
+ getIntPropertyFilter(aPropertyName: string, aMatchValue: number): Filter;
458
+
459
+ /**
460
+ * Gets a filter that matches by the min value of a specified int property.
461
+ * @param aPropertyName the name of the property
462
+ * @param aMinValue the min value of the property
463
+ * @return a filter that matches all nodes that has a int property named <code>aPropertyName</code> with value <code>aMinValue</code> or higher
464
+ * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only
465
+ */
466
+ getMinIntPropertyFilter(aPropertyName: string, aMinValue: number): Filter;
467
+
468
+ /**
469
+ * Gets a filter that matches by the max value of a specified int property.
470
+ * @param aPropertyName the name of the property
471
+ * @param aMaxValue the max value of the property
472
+ * @return a filter that matches all nodes that has a int property named <code>aPropertyName</code> with value <code>aMaxValue</code> or lower
473
+ * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only
474
+ */
475
+ getMaxIntPropertyFilter(aPropertyName: string, aMaxValue: number): Filter;
476
+
477
+ /**
478
+ * Gets a filter that matches by the range of a specified int property.
479
+ *
480
+ * <p>
481
+ * <em>This is a convenience method that combines the min int filter ({@link #getMinIntPropertyFilter(String, int)})
482
+ * and the max int filter ({@link #getMinIntPropertyFilter(String, int)}) to check a range for an integer.</em>
483
+ * </p>
484
+ * @param aPropertyName the name of the property
485
+ * @param aMinValue the min value of the property
486
+ * @param aMaxValue the max value of the property
487
+ * @return a filter that matches all nodes that has a int property named <code>aPropertyName</code> with value within inclusive range <code>[aMinValue..aMaxValue]</code>
488
+ * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only, or if <code>aMinValue</code> is greater than <code>aMaxValue</code>
489
+ */
490
+ getRangeIntPropertyFilter(
491
+ aPropertyName: string,
492
+ aMinValue: number,
493
+ aMaxValue: number
494
+ ): Filter;
495
+
496
+ /**
497
+ * Gets a filter that matches by a nested node's specified int property.
498
+ * @param aNodePropertyName the name of the property for the Node
499
+ * @param aPropertyName the name of the property for the "inner/nested" Node specified by <code>aNodePropertyName</code>
500
+ * @param aMatchValue the value of the property
501
+ * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value <code>aMatchValue</code>
502
+ * @throws IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only
503
+ * @see senselogic.sitevision.api.property.PropertyUtil#getNestedInt(javax.jcr.Node, String, String)
504
+ */
505
+ getNestedIntPropertyFilter(
506
+ aNodePropertyName: string,
507
+ aPropertyName: string,
508
+ aMatchValue: number
509
+ ): Filter;
510
+
511
+ /**
512
+ * Gets a filter that matches by a nested node's min value of a specified int property.
513
+ * @param aNodePropertyName the name of the property for the Node
514
+ * @param aPropertyName the name of the property for the "inner/nested" Node specified by <code>aNodePropertyName</code>
515
+ * @param aMinValue the min value of the property
516
+ * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value <code>aMatchValue</code> or higher
517
+ * @throws IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only
518
+ * @see senselogic.sitevision.api.property.PropertyUtil#getNestedInt(javax.jcr.Node, String, String)
519
+ */
520
+ getMinNestedIntPropertyFilter(
521
+ aNodePropertyName: string,
522
+ aPropertyName: string,
523
+ aMinValue: number
524
+ ): Filter;
525
+
526
+ /**
527
+ * Gets a filter that matches by a nested node's max value of a specified int property.
528
+ * @param aNodePropertyName the name of the property for the Node
529
+ * @param aPropertyName the name of the property for the "inner/nested" Node specified by <code>aNodePropertyName</code>
530
+ * @param aMaxValue the max value of the property
531
+ * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value <code>aMatchValue</code> or lower
532
+ * @throws IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only
533
+ * @see senselogic.sitevision.api.property.PropertyUtil#getNestedInt(javax.jcr.Node, String, String)
534
+ */
535
+ getMaxNestedIntPropertyFilter(
536
+ aNodePropertyName: string,
537
+ aPropertyName: string,
538
+ aMaxValue: number
539
+ ): Filter;
540
+
541
+ /**
542
+ * Gets a filter that matches by a nested node's range of a specified int property.
543
+ *
544
+ * <p>
545
+ * <em>This is a convenience method that combines the nested min int filter ({@link #getMinNestedIntPropertyFilter(String, String, int)})
546
+ * and the nested max int filter ({@link #getMaxNestedIntPropertyFilter(String, String, int)}) to check a range for an integer.</em>
547
+ * </p>
548
+ * @param aNodePropertyName the name of the property for the Node
549
+ * @param aPropertyName the name of the property for the "inner/nested" Node specified by <code>aNodePropertyName</code>
550
+ * @param aMinValue the min value of the property
551
+ * @param aMaxValue the max value of the property
552
+ * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value within inclusive range <code>[aMinValue..aMaxValue]</code>
553
+ * @throws IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only, or if <code>aMinValue</code> is greater than <code>aMaxValue</code>
554
+ */
555
+ getRangeNestedIntPropertyFilter(
556
+ aNodePropertyName: string,
557
+ aPropertyName: string,
558
+ aMinValue: number,
559
+ aMaxValue: number
560
+ ): Filter;
561
+
562
+ /**
563
+ * Gets a filter that matches by a specified double property.
564
+ * @param aPropertyName the name of the property
565
+ * @param aMatchValue the value of the property
566
+ * @return a filter that matches all nodes that has a double property named <code>aPropertyName</code> with value <code>aMatchValue</code>
567
+ * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only
568
+ * @see senselogic.sitevision.api.property.PropertyUtil#getDouble(javax.jcr.Node, String)
569
+ */
570
+ getDoublePropertyFilter(aPropertyName: string, aMatchValue: number): Filter;
571
+
572
+ /**
573
+ * Gets a filter that matches by a nested node's specified double property.
574
+ * @param aNodePropertyName the name of the property for the Node
575
+ * @param aPropertyName the name of the property for the "inner/nested" Node specified by <code>aNodePropertyName</code>
576
+ * @param aMatchValue the value of the property
577
+ * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value <code>aMatchValue</code>
578
+ * @throws IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only
579
+ * @see senselogic.sitevision.api.property.PropertyUtil#getNestedDouble(javax.jcr.Node, String, String)
580
+ */
581
+ getNestedDoublePropertyFilter(
582
+ aNodePropertyName: string,
583
+ aPropertyName: string,
584
+ aMatchValue: number
585
+ ): Filter;
586
+
587
+ /**
588
+ * Gets a filter that matches by the min value of a specified double property.
589
+ * @param aPropertyName the name of the property
590
+ * @param aMinValue the min value of the property
591
+ * @return a filter that matches all nodes that has a double property named <code>aPropertyName</code> with value <code>aMinValue</code> or higher
592
+ * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only
593
+ */
594
+ getMinDoublePropertyFilter(aPropertyName: string, aMinValue: number): Filter;
595
+
596
+ /**
597
+ * Gets a filter that matches by the max value of a specified double property.
598
+ * @param aPropertyName the name of the property
599
+ * @param aMaxValue the max value of the property
600
+ * @return a filter that matches all nodes that has a double property named <code>aPropertyName</code> with value <code>aMaxValue</code> or lower
601
+ * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only
602
+ */
603
+ getMaxDoublePropertyFilter(aPropertyName: string, aMaxValue: number): Filter;
604
+
605
+ /**
606
+ * Gets a filter that matches by the range of a specified double property.
607
+ *
608
+ * <p>
609
+ * <em>This is a convenience method that combines the min double filter ({@link #getMinDoublePropertyFilter(String, double)})
610
+ * and the max double filter ({@link #getMaxDoublePropertyFilter(String, double)}) to check a range for a double.</em>
611
+ * </p>
612
+ * @param aPropertyName the name of the property
613
+ * @param aMinValue the min value of the property
614
+ * @param aMaxValue the max value of the property
615
+ * @return a filter that matches all nodes that has a double property named <code>aPropertyName</code> with value within inclusive range <code>[aMinValue..aMaxValue]</code>
616
+ * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only, or if <code>aMinValue</code> is greater than <code>aMaxValue</code>
617
+ */
618
+ getRangeDoublePropertyFilter(
619
+ aPropertyName: string,
620
+ aMinValue: number,
621
+ aMaxValue: number
622
+ ): Filter;
623
+
624
+ /**
625
+ * Gets a filter that matches by a specified Calendar property.
626
+ * @param aPropertyName the name of the property
627
+ * @param aMatchValue the value of the property
628
+ * @return a filter that matches all nodes that has a Calendar property named <code>aPropertyName</code> with value <code>aMatchValue</code>
629
+ * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only, or <code>aMatchValue</code> is <code>null</code>
630
+ * @see senselogic.sitevision.api.property.PropertyUtil#getCalendar(javax.jcr.Node, String)
631
+ */
632
+ getCalendarPropertyFilter(
633
+ aPropertyName: string,
634
+ aMatchValue: unknown
635
+ ): Filter;
636
+
637
+ /**
638
+ * Gets a filter that matches by a nested node's specified Calendar property.
639
+ * @param aNodePropertyName the name of the property for the Node
640
+ * @param aPropertyName the name of the property for the "inner/nested" Node specified by <code>aNodePropertyName</code>
641
+ * @param aMatchValue the value of the property
642
+ * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value <code>aMatchValue</code>
643
+ * @throws IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only, or if <code>aMatchValue</code> is <code>null</code>
644
+ * @see senselogic.sitevision.api.property.PropertyUtil#getNestedCalendar(javax.jcr.Node, String, String)
645
+ */
646
+ getNestedCalendarPropertyFilter(
647
+ aNodePropertyName: string,
648
+ aPropertyName: string,
649
+ aMatchValue: unknown
650
+ ): Filter;
651
+
652
+ /**
653
+ * Gets a filter that matches by a before value for a specified Calendar property.
654
+ * @param aPropertyName the name of the property
655
+ * @param aBeforeThresholdValue the before threshold value of the property
656
+ * @return a filter that matches all nodes that has a Calendar property named <code>aPropertyName</code> with value before <code>aBeforeThresholdValue</code>
657
+ * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only, or <code>aBeforeThresholdValue</code> is <code>null</code>
658
+ */
659
+ getBeforeCalendarPropertyFilter(
660
+ aPropertyName: string,
661
+ aBeforeThresholdValue: unknown
662
+ ): Filter;
663
+
664
+ /**
665
+ * Gets a filter that matches by a before value of a nested node's specified Calendar property.
666
+ * @param aNodePropertyName the name of the property for the Node
667
+ * @param aPropertyName the name of the property for the "inner/nested" Node specified by <code>aNodePropertyName</code>
668
+ * @param aBeforeThresholdValue the before threshold value of the property
669
+ * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value before <code>aBeforeThresholdValue</code>
670
+ * @throws IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only, or if <code>aBeforeThresholdValue</code> is <code>null</code>
671
+ */
672
+ getBeforeNestedCalendarPropertyFilter(
673
+ aNodePropertyName: string,
674
+ aPropertyName: string,
675
+ aBeforeThresholdValue: unknown
676
+ ): Filter;
677
+
678
+ /**
679
+ * Gets a filter that matches by an after value for a specified Calendar property.
680
+ * @param aPropertyName the name of the property
681
+ * @param aAfterThresholdValue the after threshold value of the property
682
+ * @return a filter that matches all nodes that has a Calendar property named <code>aPropertyName</code> with value after <code>aAfterThresholdValue</code>
683
+ * @throws IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only, or <code>aAfterThresholdValue</code> is <code>null</code>
684
+ */
685
+ getAfterCalendarPropertyFilter(
686
+ aPropertyName: string,
687
+ aAfterThresholdValue: unknown
688
+ ): Filter;
689
+
690
+ /**
691
+ * Gets a filter that matches by an after value of a nested node's specified Calendar property.
692
+ * @param aNodePropertyName the name of the property for the Node
693
+ * @param aPropertyName the name of the property for the "inner/nested" Node specified by <code>aNodePropertyName</code>
694
+ * @param aAfterThresholdValue the after threshold value of the property
695
+ * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value after <code>aAfterThresholdValue</code>
696
+ * @throws IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only, or if <code>aAfterThresholdValue</code> is <code>null</code>
697
+ */
698
+ getAfterNestedCalendarPropertyFilter(
699
+ aNodePropertyName: string,
700
+ aPropertyName: string,
701
+ aAfterThresholdValue: unknown
702
+ ): Filter;
703
+
704
+ /**
705
+ * Gets a filter that matches by the between range of a specified Calendar property.
706
+ *
707
+ * <p>
708
+ * <em>This is a convenience method that combines the after calendar filter
709
+ * ({@link #getAfterCalendarPropertyFilter(String, java.util.Calendar)})
710
+ * and the before calendar filter ({@link #getBeforeCalendarPropertyFilter(String, java.util.Calendar)}) to check a range for a Calendar.</em>
711
+ * </p>
712
+ * @param aPropertyName the name of the property
713
+ * @param aAfterThresholdValue the after threshold value of the property
714
+ * @param aBeforeThresholdValue the before threshold value of the property
715
+ * @return a filter that matches all nodes that has a Calendar property named <code>aPropertyName</code> with value between exclusive range <code>[aAfterThresholdValue..aBeforeThresholdValue]</code>
716
+ * @throws IllegalArgumentException IllegalArgumentException if <code>aPropertyName</code> is <code>null</code> or whitespace only, or if <code>aAfterThresholdValue</code> or <code>aBeforeThresholdValue</code> is <code>null</code>, or if <code>aAfterThresholdValue</code> is after <code>aBeforeThresholdValue</code>
717
+ */
718
+ getRangeCalendarPropertyFilter(
719
+ aPropertyName: string,
720
+ aAfterThresholdValue: unknown,
721
+ aBeforeThresholdValue: unknown
722
+ ): Filter;
723
+
724
+ /**
725
+ * Gets a filter that matches by the between range of a nested node's specified Calendar property.
726
+ *
727
+ * <p>
728
+ * <em>This is a convenience method that combines the nested after calendar filter
729
+ * ({@link #getAfterNestedCalendarPropertyFilter(String, String, java.util.Calendar)}) and the nested before calendar filter
730
+ * ({@link #getBeforeNestedCalendarPropertyFilter(String, String, java.util.Calendar)}) to check a range for a Calendar.</em>
731
+ * </p>
732
+ * @param aNodePropertyName the name of the property for the Node
733
+ * @param aPropertyName the name of the property
734
+ * @param aAfterThresholdValue the after threshold value of the property
735
+ * @param aBeforeThresholdValue the before threshold value of the property
736
+ * @return a filter that matches all nodes that has a property named <code>aNodePropertyName</code> that can be resolved as a node, which in turn has a property named <code>aNodePropertyName</code> with value between exclusive range <code>[aAfterThresholdValue..aBeforeThresholdValue]</code>
737
+ * @throws IllegalArgumentException IllegalArgumentException if <code>aNodePropertyName</code> or <code>aPropertyName</code> is <code>null</code> or whitespace only, or if <code>aAfterThresholdValue</code> or <code>aBeforeThresholdValue</code> is <code>null</code>, or if <code>aAfterThresholdValue</code> is after <code>aBeforeThresholdValue</code>
738
+ */
739
+ getRangeNestedCalendarPropertyFilter(
740
+ aNodePropertyName: string,
741
+ aPropertyName: string,
742
+ aAfterThresholdValue: unknown,
743
+ aBeforeThresholdValue: unknown
744
+ ): Filter;
836
745
  }
837
746
 
838
- export default nodeFilterUtil;
747
+ declare namespace NodeFilterUtil {}
748
+
749
+ declare var nodeFilterUtil: NodeFilterUtil;
750
+
751
+ export = nodeFilterUtil;