@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,592 +1,1476 @@
1
- import type { Node } from "../../types/javax/jcr/Node";
1
+ import type Node from "../../types/javax/jcr/Node";
2
2
 
3
- /**
4
- * Checks if a node is a layout.
5
- * @param aNode the node to be checked
6
- * @return whether <code>aNode</code> is a layout or not.
7
- */
8
- export function isLayout(aNode: Node): boolean;
3
+ import type NodeTypeUtilConstants from "../../types/senselogic/sitevision/api/render/velocity/VelocityAccess.NodeTypeUtilConstants";
9
4
 
10
5
  /**
11
- * Checks if a node is a link.
12
- * @param aNode the node to be checked
13
- * @return whether <code>aNode</code> is a link or not.
6
+ * Node type utility interface.
7
+ *
8
+ * <p>
9
+ * This interface contains the primary node type names for Sitevision nodes and convenience methods for checking
10
+ * if a node is of a specific type.
11
+ * </p>
12
+ *
13
+ * <p>
14
+ * <em>Tip! If you write your code in Velocity, you might want to ensure that the object actually are a <code>Node</code>
15
+ * before you execute methods in this interface. Use {@link senselogic.sitevision.api.script.InstanceTypeUtil#isNode(Object)} to do that.</em>
16
+ * </p>
17
+ *
18
+ * <p>
19
+ * An instance of the Sitevision class implementing this interface can be obtained via {@link senselogic.sitevision.api.Utils#getNodeTypeUtil()}.
20
+ * See {@link senselogic.sitevision.api.Utils} for how to obtain an instance of the <code>Utils</code> interface.
21
+ * </p>
22
+ * @author Magnus Lövgren
23
+ * @since Sitevision 2.6.2
14
24
  */
