@sitevision/api 1.0.20 → 1.1.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. package/hidden/javax/jcr/Binary/index.d.ts +86 -0
  2. package/hidden/javax/jcr/Credentials/index.d.ts +11 -0
  3. package/hidden/javax/jcr/ImportUUIDBehavior/index.d.ts +11 -0
  4. package/hidden/javax/jcr/Item/index.d.ts +353 -0
  5. package/hidden/javax/jcr/ItemVisitor/index.d.ts +41 -0
  6. package/hidden/javax/jcr/NamespaceRegistry/index.d.ts +100 -0
  7. package/hidden/javax/jcr/Node/index.d.ts +2808 -0
  8. package/hidden/javax/jcr/NodeIterator/index.d.ts +18 -0
  9. package/hidden/javax/jcr/Property/index.d.ts +801 -0
  10. package/hidden/javax/jcr/PropertyIterator/index.d.ts +17 -0
  11. package/hidden/javax/jcr/RangeIterator/index.d.ts +75 -0
  12. package/hidden/javax/jcr/Repository/index.d.ts +318 -0
  13. package/hidden/javax/jcr/RepositoryFactory/index.d.ts +90 -0
  14. package/hidden/javax/jcr/Value/index.d.ts +190 -0
  15. package/hidden/javax/jcr/ValueFactory/index.d.ts +179 -0
  16. package/hidden/javax/jcr/Workspace/index.d.ts +1061 -0
  17. package/hidden/javax/jcr/lock/Lock/index.d.ts +142 -0
  18. package/hidden/javax/jcr/lock/LockManager/index.d.ts +217 -0
  19. package/hidden/javax/jcr/nodetype/ItemDefinition/index.d.ts +219 -0
  20. package/hidden/javax/jcr/nodetype/NodeDefinition/index.d.ts +158 -0
  21. package/hidden/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +74 -0
  22. package/hidden/javax/jcr/nodetype/NodeType/index.d.ts +349 -0
  23. package/hidden/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +248 -0
  24. package/hidden/javax/jcr/nodetype/NodeTypeIterator/index.d.ts +16 -0
  25. package/hidden/javax/jcr/nodetype/NodeTypeManager/index.d.ts +218 -0
  26. package/hidden/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +98 -0
  27. package/hidden/javax/jcr/nodetype/PropertyDefinition/index.d.ts +536 -0
  28. package/hidden/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +97 -0
  29. package/hidden/javax/jcr/observation/Event/index.d.ts +133 -0
  30. package/hidden/javax/jcr/observation/EventIterator/index.d.ts +20 -0
  31. package/hidden/javax/jcr/observation/EventJournal/index.d.ts +22 -0
  32. package/hidden/javax/jcr/observation/EventListener/index.d.ts +23 -0
  33. package/hidden/javax/jcr/observation/EventListenerIterator/index.d.ts +20 -0
  34. package/hidden/javax/jcr/observation/ObservationManager/index.d.ts +227 -0
  35. package/hidden/javax/jcr/query/Query/index.d.ts +201 -0
  36. package/hidden/javax/jcr/query/QueryManager/index.d.ts +73 -0
  37. package/hidden/javax/jcr/query/QueryResult/index.d.ts +51 -0
  38. package/hidden/javax/jcr/query/Row/index.d.ts +159 -0
  39. package/hidden/javax/jcr/query/RowIterator/index.d.ts +20 -0
  40. package/hidden/javax/jcr/query/qom/And/index.d.ts +26 -0
  41. package/hidden/javax/jcr/query/qom/BindVariableValue/index.d.ts +15 -0
  42. package/hidden/javax/jcr/query/qom/ChildNode/index.d.ts +27 -0
  43. package/hidden/javax/jcr/query/qom/ChildNodeJoinCondition/index.d.ts +27 -0
  44. package/hidden/javax/jcr/query/qom/Column/index.d.ts +39 -0
  45. package/hidden/javax/jcr/query/qom/Comparison/index.d.ts +82 -0
  46. package/hidden/javax/jcr/query/qom/Constraint/index.d.ts +13 -0
  47. package/hidden/javax/jcr/query/qom/DescendantNode/index.d.ts +31 -0
  48. package/hidden/javax/jcr/query/qom/DescendantNodeJoinCondition/index.d.ts +29 -0
  49. package/hidden/javax/jcr/query/qom/DynamicOperand/index.d.ts +9 -0
  50. package/hidden/javax/jcr/query/qom/EquiJoinCondition/index.d.ts +41 -0
  51. package/hidden/javax/jcr/query/qom/FullTextSearch/index.d.ts +89 -0
  52. package/hidden/javax/jcr/query/qom/FullTextSearchScore/index.d.ts +24 -0
  53. package/hidden/javax/jcr/query/qom/Join/index.d.ts +36 -0
  54. package/hidden/javax/jcr/query/qom/JoinCondition/index.d.ts +9 -0
  55. package/hidden/javax/jcr/query/qom/Length/index.d.ts +24 -0
  56. package/hidden/javax/jcr/query/qom/Literal/index.d.ts +18 -0
  57. package/hidden/javax/jcr/query/qom/LowerCase/index.d.ts +26 -0
  58. package/hidden/javax/jcr/query/qom/NodeLocalName/index.d.ts +16 -0
  59. package/hidden/javax/jcr/query/qom/NodeName/index.d.ts +16 -0
  60. package/hidden/javax/jcr/query/qom/Not/index.d.ts +20 -0
  61. package/hidden/javax/jcr/query/qom/Operand/index.d.ts +9 -0
  62. package/hidden/javax/jcr/query/qom/Or/index.d.ts +30 -0
  63. package/hidden/javax/jcr/query/qom/Ordering/index.d.ts +53 -0
  64. package/hidden/javax/jcr/query/qom/PropertyExistence/index.d.ts +24 -0
  65. package/hidden/javax/jcr/query/qom/PropertyValue/index.d.ts +25 -0
  66. package/hidden/javax/jcr/query/qom/QueryObjectModel/index.d.ts +64 -0
  67. package/hidden/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +9 -0
  68. package/hidden/javax/jcr/query/qom/QueryObjectModelFactory/index.d.ts +638 -0
  69. package/hidden/javax/jcr/query/qom/SameNode/index.d.ts +27 -0
  70. package/hidden/javax/jcr/query/qom/SameNodeJoinCondition/index.d.ts +36 -0
  71. package/hidden/javax/jcr/query/qom/Selector/index.d.ts +35 -0
  72. package/hidden/javax/jcr/query/qom/Source/index.d.ts +9 -0
  73. package/hidden/javax/jcr/query/qom/StaticOperand/index.d.ts +10 -0
  74. package/hidden/javax/jcr/query/qom/UpperCase/index.d.ts +26 -0
  75. package/hidden/javax/jcr/retention/Hold/index.d.ts +34 -0
  76. package/hidden/javax/jcr/retention/RetentionManager/index.d.ts +189 -0
  77. package/hidden/javax/jcr/retention/RetentionPolicy/index.d.ts +21 -0
  78. package/hidden/javax/jcr/security/AccessControlEntry/index.d.ts +24 -0
  79. package/hidden/javax/jcr/security/AccessControlList/index.d.ts +91 -0
  80. package/hidden/javax/jcr/security/AccessControlManager/index.d.ts +297 -0
  81. package/hidden/javax/jcr/security/AccessControlPolicy/index.d.ts +11 -0
  82. package/hidden/javax/jcr/security/AccessControlPolicyIterator/index.d.ts +20 -0
  83. package/hidden/javax/jcr/security/NamedAccessControlPolicy/index.d.ts +22 -0
  84. package/hidden/javax/jcr/security/Privilege/index.d.ts +117 -0
  85. package/hidden/javax/jcr/version/Version/index.d.ts +121 -0
  86. package/hidden/javax/jcr/version/VersionHistory/index.d.ts +307 -0
  87. package/hidden/javax/jcr/version/VersionIterator/index.d.ts +20 -0
  88. package/hidden/javax/jcr/version/VersionManager/index.d.ts +1082 -0
  89. package/hidden/senselogic/sitevision/api/base/Builder/index.d.ts +102 -0
  90. package/hidden/senselogic/sitevision/api/base/Filter/index.d.ts +25 -0
  91. package/hidden/senselogic/sitevision/api/base/FilterSplit/index.d.ts +50 -0
  92. package/hidden/senselogic/sitevision/api/base/Loadable/index.d.ts +15 -0
  93. package/hidden/senselogic/sitevision/api/base/Resolver/index.d.ts +31 -0
  94. package/hidden/senselogic/sitevision/api/base/Wrapper/index.d.ts +24 -0
  95. package/hidden/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.d.ts +417 -0
  96. package/hidden/senselogic/sitevision/api/format/NumericFormatter/index.d.ts +80 -0
  97. package/hidden/senselogic/sitevision/api/format/NumericFormatterBuilder/index.d.ts +100 -0
  98. package/hidden/senselogic/sitevision/api/i18n/Currency/index.d.ts +120 -0
  99. package/hidden/senselogic/sitevision/api/link/CustomLinkProcessor/index.d.ts +45 -0
  100. package/hidden/senselogic/sitevision/api/link/CustomLinkRenderData/index.d.ts +65 -0
  101. package/hidden/senselogic/sitevision/api/mail/Mail/index.d.ts +32 -0
  102. package/hidden/senselogic/sitevision/api/message/MessageTextLinker/index.d.ts +15 -0
  103. package/hidden/senselogic/sitevision/api/metadata/value/LinkValue/index.d.ts +23 -0
  104. package/hidden/senselogic/sitevision/api/metadata/value/RelatedValue/index.d.ts +23 -0
  105. package/hidden/senselogic/sitevision/api/property/VersionedPropertyUtil/index.d.ts +642 -0
  106. package/hidden/senselogic/sitevision/api/render/BuddyIconRenderer/BuddyIconInfo/index.d.ts +51 -0
  107. package/hidden/senselogic/sitevision/api/render/ImageScaler/index.d.ts +58 -0
  108. package/hidden/senselogic/sitevision/api/render/TextModuleRenderer/index.d.ts +301 -0
  109. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ArticleUtilConstants/index.d.ts +85 -0
  110. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ExceptionSuppressingProxyConstants/index.d.ts +31 -0
  111. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/IndexingUtilConstants/index.d.ts +31 -0
  112. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/LinkPageUtilConstants/index.d.ts +67 -0
  113. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MathInstanceConstants/index.d.ts +25 -0
  114. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MimeTypeUtilConstants/index.d.ts +19 -0
  115. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/NodeTypeUtilConstants/index.d.ts +1243 -0
  116. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/OutputUtilConstants/index.d.ts +31 -0
  117. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PageUtilConstants/index.d.ts +91 -0
  118. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletContextUtilConstants/index.d.ts +27 -0
  119. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletUtilConstants/index.d.ts +19 -0
  120. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/QueryStringUtilConstants/index.d.ts +19 -0
  121. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchHitConstants/index.d.ts +25 -0
  122. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchResultConstants/index.d.ts +37 -0
  123. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/VersionUtilConstants/index.d.ts +25 -0
  124. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/index.d.ts +8 -0
  125. package/hidden/senselogic/sitevision/api/render/velocity/VelocityContext/index.d.ts +50 -0
  126. package/hidden/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.d.ts +89 -0
  127. package/hidden/senselogic/sitevision/api/script/RequesterChainable/index.d.ts +119 -0
  128. package/hidden/senselogic/sitevision/api/script/app/RestAppInvoker/index.d.ts +272 -0
  129. package/hidden/senselogic/sitevision/api/script/factory/TypedArgument/index.d.ts +43 -0
  130. package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts +94 -0
  131. package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts +117 -0
  132. package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.d.ts +90 -0
  133. package/hidden/senselogic/sitevision/api/search/SearchFieldUtil/index.d.ts +89 -0
  134. package/hidden/senselogic/sitevision/api/search/SearchHighlighter/index.d.ts +45 -0
  135. package/hidden/senselogic/sitevision/api/search/SearchHit/index.d.ts +1176 -0
  136. package/hidden/senselogic/sitevision/api/search/SearchResult/index.d.ts +414 -0
  137. package/hidden/senselogic/sitevision/api/search/facet/SearchFacetField/index.d.ts +27 -0
  138. package/hidden/senselogic/sitevision/api/search/facet/SearchFacetValue/index.d.ts +61 -0
  139. package/hidden/senselogic/sitevision/api/search/searcher/Searcher/index.d.ts +277 -0
  140. package/hidden/senselogic/sitevision/api/search/searcher/component/Filter/index.d.ts +25 -0
  141. package/hidden/senselogic/sitevision/api/search/searcher/component/Highlight/index.d.ts +29 -0
  142. package/hidden/senselogic/sitevision/api/search/searcher/component/Monitor/index.d.ts +25 -0
  143. package/hidden/senselogic/sitevision/api/search/searcher/component/Parser/index.d.ts +35 -0
  144. package/hidden/senselogic/sitevision/api/search/searcher/component/Sort/index.d.ts +25 -0
  145. package/hidden/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.d.ts +29 -0
  146. package/hidden/senselogic/sitevision/api/search/sort/CustomSort/index.d.ts +82 -0
  147. package/hidden/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.d.ts +21 -0
  148. package/hidden/senselogic/sitevision/api/security/DirectoryAttributes/index.d.ts +70 -0
  149. package/hidden/senselogic/sitevision/api/security/MessageDigester/index.d.ts +50 -0
  150. package/hidden/senselogic/sitevision/api/security/RoleAssignment/index.d.ts +72 -0
  151. package/hidden/senselogic/sitevision/api/security/RoleMatcher/index.d.ts +29 -0
  152. package/hidden/senselogic/sitevision/api/security/SecretStore/index.d.ts +55 -0
  153. package/hidden/senselogic/sitevision/api/security/UserUtil/index.d.ts +80 -0
  154. package/hidden/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.d.ts +36 -0
  155. package/hidden/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.d.ts +32 -0
  156. package/hidden/senselogic/sitevision/api/user/UserIdentityWrapper/index.d.ts +599 -0
  157. package/hidden/senselogic/sitevision/api/webresource/LinkTarget/index.d.ts +20 -0
  158. package/hidden/senselogic/sitevision/api/xml/XmlElement/index.d.ts +55 -0
  159. package/hidden/senselogic/sitevision/api/xml/XmlElementHandler/index.d.ts +17 -0
  160. package/package.json +2 -4
  161. package/server/AliasUtil/index.d.ts +25 -0
  162. package/server/AliasUtil/index.js +10 -0
  163. package/server/ArchiveUtil/index.d.ts +65 -11
  164. package/server/ArraysInstance/index.d.ts +1846 -0
  165. package/server/ArticleUtil/index.d.ts +381 -69
  166. package/server/AuthenticationUtil/index.d.ts +106 -0
  167. package/server/BookmarkUtil/index.d.ts +36 -28
  168. package/server/BuddyIconRenderer/index.d.ts +240 -0
  169. package/server/ClientUtil/index.d.ts +18 -4
  170. package/server/CollaborationFactory/index.d.ts +42 -25
  171. package/server/CollaborationGroupFolderUtil/index.d.ts +40 -29
  172. package/server/CollaborationGroupTemplateUtil/index.d.ts +71 -39
  173. package/server/CollaborationGroupUtil/index.d.ts +128 -55
  174. package/server/CollectionsInstance/index.d.ts +738 -0
  175. package/server/ColorUtil/index.d.ts +22 -17
  176. package/server/CompoundAndFilterBuilder/index.d.ts +60 -0
  177. package/server/CompoundComparatorBuilder/index.d.ts +63 -0
  178. package/server/CompoundOrFilterBuilder/index.d.ts +59 -0
  179. package/server/ContentNodeUtil/index.d.ts +76 -0
  180. package/server/CurrencyFactory/index.d.ts +135 -0
  181. package/server/DateUtil/index.d.ts +154 -77
  182. package/server/DecorationUtil/index.d.ts +23 -0
  183. package/server/DeviceUtil/index.d.ts +36 -0
  184. package/server/DirectoryUtil/index.d.ts +107 -47
  185. package/server/DocTypeUtil/index.d.ts +149 -0
  186. package/server/EndecUtil/index.d.ts +537 -91
  187. package/server/ExtendedDismaxParserBuilder/index.d.ts +311 -0
  188. package/server/FileIconRenderer/index.d.ts +346 -0
  189. package/server/FileUtil/index.d.ts +462 -0
  190. package/server/FilterBuilder/index.d.ts +120 -0
  191. package/server/FolderUtil/index.d.ts +161 -0
  192. package/server/FontUtil/index.d.ts +49 -0
  193. package/server/FormatterBuilderFactory/index.d.ts +129 -0
  194. package/server/HighlightBuilder/index.d.ts +194 -0
  195. package/server/IconUtil/index.d.ts +37 -0
  196. package/server/ImageLinkRenderer/index.d.ts +134 -0
  197. package/server/ImageRenderer/index.d.ts +613 -231
  198. package/server/ImageUtil/index.d.ts +430 -0
  199. package/server/IndexUtil/index.d.ts +71 -0
  200. package/server/IndexingUtil/index.d.ts +92 -0
  201. package/server/InstanceCreatorUtil/index.d.ts +661 -0
  202. package/server/InstanceTypeUtil/index.d.ts +202 -0
  203. package/server/JwtUtil/index.d.ts +217 -0
  204. package/server/LandingPageUtil/index.d.ts +67 -50
  205. package/server/LinkPageUtil/index.d.ts +468 -0
  206. package/server/LinkRenderer/index.d.ts +1157 -0
  207. package/server/LinkTargetBuilder/index.d.ts +146 -0
  208. package/server/LinkValueBuilder/index.d.ts +129 -52
  209. package/server/ListWrapper/index.d.ts +172 -0
  210. package/server/LocaleUtil/index.d.ts +695 -61
  211. package/server/LogUtil/index.d.ts +118 -77
  212. package/server/MailBuilder/index.d.ts +238 -0
  213. package/server/MailUtil/index.d.ts +98 -0
  214. package/server/MathInstance/index.d.ts +681 -0
  215. package/server/MessageDigesterFactory/index.d.ts +49 -0
  216. package/server/MetadataDefinitionUtil/index.d.ts +118 -0
  217. package/server/MetadataUtil/index.d.ts +524 -79
  218. package/server/MimeTypeUtil/index.d.ts +316 -0
  219. package/server/MonitorBuilder/index.d.ts +51 -0
  220. package/server/NodeComparatorUtil/index.d.ts +397 -0
  221. package/server/NodeFactoryUtil/index.d.ts +32 -0
  222. package/server/NodeFilterUtil/index.d.ts +924 -0
  223. package/server/NodeIteratorUtil/index.d.ts +322 -72
  224. package/server/NodeResolverUtil/index.d.ts +767 -0
  225. package/server/NodeTreeUtil/index.d.ts +339 -63
  226. package/server/NodeTypeUtil/index.d.ts +391 -197
  227. package/server/OfflineVersionPropertyUtil/index.d.ts +30 -0
  228. package/server/OnlineVersionPropertyUtil/index.d.ts +30 -0
  229. package/server/OutputUtil/index.d.ts +641 -0
  230. package/server/PageUtil/index.d.ts +330 -0
  231. package/server/PermissionUtil/index.d.ts +650 -0
  232. package/server/PortletContextUtil/index.d.ts +118 -37
  233. package/server/PortletContextUtil/index.js +1 -0
  234. package/server/PortletUtil/index.d.ts +40 -0
  235. package/server/PrincipalUtil/index.d.ts +51 -0
  236. package/server/Properties/index.d.ts +185 -38
  237. package/server/PropertyUtil/index.d.ts +2330 -406
  238. package/server/PublishingUtil/index.d.ts +385 -49
  239. package/server/QueryStringUtil/index.d.ts +737 -0
  240. package/server/RedirectUtil/index.d.ts +98 -0
  241. package/server/RelatedValueBuilder/index.d.ts +81 -39
  242. package/server/Requester/index.d.ts +441 -65
  243. package/server/ResourceLocatorUtil/index.d.ts +483 -227
  244. package/server/RestApi/index.d.ts +208 -23
  245. package/server/RestAppInvokerFactory/index.d.ts +73 -0
  246. package/server/RoleAssignmentBuilder/index.d.ts +60 -0
  247. package/server/RoleMatcherBuilder/index.d.ts +59 -0
  248. package/server/RoleUtil/index.d.ts +57 -0
  249. package/server/ScriptUtil/index.d.ts +625 -143
  250. package/server/SearchFactory/index.d.ts +133 -0
  251. package/server/SearchUtil/index.d.ts +164 -0
  252. package/server/SearcherBuilder/index.d.ts +260 -0
  253. package/server/Session/index.d.ts +1758 -0
  254. package/server/SimpleUserUtil/index.d.ts +39 -30
  255. package/server/SiteCookieUtil/index.d.ts +78 -53
  256. package/server/SortBuilder/index.d.ts +111 -0
  257. package/server/SpellCheckBuilder/index.d.ts +68 -0
  258. package/server/StandardParserBuilder/index.d.ts +112 -0
  259. package/server/StructureUtil/index.d.ts +167 -0
  260. package/server/SubscriberUtil/index.d.ts +122 -0
  261. package/server/SubscriptionUtil/index.d.ts +197 -0
  262. package/server/SystemUserUtil/index.d.ts +201 -98
  263. package/server/TagUtil/index.d.ts +193 -0
  264. package/server/TemplateUtil/index.d.ts +217 -0
  265. package/server/TemporaryFileNodeBuilder/index.d.ts +63 -0
  266. package/server/TemporaryNodeBuilder/index.d.ts +241 -0
  267. package/server/TextModuleRendererBuilder/index.d.ts +68 -0
  268. package/server/TimestampUtil/index.d.ts +98 -82
  269. package/server/TranslationUtil/index.d.ts +175 -0
  270. package/server/TrashcanUtil/index.d.ts +193 -24
  271. package/server/UserDataUtil/index.d.ts +167 -85
  272. package/server/UserFactory/index.d.ts +45 -30
  273. package/server/UserFieldRenderer/index.d.ts +258 -0
  274. package/server/UserIdentityUtil/index.d.ts +61 -29
  275. package/server/UserUtil/index.d.ts +69 -28
  276. package/server/Utils/index.d.ts +870 -12
  277. package/server/VelocityRenderer/index.d.ts +248 -0
  278. package/server/VersionUtil/index.d.ts +15 -12
  279. package/server/WebContentUtil/index.d.ts +644 -0
  280. package/server/WebResourceFactory/index.d.ts +66 -0
  281. package/server/XSLTUtil/index.d.ts +49 -10
  282. package/server/XmlParserUtil/index.d.ts +82 -81
  283. package/builtins/Binary/index.d.ts +0 -3
  284. package/builtins/Calendar/index.d.ts +0 -3
  285. package/builtins/Collection/index.d.ts +0 -3
  286. package/builtins/Date/index.d.ts +0 -3
  287. package/builtins/InputStream/index.d.ts +0 -3
  288. package/builtins/Instant/index.d.ts +0 -3
  289. package/builtins/List/index.d.ts +0 -3
  290. package/builtins/LocalDateTime/index.d.ts +0 -3
  291. package/builtins/Locale/index.d.ts +0 -3
  292. package/builtins/Node/index.d.ts +0 -3
  293. package/builtins/NodeIterator/index.d.ts +0 -27
  294. package/builtins/Property/index.d.ts +0 -3
  295. package/builtins/Serializable/index.d.ts +0 -3
  296. package/builtins/Set/index.d.ts +0 -3
  297. package/builtins/Throwable/index.d.ts +0 -3
  298. package/builtins/byte/index.d.ts +0 -3
