@sitevision/api 1.0.19 → 1.1.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/common/router/index.d.ts +1 -1
  2. package/hidden/javax/jcr/Binary/index.d.ts +86 -0
  3. package/hidden/javax/jcr/Credentials/index.d.ts +11 -0
  4. package/hidden/javax/jcr/ImportUUIDBehavior/index.d.ts +11 -0
  5. package/hidden/javax/jcr/Item/index.d.ts +353 -0
  6. package/hidden/javax/jcr/ItemVisitor/index.d.ts +41 -0
  7. package/hidden/javax/jcr/NamespaceRegistry/index.d.ts +100 -0
  8. package/hidden/javax/jcr/Node/index.d.ts +2808 -0
  9. package/hidden/javax/jcr/NodeIterator/index.d.ts +18 -0
  10. package/hidden/javax/jcr/Property/index.d.ts +801 -0
  11. package/hidden/javax/jcr/PropertyIterator/index.d.ts +17 -0
  12. package/hidden/javax/jcr/RangeIterator/index.d.ts +75 -0
  13. package/hidden/javax/jcr/Repository/index.d.ts +318 -0
  14. package/hidden/javax/jcr/RepositoryFactory/index.d.ts +90 -0
  15. package/hidden/javax/jcr/Value/index.d.ts +190 -0
  16. package/hidden/javax/jcr/ValueFactory/index.d.ts +179 -0
  17. package/hidden/javax/jcr/Workspace/index.d.ts +1061 -0
  18. package/hidden/javax/jcr/lock/Lock/index.d.ts +142 -0
  19. package/hidden/javax/jcr/lock/LockManager/index.d.ts +217 -0
  20. package/hidden/javax/jcr/nodetype/ItemDefinition/index.d.ts +219 -0
  21. package/hidden/javax/jcr/nodetype/NodeDefinition/index.d.ts +158 -0
  22. package/hidden/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +74 -0
  23. package/hidden/javax/jcr/nodetype/NodeType/index.d.ts +349 -0
  24. package/hidden/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +248 -0
  25. package/hidden/javax/jcr/nodetype/NodeTypeIterator/index.d.ts +16 -0
  26. package/hidden/javax/jcr/nodetype/NodeTypeManager/index.d.ts +218 -0
  27. package/hidden/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +98 -0
  28. package/hidden/javax/jcr/nodetype/PropertyDefinition/index.d.ts +536 -0
  29. package/hidden/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +97 -0
  30. package/hidden/javax/jcr/observation/Event/index.d.ts +133 -0
  31. package/hidden/javax/jcr/observation/EventIterator/index.d.ts +20 -0
  32. package/hidden/javax/jcr/observation/EventJournal/index.d.ts +22 -0
  33. package/hidden/javax/jcr/observation/EventListener/index.d.ts +23 -0
  34. package/hidden/javax/jcr/observation/EventListenerIterator/index.d.ts +20 -0
  35. package/hidden/javax/jcr/observation/ObservationManager/index.d.ts +227 -0
  36. package/hidden/javax/jcr/query/Query/index.d.ts +201 -0
  37. package/hidden/javax/jcr/query/QueryManager/index.d.ts +73 -0
  38. package/hidden/javax/jcr/query/QueryResult/index.d.ts +51 -0
  39. package/hidden/javax/jcr/query/Row/index.d.ts +159 -0
  40. package/hidden/javax/jcr/query/RowIterator/index.d.ts +20 -0
  41. package/hidden/javax/jcr/query/qom/And/index.d.ts +26 -0
  42. package/hidden/javax/jcr/query/qom/BindVariableValue/index.d.ts +15 -0
  43. package/hidden/javax/jcr/query/qom/ChildNode/index.d.ts +27 -0
  44. package/hidden/javax/jcr/query/qom/ChildNodeJoinCondition/index.d.ts +27 -0
  45. package/hidden/javax/jcr/query/qom/Column/index.d.ts +39 -0
  46. package/hidden/javax/jcr/query/qom/Comparison/index.d.ts +82 -0
  47. package/hidden/javax/jcr/query/qom/Constraint/index.d.ts +13 -0
  48. package/hidden/javax/jcr/query/qom/DescendantNode/index.d.ts +31 -0
  49. package/hidden/javax/jcr/query/qom/DescendantNodeJoinCondition/index.d.ts +29 -0
  50. package/hidden/javax/jcr/query/qom/DynamicOperand/index.d.ts +9 -0
  51. package/hidden/javax/jcr/query/qom/EquiJoinCondition/index.d.ts +41 -0
  52. package/hidden/javax/jcr/query/qom/FullTextSearch/index.d.ts +89 -0
  53. package/hidden/javax/jcr/query/qom/FullTextSearchScore/index.d.ts +24 -0
  54. package/hidden/javax/jcr/query/qom/Join/index.d.ts +36 -0
  55. package/hidden/javax/jcr/query/qom/JoinCondition/index.d.ts +9 -0
  56. package/hidden/javax/jcr/query/qom/Length/index.d.ts +24 -0
  57. package/hidden/javax/jcr/query/qom/Literal/index.d.ts +18 -0
  58. package/hidden/javax/jcr/query/qom/LowerCase/index.d.ts +26 -0
  59. package/hidden/javax/jcr/query/qom/NodeLocalName/index.d.ts +16 -0
  60. package/hidden/javax/jcr/query/qom/NodeName/index.d.ts +16 -0
  61. package/hidden/javax/jcr/query/qom/Not/index.d.ts +20 -0
  62. package/hidden/javax/jcr/query/qom/Operand/index.d.ts +9 -0
  63. package/hidden/javax/jcr/query/qom/Or/index.d.ts +30 -0
  64. package/hidden/javax/jcr/query/qom/Ordering/index.d.ts +53 -0
  65. package/hidden/javax/jcr/query/qom/PropertyExistence/index.d.ts +24 -0
  66. package/hidden/javax/jcr/query/qom/PropertyValue/index.d.ts +25 -0
  67. package/hidden/javax/jcr/query/qom/QueryObjectModel/index.d.ts +64 -0
  68. package/hidden/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +9 -0
  69. package/hidden/javax/jcr/query/qom/QueryObjectModelFactory/index.d.ts +638 -0
  70. package/hidden/javax/jcr/query/qom/SameNode/index.d.ts +27 -0
  71. package/hidden/javax/jcr/query/qom/SameNodeJoinCondition/index.d.ts +36 -0
  72. package/hidden/javax/jcr/query/qom/Selector/index.d.ts +35 -0
  73. package/hidden/javax/jcr/query/qom/Source/index.d.ts +9 -0
  74. package/hidden/javax/jcr/query/qom/StaticOperand/index.d.ts +10 -0
  75. package/hidden/javax/jcr/query/qom/UpperCase/index.d.ts +26 -0
  76. package/hidden/javax/jcr/retention/Hold/index.d.ts +34 -0
  77. package/hidden/javax/jcr/retention/RetentionManager/index.d.ts +189 -0
  78. package/hidden/javax/jcr/retention/RetentionPolicy/index.d.ts +21 -0
  79. package/hidden/javax/jcr/security/AccessControlEntry/index.d.ts +24 -0
  80. package/hidden/javax/jcr/security/AccessControlList/index.d.ts +91 -0
  81. package/hidden/javax/jcr/security/AccessControlManager/index.d.ts +297 -0
  82. package/hidden/javax/jcr/security/AccessControlPolicy/index.d.ts +11 -0
  83. package/hidden/javax/jcr/security/AccessControlPolicyIterator/index.d.ts +20 -0
  84. package/hidden/javax/jcr/security/NamedAccessControlPolicy/index.d.ts +22 -0
  85. package/hidden/javax/jcr/security/Privilege/index.d.ts +117 -0
  86. package/hidden/javax/jcr/version/Version/index.d.ts +121 -0
  87. package/hidden/javax/jcr/version/VersionHistory/index.d.ts +307 -0
  88. package/hidden/javax/jcr/version/VersionIterator/index.d.ts +20 -0
  89. package/hidden/javax/jcr/version/VersionManager/index.d.ts +1082 -0
  90. package/hidden/senselogic/sitevision/api/base/Builder/index.d.ts +102 -0
  91. package/hidden/senselogic/sitevision/api/base/Filter/index.d.ts +25 -0
  92. package/hidden/senselogic/sitevision/api/base/FilterSplit/index.d.ts +50 -0
  93. package/hidden/senselogic/sitevision/api/base/Loadable/index.d.ts +15 -0
  94. package/hidden/senselogic/sitevision/api/base/Resolver/index.d.ts +31 -0
  95. package/hidden/senselogic/sitevision/api/base/Wrapper/index.d.ts +24 -0
  96. package/hidden/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.d.ts +417 -0
  97. package/hidden/senselogic/sitevision/api/format/NumericFormatter/index.d.ts +80 -0
  98. package/hidden/senselogic/sitevision/api/format/NumericFormatterBuilder/index.d.ts +100 -0
  99. package/hidden/senselogic/sitevision/api/i18n/Currency/index.d.ts +120 -0
  100. package/hidden/senselogic/sitevision/api/link/CustomLinkProcessor/index.d.ts +45 -0
  101. package/hidden/senselogic/sitevision/api/link/CustomLinkRenderData/index.d.ts +65 -0
  102. package/hidden/senselogic/sitevision/api/mail/Mail/index.d.ts +32 -0
  103. package/hidden/senselogic/sitevision/api/message/MessageTextLinker/index.d.ts +15 -0
  104. package/hidden/senselogic/sitevision/api/metadata/value/LinkValue/index.d.ts +23 -0
  105. package/hidden/senselogic/sitevision/api/metadata/value/RelatedValue/index.d.ts +23 -0
  106. package/hidden/senselogic/sitevision/api/property/VersionedPropertyUtil/index.d.ts +642 -0
  107. package/hidden/senselogic/sitevision/api/render/BuddyIconRenderer/BuddyIconInfo/index.d.ts +51 -0
  108. package/hidden/senselogic/sitevision/api/render/ImageScaler/index.d.ts +58 -0
  109. package/hidden/senselogic/sitevision/api/render/TextModuleRenderer/index.d.ts +301 -0
  110. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ArticleUtilConstants/index.d.ts +85 -0
  111. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ExceptionSuppressingProxyConstants/index.d.ts +31 -0
  112. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/IndexingUtilConstants/index.d.ts +31 -0
  113. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/LinkPageUtilConstants/index.d.ts +67 -0
  114. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MathInstanceConstants/index.d.ts +25 -0
  115. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MimeTypeUtilConstants/index.d.ts +19 -0
  116. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/NodeTypeUtilConstants/index.d.ts +1243 -0
  117. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/OutputUtilConstants/index.d.ts +31 -0
  118. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PageUtilConstants/index.d.ts +91 -0
  119. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletContextUtilConstants/index.d.ts +27 -0
  120. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletUtilConstants/index.d.ts +19 -0
  121. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/QueryStringUtilConstants/index.d.ts +19 -0
  122. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchHitConstants/index.d.ts +25 -0
  123. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchResultConstants/index.d.ts +37 -0
  124. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/VersionUtilConstants/index.d.ts +25 -0
  125. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/index.d.ts +8 -0
  126. package/hidden/senselogic/sitevision/api/render/velocity/VelocityContext/index.d.ts +50 -0
  127. package/hidden/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.d.ts +89 -0
  128. package/hidden/senselogic/sitevision/api/script/RequesterChainable/index.d.ts +119 -0
  129. package/hidden/senselogic/sitevision/api/script/app/RestAppInvoker/index.d.ts +272 -0
  130. package/hidden/senselogic/sitevision/api/script/factory/TypedArgument/index.d.ts +43 -0
  131. package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts +94 -0
  132. package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts +117 -0
  133. package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.d.ts +90 -0
  134. package/hidden/senselogic/sitevision/api/search/SearchFieldUtil/index.d.ts +89 -0
  135. package/hidden/senselogic/sitevision/api/search/SearchHighlighter/index.d.ts +45 -0
  136. package/hidden/senselogic/sitevision/api/search/SearchHit/index.d.ts +1176 -0
  137. package/hidden/senselogic/sitevision/api/search/SearchResult/index.d.ts +414 -0
  138. package/hidden/senselogic/sitevision/api/search/facet/SearchFacetField/index.d.ts +27 -0
  139. package/hidden/senselogic/sitevision/api/search/facet/SearchFacetValue/index.d.ts +61 -0
  140. package/hidden/senselogic/sitevision/api/search/searcher/Searcher/index.d.ts +277 -0
  141. package/hidden/senselogic/sitevision/api/search/searcher/component/Filter/index.d.ts +25 -0
  142. package/hidden/senselogic/sitevision/api/search/searcher/component/Highlight/index.d.ts +29 -0
  143. package/hidden/senselogic/sitevision/api/search/searcher/component/Monitor/index.d.ts +25 -0
  144. package/hidden/senselogic/sitevision/api/search/searcher/component/Parser/index.d.ts +35 -0
  145. package/hidden/senselogic/sitevision/api/search/searcher/component/Sort/index.d.ts +25 -0
  146. package/hidden/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.d.ts +29 -0
  147. package/hidden/senselogic/sitevision/api/search/sort/CustomSort/index.d.ts +82 -0
  148. package/hidden/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.d.ts +21 -0
  149. package/hidden/senselogic/sitevision/api/security/DirectoryAttributes/index.d.ts +70 -0
  150. package/hidden/senselogic/sitevision/api/security/MessageDigester/index.d.ts +50 -0
  151. package/hidden/senselogic/sitevision/api/security/RoleAssignment/index.d.ts +72 -0
  152. package/hidden/senselogic/sitevision/api/security/RoleMatcher/index.d.ts +29 -0
  153. package/hidden/senselogic/sitevision/api/security/SecretStore/index.d.ts +55 -0
  154. package/hidden/senselogic/sitevision/api/security/UserUtil/index.d.ts +80 -0
  155. package/hidden/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.d.ts +36 -0
  156. package/hidden/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.d.ts +32 -0
  157. package/hidden/senselogic/sitevision/api/user/UserIdentityWrapper/index.d.ts +599 -0
  158. package/hidden/senselogic/sitevision/api/webresource/LinkTarget/index.d.ts +20 -0
  159. package/hidden/senselogic/sitevision/api/xml/XmlElement/index.d.ts +55 -0
  160. package/hidden/senselogic/sitevision/api/xml/XmlElementHandler/index.d.ts +17 -0
  161. package/package.json +2 -4
  162. package/server/AliasUtil/index.d.ts +25 -0
  163. package/server/AliasUtil/index.js +10 -0
  164. package/server/ArchiveUtil/index.d.ts +65 -11
  165. package/server/ArraysInstance/index.d.ts +1846 -0
  166. package/server/ArticleUtil/index.d.ts +381 -69
  167. package/server/AuthenticationUtil/index.d.ts +106 -0
  168. package/server/BookmarkUtil/index.d.ts +36 -28
  169. package/server/BuddyIconRenderer/index.d.ts +240 -0
  170. package/server/ClientUtil/index.d.ts +18 -4
  171. package/server/CollaborationFactory/index.d.ts +42 -25
  172. package/server/CollaborationGroupFolderUtil/index.d.ts +40 -29
  173. package/server/CollaborationGroupTemplateUtil/index.d.ts +71 -39
  174. package/server/CollaborationGroupUtil/index.d.ts +128 -55
  175. package/server/CollectionsInstance/index.d.ts +738 -0
  176. package/server/ColorUtil/index.d.ts +22 -17
  177. package/server/CompoundAndFilterBuilder/index.d.ts +60 -0
  178. package/server/CompoundComparatorBuilder/index.d.ts +63 -0
  179. package/server/CompoundOrFilterBuilder/index.d.ts +59 -0
  180. package/server/ContentNodeUtil/index.d.ts +76 -0
  181. package/server/CurrencyFactory/index.d.ts +135 -0
  182. package/server/DateUtil/index.d.ts +154 -77
  183. package/server/DecorationUtil/index.d.ts +23 -0
  184. package/server/DeviceUtil/index.d.ts +36 -0
  185. package/server/DirectoryUtil/index.d.ts +107 -47
  186. package/server/DocTypeUtil/index.d.ts +149 -0
  187. package/server/EndecUtil/index.d.ts +537 -91
  188. package/server/ExtendedDismaxParserBuilder/index.d.ts +311 -0
  189. package/server/FileIconRenderer/index.d.ts +346 -0
  190. package/server/FileUtil/index.d.ts +462 -0
  191. package/server/FilterBuilder/index.d.ts +120 -0
  192. package/server/FolderUtil/index.d.ts +161 -0
  193. package/server/FontUtil/index.d.ts +49 -0
  194. package/server/FormatterBuilderFactory/index.d.ts +129 -0
  195. package/server/HighlightBuilder/index.d.ts +194 -0
  196. package/server/IconUtil/index.d.ts +37 -0
  197. package/server/ImageLinkRenderer/index.d.ts +134 -0
  198. package/server/ImageRenderer/index.d.ts +613 -231
  199. package/server/ImageUtil/index.d.ts +430 -0
  200. package/server/IndexUtil/index.d.ts +71 -0
  201. package/server/IndexingUtil/index.d.ts +92 -0
  202. package/server/InstanceCreatorUtil/index.d.ts +661 -0
  203. package/server/InstanceTypeUtil/index.d.ts +202 -0
  204. package/server/JwtUtil/index.d.ts +217 -0
  205. package/server/LandingPageUtil/index.d.ts +67 -50
  206. package/server/LinkPageUtil/index.d.ts +468 -0
  207. package/server/LinkRenderer/index.d.ts +1157 -0
  208. package/server/LinkTargetBuilder/index.d.ts +146 -0
  209. package/server/LinkValueBuilder/index.d.ts +129 -52
  210. package/server/ListWrapper/index.d.ts +172 -0
  211. package/server/LocaleUtil/index.d.ts +695 -61
  212. package/server/LogUtil/index.d.ts +118 -77
  213. package/server/MailBuilder/index.d.ts +238 -0
  214. package/server/MailUtil/index.d.ts +98 -0
  215. package/server/MathInstance/index.d.ts +681 -0
  216. package/server/MessageDigesterFactory/index.d.ts +49 -0
  217. package/server/MetadataDefinitionUtil/index.d.ts +118 -0
  218. package/server/MetadataUtil/index.d.ts +524 -79
  219. package/server/MimeTypeUtil/index.d.ts +316 -0
  220. package/server/MonitorBuilder/index.d.ts +51 -0
  221. package/server/NodeComparatorUtil/index.d.ts +397 -0
  222. package/server/NodeFactoryUtil/index.d.ts +32 -0
  223. package/server/NodeFilterUtil/index.d.ts +924 -0
  224. package/server/NodeIteratorUtil/index.d.ts +322 -72
  225. package/server/NodeResolverUtil/index.d.ts +767 -0
  226. package/server/NodeTreeUtil/index.d.ts +339 -63
  227. package/server/NodeTypeUtil/index.d.ts +391 -197
  228. package/server/OfflineVersionPropertyUtil/index.d.ts +30 -0
  229. package/server/OnlineVersionPropertyUtil/index.d.ts +30 -0
  230. package/server/OutputUtil/index.d.ts +641 -0
  231. package/server/PageUtil/index.d.ts +330 -0
  232. package/server/PermissionUtil/index.d.ts +650 -0
  233. package/server/PortletContextUtil/index.d.ts +118 -37
  234. package/server/PortletContextUtil/index.js +1 -0
  235. package/server/PortletUtil/index.d.ts +40 -0
  236. package/server/PrincipalUtil/index.d.ts +51 -0
  237. package/server/Properties/index.d.ts +185 -38
  238. package/server/PropertyUtil/index.d.ts +2330 -406
  239. package/server/PublishingUtil/index.d.ts +385 -49
  240. package/server/QueryStringUtil/index.d.ts +737 -0
  241. package/server/RedirectUtil/index.d.ts +98 -0
  242. package/server/RelatedValueBuilder/index.d.ts +81 -39
  243. package/server/Requester/index.d.ts +441 -65
  244. package/server/ResourceLocatorUtil/index.d.ts +483 -227
  245. package/server/RestApi/index.d.ts +208 -23
  246. package/server/RestAppInvokerFactory/index.d.ts +73 -0
  247. package/server/RoleAssignmentBuilder/index.d.ts +60 -0
  248. package/server/RoleMatcherBuilder/index.d.ts +59 -0
  249. package/server/RoleUtil/index.d.ts +57 -0
  250. package/server/ScriptUtil/index.d.ts +625 -143
  251. package/server/SearchFactory/index.d.ts +133 -0
  252. package/server/SearchUtil/index.d.ts +164 -0
  253. package/server/SearcherBuilder/index.d.ts +260 -0
  254. package/server/Session/index.d.ts +1758 -0
  255. package/server/SimpleUserUtil/index.d.ts +39 -30
  256. package/server/SiteCookieUtil/index.d.ts +78 -53
  257. package/server/SortBuilder/index.d.ts +111 -0
  258. package/server/SpellCheckBuilder/index.d.ts +68 -0
  259. package/server/StandardParserBuilder/index.d.ts +112 -0
  260. package/server/StructureUtil/index.d.ts +167 -0
  261. package/server/SubscriberUtil/index.d.ts +122 -0
  262. package/server/SubscriptionUtil/index.d.ts +197 -0
  263. package/server/SystemUserUtil/index.d.ts +201 -98
  264. package/server/TagUtil/index.d.ts +193 -0
  265. package/server/TemplateUtil/index.d.ts +217 -0
  266. package/server/TemporaryFileNodeBuilder/index.d.ts +63 -0
  267. package/server/TemporaryNodeBuilder/index.d.ts +241 -0
  268. package/server/TextModuleRendererBuilder/index.d.ts +68 -0
  269. package/server/TimestampUtil/index.d.ts +98 -82
  270. package/server/TranslationUtil/index.d.ts +175 -0
  271. package/server/TrashcanUtil/index.d.ts +193 -24
  272. package/server/UserDataUtil/index.d.ts +167 -85
  273. package/server/UserFactory/index.d.ts +45 -30
  274. package/server/UserFieldRenderer/index.d.ts +258 -0
  275. package/server/UserIdentityUtil/index.d.ts +61 -29
  276. package/server/UserUtil/index.d.ts +69 -28
  277. package/server/Utils/index.d.ts +870 -12
  278. package/server/VelocityRenderer/index.d.ts +248 -0
  279. package/server/VersionUtil/index.d.ts +15 -12
  280. package/server/WebContentUtil/index.d.ts +644 -0
  281. package/server/WebResourceFactory/index.d.ts +66 -0
  282. package/server/XSLTUtil/index.d.ts +49 -10
  283. package/server/XmlParserUtil/index.d.ts +82 -81
  284. package/builtins/Binary/index.d.ts +0 -3
  285. package/builtins/Calendar/index.d.ts +0 -3
  286. package/builtins/Collection/index.d.ts +0 -3
  287. package/builtins/Date/index.d.ts +0 -3
  288. package/builtins/InputStream/index.d.ts +0 -3
  289. package/builtins/Instant/index.d.ts +0 -3
  290. package/builtins/List/index.d.ts +0 -3
  291. package/builtins/LocalDateTime/index.d.ts +0 -3
  292. package/builtins/Locale/index.d.ts +0 -3
  293. package/builtins/Node/index.d.ts +0 -3
  294. package/builtins/NodeIterator/index.d.ts +0 -27
  295. package/builtins/Property/index.d.ts +0 -3
  296. package/builtins/Serializable/index.d.ts +0 -3
  297. package/builtins/Set/index.d.ts +0 -3
  298. package/builtins/Throwable/index.d.ts +0 -3
  299. package/builtins/byte/index.d.ts +0 -3