15
- export function isLink(aNode: Node): boolean;
25
+ export interface NodeTypeUtil extends NodeTypeUtilConstants {
26
+ /**
27
+ * The primary node type name for an application index.
28
+ * @since Sitevision 3.6
29
+ */
30
+ APPLICATION_INDEX_TYPE: "sv:applicationIndex";
16
31
 
17
- /**
18
- * Checks if a node is a page.
19
- * @param aNode the node to be checked
20
- * @return whether <code>aNode</code> is a page or not.
21
- */
22
- export function isPage(aNode: Node): boolean;
32
+ /**
33
+ * The primary node type name for an archive.
34
+
35
+ */
36
+ ARCHIVE_TYPE: "sv:archive";
23
37
 
24
- /**
25
- * Checks if a node is a portlet.
26
- * @param aNode the node to be checked
27
- * @return whether <code>aNode</code> is a portlet or not.
28
- */
29
- export function isPortlet(aNode: Node): boolean;
38
+ /**
39
+ * The primary node type name for an article.
40
+
41
+ */
42
+ ARTICLE_TYPE: "sv:article";
30
43
 
31
- /**
32
- * Checks if a node is an archive.
33
- * @param aNode the node to be checked
34
- * @return whether <code>aNode</code> is an archive or not.
35
- */
36
- export function isArchive(aNode: Node): boolean;
44
+ /**
45
+ * The primary node type name for a collaboration group.
46
+ * @since Sitevision 3.5
47
+ */
48
+ COLLABORATION_GROUP_TYPE: "sv:collaborationGroup";
37
49
 
38
- /**
39
- * Checks if a node is an article.
40
- * @param aNode the node to be checked
41
- * @return whether <code>aNode</code> is an article or not.
42
- */
43
- export function isArticle(aNode: Node): boolean;
50
+ /**
51
+ * The primary node type name for a collaboration group folder.
52
+ * @since Sitevision 3.5
53
+ */
54
+ COLLABORATION_GROUP_FOLDER_TYPE: "sv:collaborationGroupFolder";
44
55
 
45
- /**
46
- * Checks if a node is a folder.
47
- * @param aNode the node to be checked
48
- * @return whether <code>aNode</code> is a folder or not.
49
- */
50
- export function isFolder(aNode: Node): boolean;
56
+ /**
57
+ * The primary node type name for a collaboration group page.
58
+ * @since Sitevision 3.5
59
+ */
60
+ COLLABORATION_GROUP_PAGE_TYPE: "sv:collaborationGroupPage";
51
61
 
52
- /**
53
- * Checks if a node is a file.
54
- * @param aNode the node to be checked
55
- * @return whether <code>aNode</code> is a file or not.
56
- */
57
- export function isFile(aNode: Node): boolean;
62
+ /**
63
+ * The primary node type name for a collaboration group template.
64
+ * @since Sitevision 3.5
65
+ */
66
+ COLLABORATION_GROUP_TEMPLATE_TYPE: "sv:collaborationGroupTemplate";
58
67
 
59
- /**
60
- * Checks if a node is an image.
61
- * @param aNode the node to be checked
62
- * @return whether <code>aNode</code> is an image or not.
63
- */
64
- export function isImage(aNode: Node): boolean;
68
+ /**
69
+ * The primary node type name for a site color.
70
+
71
+ */
72
+ COLOR_TYPE: "sv:color";
65
73
 
66
- /**
67
- * Checks if a node is a temporary file.
68
- * @param aNode the node to be checked
69
- * @return whether aNode is a temporary file or not.
70
- * @see #TEMPORARY_FILE_TYPE
71
- * @since Sitevision 4.5.5.2
72
- */
73
- export function isTemporaryFile(aNode: Node): boolean;
74
+ /**
75
+ * The primary node type name for a decoration.
76
+
77
+ */
78
+ DECORATION_TYPE: "sv:decoration";
74
79
 
75
- /**
76
- * Checks if a node is a sv:user.
77
- * @param aNode the node to be checked
78
- * @return whether aNode is a {@link #USER_TYPE sv:user} or not.
79
- * @see #isAnyUserType(Node)
80
- */
81
- export function isUser(aNode: Node): boolean;
80
+ /**
81
+ * The primary node type name for a LDAP directory.
82
+
83
+ */
84
+ DIRECTORY_TYPE: "sv:directory";
82
85
 
83
- /**
84
- * Checks if a node is a sv:simpleUser.
85
- * @param aNode the node to be checked
86
- * @return whether aNode is a {@link #SIMPLE_USER_TYPE sv:simpleUser} or not.
87
- * @see #isAnyUserType(Node)
88
- * @since Sitevision 10.2
89
- */
90
- export function isSimpleUser(aNode: Node): boolean;
86
+ /**
87
+ * The primary node type name for a file.
88
+
89
+ */
90
+ FILE_TYPE: "sv:file";
91
91
 
92
- /**
93
- * Checks if a node is a sv:systemUser.
94
- *
95
- * <p>
96
- * Note that there are several build-in "system users" in Sitevision:
97
- * </p>
98
- * <ul>
99
- * <li>The <em>System</em> user</li>
100
- * <li>The <em>Anonymous</em> user (i.e. non-authenticated user)</li>
101
- * <li>The <em>Indexer</em> user (i.e. the user that index data in Sitevision)</li>
102
- * <li>The <em>Validator</em> user (i.e. the user that validates page-nodes in Sitevision)</li>
103
- * <li>The <em>Extractor</em> user (i.e. default "Web archive" user)</li>
104
- * <li>The <em>Anonymized</em> user (i.e. an anonymized user)</li>
105
- * </ul>
106
- * @param aNode the node to be checked
107
- * @return whether aNode is a {@link #SYSTEM_USER_TYPE sv:systemUser} or not.
108
- * @see #isAnyUserType(Node)
109
- * @since Sitevision 10.2
110
- */
111
- export function isSystemUser(aNode: Node): boolean;
92
+ /**
93
+ * The primary node type name for a folder.
94
+
95
+ */
96
+ FOLDER_TYPE: "sv:folder";
112
97
 
113
- /**
114
- * Checks if a node is a user identity.
115
- * @param aNode the node to be checked
116
- * @return whether <code>aNode</code> is a user identity or not.
117
- * @since Sitevision 3.5
118
- */
119
- export function isUserIdentity(aNode: Node): boolean;
98
+ /**
99
+ * The primary node type name for a site font.
100
+
101
+ */
102
+ FONT_TYPE: "sv:font";
120
103
 
121
- /**
122
- * Checks if a node is a site.
123
- * @param aNode the node to be checked
124
- * @return whether <code>aNode</code> is a site or not.
125
- */
126
- export function isSite(aNode: Node): boolean;
104
+ /**
105
+ * The primary node type name for an image.
106
+
107
+ */
108
+ IMAGE_TYPE: "sv:image";
127
109
 
128
- /**
129
- * Checks if a node is a site page.
130
- * @param aNode the node to be checked
131
- * @return whether <code>aNode</code> is a site page or not.
132
- */
133
- export function isSitePage(aNode: Node): boolean;
110
+ /**
111
+ * The primary node type name for a layout.
112
+
113
+ */
114
+ LAYOUT_TYPE: "sv:layout";
134
115
 
135
- /**
136
- * Checks if a node is a template.
137
- * @param aNode the node to be checked
138
- * @return whether <code>aNode</code> is a template or not.
139
- */
140
- export function isTemplate(aNode: Node): boolean;
116
+ /**
117
+ * The primary node type name for a linked layout.
118
+ * @since Sitevision 10
119
+ */
120
+ LINKED_LAYOUT_TYPE: "sv:linkedLayout";
141
121
 
142
- /**
143
- * Checks if a node is a trashcan.
144
- * @param aNode the node to be checked
145
- * @return whether <code>aNode</code> is a trashcan or not.
146
- */
147
- export function isTrashcan(aNode: Node): boolean;
122
+ /**
123
+ * The primary node type name for a link.
124
+
125
+ */
126
+ LINK_TYPE: "sv:link";
148
127
 
149
- /**
150
- * Checks if a node is a color.
151
- * @param aNode the node to be checked
152
- * @return whether <code>aNode</code> is a color or not.
153
- */
154
- export function isColor(aNode: Node): boolean;
128
+ /**
129
+ * The primary node type name for a node index.
130
+ * @since Sitevision 3.6
131
+ */
132
+ NODE_INDEX_TYPE: "sv:nodeIndex";
155
133
 
156
- /**
157
- * Checks if a node is a decoration.
158
- * @param aNode the node to be checked
159
- * @return whether <code>aNode</code> is a decoration or not.
160
- */
161
- export function isDecoration(aNode: Node): boolean;
134
+ /**
135
+ * The primary node type name for a page.
136
+
137
+ */
138
+ PAGE_TYPE: "sv:page";
162
139
 
163
- /**
164
- * Checks if a node is a LDAP directory.
165
- * @param aNode the node to be checked
166
- * @return whether <code>aNode</code> is a LDAP directory or not.
167
- */
168
- export function isDirectory(aNode: Node): boolean;
140
+ /**
141
+ * The primary node type name for a portlet.
142
+
143
+ */
144
+ PORTLET_TYPE: "sv:portlet";
169
145
 
170
- /**
171
- * Checks if a node is a font.
172
- * @param aNode the node to be checked
173
- * @return whether <code>aNode</code> is a font or not.
174
- */
175
- export function isFont(aNode: Node): boolean;
146
+ /**
147
+ * The primary node type name for a RSS feed.
148
+ * @since Sitevision 3.6.2
149
+ */
150
+ RSS_FEED_TYPE: "sv:rssFeed";
176
151
 
177
- /**
178
- * Checks if a node is a structure folder.
179
- * @param aNode the node to be checked
180
- * @return whether <code>aNode</code> is a structure folder or not.
181
- */
182
- export function isStructureFolder(aNode: Node): boolean;
152
+ /**
153
+ * The primary node type name for a RSS feed item.
154
+ * @since Sitevision 3.6.2
155
+ */
156
+ RSS_FEED_ITEM_TYPE: "sv:rssFeedItem";
183
157
 
184
- /**
185
- * Checks if a node is a structure link.
186
- * @param aNode the node to be checked
187
- * @return whether <code>aNode</code> is a structure link or not.
188
- */
189
- export function isStructureLink(aNode: Node): boolean;
158
+ /**
159
+ * The primary node type name for a RSS feed repository.
160
+ * @since Sitevision 3.6.2
161
+ */
162
+ RSS_FEED_REPOSITORY_TYPE: "sv:rssFeedRepository";
190
163
 
191
- /**
192
- * Checks if a node is a structure page.
193
- * @param aNode the node to be checked
194
- * @return whether <code>aNode</code> is a structure page or not.
195
- */
196
- export function isStructurePage(aNode: Node): boolean;
164
+ /**
165
+ * The primary node type name for the site.
166
+
167
+ */
168
+ SITE_TYPE: "sv:site";
197
169
 
198
- /**
199
- * Checks if a node is a collaboration group.
200
- * @param aNode the node to be checked
201
- * @return whether <code>aNode</code> is a collaboration group or not.
202
- * @since Sitevision 3.5
203
- */
204
- export function isCollaborationGroup(aNode: Node): boolean;
170
+ /**
171
+ * The primary node type name for the site page.
172
+
173
+ */
174
+ SITE_PAGE_TYPE: "sv:sitePage";
205
175
 
206
- /**
207
- * Checks if a node is a collaboration group folder.
208
- * @param aNode the node to be checked
209
- * @return whether <code>aNode</code> is a collaboration group folder or not.
210
- * @since Sitevision 3.5
211
- */
212
- export function isCollaborationGroupFolder(aNode: Node): boolean;
176
+ /**
177
+ * The primary node type name for a structure folder.
178
+
179
+ */
180
+ STRUCTURE_FOLDER_TYPE: "sv:structureFolder";
213
181
 
214
- /**
215
- * Checks if a node is a collaboration group page.
216
- * @param aNode the node to be checked
217
- * @return whether <code>aNode</code> is a collaboration group page or not.
218
- * @since Sitevision 3.5
219
- */
220
- export function isCollaborationGroupPage(aNode: Node): boolean;
182
+ /**
183
+ * The primary node type name for a structure link.
184
+
185
+ */
186
+ STRUCTURE_LINK_TYPE: "sv:structureLink";
221
187
 
222
- /**
223
- * Checks if a node is a collaboration group template.
224
- * @param aNode the node to be checked
225
- * @return whether <code>aNode</code> is a collaboration group template or not.
226
- * @since Sitevision 3.5
227
- */
228
- export function isCollaborationGroupTemplate(aNode: Node): boolean;
188
+ /**
189
+ * The primary node type name for a structure page.
190
+
191
+ */
192
+ STRUCTURE_PAGE_TYPE: "sv:structurePage";
229
193
 
230
- /**
231
- * Checks if a node is an application index.
232
- * @param aNode the node to be checked
233
- * @return whether <code>aNode</code> is an application index or not.
234
- * @since Sitevision 3.6
235
- */
236
- export function isApplicationIndex(aNode: Node): boolean;
194
+ /**
195
+ * The primary node type name for a template.
196
+
197
+ */
198
+ TEMPLATE_TYPE: "sv:template";
237
199
 
238
- /**
239
- * Checks if a node is a node index.
240
- * @param aNode the node to be checked
241
- * @return whether <code>aNode</code> is a node index or not.
242
- * @since Sitevision 3.6
243
- */
244
- export function isNodeIndex(aNode: Node): boolean;
200
+ /**
201
+ * The primary node type name for the trashcan.
202
+
203
+ */
204
+ TRASHCAN_TYPE: "sv:trashcan";
245
205
 
246
- /**
247
- * Checks if a node is a RSS feed.
248
- * @param aNode the node to be checked
249
- * @return whether <code>aNode</code> is a RSS feed or not.
250
- * @since Sitevision 3.6.2
251
- */
252
- export function isRssFeed(aNode: Node): boolean;
206
+ /**
207
+ * The primary node type name for a user.
208
+ * @see #isUser(Node)
209
+ * @see #isAnyUserType(Node)
210
+ */
211
+ USER_TYPE: "sv:user";
253
212
 
254
- /**
255
- * Checks if a node is a RSS feed item.
256
- * @param aNode the node to be checked
257
- * @return whether <code>aNode</code> is a RSS feed item or not.
258
- * @since Sitevision 3.6.2
259
- */
260
- export function isRssFeedItem(aNode: Node): boolean;
213
+ /**
214
+ * The primary node type name for a user identity.
215
+ * @since Sitevision 3.5
216
+ */
217
+ USER_IDENTITY_TYPE: "sv:userIdentity";
261
218
 
262
- /**
263
- * Checks if a node is a RSS feed repository.
264
- * @param aNode the node to be checked
265
- * @return whether <code>aNode</code> is a RSS feed repository or not.
266
- * @since Sitevision 3.6.2
267
- */
268
- export function isRssFeedRepository(aNode: Node): boolean;
219
+ /**
220
+ * The primary node type name for the admin principal repository.
221
+ * @since Sitevision 3.6.3
222
+ */
223
+ ADMIN_PRINCIPAL_REPOSITORY_TYPE: "sv:adminPrincipalRepository";
269
224
 
270
- /**
271
- * Convenience method that checks if a node is of "Renderable node" type.
272
- *
273
- * <p>
274
- * A <em>"Renderable node"</em> is a Node that can have a {@link #isAnyContentType(Node) "Content node"} as render part:
275
- * </p>
276
- * <ul>
277
- * <li>{@link #PAGE_TYPE sv:page}</li>
278
- * <li>{@link #ARTICLE_TYPE sv:article}</li>
279
- * <li>{@link #SITE_PAGE_TYPE sv:sitePage}</li>
280
- * <li>{@link #STRUCTURE_PAGE_TYPE sv:structurePage}</li>
281
- * <li>{@link #COLLABORATION_GROUP_PAGE_TYPE sv:collaborationGroupPage}</li>
282
- * <li>{@link #TEMPLATE_TYPE sv:template}</li>
283
- * <li>{@link #COLLABORATION_GROUP_TEMPLATE_TYPE sv:collaborationGroupTemplate}</li>
284
- * <li>{@link #DECORATION_TEMPLATE_TYPE sv:decorationTemplate}</li>
285
- * <li>{@link #MODULE_ELEMENT_TYPE sv:moduleElement}</li>
286
- * <li>{@link #MODULE_ELEMENT_DRAFT_TYPE sv:moduleElementDraft}</li>
287
- * </ul>
288
- * @param aNode the node to be checked
289
- * @return whether aNode is a "renderable node" or not.
290
- * @see senselogic.sitevision.api.node.ContentNodeUtil
291
- * @since Sitevision 10.2
292
- */
293
- export function isAnyRenderableType(aNode: Node): boolean;
225
+ /**
226
+ * The primary node type name for the alias repository type.
227
+ * @since Sitevision 3.6.3
228
+ */
229
+ ALIAS_REPOSITORY_TYPE: "sv:aliasRepository";
294
230
 
295
- /**
296
- * Convenience method that checks if a node is of "Content node" type.
297
- *
298
- * <p>
299
- * A <em>"Content node"</em> is a Node that can be rendered as content part of a {@link #isAnyRenderableType(Node) "Renderable node"}:
300
- * </p>
301
- * <ul>
302
- * <li>{@link #PORTLET_TYPE sv:portlet}</li>
303
- * <li>{@link #LAYOUT_TYPE sv:layout}</li>
304
- * <li>{@link #LINKED_LAYOUT_TYPE sv:linkedLayout}</li>
305
- * <li>{@link #REFERENCE_LAYOUT_TYPE sv:referenceLayout}</li>
306
- * <li>{@link #VIEW_TYPE sv:view}</li>
307
- * <li>{@link #PROFILE_VIEW_TYPE sv:profileView}</li>
308
- * </ul>
309
- * @param aNode the node to be checked
310
- * @return whether aNode is a "content node" or not.
311
- * @see senselogic.sitevision.api.node.ContentNodeUtil
312
- * @since Sitevision 10.2
313
- */
314
- export function isAnyContentType(aNode: Node): boolean;
231
+ /**
232
+ * The primary node type name for the alias type.
233
+ * @since Sitevision 8.2.1
234
+ */
235
+ ALIAS_TYPE: "sv:alias";
315
236
 
316
- /**
317
- * Convenience method that checks if a node is of "User node" type.
318
- *
319
- * <p>
320
- * "User" node types are:
321
- * </p>
322
- * <ul>
323
- * <li>{@link #USER_TYPE sv:user}</li>
324
- * <li>{@link #SIMPLE_USER_TYPE sv:simpleUser}</li>
325
- * <li>{@link #SYSTEM_USER_TYPE sv:systemUser}</li>
326
- * </ul>
327
- * @param aNode the node to be checked
328
- * @return whether aNode is a "user node" or not.
329
- * @since Sitevision 10.2
330
- */
331
- export function isAnyUserType(aNode: Node): boolean;
237
+ /**
238
+ * The primary node type name for the alternative type.
239
+ * @since Sitevision 3.6.3
240
+ */
241
+ ALTERNATIVE_TYPE: "sv:alternative";
332
242
 
333
- /**
334
- * Checks a node against a given node type name to see if they match.
335
- * @param aNode the node to be checked
336
- * @param aPrimaryNodeType the primary node type name <code>aNode</code> should be checked against
337
- * @return whether primary node type of <code>aNode</code> matches the <code>aPrimaryNodeType</code> type
338
- * @see #isTypeOf(javax.jcr.Node, String[])
339
- */
340
- export function isType(aNode: Node, aPrimaryNodeType: string): boolean;
243
+ /**
244
+ * The primary node type name for the break field type.
245
+ * @since Sitevision 3.6.3
246
+ */
247
+ BREAK_FIELD_TYPE: "sv:breakField";
341
248
 
342
- /**
343
- * Checks a node against multiple node type names to see if any of them match.
344
- * @param aNode the node to be checked
345
- * @param aPrimaryNodeTypes the primary node type names <code>aNode</code> should be checked against
346
- * @return whether primary node type of <code>aNode</code> matches any of the types in <code>aPrimaryNodeTypes</code>
347
- */
348
- export function isTypeOf(aNode: Node, aPrimaryNodeTypes: string): boolean;
249
+ /**
250
+ * The primary node type name for the captcha field type.
251
+ * @since Sitevision 3.6.3
252
+ */
253
+ CAPTCHA_FIELD_TYPE: "sv:captchaField";
349
254
 
350
- /**
351
- * Node type utility interface.
352
- *
353
- * <p>
354
- * This interface contains the primary node type names for Sitevision nodes and convenience methods for checking
355
- * if a node is of a specific type.
356
- * </p>
357
- *
358
- * <p>
359
- * <em>Tip! If you write your code in Velocity, you might want to ensure that the object actually are a <code>Node</code>
360
- * before you execute methods in this interface. Use {@link senselogic.sitevision.api.script.InstanceTypeUtil#isNode(Object)} to do that.</em>
361
- * </p>
362
- *
363
- * <p>
364
- * An instance of the Sitevision class implementing this interface can be obtained via {@link senselogic.sitevision.api.Utils#getNodeTypeUtil()}.
365
- * See {@link senselogic.sitevision.api.Utils} for how to obtain an instance of the <code>Utils</code> interface.
366
- * </p>The primary node type name for an application index.The primary node type name for an archive.The primary node type name for an article.The primary node type name for a collaboration group.The primary node type name for a collaboration group folder.The primary node type name for a collaboration group page.The primary node type name for a collaboration group template.The primary node type name for a site color.The primary node type name for a decoration.The primary node type name for a LDAP directory.The primary node type name for a file.The primary node type name for a folder.The primary node type name for a site font.The primary node type name for an image.The primary node type name for a layout.The primary node type name for a linked layout.The primary node type name for a link.The primary node type name for a node index.The primary node type name for a page.The primary node type name for a portlet.The primary node type name for a RSS feed.The primary node type name for a RSS feed item.The primary node type name for a RSS feed repository.The primary node type name for the site.The primary node type name for the site page.The primary node type name for a structure folder.The primary node type name for a structure link.The primary node type name for a structure page.The primary node type name for a template.The primary node type name for the trashcan.The primary node type name for a user.The primary node type name for a user identity.The primary node type name for the admin principal repository.The primary node type name for the alias repository type.The primary node type name for the alias type.The primary node type name for the alternative type.The primary node type name for the break field type.The primary node type name for the captcha field type.The primary node type name for the color repository type.The primary node type name for the comment field type.The primary node type name for the date field type.The primary node type name for the decoration repository type.The primary node type name for the decoration template type.The primary node type name for the default image type.The primary node type name for the default image repository type.The primary node type name for the directory repository type.The primary node type name for the external principal repository type.The primary node type name for the file extension icon type.The primary node type name for the file field type.The primary node type name for the file repository type.The primary node type name for the filtered image type.The primary node type name for the font repository type.The primary node type name for the form type.The primary node type name for the grade field type.The primary node type name for the icon repository type.The primary node type name for the image filter type.The primary node type name for the image repository type.The primary node type name for the layout repository type.The primary node type name for the list style type.The primary node type name for the list style repository type.The primary node type name for the local color type.The primary node type name for the local file repository type.The primary node type name for the local image repository type.The primary node type name for the metadata alternative item type.The primary node type name for the metadata definition repository type.The primary node type name for the metadata definition template repository type.The primary node type name for the metadata directory definition type.The primary node type name for the metadata image portlet definition definition type.The primary node type name for the metadata integer definition definition type.The primary node type name for the metadata keyword type.The primary node type name for the metadata keyword definition type.The primary node type name for the metadata link definition type.The primary node type name for the metadata media portlet definition type.The primary node type name for the metadata multiple definition type.The primary node type name for the metadata related information definition type.The primary node type name for the metadata single definition type.The primary node type name for the metadata system definition type.The primary node type name for the metadata text definition type.The primary node type name for the metadata text portlet definition type.The primary node type name for the metadata user definition type.The primary node type name for the metadata single tag definition type.The primary node type name for the metadata multiple tag definition type.The primary node type name for the mobile app type.The primary node type name for the multiple selection field type.The primary node type name for the named reference type.The primary node type name for the named reference repository.The primary node type name for the order field type.The primary node type name for the order item type.The primary node type name for the page comment type.The primary node type name for the page sub comment type.The primary node type name for the page comment repository type.The primary node type name for the page component type.The primary node type name for the page content type.The primary node type name for the page repository type.The primary node type name for the participants field type.The primary node type name for the personal file repository type.The primary node type name for the personal image repository type.The primary node type name for the principal repository type.The primary node type name for the profile view type.The primary node type name for the rating type.The primary node type name for the rating repository type.The primary node type name for the rating type.The primary node type name for the recipients type.The primary node type name for the recipients field type.The primary node type name for the reference layout type.The primary node type name for the responsive breakpoint type.The primary node type name for the root type.The primary node type name for the script field type.The primary node type name for the simple user type.The primary node type name for the single selection field type.The primary node type name for the site cookie type.The primary node type name for the site cookie repository type.The primary node type name for the sub alternative field type.The primary node type name for the sub query type.The primary node type name for the sub script type.The primary node type name for the system user type.
367
- *
368
- * <p>
369
- * Note that there are several sv:systemUser's in Sitevision:
370
- * </p>
371
- * <ul>
372
- * <li>The <em>System</em> user</li>
373
- * <li>The <em>Anonymous</em> user (i.e. a non-authenticated user)</li>
374
- * <li>The <em>Anonymized</em> user (i.e. an anonymized user)</li>
375
- * <li>The <em>Indexer</em> user (i.e. the user that indexes Sitevision data)</li>
376
- * <li>The <em>Validator</em> user (i.e. the user that validates page-like nodes in Sitevision)</li>
377
- * <li>The <em>Extractor</em> user (i.e. the default "Web archive" user)</li>
378
- * </ul>The primary node type name for the system group type.The primary node type name for the template repository type.The primary node type name for the temporary type.The primary node type name for the temporary file type.The primary node type name for the text field type.The primary node type name for the user attribute type.The primary node type name for the user attribute field type.The primary node type name for the user container type.The primary node type name for the user group type.The primary node type name for the vfs file type.The primary node type name for the vfs folder type.The primary node type name for the vfs mount type.The primary node type name for the view type.The primary node type name for the virtual group type.The primary node type name for the global virtual group type.The primary node type name for the index repository type.The primary node type name for the module element draft repository type.The primary node type name for the module element draft type.The primary node type name for the module element repository type.The primary node type name for the module element type.The primary node type name for the module element file repository type.The primary node type name for the module element image repository type.The primary node type name for the custom module type.The primary node type name for the addon repository type.The primary node type name for the tag type.The primary node type name for the tag repository type.The primary node type name for the tag group type.The primary node type name for the tag group repository type.The primary node type name for the headless custom module type.The primary node type name for the webapp type.The primary node type name for the webapp repository type.The primary node type name for the restapp type.The primary node type name for the restapp repository type.The primary node type name for the comment type.The primary node type name for the timeline entry repository type.The primary node type name for the timeline entry type.The primary node type name for the bookmarked timeline entry type.The primary node type name for the timeline file entry type.The primary node type name for the timeline file wall entry type.The primary node type name for the timeline share entry type.The primary node type name for the timeline share page entry type.The primary node type name for the timeline wall entry type.The primary node type name for the data store repository type.The primary node type name for the key/value data store type.The primary node type name for the collection data store type.The primary node type name for the role type.The primary node type name for the role repository type.The primary node type name for the virtual group repository type.The primary node type name for the user field type.The primary node type name for the user field repository type.The primary node type name for the Marketplace custom module type.The primary node type name for the Marketplace headless custom module type.The primary node type name for the responsive breakpoint repository type.The primary node type name for the topic repository type.The primary node type name for the topic type.The primary node type name for the topic timeline entry type.The primary node type name for the external topic integration repository type.The primary node type name for the external topic integration type.The primary node type name for the external topic type.The primary node type name for the external timeline entry repository type.The primary node type name for the external topic timeline entry type.The primary node type name for the external comment type.The primary node type name for the OAuth2 configuration repository type.The primary node type name for the OAuth2 configuration type.
379
- * @author Magnus Lövgren
380
- * @since Sitevision 2.6.2
381
- * @since Sitevision 3.6
382
- * @since Sitevision 3.5
383
- * @since Sitevision 3.5
384
- * @since Sitevision 3.5
385
- * @since Sitevision 3.5
386
- * @since Sitevision 10
387
- * @since Sitevision 3.6
388
- * @since Sitevision 3.6.2
389
- * @since Sitevision 3.6.2
390
- * @since Sitevision 3.6.2
391
- * @see #isUser(Node)
392
- * @see #isAnyUserType(Node)
393
- * @since Sitevision 3.5
394
- * @since Sitevision 3.6.3
395
- * @since Sitevision 3.6.3
396
- * @since Sitevision 8.2.1
397
- * @since Sitevision 3.6.3
398
- * @since Sitevision 3.6.3
399
- * @since Sitevision 3.6.3
400
- * @since Sitevision 3.6.3
401
- * @since Sitevision 3.6.3
402
- * @since Sitevision 3.6.3
403
- * @since Sitevision 3.6.3
404
- * @since Sitevision 3.6.3
405
- * @since Sitevision 3.6.3
406
- * @since Sitevision 3.6.3
407
- * @since Sitevision 3.6.3
408
- * @since Sitevision 3.6.3
409
- * @since Sitevision 3.6.3
410
- * @since Sitevision 3.6.3
411
- * @since Sitevision 3.6.3
412
- * @since Sitevision 3.6.3
413
- * @since Sitevision 3.6.3
414
- * @since Sitevision 3.6.3
415
- * @since Sitevision 3.6.3
416
- * @since Sitevision 3.6.3
417
- * @since Sitevision 3.6.3
418
- * @since Sitevision 3.6.3
419
- * @since Sitevision 3.6.3
420
- * @since Sitevision 3.6.3
421
- * @since Sitevision 3.6.3
422
- * @since Sitevision 3.6.3
423
- * @since Sitevision 3.6.3
424
- * @since Sitevision 3.6.3
425
- * @since Sitevision 3.6.3
426
- * @since Sitevision 3.6.3
427
- * @since Sitevision 3.6.3
428
- * @since Sitevision 3.6.3
429
- * @since Sitevision 3.6.3
430
- * @since Sitevision 3.6.3
431
- * @since Sitevision 3.6.3
432
- * @since Sitevision 3.6.3
433
- * @since Sitevision 3.6.3
434
- * @since Sitevision 3.6.3
435
- * @since Sitevision 3.6.3
436
- * @since Sitevision 3.6.3
437
- * @since Sitevision 3.6.3
438
- * @since Sitevision 3.6.3
439
- * @since Sitevision 3.6.3
440
- * @since Sitevision 3.6.3
441
- * @since Sitevision 3.6.3
442
- * @since Sitevision 6.2
443
- * @since Sitevision 6.2
444
- * @since Sitevision 3.6.3
445
- * @deprecated As of Sitevision 10 this type no longer exist
446
- * @since Sitevision 3.6.3
447
- * @since Sitevision 3.6.3
448
- * @since Sitevision 4.2.2
449
- * @since Sitevision 3.6.3
450
- * @since Sitevision 3.6.3
451
- * @since Sitevision 3.6.3
452
- * @since Sitevision 7
453
- * @since Sitevision 3.6.3
454
- * @since Sitevision 3.6.3
455
- * @since Sitevision 3.6.3
456
- * @since Sitevision 3.6.3
457
- * @since Sitevision 3.6.3
458
- * @since Sitevision 3.6.3
459
- * @since Sitevision 3.6.3
460
- * @since Sitevision 3.6.3
461
- * @since Sitevision 3.6.3
462
- * @since Sitevision 3.6.3
463
- * @since Sitevision 3.6.3
464
- * @since Sitevision 3.6.3
465
- * @since Sitevision 3.6.3
466
- * @since Sitevision 3.6.3
467
- * @since Sitevision 3.6.3
468
- * @since Sitevision 3.6.3
469
- * @since Sitevision 3.6.3
470
- * @since Sitevision 3.6.3
471
- * @see #isSimpleUser(Node)
472
- * @see #isAnyUserType(Node)
473
- * @since Sitevision 3.6.3
474
- * @since Sitevision 3.6.3
475
- * @since Sitevision 9.1
476
- * @since Sitevision 9.1
477
- * @since Sitevision 3.6.3
478
- * @since Sitevision 3.6.3
479
- * @since Sitevision 3.6.3
480
- * @see #isSystemUser(Node)
481
- * @see #isAnyUserType(Node)
482
- * @since Sitevision 3.6.3
483
- * @since Sitevision 4.3
484
- * @since Sitevision 3.6.3
485
- * @since Sitevision 3.6.3
486
- * @since Sitevision 4.5.4
487
- * @since Sitevision 3.6.3
488
- * @since Sitevision 3.6.3
489
- * @since Sitevision 3.6.3
490
- * @since Sitevision 3.6.3
491
- * @since Sitevision 3.6.3
492
- * @since Sitevision 3.6.3
493
- * @since Sitevision 3.6.3
494
- * @since Sitevision 3.6.3
495
- * @since Sitevision 3.6.3
496
- * @since Sitevision 3.6.3
497
- * @since Sitevision 4.2
498
- * @since Sitevision 3.6.4
499
- * @since Sitevision 4.2
500
- * @since Sitevision 4.2
501
- * @since Sitevision 4.2
502
- * @since Sitevision 4.2
503
- * @since Sitevision 4.2
504
- * @since Sitevision 4.2
505
- * @since Sitevision 4.2
506
- * @since Sitevision 4.2
507
- * @since Sitevision 4.5.2
508
- * @since Sitevision 4.5.2
509
- * @since Sitevision 5
510
- * @since Sitevision 5
511
- * @since Sitevision 4.5.2
512
- * @since Sitevision 4.5.2
513
- * @since Sitevision 4.5.2
514
- * @since Sitevision 4.5.2
515
- * @since Sitevision 4.5.2
516
- * @since Sitevision 4.5.2
517
- * @since Sitevision 4.5.2
518
- * @since Sitevision 4.5.2
519
- * @since Sitevision 4.5.2
520
- * @since Sitevision 4.5.2
521
- * @since Sitevision 4.5.2
522
- * @since Sitevision 4.5.2
523
- * @since Sitevision 4.5.2
524
- * @since Sitevision 4.5.2
525
- * @since Sitevision 5
526
- * @since Sitevision 5
527
- * @since Sitevision 5
528
- * @since Sitevision 5
529
- * @since Sitevision 5
530
- * @since Sitevision 5
531
- * @since Sitevision 5.1
532
- * @since Sitevision 5.1
533
- * @since Sitevision 6
534
- * @since Sitevision 6
535
- * @since Sitevision 6.2
536
- * @since Sitevision 7
537
- * @since Sitevision 7
538
- * @since Sitevision 7
539
- * @since Sitevision 7
540
- * @since Sitevision 7
541
- * @since Sitevision 7
542
- * @since Sitevision 7
543
- * @since Sitevision 7
544
- * @since Sitevision 7
545
- * @since Sitevision 7
546
- * @since Sitevision 7
547
- */
548
- declare namespace nodeTypeUtil {
549
- export {
550
- isLayout,
551
- isLink,
552
- isPage,
553
- isPortlet,
554
- isArchive,
555
- isArticle,
556
- isFolder,
557
- isFile,
558
- isImage,
559
- isTemporaryFile,
560
- isUser,
561
- isSimpleUser,
562
- isSystemUser,
563
- isUserIdentity,
564
- isSite,
565
- isSitePage,
566
- isTemplate,
567
- isTrashcan,
568
- isColor,
569
- isDecoration,
570
- isDirectory,
571
- isFont,
572
- isStructureFolder,
573
- isStructureLink,
574
- isStructurePage,
575
- isCollaborationGroup,
576
- isCollaborationGroupFolder,
577
- isCollaborationGroupPage,
578
- isCollaborationGroupTemplate,
579
- isApplicationIndex,
580
- isNodeIndex,
581
- isRssFeed,
582
- isRssFeedItem,
583
- isRssFeedRepository,
584
- isAnyRenderableType,
585
- isAnyContentType,
586
- isAnyUserType,
587
- isType,
588
- isTypeOf,
589
- };
255
+ /**
256
+ * The primary node type name for the color repository type.
257
+ * @since Sitevision 3.6.3
258
+ */
259
+ COLOR_REPOSITORY_TYPE: "sv:colorRepository";
260
+
261
+ /**
262
+ * The primary node type name for the comment field type.
263
+ * @since Sitevision 3.6.3
264
+ */
265
+ COMMENT_FIELD_TYPE: "sv:commentField";
266
+
267
+ /**
268
+ * The primary node type name for the date field type.
269
+ * @since Sitevision 3.6.3
270
+ */
271
+ DATE_FIELD_TYPE: "sv:dateField";
272
+
273
+ /**
274
+ * The primary node type name for the decoration repository type.
275
+ * @since Sitevision 3.6.3
276
+ */
277
+ DECORATION_REPOSITORY_TYPE: "sv:decorationRepository";
278
+
279
+ /**
280
+ * The primary node type name for the decoration template type.
281
+ * @since Sitevision 3.6.3
282
+ */
283
+ DECORATION_TEMPLATE_TYPE: "sv:decorationTemplate";
284
+
285
+ /**
286
+ * The primary node type name for the default image type.
287
+ * @since Sitevision 3.6.3
288
+ */
289
+ DEFAULT_IMAGE_TYPE: "sv:defaultImage";
290
+
291
+ /**
292
+ * The primary node type name for the default image repository type.
293
+ * @since Sitevision 3.6.3
294
+ */
295
+ DEFAULT_IMAGE_REPOSITORY_TYPE: "sv:defaultImageRepository";
296
+
297
+ /**
298
+ * The primary node type name for the directory repository type.
299
+ * @since Sitevision 3.6.3
300
+ */
301
+ DIRECTORY_REPOSITORY_TYPE: "sv:directoryRepository";
302
+
303
+ /**
304
+ * The primary node type name for the external principal repository type.
305
+ * @since Sitevision 3.6.3
306
+ */
307
+ EXTERNAL_PRINCIPAL_REPOSITORY_TYPE: "sv:externalPrincipalRepository";
308
+
309
+ /**
310
+ * The primary node type name for the file extension icon type.
311
+ * @since Sitevision 3.6.3
312
+ */
313
+ FILE_EXTENSION_ICON_TYPE: "sv:fileExtensionIcon";
314
+
315
+ /**
316
+ * The primary node type name for the file field type.
317
+ * @since Sitevision 3.6.3
318
+ */
319
+ FILE_FIELD_TYPE: "sv:fileField";
320
+
321
+ /**
322
+ * The primary node type name for the file repository type.
323
+ * @since Sitevision 3.6.3
324
+ */
325
+ FILE_REPOSITORY_TYPE: "sv:fileRepository";
326
+
327
+ /**
328
+ * The primary node type name for the filtered image type.
329
+ * @since Sitevision 3.6.3
330
+ */
331
+ FILTERED_IMAGE_TYPE: "sv:filteredImage";
332
+
333
+ /**
334
+ * The primary node type name for the font repository type.
335
+ * @since Sitevision 3.6.3
336
+ */
337
+ FONT_REPOSITORY_TYPE: "sv:fontRepository";
338
+
339
+ /**
340
+ * The primary node type name for the form type.
341
+ * @since Sitevision 3.6.3
342
+ */
343
+ FORM_TYPE: "sv:form";
344
+
345
+ /**
346
+ * The primary node type name for the grade field type.
347
+ * @since Sitevision 3.6.3
348
+ */
349
+ GRADE_FIELD_TYPE: "sv:gradeField";
350
+
351
+ /**
352
+ * The primary node type name for the icon repository type.
353
+ * @since Sitevision 3.6.3
354
+ */
355
+ ICON_REPOSITORY_TYPE: "sv:iconRepository";
356
+
357
+ /**
358
+ * The primary node type name for the image filter type.
359
+ * @since Sitevision 3.6.3
360
+ */
361
+ IMAGE_FILTER_TYPE: "sv:imageFilter";
362
+
363
+ /**
364
+ * The primary node type name for the image repository type.
365
+ * @since Sitevision 3.6.3
366
+ */
367
+ IMAGE_REPOSITORY_TYPE: "sv:imageRepository";
368
+
369
+ /**
370
+ * The primary node type name for the layout repository type.
371
+ * @since Sitevision 3.6.3
372
+ */
373
+ LAYOUT_REPOSITORY_TYPE: "sv:layoutRepository";
374
+
375
+ /**
376
+ * The primary node type name for the list style type.
377
+ * @since Sitevision 3.6.3
378
+ */
379
+ LIST_STYLE_TYPE: "sv:listStyle";
380
+
381
+ /**
382
+ * The primary node type name for the list style repository type.
383
+ * @since Sitevision 3.6.3
384
+ */
385
+ LIST_STYLE_REPOSITORY_TYPE: "sv:listStyleRepository";
386
+
387
+ /**
388
+ * The primary node type name for the local color type.
389
+ * @since Sitevision 3.6.3
390
+ */
391
+ LOCAL_COLOR_TYPE: "sv:localColor";
392
+
393
+ /**
394
+ * The primary node type name for the local file repository type.
395
+ * @since Sitevision 3.6.3
396
+ */
397
+ LOCAL_FILE_REPOSITORY_TYPE: "sv:localFileRepository";
398
+
399
+ /**
400
+ * The primary node type name for the local image repository type.
401
+ * @since Sitevision 3.6.3
402
+ */
403
+ LOCAL_IMAGE_REPOSITORY_TYPE: "sv:localImageRepository";
404
+
405
+ /**
406
+ * The primary node type name for the metadata alternative item type.
407
+ * @since Sitevision 3.6.3
408
+ */
409
+ METADATA_ALTERNATIVE_ITEM_TYPE: "sv:metadataAlternativeItem";
410
+
411
+ /**
412
+ * The primary node type name for the metadata definition repository type.
413
+ * @since Sitevision 3.6.3
414
+ */
415
+ METADATA_DEFINITION_REPOSITORY_TYPE: "sv:metadataDefinitionRepository";
416
+
417
+ /**
418
+ * The primary node type name for the metadata definition template repository type.
419
+ * @since Sitevision 3.6.3
420
+ */
421
+ METADATA_DEFINITION_TEMPLATE_REPOSITORY_TYPE: "sv:metadataDefinitionTemplateRepository";
422
+
423
+ /**
424
+ * The primary node type name for the metadata directory definition type.
425
+ * @since Sitevision 3.6.3
426
+ */
427
+ METADATA_DIRECTORY_DEFINITION_TYPE: "sv:metadataDirectoryDefinition";
428
+
429
+ /**
430
+ * The primary node type name for the metadata image portlet definition definition type.
431
+ * @since Sitevision 3.6.3
432
+ */
433
+ METADATA_IMAGE_PORTLET_DEFINITION_TYPE: "sv:metadataImagePortletDefinition";
434
+
435
+ /**
436
+ * The primary node type name for the metadata integer definition definition type.
437
+ * @since Sitevision 3.6.3
438
+ */
439
+ METADATA_INTEGER_DEFINITION_TYPE: "sv:metadataIntegerDefinition";
440
+
441
+ /**
442
+ * The primary node type name for the metadata keyword type.
443
+ * @since Sitevision 3.6.3
444
+ */
445
+ METADATA_KEYWORD_TYPE: "sv:metadataKeyword";
446
+
447
+ /**
448
+ * The primary node type name for the metadata keyword definition type.
449
+ * @since Sitevision 3.6.3
450
+ */
451
+ METADATA_KEYWORD_DEFINITION_TYPE: "sv:metadataKeywordDefinition";
452
+
453
+ /**
454
+ * The primary node type name for the metadata link definition type.
455
+ * @since Sitevision 3.6.3
456
+ */
457
+ METADATA_LINK_DEFINITION_TYPE: "sv:metadataLinkDefinition";
458
+
459
+ /**
460
+ * The primary node type name for the metadata media portlet definition type.
461
+ * @since Sitevision 3.6.3
462
+ */
463
+ METADATA_MEDIA_PORTLET_DEFINITION_TYPE: "sv:metadataMediaPortletDefinition";
464
+
465
+ /**
466
+ * The primary node type name for the metadata multiple definition type.
467
+ * @since Sitevision 3.6.3
468
+ */
469
+ METADATA_MULTIPLE_DEFINITION_TYPE: "sv:metadataMultipleDefinition";
470
+
471
+ /**
472
+ * The primary node type name for the metadata related information definition type.
473
+ * @since Sitevision 3.6.3
474
+ */
475
+ METADATA_RELATED_INFORMATION_DEFINITION_TYPE: "sv:metadataRelatedInformationDefinition";
476
+
477
+ /**
478
+ * The primary node type name for the metadata single definition type.
479
+ * @since Sitevision 3.6.3
480
+ */
481
+ METADATA_SINGLE_DEFINITION_TYPE: "sv:metadataSingleDefinition";
482
+
483
+ /**
484
+ * The primary node type name for the metadata system definition type.
485
+ * @since Sitevision 3.6.3
486
+ */
487
+ METADATA_SYSTEM_DEFINITION_TYPE: "sv:metadataSystemDefinition";
488
+
489
+ /**
490
+ * The primary node type name for the metadata text definition type.
491
+ * @since Sitevision 3.6.3
492
+ */
493
+ METADATA_TEXT_DEFINITION_TYPE: "sv:metadataTextDefinition";
494
+
495
+ /**
496
+ * The primary node type name for the metadata text portlet definition type.
497
+ * @since Sitevision 3.6.3
498
+ */
499
+ METADATA_TEXT_PORTLET_DEFINITION_TYPE: "sv:metadataTextPortletDefinition";
500
+
501
+ /**
502
+ * The primary node type name for the metadata user definition type.
503
+ * @since Sitevision 3.6.3
504
+ */
505
+ METADATA_USER_DEFINITION_TYPE: "sv:metadataUserDefinition";
506
+
507
+ /**
508
+ * The primary node type name for the metadata single tag definition type.
509
+ * @since Sitevision 6.2
510
+ */
511
+ METADATA_SINGLE_TAG_DEFINITION_TYPE: "sv:metadataSingleTagDefinition";
512
+
513
+ /**
514
+ * The primary node type name for the metadata multiple tag definition type.
515
+ * @since Sitevision 6.2
516
+ */
517
+ METADATA_MULTIPLE_TAG_DEFINITION_TYPE: "sv:metadataMultipleTagDefinition";
518
+
519
+ /**
520
+ * The primary node type name for the mobile app type.
521
+ * @since Sitevision 3.6.3
522
+ * @deprecated As of Sitevision 10 this type no longer exist
523
+ */
524
+ MOBILE_APP_TYPE: "sv:mobileApp";
525
+
526
+ /**
527
+ * The primary node type name for the multiple selection field type.
528
+ * @since Sitevision 3.6.3
529
+ */
530
+ MULTIPLE_SELECTION_FIELD_TYPE: "sv:multipleSelectionField";
531
+
532
+ /**
533
+ * The primary node type name for the named reference type.
534
+ * @since Sitevision 3.6.3
535
+ */
536
+ NAMED_REFERENCE_TYPE: "sv:namedReference";
537
+
538
+ /**
539
+ * The primary node type name for the named reference repository.
540
+ * @since Sitevision 4.2.2
541
+ */
542
+ NAMED_REFERENCE_REPOSITORY_TYPE: "sv:namedReferenceRepository";
543
+
544
+ /**
545
+ * The primary node type name for the order field type.
546
+ * @since Sitevision 3.6.3
547
+ */
548
+ ORDER_FIELD_TYPE: "sv:orderField";
549
+
550
+ /**
551
+ * The primary node type name for the order item type.
552
+ * @since Sitevision 3.6.3
553
+ */
554
+ ORDER_ITEM_TYPE: "sv:orderItem";
555
+
556
+ /**
557
+ * The primary node type name for the page comment type.
558
+ * @since Sitevision 3.6.3
559
+ */
560
+ PAGE_COMMENT_TYPE: "sv:pageComment";
561
+
562
+ /**
563
+ * The primary node type name for the page sub comment type.
564
+ * @since Sitevision 7
565
+ */
566
+ PAGE_SUB_COMMENT_TYPE: "sv:pageSubComment";
567
+
568
+ /**
569
+ * The primary node type name for the page comment repository type.
570
+ * @since Sitevision 3.6.3
571
+ */
572
+ PAGE_COMMENT_REPOSITORY_TYPE: "sv:pageCommentRepository";
573
+
574
+ /**
575
+ * The primary node type name for the page component type.
576
+ * @since Sitevision 3.6.3
577
+ */
578
+ PAGE_COMPONENT_TYPE: "sv:pageComponent";
579
+
580
+ /**
581
+ * The primary node type name for the page content type.
582
+ * @since Sitevision 3.6.3
583
+ */
584
+ PAGE_CONTENT_TYPE: "sv:pageContent";
585
+
586
+ /**
587
+ * The primary node type name for the page repository type.
588
+ * @since Sitevision 3.6.3
589
+ */
590
+ PAGE_REPOSITORY_TYPE: "sv:pageRepository";
591
+
592
+ /**
593
+ * The primary node type name for the participants field type.
594
+ * @since Sitevision 3.6.3
595
+ */
596
+ PARTICIPANTS_FIELD_TYPE: "sv:participantsField";
597
+
598
+ /**
599
+ * The primary node type name for the personal file repository type.
600
+ * @since Sitevision 3.6.3
601
+ */
602
+ PERSONAL_FILE_REPOSITORY_TYPE: "sv:personalFileRepository";
603
+
604
+ /**
605
+ * The primary node type name for the personal image repository type.
606
+ * @since Sitevision 3.6.3
607
+ */
608
+ PERSONAL_IMAGE_REPOSITORY_TYPE: "sv:personalImageRepository";
609
+
610
+ /**
611
+ * The primary node type name for the principal repository type.
612
+ * @since Sitevision 3.6.3
613
+ */
614
+ PRINCIPAL_REPOSITORY_TYPE: "sv:principalRepository";
615
+
616
+ /**
617
+ * The primary node type name for the profile view type.
618
+ * @since Sitevision 3.6.3
619
+ */
620
+ PROFILE_VIEW_TYPE: "sv:profileView";
621
+
622
+ /**
623
+ * The primary node type name for the rating type.
624
+ * @since Sitevision 3.6.3
625
+ */
626
+ RATING_TYPE: "sv:rating";
627
+
628
+ /**
629
+ * The primary node type name for the rating repository type.
630
+ * @since Sitevision 3.6.3
631
+ */
632
+ RATING_REPOSITORY_TYPE: "sv:ratingRepository";
633
+
634
+ /**
635
+ * The primary node type name for the rating type.
636
+ * @since Sitevision 3.6.3
637
+ */
638
+ RATING_TYPE_TYPE: "sv:ratingType";
639
+
640
+ /**
641
+ * The primary node type name for the recipients type.
642
+ * @since Sitevision 3.6.3
643
+ */
644
+ RECIPIENT_TYPE: "sv:recipient";
645
+
646
+ /**
647
+ * The primary node type name for the recipients field type.
648
+ * @since Sitevision 3.6.3
649
+ */
650
+ RECIPIENTS_FIELD_TYPE: "sv:recipientsField";
651
+
652
+ /**
653
+ * The primary node type name for the reference layout type.
654
+ * @since Sitevision 3.6.3
655
+ */
656
+ REFERENCE_LAYOUT_TYPE: "sv:referenceLayout";
657
+
658
+ /**
659
+ * The primary node type name for the responsive breakpoint type.
660
+ * @since Sitevision 3.6.3
661
+ */
662
+ RESPONSIVE_BREAKPOINT_TYPE: "sv:responsiveBreakpoint";
663
+
664
+ /**
665
+ * The primary node type name for the root type.
666
+ * @since Sitevision 3.6.3
667
+ */
668
+ ROOT_TYPE: "sv:root";
669
+
670
+ /**
671
+ * The primary node type name for the script field type.
672
+ * @since Sitevision 3.6.3
673
+ */
674
+ SCRIPT_FIELD_TYPE: "sv:scriptField";
675
+
676
+ /**
677
+ * The primary node type name for the simple user type.
678
+ * @see #isSimpleUser(Node)
679
+ * @see #isAnyUserType(Node)
680
+ * @since Sitevision 3.6.3
681
+ */
682
+ SIMPLE_USER_TYPE: "sv:simpleUser";
683
+
684
+ /**
685
+ * The primary node type name for the single selection field type.
686
+ * @since Sitevision 3.6.3
687
+ */
688
+ SINGLE_SELECTION_FIELD_TYPE: "sv:singleSelectionField";
689
+
690
+ /**
691
+ * The primary node type name for the site cookie type.
692
+ * @since Sitevision 9.1
693
+ */
694
+ SITE_COOKIE_TYPE: "sv:siteCookie";
695
+
696
+ /**
697
+ * The primary node type name for the site cookie repository type.
698
+ * @since Sitevision 9.1
699
+ */
700
+ SITE_COOKIE_REPOSITORY_TYPE: "sv:siteCookieRepository";
701
+
702
+ /**
703
+ * The primary node type name for the sub alternative field type.
704
+ * @since Sitevision 3.6.3
705
+ */
706
+ SUB_ALTERNATIVE_FIELD_TYPE: "sv:subAlternativeField";
707
+
708
+ /**
709
+ * The primary node type name for the sub query type.
710
+ * @since Sitevision 3.6.3
711
+ */
712
+ SUB_QUERY_TYPE: "sv:subQuery";
713
+
714
+ /**
715
+ * The primary node type name for the sub script type.
716
+ * @since Sitevision 3.6.3
717
+ */
718
+ SUB_SCRIPT_TYPE: "sv:subScript";
719
+
720
+ /**
721
+ * The primary node type name for the system user type.
722
+ *
723
+ * <p>
724
+ * Note that there are several sv:systemUser's in Sitevision:
725
+ * </p>
726
+ * <ul>
727
+ * <li>The <em>System</em> user</li>
728
+ * <li>The <em>Anonymous</em> user (i.e. a non-authenticated user)</li>
729
+ * <li>The <em>Anonymized</em> user (i.e. an anonymized user)</li>
730
+ * <li>The <em>Indexer</em> user (i.e. the user that indexes Sitevision data)</li>
731
+ * <li>The <em>Validator</em> user (i.e. the user that validates page-like nodes in Sitevision)</li>
732
+ * <li>The <em>Extractor</em> user (i.e. the default "Web archive" user)</li>
733
+ * </ul>
734
+ * @see #isSystemUser(Node)
735
+ * @see #isAnyUserType(Node)
736
+ * @since Sitevision 3.6.3
737
+ */
738
+ SYSTEM_USER_TYPE: "sv:systemUser";
739
+
740
+ /**
741
+ * The primary node type name for the system group type.
742
+ * @since Sitevision 4.3
743
+ */
744
+ SYSTEM_GROUP_TYPE: "sv:systemGroup";
745
+
746
+ /**
747
+ * The primary node type name for the template repository type.
748
+ * @since Sitevision 3.6.3
749
+ */
750
+ TEMPLATE_REPOSITORY_TYPE: "sv:templateRepository";
751
+
752
+ /**
753
+ * The primary node type name for the temporary type.
754
+ * @since Sitevision 3.6.3
755
+ */
756
+ TEMPORARY_TYPE: "sv:temporary";
757
+
758
+ /**
759
+ * The primary node type name for the temporary file type.
760
+ * @since Sitevision 4.5.4
761
+ */
762
+ TEMPORARY_FILE_TYPE: "sv:temporaryFile";
763
+
764
+ /**
765
+ * The primary node type name for the text field type.
766
+ * @since Sitevision 3.6.3
767
+ */
768
+ TEXT_FIELD_TYPE: "sv:textField";
769
+
770
+ /**
771
+ * The primary node type name for the user attribute type.
772
+ * @since Sitevision 3.6.3
773
+ */
774
+ USER_ATTRIBUTE_TYPE: "sv:userAttribute";
775
+
776
+ /**
777
+ * The primary node type name for the user attribute field type.
778
+ * @since Sitevision 3.6.3
779
+ */
780
+ USER_ATTRIBUTE_FIELD_TYPE: "sv:userAttributeField";
781
+
782
+ /**
783
+ * The primary node type name for the user container type.
784
+ * @since Sitevision 3.6.3
785
+ */
786
+ USER_CONTAINER_TYPE: "sv:userContainer";
787
+
788
+ /**
789
+ * The primary node type name for the user group type.
790
+ * @since Sitevision 3.6.3
791
+ */
792
+ USER_GROUP_TYPE: "sv:userGroup";
793
+
794
+ /**
795
+ * The primary node type name for the vfs file type.
796
+ * @since Sitevision 3.6.3
797
+ */
798
+ VFS_FILE_TYPE: "sv:vfsFile";
799
+
800
+ /**
801
+ * The primary node type name for the vfs folder type.
802
+ * @since Sitevision 3.6.3
803
+ */
804
+ VFS_FOLDER_TYPE: "sv:vfsFolder";
805
+
806
+ /**
807
+ * The primary node type name for the vfs mount type.
808
+ * @since Sitevision 3.6.3
809
+ */
810
+ VFS_MOUNT_TYPE: "sv:vfsMount";
811
+
812
+ /**
813
+ * The primary node type name for the view type.
814
+ * @since Sitevision 3.6.3
815
+ */
816
+ VIEW_TYPE: "sv:view";
817
+
818
+ /**
819
+ * The primary node type name for the virtual group type.
820
+ * @since Sitevision 3.6.3
821
+ */
822
+ VIRTUAL_GROUP_TYPE: "sv:virtualGroup";
823
+
824
+ /**
825
+ * The primary node type name for the global virtual group type.
826
+ * @since Sitevision 4.2
827
+ */
828
+ GLOBAL_VIRTUAL_GROUP_TYPE: "sv:globalVirtualGroup";
829
+
830
+ /**
831
+ * The primary node type name for the index repository type.
832
+ * @since Sitevision 3.6.4
833
+ */
834
+ INDEX_REPOSITORY_TYPE: "sv:indexRepository";
835
+
836
+ /**
837
+ * The primary node type name for the module element draft repository type.
838
+ * @since Sitevision 4.2
839
+ */
840
+ MODULE_ELEMENT_DRAFT_REPOSITORY_TYPE: "sv:moduleElementDraftRepository";
841
+
842
+ /**
843
+ * The primary node type name for the module element draft type.
844
+ * @since Sitevision 4.2
845
+ */
846
+ MODULE_ELEMENT_DRAFT_TYPE: "sv:moduleElementDraft";
847
+
848
+ /**
849
+ * The primary node type name for the module element repository type.
850
+ * @since Sitevision 4.2
851
+ */
852
+ MODULE_ELEMENT_REPOSITORY_TYPE: "sv:moduleElementRepository";
853
+
854
+ /**
855
+ * The primary node type name for the module element type.
856
+ * @since Sitevision 4.2
857
+ */
858
+ MODULE_ELEMENT_TYPE: "sv:moduleElement";
859
+
860
+ /**
861
+ * The primary node type name for the module element file repository type.
862
+ * @since Sitevision 4.2
863
+ */
864
+ MODULE_ELEMENT_FILE_REPOSITORY_TYPE: "sv:moduleElementFileRepository";
865
+
866
+ /**
867
+ * The primary node type name for the module element image repository type.
868
+ * @since Sitevision 4.2
869
+ */
870
+ MODULE_ELEMENT_IMAGE_REPOSITORY_TYPE: "sv:moduleElementImageRepository";
871
+
872
+ /**
873
+ * The primary node type name for the custom module type.
874
+ * @since Sitevision 4.2
875
+ */
876
+ CUSTOM_MODULE_TYPE: "sv:customModule";
877
+
878
+ /**
879
+ * The primary node type name for the addon repository type.
880
+ * @since Sitevision 4.2
881
+ */
882
+ ADDON_REPOSITORY_TYPE: "sv:addonRepository";
883
+
884
+ /**
885
+ * The primary node type name for the tag type.
886
+ * @since Sitevision 4.5.2
887
+ */
888
+ TAG_TYPE: "sv:tag";
889
+
890
+ /**
891
+ * The primary node type name for the tag repository type.
892
+ * @since Sitevision 4.5.2
893
+ */
894
+ TAG_REPOSITORY_TYPE: "sv:tagRepository";
895
+
896
+ /**
897
+ * The primary node type name for the tag group type.
898
+ * @since Sitevision 5
899
+ */
900
+ TAG_GROUP_TYPE: "sv:tagGroup";
901
+
902
+ /**
903
+ * The primary node type name for the tag group repository type.
904
+ * @since Sitevision 5
905
+ */
906
+ TAG_GROUP_REPOSITORY_TYPE: "sv:tagGroupRepository";
907
+
908
+ /**
909
+ * The primary node type name for the headless custom module type.
910
+ * @since Sitevision 4.5.2
911
+ */
912
+ HEADLESS_CUSTOM_MODULE_TYPE: "sv:headlessCustomModule";
913
+
914
+ /**
915
+ * The primary node type name for the webapp type.
916
+ * @since Sitevision 4.5.2
917
+ */
918
+ WEB_APP_TYPE: "sv:webApp";
919
+
920
+ /**
921
+ * The primary node type name for the webapp repository type.
922
+ * @since Sitevision 4.5.2
923
+ */
924
+ WEB_APP_REPOSITORY_TYPE: "sv:webAppRepository";
925
+
926
+ /**
927
+ * The primary node type name for the restapp type.
928
+ * @since Sitevision 4.5.2
929
+ */
930
+ REST_APP_TYPE: "sv:restApp";
931
+
932
+ /**
933
+ * The primary node type name for the restapp repository type.
934
+ * @since Sitevision 4.5.2
935
+ */
936
+ REST_APP_REPOSITORY_TYPE: "sv:restAppRepository";
937
+
938
+ /**
939
+ * The primary node type name for the comment type.
940
+ * @since Sitevision 4.5.2
941
+ */
942
+ COMMENT_TYPE: "sv:comment";
943
+
944
+ /**
945
+ * The primary node type name for the timeline entry repository type.
946
+ * @since Sitevision 4.5.2
947
+ */
948
+ TIMELINE_ENTRY_REPOSITORY_TYPE: "sv:timelineEntryRepository";
949
+
950
+ /**
951
+ * The primary node type name for the timeline entry type.
952
+ * @since Sitevision 4.5.2
953
+ */
954
+ TIMELINE_ENTRY_TYPE: "sv:timelineEntry";
955
+
956
+ /**
957
+ * The primary node type name for the bookmarked timeline entry type.
958
+ * @since Sitevision 4.5.2
959
+ */
960
+ BOOKMARKED_TIMELINE_ENTRY_TYPE: "sv:bookmarkedTimelineEntry";
961
+
962
+ /**
963
+ * The primary node type name for the timeline file entry type.
964
+ * @since Sitevision 4.5.2
965
+ */
966
+ TIMELINE_FILE_ENTRY_TYPE: "sv:timelineFileEntry";
967
+
968
+ /**
969
+ * The primary node type name for the timeline file wall entry type.
970
+ * @since Sitevision 4.5.2
971
+ */
972
+ TIMELINE_FILE_WALL_ENTRY_TYPE: "sv:timelineFileWallEntry";
973
+
974
+ /**
975
+ * The primary node type name for the timeline share entry type.
976
+ * @since Sitevision 4.5.2
977
+ */
978
+ TIMELINE_SHARE_ENTRY_TYPE: "sv:timelineShareEntry";
979
+
980
+ /**
981
+ * The primary node type name for the timeline share page entry type.
982
+ * @since Sitevision 4.5.2
983
+ */
984
+ TIMELINE_SHARE_PAGE_ENTRY_TYPE: "sv:timelineSharePageEntry";
985
+
986
+ /**
987
+ * The primary node type name for the timeline wall entry type.
988
+ * @since Sitevision 4.5.2
989
+ */
990
+ TIMELINE_WALL_ENTRY_TYPE: "sv:timelineWallEntry";
991
+
992
+ /**
993
+ * The primary node type name for the data store repository type.
994
+ * @since Sitevision 5
995
+ */
996
+ DATA_STORE_REPOSITORY_TYPE: "sv:dataStoreRepository";
997
+
998
+ /**
999
+ * The primary node type name for the key/value data store type.
1000
+ * @since Sitevision 5
1001
+ */
1002
+ KEY_VALUE_DATA_STORE_TYPE: "sv:keyValueDataStore";
1003
+
1004
+ /**
1005
+ * The primary node type name for the collection data store type.
1006
+ * @since Sitevision 5
1007
+ */
1008
+ COLLECTION_DATA_STORE_TYPE: "sv:collectionDataStore";
1009
+
1010
+ /**
1011
+ * The primary node type name for the role type.
1012
+ * @since Sitevision 5
1013
+ */
1014
+ ROLE_TYPE: "sv:role";
1015
+
1016
+ /**
1017
+ * The primary node type name for the role repository type.
1018
+ * @since Sitevision 5
1019
+ */
1020
+ ROLE_REPOSITORY_TYPE: "sv:roleRepository";
1021
+
1022
+ /**
1023
+ * The primary node type name for the virtual group repository type.
1024
+ * @since Sitevision 5
1025
+ */
1026
+ VIRTUAL_GROUP_REPOSITORY_TYPE: "sv:virtualGroupRepository";
1027
+
1028
+ /**
1029
+ * The primary node type name for the user field type.
1030
+ * @since Sitevision 5.1
1031
+ */
1032
+ USER_FIELD_TYPE: "sv:userField";
1033
+
1034
+ /**
1035
+ * The primary node type name for the user field repository type.
1036
+ * @since Sitevision 5.1
1037
+ */
1038
+ USER_FIELD_REPOSITORY_TYPE: "sv:userFieldRepository";
1039
+
1040
+ /**
1041
+ * The primary node type name for the Marketplace custom module type.
1042
+ * @since Sitevision 6
1043
+ */
1044
+ MARKETPLACE_CUSTOM_MODULE_TYPE: "sv:marketplaceCustomModule";
1045
+
1046
+ /**
1047
+ * The primary node type name for the Marketplace headless custom module type.
1048
+ * @since Sitevision 6
1049
+ */
1050
+ MARKETPLACE_HEADLESS_CUSTOM_MODULE_TYPE: "sv:marketplaceHeadlessCustomModule";
1051
+
1052
+ /**
1053
+ * The primary node type name for the responsive breakpoint repository type.
1054
+ * @since Sitevision 6.2
1055
+ */
1056
+ RESPONSIVE_BREAKPOINT_REPOSITORY_TYPE: "sv:responsiveBreakpointRepository";
1057
+
1058
+ /**
1059
+ * The primary node type name for the topic repository type.
1060
+ * @since Sitevision 7
1061
+ */
1062
+ TOPIC_REPOSITORY_TYPE: "sv:topicRepository";
1063
+
1064
+ /**
1065
+ * The primary node type name for the topic type.
1066
+ * @since Sitevision 7
1067
+ */
1068
+ TOPIC_TYPE: "sv:topic";
1069
+
1070
+ /**
1071
+ * The primary node type name for the topic timeline entry type.
1072
+ * @since Sitevision 7
1073
+ */
1074
+ TOPIC_TIMELINE_ENTRY_TYPE: "sv:topicTimelineEntry";
1075
+
1076
+ /**
1077
+ * The primary node type name for the external topic integration repository type.
1078
+ * @since Sitevision 7
1079
+ */
1080
+ EXTERNAL_TOPIC_INTEGRATION_REPOSITORY_TYPE: "sv:externalTopicIntegrationRepository";
1081
+
1082
+ /**
1083
+ * The primary node type name for the external topic integration type.
1084
+ * @since Sitevision 7
1085
+ */
1086
+ EXTERNAL_TOPIC_INTEGRATION_TYPE: "sv:externalTopicIntegration";
1087
+
1088
+ /**
1089
+ * The primary node type name for the external topic type.
1090
+ * @since Sitevision 7
1091
+ */
1092
+ EXTERNAL_TOPIC_TYPE: "sv:externalTopic";
1093
+
1094
+ /**
1095
+ * The primary node type name for the external timeline entry repository type.
1096
+ * @since Sitevision 7
1097
+ */
1098
+ EXTERNAL_TIMELINE_ENTRY_REPOSITORY_TYPE: "sv:externalTimelineEntryRepository";
1099
+
1100
+ /**
1101
+ * The primary node type name for the external topic timeline entry type.
1102
+ * @since Sitevision 7
1103
+ */
1104
+ EXTERNAL_TOPIC_TIMELINE_ENTRY_TYPE: "sv:externalTopicTimelineEntry";
1105
+
1106
+ /**
1107
+ * The primary node type name for the external comment type.
1108
+ * @since Sitevision 7
1109
+ */
1110
+ EXTERNAL_COMMENT_ENTRY_TYPE: "sv:externalComment";
1111
+
1112
+ /**
1113
+ * The primary node type name for the OAuth2 configuration repository type.
1114
+ * @since Sitevision 7
1115
+ */
1116
+ OAUTH2_CONFIGURATION_REPOSITORY_TYPE: "sv:oAuth2ConfigurationRepository";
1117
+
1118
+ /**
1119
+ * The primary node type name for the OAuth2 configuration type.
1120
+ * @since Sitevision 7
1121
+ */
1122
+ OAUTH2_CONFIGURATION_TYPE: "sv:oAuth2Configuration";
1123
+
1124
+ /**
1125
+ * Checks if a node is a layout.
1126
+ * @param aNode the node to be checked
1127
+ * @return whether <code>aNode</code> is a layout or not.
1128
+ */
1129
+ isLayout(aNode: Node): boolean;
1130
+
1131
+ /**
1132
+ * Checks if a node is a link.
1133
+ * @param aNode the node to be checked
1134
+ * @return whether <code>aNode</code> is a link or not.
1135
+ */
1136
+ isLink(aNode: Node): boolean;
1137
+
1138
+ /**
1139
+ * Checks if a node is a page.
1140
+ * @param aNode the node to be checked
1141
+ * @return whether <code>aNode</code> is a page or not.
1142
+ */
1143
+ isPage(aNode: Node): boolean;
1144
+
1145
+ /**
1146
+ * Checks if a node is a portlet.
1147
+ * @param aNode the node to be checked
1148
+ * @return whether <code>aNode</code> is a portlet or not.
1149
+ */
1150
+ isPortlet(aNode: Node): boolean;
1151
+
1152
+ /**
1153
+ * Checks if a node is an archive.
1154
+ * @param aNode the node to be checked
1155
+ * @return whether <code>aNode</code> is an archive or not.
1156
+ */
1157
+ isArchive(aNode: Node): boolean;
1158
+
1159
+ /**
1160
+ * Checks if a node is an article.
1161
+ * @param aNode the node to be checked
1162
+ * @return whether <code>aNode</code> is an article or not.
1163
+ */
1164
+ isArticle(aNode: Node): boolean;
1165
+
1166
+ /**
1167
+ * Checks if a node is a folder.
1168
+ * @param aNode the node to be checked
1169
+ * @return whether <code>aNode</code> is a folder or not.
1170
+ */
1171
+ isFolder(aNode: Node): boolean;
1172
+
1173
+ /**
1174
+ * Checks if a node is a file.
1175
+ * @param aNode the node to be checked
1176
+ * @return whether <code>aNode</code> is a file or not.
1177
+ */
1178
+ isFile(aNode: Node): boolean;
1179
+
1180
+ /**
1181
+ * Checks if a node is an image.
1182
+ * @param aNode the node to be checked
1183
+ * @return whether <code>aNode</code> is an image or not.
1184
+ */
1185
+ isImage(aNode: Node): boolean;
1186
+
1187
+ /**
1188
+ * Checks if a node is a temporary file.
1189
+ * @param aNode the node to be checked
1190
+ * @return whether aNode is a temporary file or not.
1191
+ * @see #TEMPORARY_FILE_TYPE
1192
+ * @since Sitevision 4.5.5.2
1193
+ */
1194
+ isTemporaryFile(aNode: Node): boolean;
1195
+
1196
+ /**
1197
+ * Checks if a node is a sv:user.
1198
+ * @param aNode the node to be checked
1199
+ * @return whether aNode is a {@link #USER_TYPE sv:user} or not.
1200
+ * @see #isAnyUserType(Node)
1201
+ */
1202
+ isUser(aNode: Node): boolean;
1203
+
1204
+ /**
1205
+ * Checks if a node is a sv:simpleUser.
1206
+ * @param aNode the node to be checked
1207
+ * @return whether aNode is a {@link #SIMPLE_USER_TYPE sv:simpleUser} or not.
1208
+ * @see #isAnyUserType(Node)
1209
+ * @since Sitevision 10.2
1210
+ */
1211
+ isSimpleUser(aNode: Node): boolean;
1212
+
1213
+ /**
1214
+ * Checks if a node is a sv:systemUser.
1215
+ *
1216
+ * <p>
1217
+ * Note that there are several build-in "system users" in Sitevision:
1218
+ * </p>
1219
+ * <ul>
1220
+ * <li>The <em>System</em> user</li>
1221
+ * <li>The <em>Anonymous</em> user (i.e. non-authenticated user)</li>
1222
+ * <li>The <em>Indexer</em> user (i.e. the user that index data in Sitevision)</li>
1223
+ * <li>The <em>Validator</em> user (i.e. the user that validates page-nodes in Sitevision)</li>
1224
+ * <li>The <em>Extractor</em> user (i.e. default "Web archive" user)</li>
1225
+ * <li>The <em>Anonymized</em> user (i.e. an anonymized user)</li>
1226
+ * </ul>
1227
+ * @param aNode the node to be checked
1228
+ * @return whether aNode is a {@link #SYSTEM_USER_TYPE sv:systemUser} or not.
1229
+ * @see #isAnyUserType(Node)
1230
+ * @since Sitevision 10.2
1231
+ */
1232
+ isSystemUser(aNode: Node): boolean;
1233
+
1234
+ /**
1235
+ * Checks if a node is a user identity.
1236
+ * @param aNode the node to be checked
1237
+ * @return whether <code>aNode</code> is a user identity or not.
1238
+ * @since Sitevision 3.5
1239
+ */
1240
+ isUserIdentity(aNode: Node): boolean;
1241
+
1242
+ /**
1243
+ * Checks if a node is a site.
1244
+ * @param aNode the node to be checked
1245
+ * @return whether <code>aNode</code> is a site or not.
1246
+ */
1247
+ isSite(aNode: Node): boolean;
1248
+
1249
+ /**
1250
+ * Checks if a node is a site page.
1251
+ * @param aNode the node to be checked
1252
+ * @return whether <code>aNode</code> is a site page or not.
1253
+ */
1254
+ isSitePage(aNode: Node): boolean;
1255
+
1256
+ /**
1257
+ * Checks if a node is a template.
1258
+ * @param aNode the node to be checked
1259
+ * @return whether <code>aNode</code> is a template or not.
1260
+ */
1261
+ isTemplate(aNode: Node): boolean;
1262
+
1263
+ /**
1264
+ * Checks if a node is a trashcan.
1265
+ * @param aNode the node to be checked
1266
+ * @return whether <code>aNode</code> is a trashcan or not.
1267
+ */
1268
+ isTrashcan(aNode: Node): boolean;
1269
+
1270
+ /**
1271
+ * Checks if a node is a color.
1272
+ * @param aNode the node to be checked
1273
+ * @return whether <code>aNode</code> is a color or not.
1274
+ */
1275
+ isColor(aNode: Node): boolean;
1276
+
1277
+ /**
1278
+ * Checks if a node is a decoration.
1279
+ * @param aNode the node to be checked
1280
+ * @return whether <code>aNode</code> is a decoration or not.
1281
+ */
1282
+ isDecoration(aNode: Node): boolean;
1283
+
1284
+ /**
1285
+ * Checks if a node is a LDAP directory.
1286
+ * @param aNode the node to be checked
1287
+ * @return whether <code>aNode</code> is a LDAP directory or not.
1288
+ */
1289
+ isDirectory(aNode: Node): boolean;
1290
+
1291
+ /**
1292
+ * Checks if a node is a font.
1293
+ * @param aNode the node to be checked
1294
+ * @return whether <code>aNode</code> is a font or not.
1295
+ */
1296
+ isFont(aNode: Node): boolean;
1297
+
1298
+ /**
1299
+ * Checks if a node is a structure folder.
1300
+ * @param aNode the node to be checked
1301
+ * @return whether <code>aNode</code> is a structure folder or not.
1302
+ */
1303
+ isStructureFolder(aNode: Node): boolean;
1304
+
1305
+ /**
1306
+ * Checks if a node is a structure link.
1307
+ * @param aNode the node to be checked
1308
+ * @return whether <code>aNode</code> is a structure link or not.
1309
+ */
1310
+ isStructureLink(aNode: Node): boolean;
1311
+
1312
+ /**
1313
+ * Checks if a node is a structure page.
1314
+ * @param aNode the node to be checked
1315
+ * @return whether <code>aNode</code> is a structure page or not.
1316
+ */
1317
+ isStructurePage(aNode: Node): boolean;
1318
+
1319
+ /**
1320
+ * Checks if a node is a collaboration group.
1321
+ * @param aNode the node to be checked
1322
+ * @return whether <code>aNode</code> is a collaboration group or not.
1323
+ * @since Sitevision 3.5
1324
+ */
1325
+ isCollaborationGroup(aNode: Node): boolean;
1326
+
1327
+ /**
1328
+ * Checks if a node is a collaboration group folder.
1329
+ * @param aNode the node to be checked
1330
+ * @return whether <code>aNode</code> is a collaboration group folder or not.
1331
+ * @since Sitevision 3.5
1332
+ */
1333
+ isCollaborationGroupFolder(aNode: Node): boolean;
1334
+
1335
+ /**
1336
+ * Checks if a node is a collaboration group page.
1337
+ * @param aNode the node to be checked
1338
+ * @return whether <code>aNode</code> is a collaboration group page or not.
1339
+ * @since Sitevision 3.5
1340
+ */
1341
+ isCollaborationGroupPage(aNode: Node): boolean;
1342
+
1343
+ /**
1344
+ * Checks if a node is a collaboration group template.
1345
+ * @param aNode the node to be checked
1346
+ * @return whether <code>aNode</code> is a collaboration group template or not.
1347
+ * @since Sitevision 3.5
1348
+ */
1349
+ isCollaborationGroupTemplate(aNode: Node): boolean;
1350
+
1351
+ /**
1352
+ * Checks if a node is an application index.
1353
+ * @param aNode the node to be checked
1354
+ * @return whether <code>aNode</code> is an application index or not.
1355
+ * @since Sitevision 3.6
1356
+ */
1357
+ isApplicationIndex(aNode: Node): boolean;
1358
+
1359
+ /**
1360
+ * Checks if a node is a node index.
1361
+ * @param aNode the node to be checked
1362
+ * @return whether <code>aNode</code> is a node index or not.
1363
+ * @since Sitevision 3.6
1364
+ */
1365
+ isNodeIndex(aNode: Node): boolean;
1366
+
1367
+ /**
1368
+ * Checks if a node is a RSS feed.
1369
+ * @param aNode the node to be checked
1370
+ * @return whether <code>aNode</code> is a RSS feed or not.
1371
+ * @since Sitevision 3.6.2
1372
+ */
1373
+ isRssFeed(aNode: Node): boolean;
1374
+
1375
+ /**
1376
+ * Checks if a node is a RSS feed item.
1377
+ * @param aNode the node to be checked
1378
+ * @return whether <code>aNode</code> is a RSS feed item or not.
1379
+ * @since Sitevision 3.6.2
1380
+ */
1381
+ isRssFeedItem(aNode: Node): boolean;
1382
+
1383
+ /**
1384
+ * Checks if a node is a RSS feed repository.
1385
+ * @param aNode the node to be checked
1386
+ * @return whether <code>aNode</code> is a RSS feed repository or not.
1387
+ * @since Sitevision 3.6.2
1388
+ */
1389
+ isRssFeedRepository(aNode: Node): boolean;
1390
+
1391
+ /**
1392
+ * Convenience method that checks if a node is of "Renderable node" type.
1393
+ *
1394
+ * <p>
1395
+ * A <em>"Renderable node"</em> is a Node that can have a {@link #isAnyContentType(Node) "Content node"} as render part:
1396
+ * </p>
1397
+ * <ul>
1398
+ * <li>{@link #PAGE_TYPE sv:page}</li>
1399
+ * <li>{@link #ARTICLE_TYPE sv:article}</li>
1400
+ * <li>{@link #SITE_PAGE_TYPE sv:sitePage}</li>
1401
+ * <li>{@link #STRUCTURE_PAGE_TYPE sv:structurePage}</li>
1402
+ * <li>{@link #COLLABORATION_GROUP_PAGE_TYPE sv:collaborationGroupPage}</li>
1403
+ * <li>{@link #TEMPLATE_TYPE sv:template}</li>
1404
+ * <li>{@link #COLLABORATION_GROUP_TEMPLATE_TYPE sv:collaborationGroupTemplate}</li>
1405
+ * <li>{@link #DECORATION_TEMPLATE_TYPE sv:decorationTemplate}</li>
1406
+ * <li>{@link #MODULE_ELEMENT_TYPE sv:moduleElement}</li>
1407
+ * <li>{@link #MODULE_ELEMENT_DRAFT_TYPE sv:moduleElementDraft}</li>
1408
+ * </ul>
1409
+ * @param aNode the node to be checked
1410
+ * @return whether aNode is a "renderable node" or not.
1411
+ * @see senselogic.sitevision.api.node.ContentNodeUtil
1412
+ * @since Sitevision 10.2
1413
+ */
1414
+ isAnyRenderableType(aNode: Node): boolean;
1415
+
1416
+ /**
1417
+ * Convenience method that checks if a node is of "Content node" type.
1418
+ *
1419
+ * <p>
1420
+ * A <em>"Content node"</em> is a Node that can be rendered as content part of a {@link #isAnyRenderableType(Node) "Renderable node"}:
1421
+ * </p>
1422
+ * <ul>
1423
+ * <li>{@link #PORTLET_TYPE sv:portlet}</li>
1424
+ * <li>{@link #LAYOUT_TYPE sv:layout}</li>
1425
+ * <li>{@link #LINKED_LAYOUT_TYPE sv:linkedLayout}</li>
1426
+ * <li>{@link #REFERENCE_LAYOUT_TYPE sv:referenceLayout}</li>
1427
+ * <li>{@link #VIEW_TYPE sv:view}</li>
1428
+ * <li>{@link #PROFILE_VIEW_TYPE sv:profileView}</li>
1429
+ * </ul>
1430
+ * @param aNode the node to be checked
1431
+ * @return whether aNode is a "content node" or not.
1432
+ * @see senselogic.sitevision.api.node.ContentNodeUtil
1433
+ * @since Sitevision 10.2
1434
+ */
1435
+ isAnyContentType(aNode: Node): boolean;
1436
+
1437
+ /**
1438
+ * Convenience method that checks if a node is of "User node" type.
1439
+ *
1440
+ * <p>
1441
+ * "User" node types are:
1442
+ * </p>
1443
+ * <ul>
1444
+ * <li>{@link #USER_TYPE sv:user}</li>
1445
+ * <li>{@link #SIMPLE_USER_TYPE sv:simpleUser}</li>
1446
+ * <li>{@link #SYSTEM_USER_TYPE sv:systemUser}</li>
1447
+ * </ul>
1448
+ * @param aNode the node to be checked
1449
+ * @return whether aNode is a "user node" or not.
1450
+ * @since Sitevision 10.2
1451
+ */
1452
+ isAnyUserType(aNode: Node): boolean;
1453
+
1454
+ /**
1455
+ * Checks a node against a given node type name to see if they match.
1456
+ * @param aNode the node to be checked
1457
+ * @param aPrimaryNodeType the primary node type name <code>aNode</code> should be checked against
1458
+ * @return whether primary node type of <code>aNode</code> matches the <code>aPrimaryNodeType</code> type
1459
+ * @see #isTypeOf(javax.jcr.Node, String[])
1460
+ */
1461
+ isType(aNode: Node, aPrimaryNodeType: string): boolean;
1462
+
1463
+ /**
1464
+ * Checks a node against multiple node type names to see if any of them match.
1465
+ * @param aNode the node to be checked
1466
+ * @param aPrimaryNodeTypes the primary node type names <code>aNode</code> should be checked against
1467
+ * @return whether primary node type of <code>aNode</code> matches any of the types in <code>aPrimaryNodeTypes</code>
1468
+ */
1469
+ isTypeOf(aNode: Node, aPrimaryNodeTypes: string): boolean;
590
1470
  }
591
1471
 
592
- export default nodeTypeUtil;
1472
+ declare namespace NodeTypeUtil {}
1473
+
1474
+ declare var nodeTypeUtil: NodeTypeUtil;
1475
+
1476
+ export = nodeTypeUtil;