@@ -1,25 +1,883 @@
1
- import { ImageRenderer } from '../ImageRenderer';
2
- import { ImageScaler } from '../ImageScaler';
1
+ import PortletContextUtil from "../PortletContextUtil";
2
+ import NodeIteratorUtil from "../NodeIteratorUtil";
3
+ import NodeTreeUtil from "../NodeTreeUtil";
4
+ import PropertyUtil from "../PropertyUtil";
5
+ import LinkRenderer from "../LinkRenderer";
6
+ import OutputUtil from "../OutputUtil";
7
+ import ColorUtil from "../ColorUtil";
8
+ import DecorationUtil from "../DecorationUtil";
9
+ import FontUtil from "../FontUtil";
10
+ import ResourceLocatorUtil from "../ResourceLocatorUtil";
11
+ import EndecUtil from "../EndecUtil";
12
+ import ScriptUtil from "../ScriptUtil";
13
+ import LogUtil from "../LogUtil";
14
+ import IconUtil from "../IconUtil";
15
+ import PermissionUtil from "../PermissionUtil";
16
+ import DirectoryUtil from "../DirectoryUtil";
17
+ import ClientUtil from "../ClientUtil";
18
+ import SearchUtil from "../SearchUtil";
19
+ import SearchFieldUtil from "../../hidden/senselogic/sitevision/api/search/SearchFieldUtil";
20
+ import PortletUtil from "../PortletUtil";
21
+ import MetadataUtil from "../MetadataUtil";
22
+ import BookmarkUtil from "../BookmarkUtil";
23
+ import PublishingUtil from "../PublishingUtil";
24
+ import VersionUtil from "../VersionUtil";
25
+ import ArchiveUtil from "../ArchiveUtil";
26
+ import FolderUtil from "../FolderUtil";
27
+ import StructureUtil from "../StructureUtil";
28
+ import WebContentUtil from "../WebContentUtil";
29
+ import ArticleUtil from "../ArticleUtil";
30
+ import FileUtil from "../FileUtil";
31
+ import ImageUtil from "../ImageUtil";
32
+ import PageUtil from "../PageUtil";
33
+ import TrashcanUtil from "../TrashcanUtil";
34
+ import TemplateUtil from "../TemplateUtil";
35
+ import AuthenticationUtil from "../AuthenticationUtil";
36
+ import PrincipalUtil from "../PrincipalUtil";
37
+ import FileIconRenderer from "../FileIconRenderer";
38
+ import ImageRenderer from "../ImageRenderer";
39
+ import ImageScaler from "../../hidden/senselogic/sitevision/api/render/ImageScaler";
40
+ import ExceptionSuppressingProxy from "../../hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy";
41
+ import ExceptionSuppressingCollection from "../../hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection";
42
+ import ExceptionSuppressingIterator from "../../hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator";
43
+ import SubscriptionUtil from "../SubscriptionUtil";
44
+ import SubscriberUtil from "../SubscriberUtil";
45
+ import InstanceTypeUtil from "../InstanceTypeUtil";
46
+ import NodeTypeUtil from "../NodeTypeUtil";
47
+ import MetadataDefinitionUtil from "../MetadataDefinitionUtil";
48
+ import ImageLinkRenderer from "../ImageLinkRenderer";
49
+ import MimeTypeUtil from "../MimeTypeUtil";
50
+ import DocTypeUtil from "../DocTypeUtil";
51
+ import VersionedPropertyUtil from "../../hidden/senselogic/sitevision/api/property/VersionedPropertyUtil";
52
+ import DeviceUtil from "../DeviceUtil";
53
+ import UserUtil from "../../hidden/senselogic/sitevision/api/security/UserUtil";
54
+ import VelocityRenderer from "../VelocityRenderer";
55
+ import InstanceCreatorUtil from "../InstanceCreatorUtil";
56
+ import DateUtil from "../DateUtil";
57
+ import LandingPageUtil from "../LandingPageUtil";
58
+ import BuddyIconRenderer from "../BuddyIconRenderer";
59
+ import UserFieldRenderer from "../UserFieldRenderer";
60
+ import MailUtil from "../MailUtil";
61
+ import SearchFactory from "../SearchFactory";
62
+ import LocaleUtil from "../LocaleUtil";
63
+ import UserFactory from "../UserFactory";
64
+ import CollaborationFactory from "../CollaborationFactory";
65
+ import ContentNodeUtil from "../ContentNodeUtil";
66
+ import NodeComparatorUtil from "../NodeComparatorUtil";
67
+ import NodeFilterUtil from "../NodeFilterUtil";
68
+ import RedirectUtil from "../RedirectUtil";
69
+ import NodeResolverUtil from "../NodeResolverUtil";
70
+ import NodeFactoryUtil from "../NodeFactoryUtil";
71
+ import WebResourceFactory from "../WebResourceFactory";
72
+ import TranslationUtil from "../TranslationUtil";
73
+ import XSLTUtil from "../XSLTUtil";
74
+ import TimestampUtil from "../TimestampUtil";
75
+ import MessageDigesterFactory from "../MessageDigesterFactory";
76
+ import XmlParserUtil from "../XmlParserUtil";
77
+ import RoleUtil from "../RoleUtil";
78
+ import SiteCookieUtil from "../SiteCookieUtil";
79
+ import CurrencyFactory from "../CurrencyFactory";
80
+ import FormatterBuilderFactory from "../FormatterBuilderFactory";
81
+ import TextModuleRendererBuilder from "../TextModuleRendererBuilder";
82
+ import TagUtil from "../TagUtil";
83
+ import AliasUtil from "../AliasUtil";
3
84
 