@@ -0,0 +1,536 @@
1
+ import Value from "../../Value";
2
+
3
+ /**
4
+ * A property definition. Used in node type definitions.Gets the required type of the property. One of: <ul>
5
+ * <li><code>PropertyType.STRING</code></li> <li><code>PropertyType.DATE</code></li>
6
+ * <li><code>PropertyType.BINARY</code></li> <li><code>PropertyType.DOUBLE</code></li>
7
+ * <li><code>PropertyType.DECIMAL</code></li> <li><code>PropertyType.LONG</code></li>
8
+ * <li><code>PropertyType.BOOLEAN</code></li> <li><code>PropertyType.NAME</code></li>
9
+ * <li><code>PropertyType.PATH</code></li> <li><code>PropertyType.URI</code></li>
10
+ * <li><code>PropertyType.REFERENCE</code></li> <li><code>PropertyType.WEAKREFERENCE</code></li>
11
+ * <li><code>PropertyType.UNDEFINED</code></li> </ul>
12
+ * <code>PropertyType.UNDEFINED</code> is returned if this property may be
13
+ * of any type.
14
+ * <p>
15
+ * In implementations that support node type registration, if this
16
+ * <code>PropertyDefinition</code> object is actually a newly-created empty
17
+ * <code>PropertyDefinitionTemplate</code>, then this method will return
18
+ * <code>PropertyType.STRING</code>.
19
+ *
20
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>Gets the array of constraint strings. Each string in the array specifies
21
+ * a constraint on the value of the property. The constraints are OR-ed
22
+ * together, meaning that in order to be valid, the value must meet at least
23
+ * one of the constraints. For example, a constraint array of
24
+ * <code>["constraint1", "constraint2", "constraint3"]</code> has the
25
+ * interpretation: "the value of this property must meet at least one of
26
+ * <code>constraint1</code>, <code>constraint2 </code>or
27
+ * <code>constraint3</code>".
28
+ * <p>
29
+ * Reporting of value constraints is optional. An implementation may return
30
+ * <code>null</code>, indicating that value constraint information is
31
+ * unavailable (though a constraint may still exist).
32
+ * <p>
33
+ * Returning an empty array, on the other hand, indicates that value
34
+ * constraint information is available and that no constraints are placed on
35
+ * this value.
36
+ * <p>
37
+ * In the case of multi-value properties, the constraint string array
38
+ * returned applies to all the values of the property.
39
+ * <p>
40
+ * The constraint strings themselves having differing formats and
41
+ * interpretations depending on the type of the property in question. The
42
+ * following describes the value constraint syntax for each property type:
43
+ * <ul> <li> <code>STRING</code> and <code>URI</code>: The constraint string
44
+ * is a regular expression pattern. For example the regular expression
45
+ * "<code>.*</code>" means "any string, including the empty string". Whereas
46
+ * a simple literal string (without any RE-specific meta-characters) like
47
+ * "<code>banana</code>" matches only the string "<code>banana</code>".
48
+ * </li> <li> <code>PATH</code>: The constraint string is a <i>JCR path</i>
49
+ * with an optional "<code>*</code>" character after the last
50
+ * "<code>/</code>" character. For example, possible constraint strings for
51
+ * a property of type <code>PATH</code> include: <ol> <li>
52
+ * "<code>/myapp:products/myapp:televisions</code>" </li> <li>
53
+ * "<code>/myapp:products/myapp:televisions/</code>" </li> <li>
54
+ * "<code>/myapp:products/*</code>" </li> <li> "<code>myapp:products/myapp:televisions</code>"
55
+ * </li> <li> "<code>../myapp:televisions</code>" </li> <li>
56
+ * "<code>../myapp:televisions/*</code>" </li> </ol> The following
57
+ * principles apply: <ul> <li> The "*" means "matches descendants" not
58
+ * "matches any subsequent path". For example, <code>/a/*</code> does not
59
+ * match <code>/a/../c</code>. The constraint must match the normalized
60
+ * path. </li> <li> Relative path constraint only match relative path values
61
+ * and absolute path constraints only match absolute path values. </li> <li>
62
+ * A trailing "<code>/</code>" has no effect (hence, <code>1</code> and
63
+ * <code>2</code>, above, are equivalent). </li> <li> The trailing
64
+ * "<code>*</code>" character means that the value of the <code>PATH</code>
65
+ * property is restricted to the indicated subgraph (in other words any
66
+ * additional relative path can replace the "<code>*</code>"). For example,
67
+ * 3, above would allow <code>/myapp:products/myapp:radios</code>,
68
+ * <code>/myapp:products/myapp:microwaves/X900</code>, and so forth. </li>
69
+ * <li> A constraint without a "<code>*</code>" means that the
70
+ * <code>PATH</code> property is restricted to that precise path. For
71
+ * example, <code>1</code>, above, would allow only the value
72
+ * <code>/myapp:products/myapp:televisions</code>. </li> <li> The constraint
73
+ * can indicate either a relative path or an absolute path depending on
74
+ * whether it includes a leading "<code>/</code>" character. <code>1</code>
75
+ * and <code>4</code>, above for example, are distinct. </li> <li> The
76
+ * string returned must reflect the namespace mapping in the current
77
+ * <code>Session</code> (i.e., the current state of the namespace registry
78
+ * overlaid with any session-specific mappings). Constraint strings for
79
+ * <code>PATH</code> properties should be stored in fully-qualified form
80
+ * (using the actual URI instead of the prefix) and then be converted to
81
+ * prefix form according to the current mapping upon the
82
+ * <code>PropertyDefinition.getValueConstraints</code> call. </li> </ul>
83
+ * </li> <li> <code>NAME</code>: The constraint string is a <i>JCR name</i>
84
+ * in prefix form. For example "<code>myapp:products</code>". No wildcards
85
+ * or other pattern matching are supported. As with <code>PATH</code>
86
+ * properties, the string returned must reflect the namespace mapping in the
87
+ * current <code>Session</code>. Constraint strings for <code>NAME</code>
88
+ * properties should be stored in fully-qualified form (using the actual URI
89
+ * instead of the prefix) and then be converted to prefix form according to
90
+ * the current mapping. </li> <li> <code>REFERENCE</code> and
91
+ * <code>WEAKREFERENCE</code>: The constraint string is a <i>JCR name</i> in
92
+ * prefix form. This name is interpreted as a node type name and the
93
+ * <code>REFERENCE</code> or <code>WEAKREFERENCE</code> property is
94
+ * restricted to referring only to nodes that have at least the indicated
95
+ * node type. For example, a constraint of "<code>mytype:document</code>"
96
+ * would indicate that the property in question can only refer to nodes that
97
+ * have at least the node type <code>mytype:document</code> (assuming this
98
+ * was the only constraint returned in the array, recall that the array of
99
+ * constraints are to be ORed together). No wildcards or other pattern
100
+ * matching are supported. As with <code>PATH</code> properties, the string
101
+ * returned must reflect the namespace mapping in the current
102
+ * <code>Session</code>. Constraint strings for <code>REFERENCE</code> and
103
+ * <code>WEAKREFERENCE</code> properties should be stored by the
104
+ * implementation in fully-qualified form (using the actual URI instead of
105
+ * the prefix) and then be converted to prefix form according to the current
106
+ * mapping. </li> <li> <code>BOOLEAN</code>: A constraint string can be
107
+ * either "true" or "false". In most cases <code>getValueConstraints</code>
108
+ * will return an empty array since placing a constraint on a
109
+ * <code>BOOLEAN</code> value does not usually make sense. </li> </ul> The
110
+ * remaining types all have value constraints in the form of inclusive or
111
+ * exclusive ranges: i.e., "<code>[min, max]</code>", "<code>(min,
112
+ * max)</code>", "<code>(min, max]</code>" or "<code>[min, max)</code>".
113
+ * Where "<code>[</code>" and "<code>]</code>" indicate "inclusive", while
114
+ * "<code>(</code>" and "<code>)</code>" indicate "exclusive". A missing
115
+ * <code>min</code> or <code>max</code> value indicates no bound in that
116
+ * direction. For example [,5] means no minimum but a maximum of 5
117
+ * (inclusive) while [,] means simply that any value will suffice, The
118
+ * meaning of the <code>min</code> and <code>max</code> values themselves
119
+ * differ between types as follows: <ul> <li> <code>BINARY</code>:
120
+ * <code>min</code> and <code>max</code> specify the allowed size range of
121
+ * the binary value in bytes. </li> <li> <code>DATE</code>: <code>min</code>
122
+ * and <code>max</code> are dates specifying the allowed date range. The
123
+ * date strings must be in the ISO8601-compliant format:
124
+ * <code>YYYY-MM-DDThh:mm:ss.sssTZD</code>. </li> <li> <code>LONG</code>,
125
+ * <code>DOUBLE</code>: min and max are numbers. </li> </ul> In
126
+ * implementations that support node type registration, when specifying that
127
+ * a <code>DATE</code>, <code>LONG </code>or <code>DOUBLE </code> is
128
+ * constrained to be equal to some disjunctive set of constants, a string
129
+ * consisting of just the constant itself, "c" may be used as a shorthand
130
+ * for the standard constraint notation of "[c, c]", where c is the
131
+ * constant. For example, to indicate that particular LONG property is
132
+ * constrained to be one of the values 2, 4, or 8, the constraint string
133
+ * array {"2", "4", "8"} can be used instead of the standard notation,
134
+ * {"[2,2]", "[4,4]", "[8,8]"}. However, even if this shorthand is used on
135
+ * registration, the value returned by <code>PropertyDefinition.getValueConstraints()</code>
136
+ * will always use the standard notation.
137
+ * <p>
138
+ * Because constraints are returned as an array of disjunctive constraints,
139
+ * in many cases the elements of the array can serve directly as a "choice
140
+ * list". This may, for example, be used by an application to display
141
+ * options to the end user indicating the set of permitted values.
142
+ * <p>
143
+ * In implementations that support node type registration, if this
144
+ * <code>PropertyDefinition</code> object is actually a newly-created empty
145
+ * <code>PropertyDefinitionTemplate</code>, then this method will return
146
+ * <code>null</code>.
147
+ *
148
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>Gets the default value(s) of the property. These are the values that the
149
+ * property defined by this PropertyDefinition will be assigned if it is
150
+ * automatically created (that is, if {@link #isAutoCreated()} returns
151
+ * <code>true</code>).
152
+ * <p>
153
+ * This method returns an array of <code>Value</code> objects. If the
154
+ * property is multi-valued, then this array represents the full set of
155
+ * values that the property will be assigned upon being auto-created. Note
156
+ * that this could be the empty array. If the property is single-valued,
157
+ * then the array returned will be of size 1.
158
+ * <p>
159
+ * If <code>null</code> is returned, then the property has no fixed default
160
+ * value. This does not exclude the possibility that the property still
161
+ * assumes some value automatically, but that value may be parametrized (for
162
+ * example, "the current date") and hence not expressible as a single fixed
163
+ * value. In particular, this <i>must</i> be the case if
164
+ * <code>isAutoCreated</code> returns <code>true</code> and this method
165
+ * returns <code>null</code>.
166
+ * <p>
167
+ * Note that to indicate a <code>null</code> value for this attribute in a
168
+ * node type definition that is stored in content, the
169
+ * <code>jcr:defaultValues</code> property is simply removed (since
170
+ * <code>null</code> values for properties are not allowed.
171
+ * <p>
172
+ * In implementations that support node type registration, if this
173
+ * <code>PropertyDefinition</code> object is actually a newly-created empty
174
+ * <code>PropertyDefinitionTemplate</code>, then this method will return
175
+ * <code>null</code>.
176
+ *
177
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>Reports whether this property can have multiple values. Note that the
178
+ * <code>isMultiple</code> flag is special in that a given node type may
179
+ * have two property definitions that are identical in every respect except
180
+ * for the their <code>isMultiple</code> status. For example, a node type
181
+ * can specify two string properties both called <code>X</code>, one of
182
+ * which is multi-valued and the other not. An example of such a node type
183
+ * is <code>nt:unstructured</code>.
184
+ * <p>
185
+ * In implementations that support node type registration, if this
186
+ * <code>PropertyDefinition</code> object is actually a newly-created empty
187
+ * <code>PropertyDefinitionTemplate</code>, then this method will return
188
+ * <code>false</code>.Returns the set of query comparison operators supported by this
189
+ * property.
190
+ * <p>
191
+ * This attribute only takes effect if the node type holding the property
192
+ * definition has a queryable setting of <code>true</code>.
193
+ * <p>
194
+ * JCR defines the following comparison operators: <ul> <li>{@link
195
+ * javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_EQUAL_TO},</li>
196
+ * <li>{@link javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_NOT_EQUAL_TO},</li>
197
+ * <li>{@link javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_LESS_THAN},</li>
198
+ * <li>{@link javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_LESS_THAN_OR_EQUAL_TO},</li>
199
+ * <li>{@link javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_GREATER_THAN},</li>
200
+ * <li>{@link javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_GREATER_THAN_OR_EQUAL_TO},
201
+ * or</li> <li>{@link javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_LIKE}</li>
202
+ * </ul> An implementation may define additional comparison operators.
203
+ * <p>
204
+ * Note that the set of operators that can appear in this attribute may be
205
+ * limited by implementation-specific constraints that differ across
206
+ * property types. For example, some implementations may permit property
207
+ * definitions to provide <code>JCR_OPERATOR_EQUAL_TO</code> and
208
+ * <code>JCR_OPERATOR_NOT_EQUAL_TO</code> as available operators for
209
+ * <code>BINARY</code> properties while others may not.
210
+ * <p>
211
+ * However, in all cases where a JCR-defined operator <i>is</i> potentially
212
+ * available for a given property type, its behavior must conform to the
213
+ * comparison semantics defined in the specification document (see 3.6.5
214
+ * <i>Comparison of Values</i>).
215
+ * <p>
216
+ * In implementations that support node type registration, if this
217
+ * <code>NodeTypeDefinition</code> object is actually a newly-created empty
218
+ * <code>NodeTypeTemplate</code>, then this method will return an impementation-
219
+ * determined default set of operator constants.
220
+ *
221
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>true</code> if this property is full-text searchable,
222
+ * meaning that its value is accessible through the full-text search
223
+ * function within a query.
224
+ * <p>
225
+ * This attribute only takes effect if the node type holding the property
226
+ * definition has a queryable setting of <code>true</code>.
227
+ * <p>
228
+ * In implementations that support node type registration, if this
229
+ * <code>NodeTypeDefinition</code> object is actually a newly-created empty
230
+ * <code>NodeTypeTemplate</code>, then this method will return an impementation-
231
+ * determined default value.
232
+ *
233
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>true</code> if this property is query-orderable, meaning
234
+ * that query results may be ordered by this property using the order-by
235
+ * clause of a query.
236
+ * <p>
237
+ * This attribute only takes effect if the node type holding the property
238
+ * definition has a queryable setting of <code>true</code>.
239
+ * <p>
240
+ * In implementations that support node type registration, if this
241
+ * <code>NodeTypeDefinition</code> object is actually a newly-created empty
242
+ * <code>NodeTypeTemplate</code>, then this method will return an impementation-
243
+ * determined default value.
244
+ *
245
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>
246
+
247
+ */
248
+ interface PropertyDefinition {
249
+ /**
250
+ * Gets the required type of the property. One of: <ul>
251
+ * <li><code>PropertyType.STRING</code></li> <li><code>PropertyType.DATE</code></li>
252
+ * <li><code>PropertyType.BINARY</code></li> <li><code>PropertyType.DOUBLE</code></li>
253
+ * <li><code>PropertyType.DECIMAL</code></li> <li><code>PropertyType.LONG</code></li>
254
+ * <li><code>PropertyType.BOOLEAN</code></li> <li><code>PropertyType.NAME</code></li>
255
+ * <li><code>PropertyType.PATH</code></li> <li><code>PropertyType.URI</code></li>
256
+ * <li><code>PropertyType.REFERENCE</code></li> <li><code>PropertyType.WEAKREFERENCE</code></li>
257
+ * <li><code>PropertyType.UNDEFINED</code></li> </ul>
258
+ * <code>PropertyType.UNDEFINED</code> is returned if this property may be
259
+ * of any type.
260
+ * <p>
261
+ * In implementations that support node type registration, if this
262
+ * <code>PropertyDefinition</code> object is actually a newly-created empty
263
+ * <code>PropertyDefinitionTemplate</code>, then this method will return
264
+ * <code>PropertyType.STRING</code>.
265
+ *
266
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>
267
+ * @return an <code>int</code> constant member of <code>PropertyType</code>.
268
+ */
269
+ getRequiredType(): number;
270
+
271
+ /**
272
+ * Gets the array of constraint strings. Each string in the array specifies
273
+ * a constraint on the value of the property. The constraints are OR-ed
274
+ * together, meaning that in order to be valid, the value must meet at least
275
+ * one of the constraints. For example, a constraint array of
276
+ * <code>["constraint1", "constraint2", "constraint3"]</code> has the
277
+ * interpretation: "the value of this property must meet at least one of
278
+ * <code>constraint1</code>, <code>constraint2 </code>or
279
+ * <code>constraint3</code>".
280
+ * <p>
281
+ * Reporting of value constraints is optional. An implementation may return
282
+ * <code>null</code>, indicating that value constraint information is
283
+ * unavailable (though a constraint may still exist).
284
+ * <p>
285
+ * Returning an empty array, on the other hand, indicates that value
286
+ * constraint information is available and that no constraints are placed on
287
+ * this value.
288
+ * <p>
289
+ * In the case of multi-value properties, the constraint string array
290
+ * returned applies to all the values of the property.
291
+ * <p>
292
+ * The constraint strings themselves having differing formats and
293
+ * interpretations depending on the type of the property in question. The
294
+ * following describes the value constraint syntax for each property type:
295
+ * <ul> <li> <code>STRING</code> and <code>URI</code>: The constraint string
296
+ * is a regular expression pattern. For example the regular expression
297
+ * "<code>.*</code>" means "any string, including the empty string". Whereas
298
+ * a simple literal string (without any RE-specific meta-characters) like
299
+ * "<code>banana</code>" matches only the string "<code>banana</code>".
300
+ * </li> <li> <code>PATH</code>: The constraint string is a <i>JCR path</i>
301
+ * with an optional "<code>*</code>" character after the last
302
+ * "<code>/</code>" character. For example, possible constraint strings for
303
+ * a property of type <code>PATH</code> include: <ol> <li>
304
+ * "<code>/myapp:products/myapp:televisions</code>" </li> <li>
305
+ * "<code>/myapp:products/myapp:televisions/</code>" </li> <li>
306
+ * "<code>/myapp:products/*</code>" </li> <li> "<code>myapp:products/myapp:televisions</code>"
307
+ * </li> <li> "<code>../myapp:televisions</code>" </li> <li>
308
+ * "<code>../myapp:televisions/*</code>" </li> </ol> The following
309
+ * principles apply: <ul> <li> The "*" means "matches descendants" not
310
+ * "matches any subsequent path". For example, <code>/a/*</code> does not
311
+ * match <code>/a/../c</code>. The constraint must match the normalized
312
+ * path. </li> <li> Relative path constraint only match relative path values
313
+ * and absolute path constraints only match absolute path values. </li> <li>
314
+ * A trailing "<code>/</code>" has no effect (hence, <code>1</code> and
315
+ * <code>2</code>, above, are equivalent). </li> <li> The trailing
316
+ * "<code>*</code>" character means that the value of the <code>PATH</code>
317
+ * property is restricted to the indicated subgraph (in other words any
318
+ * additional relative path can replace the "<code>*</code>"). For example,
319
+ * 3, above would allow <code>/myapp:products/myapp:radios</code>,
320
+ * <code>/myapp:products/myapp:microwaves/X900</code>, and so forth. </li>
321
+ * <li> A constraint without a "<code>*</code>" means that the
322
+ * <code>PATH</code> property is restricted to that precise path. For
323
+ * example, <code>1</code>, above, would allow only the value
324
+ * <code>/myapp:products/myapp:televisions</code>. </li> <li> The constraint
325
+ * can indicate either a relative path or an absolute path depending on
326
+ * whether it includes a leading "<code>/</code>" character. <code>1</code>
327
+ * and <code>4</code>, above for example, are distinct. </li> <li> The
328
+ * string returned must reflect the namespace mapping in the current
329
+ * <code>Session</code> (i.e., the current state of the namespace registry
330
+ * overlaid with any session-specific mappings). Constraint strings for
331
+ * <code>PATH</code> properties should be stored in fully-qualified form
332
+ * (using the actual URI instead of the prefix) and then be converted to
333
+ * prefix form according to the current mapping upon the
334
+ * <code>PropertyDefinition.getValueConstraints</code> call. </li> </ul>
335
+ * </li> <li> <code>NAME</code>: The constraint string is a <i>JCR name</i>
336
+ * in prefix form. For example "<code>myapp:products</code>". No wildcards
337
+ * or other pattern matching are supported. As with <code>PATH</code>
338
+ * properties, the string returned must reflect the namespace mapping in the
339
+ * current <code>Session</code>. Constraint strings for <code>NAME</code>
340
+ * properties should be stored in fully-qualified form (using the actual URI
341
+ * instead of the prefix) and then be converted to prefix form according to
342
+ * the current mapping. </li> <li> <code>REFERENCE</code> and
343
+ * <code>WEAKREFERENCE</code>: The constraint string is a <i>JCR name</i> in
344
+ * prefix form. This name is interpreted as a node type name and the
345
+ * <code>REFERENCE</code> or <code>WEAKREFERENCE</code> property is
346
+ * restricted to referring only to nodes that have at least the indicated
347
+ * node type. For example, a constraint of "<code>mytype:document</code>"
348
+ * would indicate that the property in question can only refer to nodes that
349
+ * have at least the node type <code>mytype:document</code> (assuming this
350
+ * was the only constraint returned in the array, recall that the array of
351
+ * constraints are to be ORed together). No wildcards or other pattern
352
+ * matching are supported. As with <code>PATH</code> properties, the string
353
+ * returned must reflect the namespace mapping in the current
354
+ * <code>Session</code>. Constraint strings for <code>REFERENCE</code> and
355
+ * <code>WEAKREFERENCE</code> properties should be stored by the
356
+ * implementation in fully-qualified form (using the actual URI instead of
357
+ * the prefix) and then be converted to prefix form according to the current
358
+ * mapping. </li> <li> <code>BOOLEAN</code>: A constraint string can be
359
+ * either "true" or "false". In most cases <code>getValueConstraints</code>
360
+ * will return an empty array since placing a constraint on a
361
+ * <code>BOOLEAN</code> value does not usually make sense. </li> </ul> The
362
+ * remaining types all have value constraints in the form of inclusive or
363
+ * exclusive ranges: i.e., "<code>[min, max]</code>", "<code>(min,
364
+ * max)</code>", "<code>(min, max]</code>" or "<code>[min, max)</code>".
365
+ * Where "<code>[</code>" and "<code>]</code>" indicate "inclusive", while
366
+ * "<code>(</code>" and "<code>)</code>" indicate "exclusive". A missing
367
+ * <code>min</code> or <code>max</code> value indicates no bound in that
368
+ * direction. For example [,5] means no minimum but a maximum of 5
369
+ * (inclusive) while [,] means simply that any value will suffice, The
370
+ * meaning of the <code>min</code> and <code>max</code> values themselves
371
+ * differ between types as follows: <ul> <li> <code>BINARY</code>:
372
+ * <code>min</code> and <code>max</code> specify the allowed size range of
373
+ * the binary value in bytes. </li> <li> <code>DATE</code>: <code>min</code>
374
+ * and <code>max</code> are dates specifying the allowed date range. The
375
+ * date strings must be in the ISO8601-compliant format:
376
+ * <code>YYYY-MM-DDThh:mm:ss.sssTZD</code>. </li> <li> <code>LONG</code>,
377
+ * <code>DOUBLE</code>: min and max are numbers. </li> </ul> In
378
+ * implementations that support node type registration, when specifying that
379
+ * a <code>DATE</code>, <code>LONG </code>or <code>DOUBLE </code> is
380
+ * constrained to be equal to some disjunctive set of constants, a string
381
+ * consisting of just the constant itself, "c" may be used as a shorthand
382
+ * for the standard constraint notation of "[c, c]", where c is the
383
+ * constant. For example, to indicate that particular LONG property is
384
+ * constrained to be one of the values 2, 4, or 8, the constraint string
385
+ * array {"2", "4", "8"} can be used instead of the standard notation,
386
+ * {"[2,2]", "[4,4]", "[8,8]"}. However, even if this shorthand is used on
387
+ * registration, the value returned by <code>PropertyDefinition.getValueConstraints()</code>
388
+ * will always use the standard notation.
389
+ * <p>
390
+ * Because constraints are returned as an array of disjunctive constraints,
391
+ * in many cases the elements of the array can serve directly as a "choice
392
+ * list". This may, for example, be used by an application to display
393
+ * options to the end user indicating the set of permitted values.
394
+ * <p>
395
+ * In implementations that support node type registration, if this
396
+ * <code>PropertyDefinition</code> object is actually a newly-created empty
397
+ * <code>PropertyDefinitionTemplate</code>, then this method will return
398
+ * <code>null</code>.
399
+ *
400
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>
401
+ * @return a <code>String</code> array.
402
+ */
403
+ getValueConstraints(): string;
404
+
405
+ /**
406
+ * Gets the default value(s) of the property. These are the values that the
407
+ * property defined by this PropertyDefinition will be assigned if it is
408
+ * automatically created (that is, if {@link #isAutoCreated()} returns
409
+ * <code>true</code>).
410
+ * <p>
411
+ * This method returns an array of <code>Value</code> objects. If the
412
+ * property is multi-valued, then this array represents the full set of
413
+ * values that the property will be assigned upon being auto-created. Note
414
+ * that this could be the empty array. If the property is single-valued,
415
+ * then the array returned will be of size 1.
416
+ * <p>
417
+ * If <code>null</code> is returned, then the property has no fixed default
418
+ * value. This does not exclude the possibility that the property still
419
+ * assumes some value automatically, but that value may be parametrized (for
420
+ * example, "the current date") and hence not expressible as a single fixed
421
+ * value. In particular, this <i>must</i> be the case if
422
+ * <code>isAutoCreated</code> returns <code>true</code> and this method
423
+ * returns <code>null</code>.
424
+ * <p>
425
+ * Note that to indicate a <code>null</code> value for this attribute in a
426
+ * node type definition that is stored in content, the
427
+ * <code>jcr:defaultValues</code> property is simply removed (since
428
+ * <code>null</code> values for properties are not allowed.
429
+ * <p>
430
+ * In implementations that support node type registration, if this
431
+ * <code>PropertyDefinition</code> object is actually a newly-created empty
432
+ * <code>PropertyDefinitionTemplate</code>, then this method will return
433
+ * <code>null</code>.
434
+ *
435
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>
436
+ * @return an array of <code>Value</code> objects.
437
+ */
438
+ getDefaultValues(): Value;
439
+
440
+ /**
441
+ * Reports whether this property can have multiple values. Note that the
442
+ * <code>isMultiple</code> flag is special in that a given node type may
443
+ * have two property definitions that are identical in every respect except
444
+ * for the their <code>isMultiple</code> status. For example, a node type
445
+ * can specify two string properties both called <code>X</code>, one of
446
+ * which is multi-valued and the other not. An example of such a node type
447
+ * is <code>nt:unstructured</code>.
448
+ * <p>
449
+ * In implementations that support node type registration, if this
450
+ * <code>PropertyDefinition</code> object is actually a newly-created empty
451
+ * <code>PropertyDefinitionTemplate</code>, then this method will return
452
+ * <code>false</code>.
453
+ * @return a <code>boolean</code>
454
+ */
455
+ isMultiple(): boolean;
456
+
457
+ /**
458
+ * Returns the set of query comparison operators supported by this
459
+ * property.
460
+ * <p>
461
+ * This attribute only takes effect if the node type holding the property
462
+ * definition has a queryable setting of <code>true</code>.
463
+ * <p>
464
+ * JCR defines the following comparison operators: <ul> <li>{@link
465
+ * javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_EQUAL_TO},</li>
466
+ * <li>{@link javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_NOT_EQUAL_TO},</li>
467
+ * <li>{@link javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_LESS_THAN},</li>
468
+ * <li>{@link javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_LESS_THAN_OR_EQUAL_TO},</li>
469
+ * <li>{@link javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_GREATER_THAN},</li>
470
+ * <li>{@link javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_GREATER_THAN_OR_EQUAL_TO},
471
+ * or</li> <li>{@link javax.jcr.query.qom.QueryObjectModelConstants#JCR_OPERATOR_LIKE}</li>
472
+ * </ul> An implementation may define additional comparison operators.
473
+ * <p>
474
+ * Note that the set of operators that can appear in this attribute may be
475
+ * limited by implementation-specific constraints that differ across
476
+ * property types. For example, some implementations may permit property
477
+ * definitions to provide <code>JCR_OPERATOR_EQUAL_TO</code> and
478
+ * <code>JCR_OPERATOR_NOT_EQUAL_TO</code> as available operators for
479
+ * <code>BINARY</code> properties while others may not.
480
+ * <p>
481
+ * However, in all cases where a JCR-defined operator <i>is</i> potentially
482
+ * available for a given property type, its behavior must conform to the
483
+ * comparison semantics defined in the specification document (see 3.6.5
484
+ * <i>Comparison of Values</i>).
485
+ * <p>
486
+ * In implementations that support node type registration, if this
487
+ * <code>NodeTypeDefinition</code> object is actually a newly-created empty
488
+ * <code>NodeTypeTemplate</code>, then this method will return an impementation-
489
+ * determined default set of operator constants.
490
+ *
491
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>
492
+ * @return a <code>String</code> array.
493
+ * @since JCR 2.0
494
+ */
495
+ getAvailableQueryOperators(): string;
496
+
497
+ /**
498
+ * Returns <code>true</code> if this property is full-text searchable,
499
+ * meaning that its value is accessible through the full-text search
500
+ * function within a query.
501
+ * <p>
502
+ * This attribute only takes effect if the node type holding the property
503
+ * definition has a queryable setting of <code>true</code>.
504
+ * <p>
505
+ * In implementations that support node type registration, if this
506
+ * <code>NodeTypeDefinition</code> object is actually a newly-created empty
507
+ * <code>NodeTypeTemplate</code>, then this method will return an impementation-
508
+ * determined default value.
509
+ *
510
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>
511
+ * @return a <code>boolean</code>
512
+ * @since JCR 2.0
513
+ */
514
+ isFullTextSearchable(): boolean;
515
+
516
+ /**
517
+ * Returns <code>true</code> if this property is query-orderable, meaning
518
+ * that query results may be ordered by this property using the order-by
519
+ * clause of a query.
520
+ * <p>
521
+ * This attribute only takes effect if the node type holding the property
522
+ * definition has a queryable setting of <code>true</code>.
523
+ * <p>
524
+ * In implementations that support node type registration, if this
525
+ * <code>NodeTypeDefinition</code> object is actually a newly-created empty
526
+ * <code>NodeTypeTemplate</code>, then this method will return an impementation-
527
+ * determined default value.
528
+ *
529
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>
530
+ * @return a <code>boolean</code>
531
+ * @since JCR 2.0
532
+ */
533
+ isQueryOrderable(): boolean;
534
+ }
535
+
536
+ export default PropertyDefinition;
@@ -0,0 +1,97 @@
1
+ import Value from "../../Value";
2
+
3
+ /**
4
+ * The <code>PropertyDefinitionTemplate</code> interface extends
5
+ * <code>PropertyDefinition</code> with the addition of write methods, enabling
6
+ * the characteristics of a child property definition to be set, after which the
7
+ * <code>PropertyDefinitionTemplate</code> is added to a
8
+ * <code>NodeTypeTemplate</code>.
9
+ * <p>
10
+ * See the corresponding <code>get</code> methods for each attribute in
11
+ * <code>PropertyDefinition</code> for the default values assumed when a new
12
+ * empty <code>PropertyDefinitionTemplate</code> is created (as opposed to one
13
+ * extracted from an existing <code>NodeType</code>).
14
+ *
15
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>Sets the name of the property. This must be a JCR name in either
16
+ * qualified or expanded form.Sets the auto-create status of the property.Sets the mandatory status of the property.Sets the on-parent-version status of the property.Sets the protected status of the property.Sets the required type of the property.Sets the value constraints of the property.Sets the default value (or values, in the case of a multi-value property)
17
+ * of the property.Sets the multi-value status of the property.Sets the queryable status of the property.Sets the full-text-searchable status of the property.Sets the query-orderable status of the property.
18
+ * @since JCR 2.0
19
+ */
20
+ interface PropertyDefinitionTemplate {
21
+ /**
22
+ * Sets the name of the property. This must be a JCR name in either
23
+ * qualified or expanded form.
24
+ * @param name a JCR name.
25
+ * @throws ConstraintViolationException if <code>name</code> is not a syntactically valid JCR name in either qualified or expanded form.
26
+ */
27
+ setName(name: string): void;
28
+
29
+ /**
30
+ * Sets the auto-create status of the property.
31
+ * @param autoCreated a <code>boolean</code>.
32
+ */
33
+ setAutoCreated(autoCreated: boolean): void;
34
+
35
+ /**
36
+ * Sets the mandatory status of the property.
37
+ * @param mandatory a <code>boolean</code>.
38
+ */
39
+ setMandatory(mandatory: boolean): void;
40
+
41
+ /**
42
+ * Sets the on-parent-version status of the property.
43
+ * @param opv an <code>int</code> constant member of <code>OnParentVersionAction</code>.
44
+ */
45
+ setOnParentVersion(opv: number): void;
46
+
47
+ /**
48
+ * Sets the protected status of the property.
49
+ * @param protectedStatus a <code>boolean</code>.
50
+ */
51
+ setProtected(protectedStatus: boolean): void;
52
+
53
+ /**
54
+ * Sets the required type of the property.
55
+ * @param type an <code>int</code> constant member of <code>PropertyType</code>.
56
+ */
57
+ setRequiredType(type: number): void;
58
+
59
+ /**
60
+ * Sets the value constraints of the property.
61
+ * @param constraints a <code>String</code> array.
62
+ */
63
+ setValueConstraints(constraints: string): void;
64
+
65
+ /**
66
+ * Sets the default value (or values, in the case of a multi-value property)
67
+ * of the property.
68
+ * @param defaultValues a <code>Value</code> array.
69
+ */
70
+ setDefaultValues(defaultValues: Value): void;
71
+
72
+ /**
73
+ * Sets the multi-value status of the property.
74
+ * @param multiple a <code>boolean</code>.
75
+ */
76
+ setMultiple(multiple: boolean): void;
77
+
78
+ /**
79
+ * Sets the queryable status of the property.
80
+ * @param operators an array of String constants. See {@link PropertyDefinition#getAvailableQueryOperators()} .
81
+ */
82
+ setAvailableQueryOperators(operators: string): void;
83
+
84
+ /**
85
+ * Sets the full-text-searchable status of the property.
86
+ * @param fullTextSearchable a <code>boolean</code>.
87
+ */
88
+ setFullTextSearchable(fullTextSearchable: boolean): void;
89
+
90
+ /**
91
+ * Sets the query-orderable status of the property.
92
+ * @param queryOrderable a <code>boolean</code>.
93
+ */
94
+ setQueryOrderable(queryOrderable: boolean): void;
95
+ }
96
+
97
+ export default PropertyDefinitionTemplate;