@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,133 +1,119 @@
1
1
  /**
2
- * Returns current timestamp.
3
- * @return a long representing the current time.
2
+ * Timestamp utility interface.
3
+ *
4
+ * <p>
5
+ * An instance of the Sitevision class implementing this interface can be obtained via {@link senselogic.sitevision.api.Utils#getTimestampUtil()}.
6
+ * See {@link senselogic.sitevision.api.Utils} for how to obtain an instance of the <code>Utils</code> interface.
7
+ * </p>
8
+ * @author Jimmy Roselin
9
+ * @since Sitevision 4.5.4.1
4
10
  */
5
- export function getTimestamp(): number;
11
+ export interface TimestampUtil {
12
+ /**
13
+ * Returns current timestamp.
14
+ * @return a long representing the current time.
15
+ */
16
+ getTimestamp(): number;
6
17
 
7
- /**
8
- * Formats current timestamp.
9
- * @param aFormatPattern a date to string pattern according to SimpleDateFormat.
10
- * @return a formatted String representing current timestamp using Locale according to {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentLocale()}. If aLocale can not be resolved Locale.ENGLISH is used. If aFormatPattern is not valid current timestamp is returned as String.
11
- */
12
- export function formatCurrent(aFormatPattern: string): string;
18
+ /**
19
+ * Formats current timestamp.
20
+ * @param aFormatPattern a date to string pattern according to SimpleDateFormat.
21
+ * @return a formatted String representing current timestamp using Locale according to {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentLocale()}. If aLocale can not be resolved Locale.ENGLISH is used. If aFormatPattern is not valid current timestamp is returned as String.
22
+ */
23
+ formatCurrent(aFormatPattern: string): string;
13
24
 
14
- /**
15
- * Formats current timestamp using a specified Locale.
16
- * @param aFormatPattern a date to string pattern according to SimpleDateFormat.
17
- * @param aLocale a locale. If aLocale is null the current locale (as of {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentLocale()}) will be used. If aLocale can not be resolved Locale.ENGLISH will be used.
18
- * @return a formatted String representing current timestamp. If aFormatPattern is not valid current timestamp is returned as String.
19
- */
20
- export function formatCurrent(aFormatPattern: string, aLocale: unknown): string;
25
+ /**
26
+ * Formats current timestamp using a specified Locale.
27
+ * @param aFormatPattern a date to string pattern according to SimpleDateFormat.
28
+ * @param aLocale a locale. If aLocale is null the current locale (as of {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentLocale()}) will be used. If aLocale can not be resolved Locale.ENGLISH will be used.
29
+ * @return a formatted String representing current timestamp. If aFormatPattern is not valid current timestamp is returned as String.
30
+ */
31
+ formatCurrent(aFormatPattern: string, aLocale: unknown): string;
21
32
 
22
- /**
23
- * Formats a given timestamp.
24
- * @param aTimestamp a timestamp.
25
- * @param aFormatPattern a date to string pattern according to SimpleDateFormat.
26
- * @return a formatted String representing aTimestamp using Locale according to {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentLocale()}. If aLocale can not be resolved Locale.ENGLISH is used. If aTimestamp is negative or aFormatPattern is not valid the given timestamp is returned as String.
27
- */
28
- export function format(aTimestamp: number, aFormatPattern: string): string;
33
+ /**
34
+ * Formats a given timestamp.
35
+ * @param aTimestamp a timestamp.
36
+ * @param aFormatPattern a date to string pattern according to SimpleDateFormat.
37
+ * @return a formatted String representing aTimestamp using Locale according to {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentLocale()}. If aLocale can not be resolved Locale.ENGLISH is used. If aTimestamp is negative or aFormatPattern is not valid the given timestamp is returned as String.
38
+ */
39
+ format(aTimestamp: number, aFormatPattern: string): string;
29
40
 
30
- /**
31
- * Formats a given timestamp using a specified Locale.
32
- * @param aTimestamp a timestamp.
33
- * @param aFormatPattern a date to string pattern according to SimpleDateFormat.
34
- * @param aLocale a locale. If aLocale is null the current locale (as of {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentLocale()}) will be used. If aLocale can not be resolved Locale.ENGLISH will be used.
35
- * @return a formatted String representing the aTimestamp. If aTimestamp is negative or aFormatPattern is not valid the given timestamp is returned as String.
36
- */
37
- export function format(
38
- aTimestamp: number,
39
- aFormatPattern: string,
40
- aLocale: unknown
41
- ): string;
41
+ /**
42
+ * Formats a given timestamp using a specified Locale.
43
+ * @param aTimestamp a timestamp.
44
+ * @param aFormatPattern a date to string pattern according to SimpleDateFormat.
45
+ * @param aLocale a locale. If aLocale is null the current locale (as of {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentLocale()}) will be used. If aLocale can not be resolved Locale.ENGLISH will be used.
46
+ * @return a formatted String representing the aTimestamp. If aTimestamp is negative or aFormatPattern is not valid the given timestamp is returned as String.
47
+ */
48
+ format(aTimestamp: number, aFormatPattern: string, aLocale: unknown): string;
42
49
 
43
- /**
44
- * Converts a timestamp to a Date.
45
- * @param aTimestamp a timestamp.
46
- * @return the Date representing aTimestamp, or null if aTimestamp is negative.
47
- * @since Sitevision 4.5.5
48
- */
49
- export function toDate(aTimestamp: number): unknown;
50
+ /**
51
+ * Converts a timestamp to a Date.
52
+ * @param aTimestamp a timestamp.
53
+ * @return the Date representing aTimestamp, or null if aTimestamp is negative.
54
+ * @since Sitevision 4.5.5
55
+ */
56
+ toDate(aTimestamp: number): unknown;
50
57
 
51
- /**
52
- * Converts a Date to a timestamp.
53
- * @param aDate a Date.
54
- * @return the timestamp representing aDate, or -1 if aDate is null.
55
- * @since Sitevision 4.5.5
56
- */
57
- export function fromDate(aDate: unknown): number;
58
+ /**
59
+ * Converts a Date to a timestamp.
60
+ * @param aDate a Date.
61
+ * @return the timestamp representing aDate, or -1 if aDate is null.
62
+ * @since Sitevision 4.5.5
63
+ */
64
+ fromDate(aDate: unknown): number;
58
65
 
59
- /**
60
- * Converts a timestamp to a Calendar.
61
- * @param aTimestamp a timestamp.
62
- * @return the Calendar representing aTimestamp, or null if aTimestamp is negative.
63
- * @since Sitevision 4.5.5
64
- */
65
- export function toCalendar(aTimestamp: number): unknown;
66
+ /**
67
+ * Converts a timestamp to a Calendar.
68
+ * @param aTimestamp a timestamp.
69
+ * @return the Calendar representing aTimestamp, or null if aTimestamp is negative.
70
+ * @since Sitevision 4.5.5
71
+ */
72
+ toCalendar(aTimestamp: number): unknown;
66
73
 
67
- /**
68
- * Converts a Calendar to a timestamp.
69
- * @param aCalendar a Calendar.
70
- * @return the timestamp representing aCalendar, or -1 if aCalendar is null.
71
- * @since Sitevision 4.5.5
72
- */
73
- export function fromCalendar(aCalendar: unknown): number;
74
+ /**
75
+ * Converts a Calendar to a timestamp.
76
+ * @param aCalendar a Calendar.
77
+ * @return the timestamp representing aCalendar, or -1 if aCalendar is null.
78
+ * @since Sitevision 4.5.5
79
+ */
80
+ fromCalendar(aCalendar: unknown): number;
74
81
 
75
- /**
76
- * Converts a timestamp to a Instant.
77
- * @param aTimestamp a timestamp.
78
- * @return the Instant representing aTimestamp, or null if aTimestamp is negative.
79
- * @since Sitevision 4.5.5
80
- */
81
- export function toInstant(aTimestamp: number): unknown;
82
+ /**
83
+ * Converts a timestamp to a Instant.
84
+ * @param aTimestamp a timestamp.
85
+ * @return the Instant representing aTimestamp, or null if aTimestamp is negative.
86
+ * @since Sitevision 4.5.5
87
+ */
88
+ toInstant(aTimestamp: number): unknown;
82
89
 
83
- /**
84
- * Converts a Instant to a timestamp.
85
- * @param aInstant a Instant.
86
- * @return aInstant timestamp representing aInstant, or -1 if aInstant is null.
87
- * @since Sitevision 4.5.5
88
- */
89
- export function fromInstant(aInstant: unknown): number;
90
+ /**
91
+ * Converts a Instant to a timestamp.
92
+ * @param aInstant a Instant.
93
+ * @return aInstant timestamp representing aInstant, or -1 if aInstant is null.
94
+ * @since Sitevision 4.5.5
95
+ */
96
+ fromInstant(aInstant: unknown): number;
90
97
 
91
- /**
92
- * Converts a timestamp to a LocalDateTime (using the system default ZoneId).
93
- * @param aTimestamp a timestamp.
94
- * @return the LocalDateTime representing aTimestamp, or null if aTimestamp is negative.
95
- * @since Sitevision 4.5.5
96
- */
97
- export function toLocalDateTime(aTimestamp: number): unknown;
98
+ /**
99
+ * Converts a timestamp to a LocalDateTime (using the system default ZoneId).
100
+ * @param aTimestamp a timestamp.
101
+ * @return the LocalDateTime representing aTimestamp, or null if aTimestamp is negative.
102
+ * @since Sitevision 4.5.5
103
+ */
104
+ toLocalDateTime(aTimestamp: number): unknown;
98
105
 
99
- /**
100
- * Converts a LocalDateTime to a timestamp (using the system default ZoneId).
101
- * @param aLocalDateTime a Instant.
102
- * @return aInstant timestamp representing aLocalDateTime, or -1 if aLocalDateTime is null.
103
- * @since Sitevision 4.5.5
104
- */
105
- export function fromLocalDateTime(aLocalDateTime: unknown): number;
106
-
107
- /**
108
- * Timestamp utility interface.
109
- *
110
- * <p>
111
- * An instance of the Sitevision class implementing this interface can be obtained via {@link senselogic.sitevision.api.Utils#getTimestampUtil()}.
112
- * See {@link senselogic.sitevision.api.Utils} for how to obtain an instance of the <code>Utils</code> interface.
113
- * </p>
114
- * @author Jimmy Roselin
115
- * @since Sitevision 4.5.4.1
116
- */
117
- declare namespace timestampUtil {
118
- export {
119
- getTimestamp,
120
- formatCurrent,
121
- format,
122
- toDate,
123
- fromDate,
124
- toCalendar,
125
- fromCalendar,
126
- toInstant,
127
- fromInstant,
128
- toLocalDateTime,
129
- fromLocalDateTime,
130
- };
106
+ /**
107
+ * Converts a LocalDateTime to a timestamp (using the system default ZoneId).
108
+ * @param aLocalDateTime a Instant.
109
+ * @return aInstant timestamp representing aLocalDateTime, or -1 if aLocalDateTime is null.
110
+ * @since Sitevision 4.5.5
111
+ */
112
+ fromLocalDateTime(aLocalDateTime: unknown): number;
131
113
  }
132
114
 
133
- export default timestampUtil;
115
+ declare namespace TimestampUtil {}
116
+
117
+ declare var timestampUtil: TimestampUtil;
118
+
119
+ export = timestampUtil;
@@ -1,99 +1,4 @@
1
- import type { Node } from "../../types/javax/jcr/Node";
2
-
3
- /**
4
- * Gets a list of all Locales that are set up for translations on the current site.
5
- *
6
- * <p>
7
- * <em>Note! The returned List is immutable/unmodifiable,
8
- * i.e. you must create a copy if you want to modify it (e.g. sort).</em>
9
- * </p>
10
- * @return a list of all Locales that are set up for translations on the current site
11
- */
12
- export function getSiteTranslationLocales(): unknown;
13
-
14
- /**
15
- * Gets the translation mappings for a given page node.
16
- *
17
- * <p>
18
- * Each entry in the returned map depicts a <em>"translation"</em>, i.e. a localized version of the given <code>aPageNode</code>.
19
- * </p>
20
- * <p>
21
- * <strong>Important note! The returned map is never null, but entry <em>values</em> in the map might be!</strong>
22
- * </p>
23
- * <ul>
24
- * <li>
25
- * The entry <em>key</em> (i.e. the Locale) will never be null.
26
- * </li>
27
- * <li>
28
- * The entry <em>value</em> (i.e. the Node) will be null if current user doesn't have
29
- * {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ} permissions on the node.
30
- * </li>
31
- * </ul>
32
- *
33
- * <p>
34
- * <em>Tip!</em> If you are only interested in non-null Nodes/values in the returned map, you can use
35
- * {@link senselogic.sitevision.api.node.NodeFilterUtil} to filter them out!<br>
36
- * Below is a conceptual example of how it could be done in server-side JavaScript (e.g. WebApp, RESTApp, Script module).
37
- * </p><pre><code> var thePotentiallyTranslatedPageNode = ...,
38
- * translationUtil = require('TranslationUtil'),
39
- * nodeFilterUtil = require('NodeFilterUtil'),
40
- * translationMappings,
41
- * skipNullValuesFilter,
42
- * filteredTranslationMappings;
43
- *
44
- * translationMappings = translationUtil.getTranslations(thePotentiallyTranslatedPageNode, false);
45
- *
46
- * skipNullValuesFilter = nodeFilterUtil.getNonNullFilter();
47
- * filteredTranslationMappings = nodeFilterUtil.getFilteredValueMap(translationMappings, skipNullValuesFilter);</code></pre>
48
- *
49
- * <p>
50
- * Please note that determining the "<em>is this page node translated at all?</em>" state from the returned result
51
- * depends on the <code>aIncludePageNode</code> value:
52
- * </p>
53
- * <ul>
54
- * <li>
55
- * If it is <code>false</code>, an empty map will be returned.
56
- * </li>
57
- * <li>
58
- * If it is <code>true</code>, a map with one entry <em>(i.e. the <code>aPageNode</code> itself)</em> will be returned.
59
- * </li>
60
- * </ul>
61
- * @param aPageNode a page node that can be translated
62
- * @param aIncludePageNode whether or not to include aPageNode in the result
63
- * @return a Map of translation mappings
64
- * @since Sitevision 4.3.1
65
- */
66
- export function getTranslations(
67
- aPageNode: Node,
68
- aIncludePageNode: boolean
69
- ): unknown;
70
-
71
- /**
72
- * Gets the page node a given node is potentially translated from (the translation source).
73
- * @param aPageNode the page node that is translated
74
- * @return the page node aPageNode was translated from, or null if the page node isn't translated from another page or if current user doesn't have {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ} permissions on the from node.
75
- * @since Sitevision 4.3.1
76
- */
77
- export function getTranslatedFrom(aPageNode: Node): Node;
78
-
79
- /**
80
- * Sets the translated from node to the page node provided as translation node.
81
- *
82
- * <p>
83
- * <strong>Permission note!</strong> Current user must match have
84
- * {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_TRANSLATIONS} and
85
- * {@link senselogic.sitevision.api.security.PermissionUtil.Permission#WRITE}
86
- * on @aTranslationPageNode.
87
- * </p>
88
- * @param aOriginalPageNode the original page node to be configured as translated from on aTranslationPageNode. It will be configured as original in aTranslationPageNode as well if aOriginalPageNode doesn't have any original configured.
89
- * @param aTranslationPageNode the translation page node to be configured as translation of aOriginalPageNode
90
- * @return true if aTranslationPageNode could be configured as translation of aOriginalPageNode, false otherwise.
91
- * @since Sitevision 4.3.2
92
- */
93
- export function setTranslatedFrom(
94
- aOriginalPageNode: Node,
95
- aTranslationPageNode: Node
96
- ): boolean;
1
+ import type Node from "../../types/javax/jcr/Node";
97
2
 
98
3
  /**
99
4
  * Translation utility interface.
@@ -106,13 +11,102 @@ export function setTranslatedFrom(
106
11
  * @author Magnus Lövgren
107
12
  * @since Sitevision 4.2.1
108
13
  */
109
- declare namespace translationUtil {
110
- export {
111
- getSiteTranslationLocales,
112
- getTranslations,
113
- getTranslatedFrom,
114
- setTranslatedFrom,
115
- };
14
+ export interface TranslationUtil {
15
+ /**
16
+ * Gets a list of all Locales that are set up for translations on the current site.
17
+ *
18
+ * <p>
19
+ * <em>Note! The returned List is immutable/unmodifiable,
20
+ * i.e. you must create a copy if you want to modify it (e.g. sort).</em>
21
+ * </p>
22
+ * @return a list of all Locales that are set up for translations on the current site
23
+ */
24
+ getSiteTranslationLocales(): unknown;
25
+
26
+ /**
27
+ * Gets the translation mappings for a given page node.
28
+ *
29
+ * <p>
30
+ * Each entry in the returned map depicts a <em>"translation"</em>, i.e. a localized version of the given <code>aPageNode</code>.
31
+ * </p>
32
+ * <p>
33
+ * <strong>Important note! The returned map is never null, but entry <em>values</em> in the map might be!</strong>
34
+ * </p>
35
+ * <ul>
36
+ * <li>
37
+ * The entry <em>key</em> (i.e. the Locale) will never be null.
38
+ * </li>
39
+ * <li>
40
+ * The entry <em>value</em> (i.e. the Node) will be null if current user doesn't have
41
+ * {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ} permissions on the node.
42
+ * </li>
43
+ * </ul>
44
+ *
45
+ * <p>
46
+ * <em>Tip!</em> If you are only interested in non-null Nodes/values in the returned map, you can use
47
+ * {@link senselogic.sitevision.api.node.NodeFilterUtil} to filter them out!<br>
48
+ * Below is a conceptual example of how it could be done in server-side JavaScript (e.g. WebApp, RESTApp, Script module).
49
+ * </p><pre><code> var thePotentiallyTranslatedPageNode = ...,
50
+ * translationUtil = require('TranslationUtil'),
51
+ * nodeFilterUtil = require('NodeFilterUtil'),
52
+ * translationMappings,
53
+ * skipNullValuesFilter,
54
+ * filteredTranslationMappings;
55
+ *
56
+ * translationMappings = translationUtil.getTranslations(thePotentiallyTranslatedPageNode, false);
57
+ *
58
+ * skipNullValuesFilter = nodeFilterUtil.getNonNullFilter();
59
+ * filteredTranslationMappings = nodeFilterUtil.getFilteredValueMap(translationMappings, skipNullValuesFilter);</code></pre>
60
+ *
61
+ * <p>
62
+ * Please note that determining the "<em>is this page node translated at all?</em>" state from the returned result
63
+ * depends on the <code>aIncludePageNode</code> value:
64
+ * </p>
65
+ * <ul>
66
+ * <li>
67
+ * If it is <code>false</code>, an empty map will be returned.
68
+ * </li>
69
+ * <li>
70
+ * If it is <code>true</code>, a map with one entry <em>(i.e. the <code>aPageNode</code> itself)</em> will be returned.
71
+ * </li>
72
+ * </ul>
73
+ * @param aPageNode a page node that can be translated
74
+ * @param aIncludePageNode whether or not to include aPageNode in the result
75
+ * @return a Map of translation mappings
76
+ * @since Sitevision 4.3.1
77
+ */
78
+ getTranslations(aPageNode: Node, aIncludePageNode: boolean): unknown;
79
+
80
+ /**
81
+ * Gets the page node a given node is potentially translated from (the translation source).
82
+ * @param aPageNode the page node that is translated
83
+ * @return the page node aPageNode was translated from, or null if the page node isn't translated from another page or if current user doesn't have {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ} permissions on the from node.
84
+ * @since Sitevision 4.3.1
85
+ */
86
+ getTranslatedFrom(aPageNode: Node): Node;
87
+
88
+ /**
89
+ * Sets the translated from node to the page node provided as translation node.
90
+ *
91
+ * <p>
92
+ * <strong>Permission note!</strong> Current user must match have
93
+ * {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_TRANSLATIONS} and
94
+ * {@link senselogic.sitevision.api.security.PermissionUtil.Permission#WRITE}
95
+ * on @aTranslationPageNode.
96
+ * </p>
97
+ * @param aOriginalPageNode the original page node to be configured as translated from on aTranslationPageNode. It will be configured as original in aTranslationPageNode as well if aOriginalPageNode doesn't have any original configured.
98
+ * @param aTranslationPageNode the translation page node to be configured as translation of aOriginalPageNode
99
+ * @return true if aTranslationPageNode could be configured as translation of aOriginalPageNode, false otherwise.
100
+ * @since Sitevision 4.3.2
101
+ */
102
+ setTranslatedFrom(
103
+ aOriginalPageNode: Node,
104
+ aTranslationPageNode: Node
105
+ ): boolean;
116
106
  }
117
107
 
118
- export default translationUtil;
108
+ declare namespace TranslationUtil {}
109
+
110
+ declare var translationUtil: TranslationUtil;
111
+
112
+ export = translationUtil;