4
85
  /**
5
- * Creates and returns a new instance of a stateful image renderer. Since the renderer is stateful, re-use of the same instance instead of getting a new is preferred for best performance. (i.e. Just call this method once in the rendering phase of your portlet)
6
- * @returns {ImageRenderer} a stateful image renderer.
7
- */
86
+ * Gets an instance of a portlet context utility class
87
+ * @return a context utility class
88
+ */
89
+ export function getPortletContextUtil(): PortletContextUtil;
90
+
91
+ /**
92
+ * Gets an instance of a node iterator utility class
93
+ * @return a node iterator utility class
94
+ */
95
+ export function getNodeIteratorUtil(): NodeIteratorUtil;
96
+
97
+ /**
98
+ * Gets an instance of a utility class for node trees.
99
+ * @return a utility class for node trees
100
+ */
101
+ export function getNodeTreeUtil(): NodeTreeUtil;
102
+
103
+ /**
104
+ * Gets an instance of a utility class for jcr properties
105
+ * @return a utility class for jcr properties
106
+ */
107
+ export function getPropertyUtil(): PropertyUtil;
108
+
109
+ /**
110
+ * Creates and returns a new instance of a stateful link renderer.
111
+ * Since the renderer is stateful, re-use of the same instance instead of getting a new is preferred for best performance.
112
+ * (i.e. Just call this method once in the rendering phase of your portlet)
113
+ * @return a stateful link renderer
114
+ */
115
+ export function getLinkRenderer(): LinkRenderer;
116
+
117
+ /**
118
+ * Gets an instance of a output utility class
119
+ * @return a output utility class
120
+ */
121
+ export function getOutputUtil(): OutputUtil;
122
+
123
+ /**
124
+ * Gets an instance of a color utility class
125
+ * @return a color utility class
126
+ */
127
+ export function getColorUtil(): ColorUtil;
128
+
129
+ /**
130
+ * Gets an instance of a decoration utility class
131
+ * @return a decoration utility class
132
+ */
133
+ export function getDecorationUtil(): DecorationUtil;
134
+
135
+ /**
136
+ * Gets an instance of a font utility class
137
+ * @return a font utility class
138
+ */
139
+ export function getFontUtil(): FontUtil;
140
+
141
+ /**
142
+ * Gets an instance of a resource locator utility class
143
+ * @return a resource locator utility class
144
+ */
145
+ export function getResourceLocatorUtil(): ResourceLocatorUtil;
146
+
147
+ /**
148
+ * Gets an instance of an encode/decode utility class
149
+ * @return a escape utility class
150
+ */
151
+ export function getEndecUtil(): EndecUtil;
152
+
153
+ /**
154
+ * Gets an instance of a scripting utility class
155
+ * @return a scripting utility class
156
+ */
157
+ export function getScriptUtil(): ScriptUtil;
158
+
159
+ /**
160
+ * Gets an instance of a logging utility class
161
+ * @return a logging utility class
162
+ */
163
+ export function getLogUtil(): LogUtil;
164
+
165
+ /**
166
+ * Gets an instance of an icon utility class
167
+ * @return an icon utility class
168
+ */
169
+ export function getIconUtil(): IconUtil;
170
+
171
+ /**
172
+ * Gets an instance of a permission utility class
173
+ * @return a permission utility class
174
+ * @since Sitevision 2.6
175
+ */
176
+ export function getPermissionUtil(): PermissionUtil;
177
+
178
+ /**
179
+ * Gets an instance of a directory utility class
180
+ * @return a directory utility class
181
+ * @since Sitevision 2.6
182
+ */
183
+ export function getDirectoryUtil(): DirectoryUtil;
184
+
185
+ /**
186
+ * Gets an instance of a client utility class
187
+ * @return a client utility class
188
+ * @since Sitevision 2.6_02
189
+ */
190
+ export function getClientUtil(): ClientUtil;
191
+
192
+ /**
193
+ * Gets an instance of a search utility class
194
+ * @return a search utility class
195
+ * @since Sitevision 2.6_05
196
+ */
197
+ export function getSearchUtil(): SearchUtil;
198
+
199
+ /**
200
+ * Gets an instance of a search field utility class
201
+ * @return a search field utility class
202
+ * @since Sitevision 2.6.2, 2.7_06
203
+ * @deprecated
204
+ */
205
+ export function getSearchFieldUtil(): SearchFieldUtil;
206
+
207
+ /**
208
+ * Gets an instance of a portlet utility class
209
+ * @return a search utility class
210
+ * @since Sitevision 2.6_06
211
+ */
212
+ export function getPortletUtil(): PortletUtil;
213
+
214
+ /**
215
+ * Gets an instance of a metadata utility class
216
+ * @return a metadata utility class
217
+ * @since Sitevision 2.6.1
218
+ */
219
+ export function getMetadataUtil(): MetadataUtil;
220
+
221
+ /**
222
+ * Gets an instance of a bookmark utility class
223
+ * @return a bookmark utility class
224
+ * @since Sitevision 2.6.1
225
+ */
226
+ export function getBookmarkUtil(): BookmarkUtil;
227
+
228
+ /**
229
+ * Gets an instance of a publishing utility class
230
+ * @return a publishing utility class
231
+ * @since Sitevision 2.6.1_04
232
+ */
233
+ export function getPublishingUtil(): PublishingUtil;
234
+
235
+ /**
236
+ * Gets an instance of a version utility class
237
+ * @return a version utility class
238
+ * @since Sitevision 2.6.1_04
239
+ */
240
+ export function getVersionUtil(): VersionUtil;
241
+
242
+ /**
243
+ * Gets an instance of an archive utility class
244
+ * @return an archive utility class
245
+ * @since Sitevision 2.6.2
246
+ */
247
+ export function getArchiveUtil(): ArchiveUtil;
248
+
249
+ /**
250
+ * Gets an instance of a folder utility class
251
+ * @return a folder utility class
252
+ * @since Sitevision 2.6.2
253
+ */
254
+ export function getFolderUtil(): FolderUtil;
255
+
256
+ /**
257
+ * Gets an instance of a structure utility class
258
+ * @return a structure utility class
259
+ * @since Sitevision 2.6.2
260
+ */
261
+ export function getStructureUtil(): StructureUtil;
262
+
263
+ /**
264
+ * Gets an instance of a web content utility class
265
+ * @return a web content utility class
266
+ * @since Sitevision 2.6.2
267
+ */
268
+ export function getWebContentUtil(): WebContentUtil;
269
+
270
+ /**
271
+ * Gets an instance of an article utility class
272
+ * @return an article utility class
273
+ * @since Sitevision 2.6.2
274
+ */
275
+ export function getArticleUtil(): ArticleUtil;
276
+
277
+ /**
278
+ * Gets an instance of a file utility class
279
+ * @return a file utility class
280
+ * @since Sitevision 2.6.2
281
+ */
282
+ export function getFileUtil(): FileUtil;
283
+
284
+ /**
285
+ * Gets an instance of an image utility class
286
+ * @return an image utility class
287
+ * @since Sitevision 2.6.2
288
+ */
289
+ export function getImageUtil(): ImageUtil;
290
+
291
+ /**
292
+ * Gets an instance of a page utility class
293
+ * @return a page utility class
294
+ * @since Sitevision 2.6.2
295
+ */
296
+ export function getPageUtil(): PageUtil;
297
+
298
+ /**
299
+ * Gets an instance of a trashcan utility class
300
+ * @return a trashcan utility class
301
+ * @since Sitevision 2.6.2
302
+ */
303
+ export function getTrashcanUtil(): TrashcanUtil;
304
+
305
+ /**
306
+ * Gets an instance of a template utility class
307
+ * @return a template utility class
308
+ * @since Sitevision 2.6.1_04
309
+ */
310
+ export function getTemplateUtil(): TemplateUtil;
311
+
312
+ /**
313
+ * Gets an instance of an authentication utility class
314
+ * @return a authentication utility class
315
+ * @since Sitevision 2.6.1_03
316
+ */
317
+ export function getAuthenticationUtil(): AuthenticationUtil;
318
+
319
+ /**
320
+ * Gets an instance of an principal utility class
321
+ * @return a principal utility class
322
+ * @since Sitevision 2.6.1_06
323
+ */
324
+ export function getPrincipalUtil(): PrincipalUtil;
325
+
326
+ /**
327
+ * Creates and returns a new instance of a stateful file icon renderer.
328
+ * Since the renderer is stateful, re-use of the same instance instead of getting a new is preferred for best performance.
329
+ * (i.e. Just call this method once in the rendering phase of your portlet)
330
+ * @return a stateful file icon renderer
331
+ * @since Sitevision 2.6.1_08
332
+ */
333
+ export function getFileIconRenderer(): FileIconRenderer;
334
+
335
+ /**
336
+ * Creates and returns a new instance of a stateful image renderer.
337
+ * Since the renderer is stateful, re-use of the same instance instead of getting a new is preferred for best performance.
338
+ * (i.e. Just call this method once in the rendering phase of your portlet)
339
+ * @return a stateful image renderer
340
+ * @since Sitevision 2.6.1_08
341
+ */
8
342
  export function getImageRenderer(): ImageRenderer;
9
343
 
10
344
  /**
11
- * Gets an instance of an immutable image scaler that enables scaling of images to a certain size.
12
- * @param {number} aMaxWidth - max width in pixels for scaled images, must be 10 or higher
13
- * @param {number} aMaxHeight - max height in pixels for scaled images, must be 10 or higher
14
- * @returns {ImageScaler} an image scaler that can be used when rendering scaled images with an ImageRenderer. If aMaxWidth or aMaxHeight has illegal values, null will be returned.
15
- */
16
- export function getImageScaler(aMaxWidth: number, aMaxHeight: number): ImageScaler;
345
+ * Gets an instance of an immutable image scaler that enables scaling of images to a certain size.
346
+ * <p>
347
+ * Image scaler instance will respect the size ratio of the original image when scaling it.
348
+ * </p>
349
+ * <p>
350
+ * Note that an image scaler must be created in context of a currently executing portlet. In other words:
351
+ * if {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentPortlet()}
352
+ * is <code>null</code>, no image scaler can be created (i.e. this method will return <code>null</code>).
353
+ * </p>
354
+ * @param aMaxWidth max width in pixels for scaled images, must be 10 or higher
355
+ * @param aMaxHeight max height in pixels for scaled images, must be 10 or higher
356
+ * @return an image scaler that can be used when rendering scaled images with an {@link senselogic.sitevision.api.render.ImageRenderer}. If <code>aMaxWidth</code> or <code>aMaxHeight</code> has illegal values, <code>null</code> will be returned.
357
+ * @since Sitevision 2.6.1_08
358
+ */
359
+ export function getImageScaler(
360
+ aMaxWidth: number,
361
+ aMaxHeight: number
362
+ ): ImageScaler;
363
+
364
+ /**
365
+ * Creates and returns an instance of an exception-suppressing proxy.
366
+ *
367
+ * <p>
368
+ * <strong>Note! </strong>Be aware of <code>null</code>'s. They are never proxied. If you try to proxy <code>null</code>, this method
369
+ * will just return <code>null</code>, not a proxy instance. In other words: even though you're trying to use a
370
+ * <code>ExceptionSuppressingProxy</code> to suppress exceptions,
371
+ * method invocations will of course still throw <code>NullPointerException</code>.
372
+ * </p>
373
+ * @param anObject an object to be proxied by an ExceptionSuppressingProxy
374
+ * @return anObject proxied by an ExceptionSuppressingProxy, or <code>null</code> if <code>anObject</code> is <code>null</code>. If <code>anObject</code> is a <code>ExceptionSuppressingProxy</code>), <code>anObject</code> will be returned "as-is" (no new instance will be created).
375
+ * @since Sitevision 2.6.1_09
376
+ */
377
+ export function getExceptionSuppressingProxy(
378
+ anObject: unknown
379
+ ): ExceptionSuppressingProxy;
380
+
381
+ /**
382
+ * Creates and returns an instance of a collection decorator that exposes an exception-suppressing iterator.
383
+ *
384
+ * <p>
385
+ * <strong>Note!</strong> The sole purpose of the <code>ExceptionSuppressingCollection</code> is to provide easy access to a decorated iterator
386
+ * ({@link senselogic.sitevision.api.script.proxy.ExceptionSuppressingIterator}).
387
+ * You should <em>not</em> create a collection of object proxys (i.e. <code>Collection&lt;ExceptionSuppressingProxy&gt;</code>) yourself.
388
+ * You should use <code>ExceptionSuppressingCollection</code>
389
+ * with your "regular" collection since the actual proxying is done by the iterator itself.
390
+ * </p>
391
+ * @param aCollection a collection to be decorated by a ExceptionSuppressingCollection. Note that this should be your "regular" collection, not a already proxied one (i.e. <code>Collection&lt;ExceptionSuppressingProxy&gt;</code>).
392
+ * @return the collection decorated by a ExceptionSuppressingCollection, or <code>null</code> if <code>aCollection</code> is <code>null</code>. If <code>aCollection</code> is a <code>ExceptionSuppressingCollection</code>), <code>aCollection</code> will be returned "as-is" (no new instance will be created).
393
+ * @since Sitevision 2.6.1_09
394
+ */
395
+ export function getExceptionSuppressingCollection(
396
+ aCollection: unknown
397
+ ): ExceptionSuppressingCollection;
398
+
399
+ /**
400
+ * Creates and returns an instance of an exception-suppressing iterator that returns exception-suppressing dynamic proxys.
401
+ * @param anIterator an iterator to be decorated by a ExceptionSuppressingIterator
402
+ * @return the iterator decorated by a ExceptionSuppressingIterator, or <code>null</code> if <code>anIterator</code> is <code>null</code>. If <code>anIterator</code> is a <code>ExceptionSuppressingIterator</code>), <code>anIterator</code> will be returned "as-is" (no new instance will be created).
403
+ * @since Sitevision 2.6.1_09
404
+ */
405
+ export function getExceptionSuppressingIterator(
406
+ anIterator: unknown
407
+ ): ExceptionSuppressingIterator;
408
+
409
+ /**
410
+ * Gets an instance of an subscription utility class
411
+ * @return a subscription utility class
412
+ * @since Sitevision 2.6.1_10
413
+ */
414
+ export function getSubscriptionUtil(): SubscriptionUtil;
17
415
 
416
+ /**
417
+ * Gets an instance of an subscriber utility class
418
+ * @return a subscriber utility class
419
+ * @since Sitevision 2.6.1_10
420
+ */
421
+ export function getSubscriberUtil(): SubscriberUtil;
422
+
423
+ /**
424
+ * Gets an instance of an instance type utility class
425
+ * @return an instance type utility class
426
+ * @since Sitevision 2.6.2
427
+ */
428
+ export function getInstanceTypeUtil(): InstanceTypeUtil;
429
+
430
+ /**
431
+ * Gets an instance of a node type utility class
432
+ * @return a node type utility class
433
+ * @since Sitevision 2.6.2
434
+ */
435
+ export function getNodeTypeUtil(): NodeTypeUtil;
436
+
437
+ /**
438
+ * Gets an instance of an metadata definition utility class
439
+ * @return a metadata definition utility class
440
+ * @since Sitevision 2.6.2_04
441
+ */
442
+ export function getMetadataDefinitionUtil(): MetadataDefinitionUtil;
443
+
444
+ /**
445
+ * Creates and returns a new instance of a stateful image link renderer.
446
+ * Since the renderer is stateful, re-use of the same instance instead of getting a new is preferred for best performance.
447
+ * (i.e. Just call this method once in the rendering phase of your portlet)
448
+ * @return an image link renderer
449
+ * @since Sitevision 2.6.2_04
450
+ */
451
+ export function getImageLinkRenderer(): ImageLinkRenderer;
452
+
453
+ /**
454
+ * Gets an instance of a MIME type utility class
455
+ * @return a MIME type utility class
456
+ * @since Sitevision 3.0
457
+ */
458
+ export function getMimeTypeUtil(): MimeTypeUtil;
459
+
460
+ /**
461
+ * Gets an instance of a DOCTYPE utility class
462
+ * @return a DOCTYPE utility class
463
+ * @since Sitevision 3.0
464
+ */
465
+ export function getDocTypeUtil(): DocTypeUtil;
466
+
467
+ /**
468
+ * Gets an instance of a property utility class for a specified version.
469
+ *
470
+ * <p>
471
+ * <strong>Note!</strong> This method returns an exotic sibling interface to {@link senselogic.sitevision.api.property.PropertyUtil} that
472
+ * can be used to extract property values from <em>an other version than the one you are currently executing in</em>.
473
+ * If you don't know what a version is or haven't thought much about it, you would typically use the common property extraction interface -
474
+ * {@link #getPropertyUtil()}.
475
+ * </p>
476
+ * @param aVersion {@link senselogic.sitevision.api.versioning.VersionUtil#OFFLINE_VERSION} or {@link senselogic.sitevision.api.versioning.VersionUtil#ONLINE_VERSION}
477
+ * @return a VersionedPropertyUtil class for aVersion, i.e. {@link senselogic.sitevision.api.property.OfflineVersionPropertyUtil} or {@link senselogic.sitevision.api.property.OnlineVersionPropertyUtil}. if aVersion has an illegal value, null will be returned.
478
+ * @see senselogic.sitevision.api.property.PropertyUtil
479
+ * @since Sitevision 3.0
480
+ */
481
+ export function getVersionedPropertyUtil(
482
+ aVersion: number
483
+ ): VersionedPropertyUtil;
484
+
485
+ /**
486
+ * Gets an instance of a device utility class
487
+ * @return a device utility class
488
+ * @since Sitevision 3.0
489
+ */
490
+ export function getDeviceUtil(): DeviceUtil;
491
+
492
+ /**
493
+ * Gets an instance of a user utility class
494
+ * @return a user utility class
495
+ * @since Sitevision 3.0
496
+ * @deprecated use {@link #getUserFactory()} to get a {@link senselogic.sitevision.api.user.SystemUserUtil} and {@link senselogic.sitevision.api.user.UserIdentityUtil} instead
497
+ */
498
+ export function getUserUtil(): UserUtil;
499
+
500
+ /**
501
+ * Gets an instance of a Velocity renderer class.
502
+ * @return a Velocity renderer class
503
+ * @since Sitevision 3.0
504
+ */
505
+ export function getVelocityRenderer(): VelocityRenderer;
506
+
507
+ /**
508
+ * Gets an instance of an instance creator utility class.
509
+ * @return an instance creator class
510
+ * @since Sitevision 3.1
511
+ */
512
+ export function getInstanceCreatorUtil(): InstanceCreatorUtil;
513
+
514
+ /**
515
+ * Gets an instance of an date utility class.
516
+ * @return an date utility
517
+ * @since Sitevision 3.5
518
+ */
519
+ export function getDateUtil(): DateUtil;
520
+
521
+ /**
522
+ * Gets an instance of a landing page utility class.
523
+ * @return an landing page utility
524
+ * @since Sitevision 3.5.1
525
+ */
526
+ export function getLandingPageUtil(): LandingPageUtil;
527
+
528
+ /**
529
+ * Creates and returns a new instance of a stateful buddy icon renderer.
530
+ * Since the renderer is stateful, re-use of the same instance instead of getting a new is preferred for best performance.
531
+ * (i.e. Just call this method once in the rendering phase of your portlet)
532
+ * @return a stateful buddy icon renderer
533
+ * @since Sitevision 3.5.3
534
+ */
535
+ export function getBuddyIconRenderer(): BuddyIconRenderer;
536
+
537
+ /**
538
+ * Creates and returns a new instance of a stateful user field renderer.
539
+ * Since the renderer is stateful, re-use of the same instance instead of getting a new is preferred for best performance.
540
+ * (i.e. Just call this method once in the rendering phase of your portlet)
541
+ * @return a stateful user field renderer
542
+ * @since Sitevision 3.5.3
543
+ */
544
+ export function getUserFieldRenderer(): UserFieldRenderer;
545
+
546
+ /**
547
+ * Gets an instance of a mail utility class.
548
+ * @return a mail utility
549
+ * @since Sitevision 3.6
550
+ */
551
+ export function getMailUtil(): MailUtil;
552
+
553
+ /**
554
+ * Gets an instance of a factory for search-related instances.
555
+ * @return a factory for creating search-related instances
556
+ * @since Sitevision 3.6
557
+ */
558
+ export function getSearchFactory(): SearchFactory;
559
+
560
+ /**
561
+ * Gets an instance of a locale utility class.
562
+ * @return an instance of a locale utility class
563
+ * @since Sitevision 3.6
564
+ */
565
+ export function getLocaleUtil(): LocaleUtil;
566
+
567
+ /**
568
+ * Gets an instance of a factory for user-related instances.
569
+ * @return a factory for creating user-related instances
570
+ * @since Sitevision 3.6
571
+ */
572
+ export function getUserFactory(): UserFactory;
573
+
574
+ /**
575
+ * Gets an instance of a factory for collaboration-related instances.
576
+ * @return a factory for creating collaboration-related instances
577
+ * @since Sitevision 3.6
578
+ */
579
+ export function getCollaborationFactory(): CollaborationFactory;
580
+
581
+ /**
582
+ * Gets an instance of a content node utility class.
583
+ * @return a content node utility class.
584
+ * @since Sitevision 10.2
585
+ */
586
+ export function getContentNodeUtil(): ContentNodeUtil;
587
+
588
+ /**
589
+ * Gets an instance of a node comparator utility class.
590
+ * @return a node comparator utility class.
591
+ * @since Sitevision 3.6
592
+ */
593
+ export function getNodeComparatorUtil(): NodeComparatorUtil;
594
+
595
+ /**
596
+ * Gets an instance of a node filter utility class.
597
+ * @return a node filter utility class.
598
+ * @since Sitevision 3.6.2
599
+ */
600
+ export function getNodeFilterUtil(): NodeFilterUtil;
601
+
602
+ /**
603
+ * Gets an instance of a redirect utility class.
604
+ * @return a redirect utility class.
605
+ * @since Sitevision 4.0.3
606
+ */
607
+ export function getRedirectUtil(): RedirectUtil;
608
+
609
+ /**
610
+ * Gets an instance of a node resolver utility class.
611
+ * @return a node resolver utility class
612
+ * @since Sitevision 4.1
613
+ */
614
+ export function getNodeResolverUtil(): NodeResolverUtil;
615
+
616
+ /**
617
+ * Gets an instance of a node factory utility class.
618
+ * @return a node factory utility class
619
+ * @since Sitevision 4.1.2
620
+ */
621
+ export function getNodeFactoryUtil(): NodeFactoryUtil;
622
+
623
+ /**
624
+ * Gets an instance of a web resource factory utility class.
625
+ * @return a web resource factory utility class
626
+ * @since Sitevision 4.2
627
+ */
628
+ export function getWebResourceFactory(): WebResourceFactory;
629
+
630
+ /**
631
+ * Gets an instance of a translation utility class.
632
+ * @return a translation utility class
633
+ * @since Sitevision 4.2.1
634
+ */
635
+ export function getTranslationUtil(): TranslationUtil;
636
+
637
+ /**
638
+ * Gets an instance of a XSLT utility class.
639
+ * @return a XSLT utility class
640
+ * @since Sitevision 4.5
641
+ */
642
+ export function getXSLTUtil(): XSLTUtil;
643
+
644
+ /**
645
+ * Gets an instance of a timestamp utility class.
646
+ * @return a timestamp utility class
647
+ * @since Sitevision 4.5.4.1
648
+ */
649
+ export function getTimestampUtil(): TimestampUtil;
650
+
651
+ /**
652
+ * Gets an instance of a message digester factory class.
653
+ * @return a message digester factory
654
+ * @since Sitevision 5.0.1
655
+ */
656
+ export function getMessageDigesterFactory(): MessageDigesterFactory;
657
+
658
+ /**
659
+ * Gets an instance of a xml parser utility class.
660
+ * @return a xml parser utility class
661
+ * @since Sitevision 5.1
662
+ */
663
+ export function getXmlParserUtil(): XmlParserUtil;
664
+
665
+ /**
666
+ * Gets an instance of a role utility class.
667
+ * @return a role utility class
668
+ * @since Sitevision 5.1
669
+ */
670
+ export function getRoleUtil(): RoleUtil;
671
+
672
+ /**
673
+ * Gets an instance of a site cookie utility class.
674
+ * @return a site cookie utility class
675
+ * @since Sitevision 9.1
676
+ */
677
+ export function getSiteCookieUtil(): SiteCookieUtil;
678
+
679
+ /**
680
+ * Gets an instance of a currency factory class.
681
+ * @return a currency factory class
682
+ * @since Sitevision 6.1
683
+ */
684
+ export function getCurrencyFactory(): CurrencyFactory;
685
+
686
+ /**
687
+ * Gets an instance of a formatter builder factory class.
688
+ * @return a formatter builder factory class
689
+ * @since Sitevision 6.1
690
+ */
691
+ export function getFormatterBuilderFactory(): FormatterBuilderFactory;
692
+
693
+ /**
694
+ * Gets an instance of a Text module renderer builder class.
695
+ * @return a Text module renderer builder class
696
+ * @since Sitevision 7
697
+ */
698
+ export function getTextModuleRendererBuilder(): TextModuleRendererBuilder;
699
+
700
+ /**
701
+ * Gets an instance of a tag utility class.
702
+ * @return a tag utility class
703
+ * @since Sitevision 9.1
704
+ */
705
+ export function getTagUtil(): TagUtil;
706
+
707
+ /**
708
+ * Gets an instance of an alias utility class.
709
+ * @return an alias utility class
710
+ * @since Sitevision 2022.10.2
711
+ */
712
+ export function getAliasUtil(): AliasUtil;
713
+
714
+ /**
715
+ * Main entry point to get instances of interfaces in the Sitevision Utility API.
716
+ *
717
+ * <p>
718
+ * An instance of this interface can be obtained from your portlet via the request attribute "<code>sitevision.utils</code>".
719
+ * Once you have obtained an <code>Utils</code> instance, you can use it to retrieve instances of all other interfaces in the Sitevision API.
720
+ * In all JCR capable portlets that are bundled with Sitevision and exposes a "Custom template", you always have an <code>Utils</code> instance
721
+ * available as "<code>$sitevisionUtils</code>" in the VelocityContext.
722
+ * </p>
723
+ *
724
+ * <p>
725
+ * Example of how to get hold of a {@link senselogic.sitevision.api.property.PropertyUtil PropertyUtil} instance from your JSR 286 portlet:
726
+ * </p>
727
+ * <pre><code>
728
+ * Utils utils = (Utils) aRequest.getAttribute("sitevision.utils");
729
+ * PropertyUtil propertyUtil = utils.getPropertyUtil();
730
+ * ...
731
+ * propertyUtil.get...
732
+ * </code></pre>
733
+ *
734
+ * <p>
735
+ * Example of how to get hold of a {@link senselogic.sitevision.api.property.PropertyUtil PropertyUtil} instance in Velocity for a JCR capable
736
+ * standard Sitevision portlet with a "Custom template" (e.g. the JCR Menu portlet):
737
+ * </p>
738
+ * <pre><code>
739
+ * #set($propertyUtil = $sitevisionUtils.propertyUtil)
740
+ * ...
741
+ * $propertyUtil.get...
742
+ * </code></pre>
743
+ *
744
+ * <p>
745
+ * <em>If sitevisionUtils is not available on the VelocityContext, you can use the PortletRequest instead if available
746
+ * (e.g. the Script portlet):</em>
747
+ * </p>
748
+ * <pre><em><code>
749
+ * #set($propertyUtil = $request.getAttribute('sitevision.utils').propertyUtil)
750
+ * </code></em></pre>Gets an instance of a portlet context utility classGets an instance of a node iterator utility classGets an instance of a utility class for node trees.Gets an instance of a utility class for jcr propertiesCreates and returns a new instance of a stateful link renderer.
751
+ * Since the renderer is stateful, re-use of the same instance instead of getting a new is preferred for best performance.
752
+ * (i.e. Just call this method once in the rendering phase of your portlet)Gets an instance of a output utility classGets an instance of a color utility classGets an instance of a decoration utility classGets an instance of a font utility classGets an instance of a resource locator utility classGets an instance of an encode/decode utility classGets an instance of a scripting utility classGets an instance of a logging utility classGets an instance of an icon utility classGets an instance of a permission utility classGets an instance of a directory utility classGets an instance of a client utility classGets an instance of a search utility classGets an instance of a search field utility classGets an instance of a portlet utility classGets an instance of a metadata utility classGets an instance of a bookmark utility classGets an instance of a publishing utility classGets an instance of a version utility classGets an instance of an archive utility classGets an instance of a folder utility classGets an instance of a structure utility classGets an instance of a web content utility classGets an instance of an article utility classGets an instance of a file utility classGets an instance of an image utility classGets an instance of a page utility classGets an instance of a trashcan utility classGets an instance of a template utility classGets an instance of an authentication utility classGets an instance of an principal utility classCreates and returns a new instance of a stateful file icon renderer.
753
+ * Since the renderer is stateful, re-use of the same instance instead of getting a new is preferred for best performance.
754
+ * (i.e. Just call this method once in the rendering phase of your portlet)Creates and returns a new instance of a stateful image renderer.
755
+ * Since the renderer is stateful, re-use of the same instance instead of getting a new is preferred for best performance.
756
+ * (i.e. Just call this method once in the rendering phase of your portlet)Gets an instance of an immutable image scaler that enables scaling of images to a certain size.
757
+ * <p>
758
+ * Image scaler instance will respect the size ratio of the original image when scaling it.
759
+ * </p>
760
+ * <p>
761
+ * Note that an image scaler must be created in context of a currently executing portlet. In other words:
762
+ * if {@link senselogic.sitevision.api.context.PortletContextUtil#getCurrentPortlet()}
763
+ * is <code>null</code>, no image scaler can be created (i.e. this method will return <code>null</code>).
764
+ * </p>Creates and returns an instance of an exception-suppressing proxy.
765
+ *
766
+ * <p>
767
+ * <strong>Note! </strong>Be aware of <code>null</code>'s. They are never proxied. If you try to proxy <code>null</code>, this method
768
+ * will just return <code>null</code>, not a proxy instance. In other words: even though you're trying to use a
769
+ * <code>ExceptionSuppressingProxy</code> to suppress exceptions,
770
+ * method invocations will of course still throw <code>NullPointerException</code>.
771
+ * </p>Creates and returns an instance of a collection decorator that exposes an exception-suppressing iterator.
772
+ *
773
+ * <p>
774
+ * <strong>Note!</strong> The sole purpose of the <code>ExceptionSuppressingCollection</code> is to provide easy access to a decorated iterator
775
+ * ({@link senselogic.sitevision.api.script.proxy.ExceptionSuppressingIterator}).
776
+ * You should <em>not</em> create a collection of object proxys (i.e. <code>Collection&lt;ExceptionSuppressingProxy&gt;</code>) yourself.
777
+ * You should use <code>ExceptionSuppressingCollection</code>
778
+ * with your "regular" collection since the actual proxying is done by the iterator itself.
779
+ * </p>Creates and returns an instance of an exception-suppressing iterator that returns exception-suppressing dynamic proxys.Gets an instance of an subscription utility classGets an instance of an subscriber utility classGets an instance of an instance type utility classGets an instance of a node type utility classGets an instance of an metadata definition utility classCreates and returns a new instance of a stateful image link renderer.
780
+ * Since the renderer is stateful, re-use of the same instance instead of getting a new is preferred for best performance.
781
+ * (i.e. Just call this method once in the rendering phase of your portlet)Gets an instance of a MIME type utility classGets an instance of a DOCTYPE utility classGets an instance of a property utility class for a specified version.
782
+ *
783
+ * <p>
784
+ * <strong>Note!</strong> This method returns an exotic sibling interface to {@link senselogic.sitevision.api.property.PropertyUtil} that
785
+ * can be used to extract property values from <em>an other version than the one you are currently executing in</em>.
786
+ * If you don't know what a version is or haven't thought much about it, you would typically use the common property extraction interface -
787
+ * {@link #getPropertyUtil()}.
788
+ * </p>Gets an instance of a device utility classGets an instance of a user utility classGets an instance of a Velocity renderer class.Gets an instance of an instance creator utility class.Gets an instance of an date utility class.Gets an instance of a landing page utility class.Creates and returns a new instance of a stateful buddy icon renderer.
789
+ * Since the renderer is stateful, re-use of the same instance instead of getting a new is preferred for best performance.
790
+ * (i.e. Just call this method once in the rendering phase of your portlet)Creates and returns a new instance of a stateful user field renderer.
791
+ * Since the renderer is stateful, re-use of the same instance instead of getting a new is preferred for best performance.
792
+ * (i.e. Just call this method once in the rendering phase of your portlet)Gets an instance of a mail utility class.Gets an instance of a factory for search-related instances.Gets an instance of a locale utility class.Gets an instance of a factory for user-related instances.Gets an instance of a factory for collaboration-related instances.Gets an instance of a content node utility class.Gets an instance of a node comparator utility class.Gets an instance of a node filter utility class.Gets an instance of a redirect utility class.Gets an instance of a node resolver utility class.Gets an instance of a node factory utility class.Gets an instance of a web resource factory utility class.Gets an instance of a translation utility class.Gets an instance of a XSLT utility class.Gets an instance of a timestamp utility class.Gets an instance of a message digester factory class.Gets an instance of a xml parser utility class.Gets an instance of a role utility class.Gets an instance of a site cookie utility class.Gets an instance of a currency factory class.Gets an instance of a formatter builder factory class.Gets an instance of a Text module renderer builder class.Gets an instance of a tag utility class.Gets an instance of an alias utility class.
793
+ * @author Magnus Lövgren
794
+ */
18
795
  declare namespace Utils {
19
796
  export {
797
+ getPortletContextUtil,
798
+ getNodeIteratorUtil,
799
+ getNodeTreeUtil,
800
+ getPropertyUtil,
801
+ getLinkRenderer,
802
+ getOutputUtil,
803
+ getColorUtil,
804
+ getDecorationUtil,
805
+ getFontUtil,
806
+ getResourceLocatorUtil,
807
+ getEndecUtil,
808
+ getScriptUtil,
809
+ getLogUtil,
810
+ getIconUtil,
811
+ getPermissionUtil,
812
+ getDirectoryUtil,
813
+ getClientUtil,
814
+ getSearchUtil,
815
+ getSearchFieldUtil,
816
+ getPortletUtil,
817
+ getMetadataUtil,
818
+ getBookmarkUtil,
819
+ getPublishingUtil,
820
+ getVersionUtil,
821
+ getArchiveUtil,
822
+ getFolderUtil,
823
+ getStructureUtil,
824
+ getWebContentUtil,
825
+ getArticleUtil,
826
+ getFileUtil,
827
+ getImageUtil,
828
+ getPageUtil,
829
+ getTrashcanUtil,
830
+ getTemplateUtil,
831
+ getAuthenticationUtil,
832
+ getPrincipalUtil,
833
+ getFileIconRenderer,
20
834
  getImageRenderer,
21
835
  getImageScaler,
22
- }
836
+ getExceptionSuppressingProxy,
837
+ getExceptionSuppressingCollection,
838
+ getExceptionSuppressingIterator,
839
+ getSubscriptionUtil,
840
+ getSubscriberUtil,
841
+ getInstanceTypeUtil,
842
+ getNodeTypeUtil,
843
+ getMetadataDefinitionUtil,
844
+ getImageLinkRenderer,
845
+ getMimeTypeUtil,
846
+ getDocTypeUtil,
847
+ getVersionedPropertyUtil,
848
+ getDeviceUtil,
849
+ getUserUtil,
850
+ getVelocityRenderer,
851
+ getInstanceCreatorUtil,
852
+ getDateUtil,
853
+ getLandingPageUtil,
854
+ getBuddyIconRenderer,
855
+ getUserFieldRenderer,
856
+ getMailUtil,
857
+ getSearchFactory,
858
+ getLocaleUtil,
859
+ getUserFactory,
860
+ getCollaborationFactory,
861
+ getContentNodeUtil,
862
+ getNodeComparatorUtil,
863
+ getNodeFilterUtil,
864
+ getRedirectUtil,
865
+ getNodeResolverUtil,
866
+ getNodeFactoryUtil,
867
+ getWebResourceFactory,
868
+ getTranslationUtil,
869
+ getXSLTUtil,
870
+ getTimestampUtil,
871
+ getMessageDigesterFactory,
872
+ getXmlParserUtil,
873
+ getRoleUtil,
874
+ getSiteCookieUtil,
875
+ getCurrencyFactory,
876
+ getFormatterBuilderFactory,
877
+ getTextModuleRendererBuilder,
878
+ getTagUtil,
879
+ getAliasUtil,
880
+ };
23
881
  }
24
882
 
25
883
  export default Utils;