@sitevision/api 1.0.20 → 1.1.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. package/hidden/javax/jcr/Binary/index.d.ts +86 -0
  2. package/hidden/javax/jcr/Credentials/index.d.ts +11 -0
  3. package/hidden/javax/jcr/ImportUUIDBehavior/index.d.ts +11 -0
  4. package/hidden/javax/jcr/Item/index.d.ts +353 -0
  5. package/hidden/javax/jcr/ItemVisitor/index.d.ts +41 -0
  6. package/hidden/javax/jcr/NamespaceRegistry/index.d.ts +100 -0
  7. package/hidden/javax/jcr/Node/index.d.ts +2808 -0
  8. package/hidden/javax/jcr/NodeIterator/index.d.ts +18 -0
  9. package/hidden/javax/jcr/Property/index.d.ts +801 -0
  10. package/hidden/javax/jcr/PropertyIterator/index.d.ts +17 -0
  11. package/hidden/javax/jcr/RangeIterator/index.d.ts +75 -0
  12. package/hidden/javax/jcr/Repository/index.d.ts +318 -0
  13. package/hidden/javax/jcr/RepositoryFactory/index.d.ts +90 -0
  14. package/hidden/javax/jcr/Value/index.d.ts +190 -0
  15. package/hidden/javax/jcr/ValueFactory/index.d.ts +179 -0
  16. package/hidden/javax/jcr/Workspace/index.d.ts +1061 -0
  17. package/hidden/javax/jcr/lock/Lock/index.d.ts +142 -0
  18. package/hidden/javax/jcr/lock/LockManager/index.d.ts +217 -0
  19. package/hidden/javax/jcr/nodetype/ItemDefinition/index.d.ts +219 -0
  20. package/hidden/javax/jcr/nodetype/NodeDefinition/index.d.ts +158 -0
  21. package/hidden/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +74 -0
  22. package/hidden/javax/jcr/nodetype/NodeType/index.d.ts +349 -0
  23. package/hidden/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +248 -0
  24. package/hidden/javax/jcr/nodetype/NodeTypeIterator/index.d.ts +16 -0
  25. package/hidden/javax/jcr/nodetype/NodeTypeManager/index.d.ts +218 -0
  26. package/hidden/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +98 -0
  27. package/hidden/javax/jcr/nodetype/PropertyDefinition/index.d.ts +536 -0
  28. package/hidden/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +97 -0
  29. package/hidden/javax/jcr/observation/Event/index.d.ts +133 -0
  30. package/hidden/javax/jcr/observation/EventIterator/index.d.ts +20 -0
  31. package/hidden/javax/jcr/observation/EventJournal/index.d.ts +22 -0
  32. package/hidden/javax/jcr/observation/EventListener/index.d.ts +23 -0
  33. package/hidden/javax/jcr/observation/EventListenerIterator/index.d.ts +20 -0
  34. package/hidden/javax/jcr/observation/ObservationManager/index.d.ts +227 -0
  35. package/hidden/javax/jcr/query/Query/index.d.ts +201 -0
  36. package/hidden/javax/jcr/query/QueryManager/index.d.ts +73 -0
  37. package/hidden/javax/jcr/query/QueryResult/index.d.ts +51 -0
  38. package/hidden/javax/jcr/query/Row/index.d.ts +159 -0
  39. package/hidden/javax/jcr/query/RowIterator/index.d.ts +20 -0
  40. package/hidden/javax/jcr/query/qom/And/index.d.ts +26 -0
  41. package/hidden/javax/jcr/query/qom/BindVariableValue/index.d.ts +15 -0
  42. package/hidden/javax/jcr/query/qom/ChildNode/index.d.ts +27 -0
  43. package/hidden/javax/jcr/query/qom/ChildNodeJoinCondition/index.d.ts +27 -0
  44. package/hidden/javax/jcr/query/qom/Column/index.d.ts +39 -0
  45. package/hidden/javax/jcr/query/qom/Comparison/index.d.ts +82 -0
  46. package/hidden/javax/jcr/query/qom/Constraint/index.d.ts +13 -0
  47. package/hidden/javax/jcr/query/qom/DescendantNode/index.d.ts +31 -0
  48. package/hidden/javax/jcr/query/qom/DescendantNodeJoinCondition/index.d.ts +29 -0
  49. package/hidden/javax/jcr/query/qom/DynamicOperand/index.d.ts +9 -0
  50. package/hidden/javax/jcr/query/qom/EquiJoinCondition/index.d.ts +41 -0
  51. package/hidden/javax/jcr/query/qom/FullTextSearch/index.d.ts +89 -0
  52. package/hidden/javax/jcr/query/qom/FullTextSearchScore/index.d.ts +24 -0
  53. package/hidden/javax/jcr/query/qom/Join/index.d.ts +36 -0
  54. package/hidden/javax/jcr/query/qom/JoinCondition/index.d.ts +9 -0
  55. package/hidden/javax/jcr/query/qom/Length/index.d.ts +24 -0
  56. package/hidden/javax/jcr/query/qom/Literal/index.d.ts +18 -0
  57. package/hidden/javax/jcr/query/qom/LowerCase/index.d.ts +26 -0
  58. package/hidden/javax/jcr/query/qom/NodeLocalName/index.d.ts +16 -0
  59. package/hidden/javax/jcr/query/qom/NodeName/index.d.ts +16 -0
  60. package/hidden/javax/jcr/query/qom/Not/index.d.ts +20 -0
  61. package/hidden/javax/jcr/query/qom/Operand/index.d.ts +9 -0
  62. package/hidden/javax/jcr/query/qom/Or/index.d.ts +30 -0
  63. package/hidden/javax/jcr/query/qom/Ordering/index.d.ts +53 -0
  64. package/hidden/javax/jcr/query/qom/PropertyExistence/index.d.ts +24 -0
  65. package/hidden/javax/jcr/query/qom/PropertyValue/index.d.ts +25 -0
  66. package/hidden/javax/jcr/query/qom/QueryObjectModel/index.d.ts +64 -0
  67. package/hidden/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +9 -0
  68. package/hidden/javax/jcr/query/qom/QueryObjectModelFactory/index.d.ts +638 -0
  69. package/hidden/javax/jcr/query/qom/SameNode/index.d.ts +27 -0
  70. package/hidden/javax/jcr/query/qom/SameNodeJoinCondition/index.d.ts +36 -0
  71. package/hidden/javax/jcr/query/qom/Selector/index.d.ts +35 -0
  72. package/hidden/javax/jcr/query/qom/Source/index.d.ts +9 -0
  73. package/hidden/javax/jcr/query/qom/StaticOperand/index.d.ts +10 -0
  74. package/hidden/javax/jcr/query/qom/UpperCase/index.d.ts +26 -0
  75. package/hidden/javax/jcr/retention/Hold/index.d.ts +34 -0
  76. package/hidden/javax/jcr/retention/RetentionManager/index.d.ts +189 -0
  77. package/hidden/javax/jcr/retention/RetentionPolicy/index.d.ts +21 -0
  78. package/hidden/javax/jcr/security/AccessControlEntry/index.d.ts +24 -0
  79. package/hidden/javax/jcr/security/AccessControlList/index.d.ts +91 -0
  80. package/hidden/javax/jcr/security/AccessControlManager/index.d.ts +297 -0
  81. package/hidden/javax/jcr/security/AccessControlPolicy/index.d.ts +11 -0
  82. package/hidden/javax/jcr/security/AccessControlPolicyIterator/index.d.ts +20 -0
  83. package/hidden/javax/jcr/security/NamedAccessControlPolicy/index.d.ts +22 -0
  84. package/hidden/javax/jcr/security/Privilege/index.d.ts +117 -0
  85. package/hidden/javax/jcr/version/Version/index.d.ts +121 -0
  86. package/hidden/javax/jcr/version/VersionHistory/index.d.ts +307 -0
  87. package/hidden/javax/jcr/version/VersionIterator/index.d.ts +20 -0
  88. package/hidden/javax/jcr/version/VersionManager/index.d.ts +1082 -0
  89. package/hidden/senselogic/sitevision/api/base/Builder/index.d.ts +102 -0
  90. package/hidden/senselogic/sitevision/api/base/Filter/index.d.ts +25 -0
  91. package/hidden/senselogic/sitevision/api/base/FilterSplit/index.d.ts +50 -0
  92. package/hidden/senselogic/sitevision/api/base/Loadable/index.d.ts +15 -0
  93. package/hidden/senselogic/sitevision/api/base/Resolver/index.d.ts +31 -0
  94. package/hidden/senselogic/sitevision/api/base/Wrapper/index.d.ts +24 -0
  95. package/hidden/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.d.ts +417 -0
  96. package/hidden/senselogic/sitevision/api/format/NumericFormatter/index.d.ts +80 -0
  97. package/hidden/senselogic/sitevision/api/format/NumericFormatterBuilder/index.d.ts +100 -0
  98. package/hidden/senselogic/sitevision/api/i18n/Currency/index.d.ts +120 -0
  99. package/hidden/senselogic/sitevision/api/link/CustomLinkProcessor/index.d.ts +45 -0
  100. package/hidden/senselogic/sitevision/api/link/CustomLinkRenderData/index.d.ts +65 -0
  101. package/hidden/senselogic/sitevision/api/mail/Mail/index.d.ts +32 -0
  102. package/hidden/senselogic/sitevision/api/message/MessageTextLinker/index.d.ts +15 -0
  103. package/hidden/senselogic/sitevision/api/metadata/value/LinkValue/index.d.ts +23 -0
  104. package/hidden/senselogic/sitevision/api/metadata/value/RelatedValue/index.d.ts +23 -0
  105. package/hidden/senselogic/sitevision/api/property/VersionedPropertyUtil/index.d.ts +642 -0
  106. package/hidden/senselogic/sitevision/api/render/BuddyIconRenderer/BuddyIconInfo/index.d.ts +51 -0
  107. package/hidden/senselogic/sitevision/api/render/ImageScaler/index.d.ts +58 -0
  108. package/hidden/senselogic/sitevision/api/render/TextModuleRenderer/index.d.ts +301 -0
  109. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ArticleUtilConstants/index.d.ts +85 -0
  110. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ExceptionSuppressingProxyConstants/index.d.ts +31 -0
  111. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/IndexingUtilConstants/index.d.ts +31 -0
  112. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/LinkPageUtilConstants/index.d.ts +67 -0
  113. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MathInstanceConstants/index.d.ts +25 -0
  114. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MimeTypeUtilConstants/index.d.ts +19 -0
  115. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/NodeTypeUtilConstants/index.d.ts +1243 -0
  116. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/OutputUtilConstants/index.d.ts +31 -0
  117. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PageUtilConstants/index.d.ts +91 -0
  118. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletContextUtilConstants/index.d.ts +27 -0
  119. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletUtilConstants/index.d.ts +19 -0
  120. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/QueryStringUtilConstants/index.d.ts +19 -0
  121. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchHitConstants/index.d.ts +25 -0
  122. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchResultConstants/index.d.ts +37 -0
  123. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/VersionUtilConstants/index.d.ts +25 -0
  124. package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/index.d.ts +8 -0
  125. package/hidden/senselogic/sitevision/api/render/velocity/VelocityContext/index.d.ts +50 -0
  126. package/hidden/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.d.ts +89 -0
  127. package/hidden/senselogic/sitevision/api/script/RequesterChainable/index.d.ts +119 -0
  128. package/hidden/senselogic/sitevision/api/script/app/RestAppInvoker/index.d.ts +272 -0
  129. package/hidden/senselogic/sitevision/api/script/factory/TypedArgument/index.d.ts +43 -0
  130. package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts +94 -0
  131. package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts +117 -0
  132. package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.d.ts +90 -0
  133. package/hidden/senselogic/sitevision/api/search/SearchFieldUtil/index.d.ts +89 -0
  134. package/hidden/senselogic/sitevision/api/search/SearchHighlighter/index.d.ts +45 -0
  135. package/hidden/senselogic/sitevision/api/search/SearchHit/index.d.ts +1176 -0
  136. package/hidden/senselogic/sitevision/api/search/SearchResult/index.d.ts +414 -0
  137. package/hidden/senselogic/sitevision/api/search/facet/SearchFacetField/index.d.ts +27 -0
  138. package/hidden/senselogic/sitevision/api/search/facet/SearchFacetValue/index.d.ts +61 -0
  139. package/hidden/senselogic/sitevision/api/search/searcher/Searcher/index.d.ts +277 -0
  140. package/hidden/senselogic/sitevision/api/search/searcher/component/Filter/index.d.ts +25 -0
  141. package/hidden/senselogic/sitevision/api/search/searcher/component/Highlight/index.d.ts +29 -0
  142. package/hidden/senselogic/sitevision/api/search/searcher/component/Monitor/index.d.ts +25 -0
  143. package/hidden/senselogic/sitevision/api/search/searcher/component/Parser/index.d.ts +35 -0
  144. package/hidden/senselogic/sitevision/api/search/searcher/component/Sort/index.d.ts +25 -0
  145. package/hidden/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.d.ts +29 -0
  146. package/hidden/senselogic/sitevision/api/search/sort/CustomSort/index.d.ts +82 -0
  147. package/hidden/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.d.ts +21 -0
  148. package/hidden/senselogic/sitevision/api/security/DirectoryAttributes/index.d.ts +70 -0
  149. package/hidden/senselogic/sitevision/api/security/MessageDigester/index.d.ts +50 -0
  150. package/hidden/senselogic/sitevision/api/security/RoleAssignment/index.d.ts +72 -0
  151. package/hidden/senselogic/sitevision/api/security/RoleMatcher/index.d.ts +29 -0
  152. package/hidden/senselogic/sitevision/api/security/SecretStore/index.d.ts +55 -0
  153. package/hidden/senselogic/sitevision/api/security/UserUtil/index.d.ts +80 -0
  154. package/hidden/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.d.ts +36 -0
  155. package/hidden/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.d.ts +32 -0
  156. package/hidden/senselogic/sitevision/api/user/UserIdentityWrapper/index.d.ts +599 -0
  157. package/hidden/senselogic/sitevision/api/webresource/LinkTarget/index.d.ts +20 -0
  158. package/hidden/senselogic/sitevision/api/xml/XmlElement/index.d.ts +55 -0
  159. package/hidden/senselogic/sitevision/api/xml/XmlElementHandler/index.d.ts +17 -0
  160. package/package.json +2 -4
  161. package/server/AliasUtil/index.d.ts +25 -0
  162. package/server/AliasUtil/index.js +10 -0
  163. package/server/ArchiveUtil/index.d.ts +65 -11
  164. package/server/ArraysInstance/index.d.ts +1846 -0
  165. package/server/ArticleUtil/index.d.ts +381 -69
  166. package/server/AuthenticationUtil/index.d.ts +106 -0
  167. package/server/BookmarkUtil/index.d.ts +36 -28
  168. package/server/BuddyIconRenderer/index.d.ts +240 -0
  169. package/server/ClientUtil/index.d.ts +18 -4
  170. package/server/CollaborationFactory/index.d.ts +42 -25
  171. package/server/CollaborationGroupFolderUtil/index.d.ts +40 -29
  172. package/server/CollaborationGroupTemplateUtil/index.d.ts +71 -39
  173. package/server/CollaborationGroupUtil/index.d.ts +128 -55
  174. package/server/CollectionsInstance/index.d.ts +738 -0
  175. package/server/ColorUtil/index.d.ts +22 -17
  176. package/server/CompoundAndFilterBuilder/index.d.ts +60 -0
  177. package/server/CompoundComparatorBuilder/index.d.ts +63 -0
  178. package/server/CompoundOrFilterBuilder/index.d.ts +59 -0
  179. package/server/ContentNodeUtil/index.d.ts +76 -0
  180. package/server/CurrencyFactory/index.d.ts +135 -0
  181. package/server/DateUtil/index.d.ts +154 -77
  182. package/server/DecorationUtil/index.d.ts +23 -0
  183. package/server/DeviceUtil/index.d.ts +36 -0
  184. package/server/DirectoryUtil/index.d.ts +107 -47
  185. package/server/DocTypeUtil/index.d.ts +149 -0
  186. package/server/EndecUtil/index.d.ts +537 -91
  187. package/server/ExtendedDismaxParserBuilder/index.d.ts +311 -0
  188. package/server/FileIconRenderer/index.d.ts +346 -0
  189. package/server/FileUtil/index.d.ts +462 -0
  190. package/server/FilterBuilder/index.d.ts +120 -0
  191. package/server/FolderUtil/index.d.ts +161 -0
  192. package/server/FontUtil/index.d.ts +49 -0
  193. package/server/FormatterBuilderFactory/index.d.ts +129 -0
  194. package/server/HighlightBuilder/index.d.ts +194 -0
  195. package/server/IconUtil/index.d.ts +37 -0
  196. package/server/ImageLinkRenderer/index.d.ts +134 -0
  197. package/server/ImageRenderer/index.d.ts +613 -231
  198. package/server/ImageUtil/index.d.ts +430 -0
  199. package/server/IndexUtil/index.d.ts +71 -0
  200. package/server/IndexingUtil/index.d.ts +92 -0
  201. package/server/InstanceCreatorUtil/index.d.ts +661 -0
  202. package/server/InstanceTypeUtil/index.d.ts +202 -0
  203. package/server/JwtUtil/index.d.ts +217 -0
  204. package/server/LandingPageUtil/index.d.ts +67 -50
  205. package/server/LinkPageUtil/index.d.ts +468 -0
  206. package/server/LinkRenderer/index.d.ts +1157 -0
  207. package/server/LinkTargetBuilder/index.d.ts +146 -0
  208. package/server/LinkValueBuilder/index.d.ts +129 -52
  209. package/server/ListWrapper/index.d.ts +172 -0
  210. package/server/LocaleUtil/index.d.ts +695 -61
  211. package/server/LogUtil/index.d.ts +118 -77
  212. package/server/MailBuilder/index.d.ts +238 -0
  213. package/server/MailUtil/index.d.ts +98 -0
  214. package/server/MathInstance/index.d.ts +681 -0
  215. package/server/MessageDigesterFactory/index.d.ts +49 -0
  216. package/server/MetadataDefinitionUtil/index.d.ts +118 -0
  217. package/server/MetadataUtil/index.d.ts +524 -79
  218. package/server/MimeTypeUtil/index.d.ts +316 -0
  219. package/server/MonitorBuilder/index.d.ts +51 -0
  220. package/server/NodeComparatorUtil/index.d.ts +397 -0
  221. package/server/NodeFactoryUtil/index.d.ts +32 -0
  222. package/server/NodeFilterUtil/index.d.ts +924 -0
  223. package/server/NodeIteratorUtil/index.d.ts +322 -72
  224. package/server/NodeResolverUtil/index.d.ts +767 -0
  225. package/server/NodeTreeUtil/index.d.ts +339 -63
  226. package/server/NodeTypeUtil/index.d.ts +391 -197
  227. package/server/OfflineVersionPropertyUtil/index.d.ts +30 -0
  228. package/server/OnlineVersionPropertyUtil/index.d.ts +30 -0
  229. package/server/OutputUtil/index.d.ts +641 -0
  230. package/server/PageUtil/index.d.ts +330 -0
  231. package/server/PermissionUtil/index.d.ts +650 -0
  232. package/server/PortletContextUtil/index.d.ts +118 -37
  233. package/server/PortletContextUtil/index.js +1 -0
  234. package/server/PortletUtil/index.d.ts +40 -0
  235. package/server/PrincipalUtil/index.d.ts +51 -0
  236. package/server/Properties/index.d.ts +185 -38
  237. package/server/PropertyUtil/index.d.ts +2330 -406
  238. package/server/PublishingUtil/index.d.ts +385 -49
  239. package/server/QueryStringUtil/index.d.ts +737 -0
  240. package/server/RedirectUtil/index.d.ts +98 -0
  241. package/server/RelatedValueBuilder/index.d.ts +81 -39
  242. package/server/Requester/index.d.ts +441 -65
  243. package/server/ResourceLocatorUtil/index.d.ts +483 -227
  244. package/server/RestApi/index.d.ts +208 -23
  245. package/server/RestAppInvokerFactory/index.d.ts +73 -0
  246. package/server/RoleAssignmentBuilder/index.d.ts +60 -0
  247. package/server/RoleMatcherBuilder/index.d.ts +59 -0
  248. package/server/RoleUtil/index.d.ts +57 -0
  249. package/server/ScriptUtil/index.d.ts +625 -143
  250. package/server/SearchFactory/index.d.ts +133 -0
  251. package/server/SearchUtil/index.d.ts +164 -0
  252. package/server/SearcherBuilder/index.d.ts +260 -0
  253. package/server/Session/index.d.ts +1758 -0
  254. package/server/SimpleUserUtil/index.d.ts +39 -30
  255. package/server/SiteCookieUtil/index.d.ts +78 -53
  256. package/server/SortBuilder/index.d.ts +111 -0
  257. package/server/SpellCheckBuilder/index.d.ts +68 -0
  258. package/server/StandardParserBuilder/index.d.ts +112 -0
  259. package/server/StructureUtil/index.d.ts +167 -0
  260. package/server/SubscriberUtil/index.d.ts +122 -0
  261. package/server/SubscriptionUtil/index.d.ts +197 -0
  262. package/server/SystemUserUtil/index.d.ts +201 -98
  263. package/server/TagUtil/index.d.ts +193 -0
  264. package/server/TemplateUtil/index.d.ts +217 -0
  265. package/server/TemporaryFileNodeBuilder/index.d.ts +63 -0
  266. package/server/TemporaryNodeBuilder/index.d.ts +241 -0
  267. package/server/TextModuleRendererBuilder/index.d.ts +68 -0
  268. package/server/TimestampUtil/index.d.ts +98 -82
  269. package/server/TranslationUtil/index.d.ts +175 -0
  270. package/server/TrashcanUtil/index.d.ts +193 -24
  271. package/server/UserDataUtil/index.d.ts +167 -85
  272. package/server/UserFactory/index.d.ts +45 -30
  273. package/server/UserFieldRenderer/index.d.ts +258 -0
  274. package/server/UserIdentityUtil/index.d.ts +61 -29
  275. package/server/UserUtil/index.d.ts +69 -28
  276. package/server/Utils/index.d.ts +870 -12
  277. package/server/VelocityRenderer/index.d.ts +248 -0
  278. package/server/VersionUtil/index.d.ts +15 -12
  279. package/server/WebContentUtil/index.d.ts +644 -0
  280. package/server/WebResourceFactory/index.d.ts +66 -0
  281. package/server/XSLTUtil/index.d.ts +49 -10
  282. package/server/XmlParserUtil/index.d.ts +82 -81
  283. package/builtins/Binary/index.d.ts +0 -3
  284. package/builtins/Calendar/index.d.ts +0 -3
  285. package/builtins/Collection/index.d.ts +0 -3
  286. package/builtins/Date/index.d.ts +0 -3
  287. package/builtins/InputStream/index.d.ts +0 -3
  288. package/builtins/Instant/index.d.ts +0 -3
  289. package/builtins/List/index.d.ts +0 -3
  290. package/builtins/LocalDateTime/index.d.ts +0 -3
  291. package/builtins/Locale/index.d.ts +0 -3
  292. package/builtins/Node/index.d.ts +0 -3
  293. package/builtins/NodeIterator/index.d.ts +0 -27
  294. package/builtins/Property/index.d.ts +0 -3
  295. package/builtins/Serializable/index.d.ts +0 -3
  296. package/builtins/Set/index.d.ts +0 -3
  297. package/builtins/Throwable/index.d.ts +0 -3
  298. package/builtins/byte/index.d.ts +0 -3
@@ -0,0 +1,801 @@
1
+ import Value from "../Value";
2
+ import Binary from "../Binary";
3
+ import Node from "../Node";
4
+ import PropertyDefinition from "../nodetype/PropertyDefinition";
5
+
6
+ /**
7
+ * A <code>Property</code> object represents the smallest granularity of content
8
+ * storage. It has a single parent node and no children. A property consists of
9
+ * a name and a value, or in the case of multi-value properties, a set of values
10
+ * all of the same type. See <code>{@link Value}</code>.Sets the value of this property to <code>value</code>. If this property's
11
+ * property type is not constrained by the node type of its parent node,
12
+ * then the property type is changed to that of the supplied
13
+ * <code>value</code>. If the property type is constrained, then a
14
+ * best-effort conversion is attempted.
15
+ * <p>
16
+ * This method is a session-write and therefore requires a <code>save</code>
17
+ * to dispatch the change.
18
+ * <p>
19
+ * A <code>ConstraintViolationException</code> will be thrown either
20
+ * immediately, on dispatch, or on persist, if the change would violate a
21
+ * node type or implementation-specific constraint. Implementations may
22
+ * differ on when this validation is performed.
23
+ * <p>
24
+ * A <code>VersionException</code> will be thrown either immediately, on
25
+ * dispatch, or on persist, if this property belongs to a node that is
26
+ * versionable and checked-in or is non-versionable but whose nearest
27
+ * versionable ancestor is checked-in. Implementations may differ on when
28
+ * this validation is performed.
29
+ * <p>
30
+ * A <code>LockException</code> will be thrown either immediately, on
31
+ * dispatch, or on persist, if a lock prevents the setting of the value.
32
+ * Implementations may differ on when this validation is performed.
33
+ *
34
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
35
+ * <code>sv:simpleUser</code></p>Sets the value of this property to the <code>values</code> array. If this
36
+ * property's property type is not constrained by the node type of its
37
+ * parent node, then the property type may be changed. If the property type
38
+ * is constrained, then a best-effort conversion is attempted, according to
39
+ * an implemention-dependent definition of "best effort". The change will be
40
+ * persisted (if valid) on <code>save</code>.
41
+ * <p>
42
+ * A <code>ConstraintViolationException</code> will be thrown either
43
+ * immediately, on dispatch, or on persist, if the change would violate a
44
+ * node type or implementation-specific constraint. Implementations may
45
+ * differ on when this validation is performed.
46
+ * <p>
47
+ * A <code>VersionException</code> will be thrown either immediately, on
48
+ * dispatch, or on persist, if this property belongs to a node that is
49
+ * read-only due to a checked-in node. Implementations may differ on when
50
+ * this validation is performed.
51
+ * <p>
52
+ * A <code>LockException</code> will be thrown either immediately, on
53
+ * dispatch, or on persist, if a lock prevents the setting of the value.
54
+ * Implementations may differ on when this validation is performed.
55
+ *
56
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
57
+ * <code>sv:simpleUser</code></p>Sets the value of this property to <code>value</code>. Same as
58
+ * <code>{@link #setValue(Value value)}</code> except that the value is
59
+ * specified as a <code>String</code>.
60
+ *
61
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
62
+ * <code>sv:simpleUser</code></p>Sets the value of this property to the <code>values</code> array. Same as
63
+ * <code>{@link #setValue(Value[] values)}</code> except that the values are
64
+ * specified as a <code>String[]</code>.
65
+ *
66
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
67
+ * <code>sv:simpleUser</code></p>Sets the value of this property to <code>value</code>. Same as
68
+ * <code>{@link #setValue(Value value)}</code> except that the value is
69
+ * specified as an <code>InputStream</code>.
70
+ * <p>
71
+ * The passed stream is closed before this method returns either normally or
72
+ * because of an exception.
73
+ *
74
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>Sets the value of this property to <code>value</code>. Same as
75
+ * <code>{@link #setValue(Value value)}</code> except that the value is
76
+ * specified as a <code>Binary</code>.
77
+ *
78
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>Sets the value of this property to <code>value</code>. Same as
79
+ * <code>{@link #setValue(Value value)}</code> except that the value is
80
+ * specified as a <code>long</code>.
81
+ *
82
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
83
+ * <code>sv:simpleUser</code></p>Sets the value of this property to <code>value</code>. Same as
84
+ * <code>{@link #setValue(Value value)}</code> except that the value is
85
+ * specified as a <code>double</code>.
86
+ *
87
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
88
+ * <code>sv:simpleUser</code></p>Sets the value of this property to <code>value</code>. Same as
89
+ * <code>{@link #setValue(Value value)}</code> except that the value is
90
+ * specified as a <code>BigDecimal</code>.
91
+ *
92
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
93
+ * <code>sv:simpleUser</code></p>Sets the value of this property to <code>value</code>. Same as
94
+ * <code>{@link #setValue(Value value)}</code> except that the value is
95
+ * specified as a <code>Calendar</code>.
96
+ *
97
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
98
+ * <code>sv:simpleUser</code></p>Sets the value of this property to <code>value</code>. Same as
99
+ * <code>{@link #setValue(Value value)}</code> except that the value is
100
+ * specified as a <code>boolean</code>.
101
+ *
102
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
103
+ * <code>sv:simpleUser</code></p>Sets this <code>REFERENCE</code> or <code>WEAKREFERNCE</code> property to
104
+ * refer to the specified node.
105
+ *
106
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
107
+ * <code>sv:simpleUser</code></p>Returns the value of this property as a <code>Value</code> object.
108
+ * <p>
109
+ * The object returned is a copy of the stored value and is immutable.Returns an array of all the values of this property. Used to access
110
+ * multi-value properties. The array returned is a copy of the stored
111
+ * values, so changes to it are not reflected in internal storage.Returns a <code>String</code> representation of the value of this
112
+ * property. A shortcut for <code>Property.getValue().getString()</code>.Returns an <code>InputStream</code> representation of the value of this
113
+ * property. A shortcut for <code>Property.getValue().getStream()</code>.
114
+ * <p>
115
+ * It is the responsibility of the caller to close the returned
116
+ * InputStream.
117
+ *
118
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns a <code>Binary</code> representation of the value of this
119
+ * property. A shortcut for <code>Property.getValue().getBinary()</code>.
120
+ *
121
+ * <p><strong>Sitevision note:</strong> Limited to the <code>URL</code> and <code>URI</code> properties of nodes with primary
122
+ * {@link javax.jcr.nodetype.NodeType} <code>sv:file</code> and <code>sv:image</code> and to any {@link javax.jcr.PropertyType#WEAKREFERENCE}
123
+ * pointing to a <code>Node</code> of type <code>sv:file</code> or <code>sv:image</code></p>Returns a <code>long</code> representation of the value of this property.
124
+ * A shortcut for <code>Property.getValue().getLong()</code>.Returns a <code>double</code> representation of the value of this
125
+ * property. A shortcut for <code>Property.getValue().getDouble()</code>.Returns a <code>BigDecimal</code> representation of the value of this
126
+ * property. A shortcut for <code>Property.getValue().getDecimal()</code>.Returns a <code>Calendar</code> representation of the value of this
127
+ * property. A shortcut for <code>Property.getValue().getDate()</code>.Returns a <code>boolean</code> representation of the value of this
128
+ * property. A shortcut for <code>Property.getValue().getBoolean()</code>.If this property is of type <code>REFERENCE</code>,
129
+ * <code>WEAKREFERENCE</code> or <code>PATH</code> (or convertible to one of
130
+ * these types) this method returns the <code>Node</code> to which this
131
+ * property refers.
132
+ * <p>
133
+ * If this property is of type <code>PATH</code> and it contains a relative
134
+ * path, it is interpreted relative to the parent node of this property. For
135
+ * example "<code>.</code>" refers to the parent node itself,
136
+ * "<code>..</code>" to the parent of the parent node and "<code>foo</code>"
137
+ * to a sibling node of this property.If this property is of type <code>PATH</code> (or convertible to this
138
+ * type) this method returns the <code>Property</code> to which <i>this</i>
139
+ * property refers.
140
+ * <p>
141
+ * If this property contains a relative path, it is interpreted relative to
142
+ * the parent node of this property. Therefore, when resolving such a
143
+ * relative path, the segment "<code>.</code>" refers to
144
+ * the parent node itself, "<code>..</code>" to the parent of the parent
145
+ * node and "<code>foo</code>" to a sibling property of this property or
146
+ * this property itself.
147
+ * <p>
148
+ * For example, if this property is located at
149
+ * <code>/a/b/c</code> and it has a value of "<code>../d</code>" then this
150
+ * method will return the property at <code>/a/d</code> if such exists.
151
+ * <p>
152
+ * If this property is multi-valued, this method throws a
153
+ * <code>ValueFormatException</code>.
154
+ * <p>
155
+ * If this property cannot be converted to a <code>PATH</code> then a
156
+ * <code>ValueFormatException</code> is thrown.
157
+ * <p>
158
+ * If this property is currently part of the frozen state of a version in
159
+ * version storage, this method will throw a <code>ValueFormatException</code>.Returns the length of the value of this property.
160
+ * <p>
161
+ * For a <code>BINARY</code> property, <code>getLength</code> returns the
162
+ * number of bytes. For other property types, <code>getLength</code> returns
163
+ * the same value that would be returned by calling {@link
164
+ * java.lang.String#length()} on the value when it has been converted to a
165
+ * <code>STRING</code> according to standard JCR property type conversion.
166
+ * <p>
167
+ * Returns -1 if the implementation cannot determine the length.
168
+ *
169
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns an array holding the lengths of the values of this (multi-value)
170
+ * property in bytes where each is individually calculated as described in
171
+ * {@link #getLength()}.
172
+ * <p>
173
+ * Returns a <code>-1</code> in the appropriate position if the
174
+ * implementation cannot determine the length of a value.
175
+ *
176
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the property definition that applies to this property. In some
177
+ * cases there may appear to be more than one definition that could apply to
178
+ * this node. However, it is assumed that upon creation or change of this
179
+ * property, a single particular definition is chosen by the implementation.
180
+ * It is <i>that</i> definition that this method returns. How this governing
181
+ * definition is selected upon property creation or change from among others
182
+ * which may have been applicable is an implementation issue and is not
183
+ * covered by this specification.Returns the type of this <code>Property</code>. One of: <ul>
184
+ * <li><code>PropertyType.STRING</code></li> <li><code>PropertyType.BINARY</code></li>
185
+ * <li><code>PropertyType.DATE</code></li> <li><code>PropertyType.DOUBLE</code></li>
186
+ * <li><code>PropertyType.LONG</code></li> <li><code>PropertyType.BOOLEAN</code></li>
187
+ * <li><code>PropertyType.NAME</code></li> <li><code>PropertyType.PATH</code></li>
188
+ * <li><code>PropertyType.REFERENCE</code></li> <li><code>PropertyType.WEAKREFERENCE</code></li>
189
+ * <li><code>PropertyType.URI</code></li> </ul> The type returned is that
190
+ * which was set at property creation. Note that for some property
191
+ * <code>p</code>, the type returned by <code>p.getType()</code> will differ
192
+ * from the type returned by <code>p.getDefinition.getRequiredType()</code>
193
+ * only in the case where the latter returns <code>UNDEFINED</code>. The
194
+ * type of a property instance is never <code>UNDEFINED</code> (it must
195
+ * always have some actual type).Returns <code>true</code> if this property is multi-valued and
196
+ * <code>false</code> if this property is single-valued.A constant for the property name <code>jcr:primaryType</code> (in
197
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_BASE
198
+ * nt:base}.A constant for the property name <code>jcr:mixinTypes</code> (in expanded
199
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_BASE
200
+ * nt:base}.A constant for the property name <code>jcr:content</code> (in expanded
201
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_LINKED_FILE
202
+ * nt:linkedFile}. Note, <code>jcr:content</code> is also the name of a
203
+ * child node declared in {@link javax.jcr.nodetype.NodeType#NT_FILE
204
+ * nt:file}.A constant for the property name <code>jcr:data</code> (in expanded
205
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_RESOURCE
206
+ * nt:resource}.A constant for the property name <code>jcr:protocol</code> (in expanded
207
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_ADDRESS
208
+ * nt:address}.A constant for the property name <code>jcr:host</code> (in expanded
209
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_ADDRESS
210
+ * nt:address}.A constant for the property name <code>jcr:port</code> (in expanded
211
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_ADDRESS
212
+ * nt:address}.A constant for the property name <code>jcr:repository</code> (in expanded
213
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_ADDRESS
214
+ * nt:address}.A constant for the property name <code>jcr:workspace</code> (in expanded
215
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_ADDRESS
216
+ * nt:address}.A constant for the property name <code>jcr:path</code> (in expanded
217
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_ADDRESS
218
+ * nt:address}.A constant for the property name <code>jcr:id</code> (in expanded form),
219
+ * declared in node type {@link javax.jcr.nodetype.NodeType#NT_ADDRESS
220
+ * nt:address}.A constant for the property name <code>jcr:uuid</code> (in expanded
221
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#MIX_REFERENCEABLE
222
+ * mix:referenceable}.A constant for the property name <code>jcr:title</code> (in expanded
223
+ * form), declared in node types {@link javax.jcr.nodetype.NodeType#MIX_TITLE
224
+ * mix:title} and {@link javax.jcr.nodetype.NodeType#NT_ACTIVITY
225
+ * nt:activity}.A constant for the property name <code>jcr:description</code> (in
226
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#MIX_TITLE
227
+ * mix:title}.A constant for the property name <code>jcr:created</code> (in expanded
228
+ * form), declared in node types {@link javax.jcr.nodetype.NodeType#MIX_CREATED
229
+ * mix:created} and {@link javax.jcr.nodetype.NodeType#NT_VERSION
230
+ * nt:version}.A constant for the property name <code>jcr:createdBy</code> (in expanded
231
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#MIX_CREATED
232
+ * mix:created}.A constant for the property name <code>jcr:lastModified</code> (in
233
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#MIX_LAST_MODIFIED
234
+ * mix:lastModified}.A constant for the property name <code>jcr:lastModifiedBy</code> (in
235
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#MIX_LAST_MODIFIED
236
+ * mix:lastModified}.A constant for the property name <code>jcr:language</code> (in expanded
237
+ * form), declared in node types {@link javax.jcr.nodetype.NodeType#MIX_LANGUAGE
238
+ * mix:language} and {@link javax.jcr.nodetype.NodeType#NT_QUERY nt:query}.A constant for the property name <code>jcr:mimeType</code> (in expanded
239
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#MIX_MIMETYPE
240
+ * mix:mimeType}.A constant for the property name <code>jcr:encoding</code> (in expanded
241
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#MIX_MIMETYPE
242
+ * mix:mimeType}.A constant for the property name <code>jcr:nodeTypeName</code> (in
243
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_NODE_TYPE
244
+ * nt:nodeType}.A constant for the property name <code>jcr:supertypes</code> (in expanded
245
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_NODE_TYPE
246
+ * nt:nodeType}.A constant for the property name <code>jcr:isAbstract</code> (in expanded
247
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_NODE_TYPE
248
+ * nt:nodeType}.A constant for the property name <code>jcr:isMixin</code> (in expanded
249
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_NODE_TYPE
250
+ * nt:nodeType}.A constant for the property name <code>jcr:hasOrderableChildNodes</code>
251
+ * (in expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_NODE_TYPE
252
+ * nt:nodeType}.A constant for the property name <code>jcr:primaryItemName</code> (in
253
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_NODE_TYPE
254
+ * nt:nodeType}.A constant for the property name <code>jcr:name</code> (in expanded
255
+ * form), declared in node types {@link javax.jcr.nodetype.NodeType#NT_PROPERTY_DEFINITION
256
+ * nt:propertyDefinition} and {@link javax.jcr.nodetype.NodeType#NT_CHILD_NODE_DEFINITION
257
+ * nt:childNodeDefinition}.A constant for the property name <code>jcr:autoCreated</code> (in
258
+ * expanded form), declared in node types {@link javax.jcr.nodetype.NodeType#NT_PROPERTY_DEFINITION
259
+ * nt:propertyDefinition} and {@link javax.jcr.nodetype.NodeType#NT_CHILD_NODE_DEFINITION
260
+ * nt:childNodeDefinition}.A constant for the property name <code>jcr:mandatory</code> (in expanded
261
+ * form), declared in node types {@link javax.jcr.nodetype.NodeType#NT_PROPERTY_DEFINITION
262
+ * nt:propertyDefinition} and {@link javax.jcr.nodetype.NodeType#NT_CHILD_NODE_DEFINITION
263
+ * nt:childNodeDefinition}.A constant for the property name <code>jcr:protected</code> (in expanded
264
+ * form), declared in node types {@link javax.jcr.nodetype.NodeType#NT_PROPERTY_DEFINITION
265
+ * nt:propertyDefinition} and {@link javax.jcr.nodetype.NodeType#NT_CHILD_NODE_DEFINITION
266
+ * nt:childNodeDefinition}.A constant for the property name <code>jcr:onParentVersion</code> (in
267
+ * expanded form), declared in node types {@link javax.jcr.nodetype.NodeType#NT_PROPERTY_DEFINITION
268
+ * nt:propertyDefinition} and {@link javax.jcr.nodetype.NodeType#NT_CHILD_NODE_DEFINITION
269
+ * nt:childNodeDefinition}.A constant for the property name <code>jcr:requiredType</code> (in
270
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_PROPERTY_DEFINITION
271
+ * nt:propertyDefinition}.A constant for the property name <code>jcr:valueConstraints</code> (in
272
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_PROPERTY_DEFINITION
273
+ * nt:propertyDefinition}.A constant for the property name <code>jcr:defaultValues</code> (in
274
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_PROPERTY_DEFINITION
275
+ * nt:propertyDefinition}.A constant for the property name <code>jcr:multiple</code> (in expanded
276
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_PROPERTY_DEFINITION
277
+ * nt:propertyDefinition}.A constant for the property name <code>jcr:requiredPrimaryTypes</code>
278
+ * (in expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_CHILD_NODE_DEFINITION
279
+ * nt:childNodeDefinition}.A constant for the property name <code>jcr:defaultPrimaryType</code> (in
280
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_CHILD_NODE_DEFINITION
281
+ * nt:childNodeDefinition}.A constant for the property name <code>jcr:sameNameSiblings</code> (in
282
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_CHILD_NODE_DEFINITION
283
+ * nt:childNodeDefinition}.A constant for the property name <code>jcr:lockOwner</code> (in expanded
284
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#MIX_LOCKABLE
285
+ * mix:lockable}.A constant for the property name <code>jcr:lockIsDeep</code> (in expanded
286
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#MIX_LOCKABLE
287
+ * mix:lockable}.A constant for the property name <code>jcr:lifecyclePolicy</code> (in
288
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#MIX_LIFECYCLE
289
+ * mix:lifecycle}.A constant for the property name <code>jcr:currentLifecycleState</code>
290
+ * (in expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#MIX_LIFECYCLE
291
+ * mix:lifecycle}.A constant for the property name <code>jcr:isCheckedOut</code> (in
292
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#MIX_SIMPLE_VERSIONABLE
293
+ * mix:simpleVersionable}.A constant for the property name <code>jcr:frozenPrimaryType</code> (in
294
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_FROZEN_NODE
295
+ * nt:frozenNode}.A constant for the property name <code>jcr:frozenMixinTypes</code> (in
296
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_FROZEN_NODE
297
+ * nt:frozenNode}.A constant for the property name <code>jcr:frozenUuid</code> (in expanded
298
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_FROZEN_NODE
299
+ * nt:frozenNode}.A constant for the property name <code>jcr:versionHistory</code> (in
300
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#MIX_VERSIONABLE
301
+ * mix:versionable}.A constant for the property name <code>jcr:baseVersion</code> (in
302
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#MIX_VERSIONABLE
303
+ * mix:versionable}.A constant for the property name <code>jcr:predecessors</code> (in
304
+ * expanded form), declared in node types {@link javax.jcr.nodetype.NodeType#MIX_VERSIONABLE
305
+ * mix:versionable} and {@link javax.jcr.nodetype.NodeType#NT_VERSION
306
+ * nt:version}.A constant for the property name <code>jcr:mergeFailed</code> (in
307
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#MIX_VERSIONABLE
308
+ * mix:versionable}.A constant for the property name <code>jcr:activity</code> (in expanded
309
+ * form), declared in node types {@link javax.jcr.nodetype.NodeType#MIX_VERSIONABLE
310
+ * mix:versionable} and {@link javax.jcr.nodetype.NodeType#NT_VERSION
311
+ * nt:version}.A constant for the property name <code>jcr:configuration</code> (in
312
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#MIX_VERSIONABLE
313
+ * mix:versionable}.A constant for the property name <code>jcr:versionableUuid</code> (in
314
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_VERSION
315
+ * nt:version}.A constant for the property name <code>jcr:copiedFrom</code> (in expanded
316
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_VERSION
317
+ * nt:version}.A constant for the property name <code>jcr:successors</code> (in expanded
318
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_VERSION
319
+ * nt:versione}.A constant for the property name <code>jcr:childVersionHistory</code> (in
320
+ * expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_VERSIONED_CHILD
321
+ * nt:versionedChild}.A constant for the property name <code>jcr:root</code> (in expanded
322
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_CONFIGURATION
323
+ * nt:configuration}.A constant for the property name <code>jcr:statement</code> (in expanded
324
+ * form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_QUERY
325
+ * nt:query}.
326
+
327
+ */
328
+ interface Property {
329
+ /**
330
+ * Sets the value of this property to <code>value</code>. If this property's
331
+ * property type is not constrained by the node type of its parent node,
332
+ * then the property type is changed to that of the supplied
333
+ * <code>value</code>. If the property type is constrained, then a
334
+ * best-effort conversion is attempted.
335
+ * <p>
336
+ * This method is a session-write and therefore requires a <code>save</code>
337
+ * to dispatch the change.
338
+ * <p>
339
+ * A <code>ConstraintViolationException</code> will be thrown either
340
+ * immediately, on dispatch, or on persist, if the change would violate a
341
+ * node type or implementation-specific constraint. Implementations may
342
+ * differ on when this validation is performed.
343
+ * <p>
344
+ * A <code>VersionException</code> will be thrown either immediately, on
345
+ * dispatch, or on persist, if this property belongs to a node that is
346
+ * versionable and checked-in or is non-versionable but whose nearest
347
+ * versionable ancestor is checked-in. Implementations may differ on when
348
+ * this validation is performed.
349
+ * <p>
350
+ * A <code>LockException</code> will be thrown either immediately, on
351
+ * dispatch, or on persist, if a lock prevents the setting of the value.
352
+ * Implementations may differ on when this validation is performed.
353
+ *
354
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
355
+ * <code>sv:simpleUser</code></p>
356
+ * @param value The new value to set the property to.
357
+ * @throws ValueFormatException if the type or format of the specified value is incompatible with the type of this property.
358
+ * @throws VersionException if this property belongs to a node that is read-only due to a checked-in node and this implementation performs this validation immediately.
359
+ * @throws LockException if a lock prevents the setting of the value and this implementation performs this validation immediately.
360
+ * @throws ConstraintViolationException if the change would violate a node-type or other constraint and this implementation performs this validation immediately.
361
+ * @throws RepositoryException if another error occurs.
362
+ */
363
+ setValue(value: Value): void;
364
+
365
+ /**
366
+ * Sets the value of this property to the <code>values</code> array. If this
367
+ * property's property type is not constrained by the node type of its
368
+ * parent node, then the property type may be changed. If the property type
369
+ * is constrained, then a best-effort conversion is attempted, according to
370
+ * an implemention-dependent definition of "best effort". The change will be
371
+ * persisted (if valid) on <code>save</code>.
372
+ * <p>
373
+ * A <code>ConstraintViolationException</code> will be thrown either
374
+ * immediately, on dispatch, or on persist, if the change would violate a
375
+ * node type or implementation-specific constraint. Implementations may
376
+ * differ on when this validation is performed.
377
+ * <p>
378
+ * A <code>VersionException</code> will be thrown either immediately, on
379
+ * dispatch, or on persist, if this property belongs to a node that is
380
+ * read-only due to a checked-in node. Implementations may differ on when
381
+ * this validation is performed.
382
+ * <p>
383
+ * A <code>LockException</code> will be thrown either immediately, on
384
+ * dispatch, or on persist, if a lock prevents the setting of the value.
385
+ * Implementations may differ on when this validation is performed.
386
+ *
387
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
388
+ * <code>sv:simpleUser</code></p>
389
+ * @param values The new values to set the property to.
390
+ * @throws ValueFormatException if the type or format of the specified values is incompatible with the type of this property.
391
+ * @throws VersionException if this property belongs to a node that is read-only due to a checked-in node and this implementation performs this validation immediately.
392
+ * @throws LockException if a lock prevents the setting of the value and this implementation performs this validation immediately.
393
+ * @throws ConstraintViolationException if the change would violate a node-type or other constraint and this implementation performs this validation immediately.
394
+ * @throws RepositoryException if another error occurs.
395
+ */
396
+ setValue(values: Value): void;
397
+
398
+ /**
399
+ * Sets the value of this property to <code>value</code>. Same as
400
+ * <code>{@link #setValue(Value value)}</code> except that the value is
401
+ * specified as a <code>String</code>.
402
+ *
403
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
404
+ * <code>sv:simpleUser</code></p>
405
+ * @param value The new value to set the property to.
406
+ * @throws ValueFormatException if the type or format of the specified values is incompatible with the type of this property.
407
+ * @throws VersionException if this property belongs to a node that is read-only due to a checked-in node and this implementation performs this validation immediately.
408
+ * @throws LockException if a lock prevents the setting of the value and this implementation performs this validation immediately.
409
+ * @throws ConstraintViolationException if the change would violate a node-type or other constraint and this implementation performs this validation immediately.
410
+ * @throws RepositoryException if another error occurs.
411
+ */
412
+ setValue(value: string): void;
413
+
414
+ /**
415
+ * Sets the value of this property to the <code>values</code> array. Same as
416
+ * <code>{@link #setValue(Value[] values)}</code> except that the values are
417
+ * specified as a <code>String[]</code>.
418
+ *
419
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
420
+ * <code>sv:simpleUser</code></p>
421
+ * @param values The new values to set the property to.
422
+ * @throws ValueFormatException if the type or format of one or more of the specified values is incompatible with the type of this property.
423
+ * @throws VersionException if this property belongs to a node that is read-only due to a checked-in node and this implementation performs this validation immediately.
424
+ * @throws LockException if a lock prevents the setting of the value and this implementation performs this validation immediately.
425
+ * @throws ConstraintViolationException if the change would violate a node-type or other constraint and this implementation performs this validation immediately.
426
+ * @throws RepositoryException if another error occurs.
427
+ */
428
+ setValue(values: string): void;
429
+
430
+ /**
431
+ * Sets the value of this property to <code>value</code>. Same as
432
+ * <code>{@link #setValue(Value value)}</code> except that the value is
433
+ * specified as an <code>InputStream</code>.
434
+ * <p>
435
+ * The passed stream is closed before this method returns either normally or
436
+ * because of an exception.
437
+ *
438
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>
439
+ * @param value The new value to set the property to.
440
+ * @throws ValueFormatException if the type or format of the specified value is incompatible with the type of this property.
441
+ * @throws VersionException if this property belongs to a node that is read-only due to a checked-in node and this implementation performs this validation immediately.
442
+ * @throws LockException if a lock prevents the setting of the value and this implementation performs this validation immediately.
443
+ * @throws ConstraintViolationException if the change would violate a node-type or other constraint and this implementation performs this validation immediately.
444
+ * @throws RepositoryException if another error occurs.
445
+ * @deprecated As of JCR 2.0, {@link #setValue(Binary)} should be used instead.
446
+ */
447
+ setValue(value: unknown): void;
448
+
449
+ /**
450
+ * Sets the value of this property to <code>value</code>. Same as
451
+ * <code>{@link #setValue(Value value)}</code> except that the value is
452
+ * specified as a <code>Binary</code>.
453
+ *
454
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>
455
+ * @param value The new value to set the property to.
456
+ * @throws ValueFormatException if the type or format of the specified value is incompatible with the type of this property.
457
+ * @throws VersionException if this property belongs to a node that is read-only due to a checked-in node and this implementation performs this validation immediately.
458
+ * @throws LockException if a lock prevents the setting of the value and this implementation performs this validation immediately.
459
+ * @throws ConstraintViolationException if the change would violate a node-type or other constraint and this implementation performs this validation immediately.
460
+ * @throws RepositoryException if another error occurs.
461
+ * @since JCR 2.0
462
+ */
463
+ setValue(value: Binary): void;
464
+
465
+ /**
466
+ * Sets the value of this property to <code>value</code>. Same as
467
+ * <code>{@link #setValue(Value value)}</code> except that the value is
468
+ * specified as a <code>long</code>.
469
+ *
470
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
471
+ * <code>sv:simpleUser</code></p>
472
+ * @param value The new value to set the property to.
473
+ * @throws ValueFormatException if the type or format of the specified value is incompatible with the type of this property.
474
+ * @throws VersionException if this property belongs to a node that is read-only due to a checked-in node and this implementation performs this validation immediately.
475
+ * @throws LockException if a lock prevents the setting of the value and this implementation performs this validation immediately.
476
+ * @throws ConstraintViolationException if the change would violate a node-type or other constraint and this implementation performs this validation immediately.
477
+ * @throws RepositoryException if another error occurs.
478
+ */
479
+ setValue(value: number): void;
480
+
481
+ /**
482
+ * Sets the value of this property to <code>value</code>. Same as
483
+ * <code>{@link #setValue(Value value)}</code> except that the value is
484
+ * specified as a <code>double</code>.
485
+ *
486
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
487
+ * <code>sv:simpleUser</code></p>
488
+ * @param value The new value to set the property to.
489
+ * @throws ValueFormatException if the type or format of the specified value is incompatible with the type of this property.
490
+ * @throws VersionException if this property belongs to a node that is read-only due to a checked-in node and this implementation performs this validation immediately.
491
+ * @throws LockException if a lock prevents the setting of the value and this implementation performs this validation immediately.
492
+ * @throws ConstraintViolationException if the change would violate a node-type or other constraint and this implementation performs this validation immediately.
493
+ * @throws RepositoryException if another error occurs.
494
+ */
495
+ setValue(value: number): void;
496
+
497
+ /**
498
+ * Sets the value of this property to <code>value</code>. Same as
499
+ * <code>{@link #setValue(Value value)}</code> except that the value is
500
+ * specified as a <code>BigDecimal</code>.
501
+ *
502
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
503
+ * <code>sv:simpleUser</code></p>
504
+ * @param value The new value to set the property to.
505
+ * @throws ValueFormatException if the type or format of the specified value is incompatible with the type of this property.
506
+ * @throws VersionException if this property belongs to a node that is read-only due to a checked-in node and this implementation performs this validation immediately.
507
+ * @throws LockException if a lock prevents the setting of the value and this implementation performs this validation immediately.
508
+ * @throws ConstraintViolationException if the change would violate a node-type or other constraint and this implementation performs this validation immediately.
509
+ * @throws RepositoryException if another error occurs.
510
+ * @since JCR 2.0
511
+ */
512
+ setValue(value: unknown): void;
513
+
514
+ /**
515
+ * Sets the value of this property to <code>value</code>. Same as
516
+ * <code>{@link #setValue(Value value)}</code> except that the value is
517
+ * specified as a <code>Calendar</code>.
518
+ *
519
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
520
+ * <code>sv:simpleUser</code></p>
521
+ * @param value The new value to set the property to.
522
+ * @throws ValueFormatException if the type or format of the specified value is incompatible with the type of this property.
523
+ * @throws VersionException if this property belongs to a node that is read-only due to a checked-in node and this implementation performs this validation immediately.
524
+ * @throws LockException if a lock prevents the setting of the value and this implementation performs this validation immediately.
525
+ * @throws ConstraintViolationException if the change would violate a node-type or other constraint and this implementation performs this validation immediately.
526
+ * @throws RepositoryException if another error occurs.
527
+ */
528
+ setValue(value: unknown): void;
529
+
530
+ /**
531
+ * Sets the value of this property to <code>value</code>. Same as
532
+ * <code>{@link #setValue(Value value)}</code> except that the value is
533
+ * specified as a <code>boolean</code>.
534
+ *
535
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
536
+ * <code>sv:simpleUser</code></p>
537
+ * @param value The new value to set the property to.
538
+ * @throws ValueFormatException if the type or format of the specified value is incompatible with the type of this property.
539
+ * @throws VersionException if this property belongs to a node that is read-only due to a checked-in node and this implementation performs this validation immediately.
540
+ * @throws LockException if a lock prevents the setting of the value and this implementation performs this validation immediately.
541
+ * @throws ConstraintViolationException if the change would violate a node-type or other constraint and this implementation performs this validation immediately.
542
+ * @throws RepositoryException if another error occurs.
543
+ */
544
+ setValue(value: boolean): void;
545
+
546
+ /**
547
+ * Sets this <code>REFERENCE</code> or <code>WEAKREFERNCE</code> property to
548
+ * refer to the specified node.
549
+ *
550
+ * <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
551
+ * <code>sv:simpleUser</code></p>
552
+ * @param value The node to which this property will refer.
553
+ * @throws ValueFormatException if the type or format of the specified value is incompatible with the type of this property the specified node is not referenceable.
554
+ * @throws VersionException if this property belongs to a node that is read-only due to a checked-in node and this implementation performs this validation immediately.
555
+ * @throws LockException if a lock prevents the setting of the value and this implementation performs this validation immediately.
556
+ * @throws ConstraintViolationException if the change would violate a node-type or other constraint and this implementation performs this validation immediately.
557
+ * @throws RepositoryException if another error occurs.
558
+ */
559
+ setValue(value: Node): void;
560
+
561
+ /**
562
+ * Returns the value of this property as a <code>Value</code> object.
563
+ * <p>
564
+ * The object returned is a copy of the stored value and is immutable.
565
+ * @return the <code>Value</code>.
566
+ * @throws ValueFormatException if the property is multi-valued.
567
+ * @throws RepositoryException if another error occurs.
568
+ */
569
+ getValue(): Value;
570
+
571
+ /**
572
+ * Returns an array of all the values of this property. Used to access
573
+ * multi-value properties. The array returned is a copy of the stored
574
+ * values, so changes to it are not reflected in internal storage.
575
+ * @return a <code>Value</code> array.
576
+ * @throws ValueFormatException if the property is single-valued.
577
+ * @throws RepositoryException if another error occurs.
578
+ */
579
+ getValues(): Value;
580
+
581
+ /**
582
+ * Returns a <code>String</code> representation of the value of this
583
+ * property. A shortcut for <code>Property.getValue().getString()</code>.
584
+ * @return A string representation of the value of this property.
585
+ * @throws ValueFormatException if conversion to a <code>String</code> is not possible or if the property is multi-valued.
586
+ * @throws RepositoryException if another error occurs.
587
+ * @see Value
588
+ */
589
+ getString(): string;
590
+
591
+ /**
592
+ * Returns an <code>InputStream</code> representation of the value of this
593
+ * property. A shortcut for <code>Property.getValue().getStream()</code>.
594
+ * <p>
595
+ * It is the responsibility of the caller to close the returned
596
+ * InputStream.
597
+ *
598
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>
599
+ * @return A stream representation of the value of this property.
600
+ * @throws ValueFormatException if the property is multi-valued.
601
+ * @throws RepositoryException if another error occurs
602
+ * @see Value
603
+ * @deprecated As of JCR 2.0, {@link #getBinary()} should be used instead.
604
+ */
605
+ getStream(): unknown;
606
+
607
+ /**
608
+ * Returns a <code>Binary</code> representation of the value of this
609
+ * property. A shortcut for <code>Property.getValue().getBinary()</code>.
610
+ *
611
+ * <p><strong>Sitevision note:</strong> Limited to the <code>URL</code> and <code>URI</code> properties of nodes with primary
612
+ * {@link javax.jcr.nodetype.NodeType} <code>sv:file</code> and <code>sv:image</code> and to any {@link javax.jcr.PropertyType#WEAKREFERENCE}
613
+ * pointing to a <code>Node</code> of type <code>sv:file</code> or <code>sv:image</code></p>
614
+ * @return A <code>Binary</code> representation of the value of this property.
615
+ * @throws ValueFormatException if the property is multi-valued.
616
+ * @throws RepositoryException if another error occurs.
617
+ * @see Value
618
+ * @see Binary
619
+ * @since JCR 2.0
620
+ * @since Sitevision 3.5
621
+ */
622
+ getBinary(): Binary;
623
+
624
+ /**
625
+ * Returns a <code>long</code> representation of the value of this property.
626
+ * A shortcut for <code>Property.getValue().getLong()</code>.
627
+ * @return A <code>long</code> representation of the value of this property.
628
+ * @throws ValueFormatException if conversion to a <code>long</code> is not possible or if the property is multi-valued.
629
+ * @throws RepositoryException if another error occurs.
630
+ * @see Value
631
+ */
632
+ getLong(): number;
633
+
634
+ /**
635
+ * Returns a <code>double</code> representation of the value of this
636
+ * property. A shortcut for <code>Property.getValue().getDouble()</code>.
637
+ * @return A <code>double</code> representation of the value of this property.
638
+ * @throws ValueFormatException if conversion to a <code>double</code> is not possible or if the property is multi-valued.
639
+ * @throws RepositoryException if another error occurs.
640
+ * @see Value
641
+ */
642
+ getDouble(): number;
643
+
644
+ /**
645
+ * Returns a <code>BigDecimal</code> representation of the value of this
646
+ * property. A shortcut for <code>Property.getValue().getDecimal()</code>.
647
+ * @return A <code>BigDecimal</code> representation of the value of this property.
648
+ * @throws ValueFormatException if conversion to a <code>BigDecimal</code> is not possible or if the property is multi-valued.
649
+ * @throws RepositoryException if another error occurs
650
+ * @see Value
651
+ * @since JCR 2.0
652
+ */
653
+ getDecimal(): unknown;
654
+
655
+ /**
656
+ * Returns a <code>Calendar</code> representation of the value of this
657
+ * property. A shortcut for <code>Property.getValue().getDate()</code>.
658
+ * @return A <code>Calendar</code> representation of the value of this property.
659
+ * @throws ValueFormatException if conversion to a string is not possible or if the property is multi-valued.
660
+ * @throws RepositoryException if another error occurs.
661
+ * @see Value
662
+ */
663
+ getDate(): unknown;
664
+
665
+ /**
666
+ * Returns a <code>boolean</code> representation of the value of this
667
+ * property. A shortcut for <code>Property.getValue().getBoolean()</code>.
668
+ * @return A <code>boolean</code> representation of the value of this property.
669
+ * @throws ValueFormatException if conversion to a <code>boolean</code> is not possible or if the property is multi-valued.
670
+ * @throws RepositoryException if another error occurs.
671
+ * @see Value
672
+ */
673
+ getBoolean(): boolean;
674
+
675
+ /**
676
+ * If this property is of type <code>REFERENCE</code>,
677
+ * <code>WEAKREFERENCE</code> or <code>PATH</code> (or convertible to one of
678
+ * these types) this method returns the <code>Node</code> to which this
679
+ * property refers.
680
+ * <p>
681
+ * If this property is of type <code>PATH</code> and it contains a relative
682
+ * path, it is interpreted relative to the parent node of this property. For
683
+ * example "<code>.</code>" refers to the parent node itself,
684
+ * "<code>..</code>" to the parent of the parent node and "<code>foo</code>"
685
+ * to a sibling node of this property.
686
+ * @return the referenced Node
687
+ * @throws ValueFormatException if this property cannot be converted to a referring type (<code>REFERENCE</code>, <code>WEAKREFERENCE</code> or <code>PATH</code>), if the property is multi-valued or if this property is a referring type but is currently part of the frozen state of a version in version storage.
688
+ * @throws ItemNotFoundException If this property is of type <code>PATH</code> or <code>WEAKREFERENCE</code> and no target node accessible by the current <code>Session</code> exists in this workspace. Note that this applies even if the property is a <code>PATHS</code> and a <i>property</i> exists at the specified location. To dereference to a target property (as opposed to a target node), the method <code>Property.getProperty</code> is used.
689
+ * @throws RepositoryException if another error occurs.
690
+ */
691
+ getNode(): Node;
692
+
693
+ /**
694
+ * If this property is of type <code>PATH</code> (or convertible to this
695
+ * type) this method returns the <code>Property</code> to which <i>this</i>
696
+ * property refers.
697
+ * <p>
698
+ * If this property contains a relative path, it is interpreted relative to
699
+ * the parent node of this property. Therefore, when resolving such a
700
+ * relative path, the segment "<code>.</code>" refers to
701
+ * the parent node itself, "<code>..</code>" to the parent of the parent
702
+ * node and "<code>foo</code>" to a sibling property of this property or
703
+ * this property itself.
704
+ * <p>
705
+ * For example, if this property is located at
706
+ * <code>/a/b/c</code> and it has a value of "<code>../d</code>" then this
707
+ * method will return the property at <code>/a/d</code> if such exists.
708
+ * <p>
709
+ * If this property is multi-valued, this method throws a
710
+ * <code>ValueFormatException</code>.
711
+ * <p>
712
+ * If this property cannot be converted to a <code>PATH</code> then a
713
+ * <code>ValueFormatException</code> is thrown.
714
+ * <p>
715
+ * If this property is currently part of the frozen state of a version in
716
+ * version storage, this method will throw a <code>ValueFormatException</code>.
717
+ * @return the referenced property
718
+ * @throws ValueFormatException if this property cannot be converted to a <code>PATH</code>, if the property is multi-valued or if this property is a referring type but is currently part of the frozen state of a version in version storage.
719
+ * @throws ItemNotFoundException If no property accessible by the current <code>Session</code> exists in this workspace at the specified path. Note that this applies even if a <i>node</i> exists at the specified location. To dereference to a target node, the method <code>Property.getNode</code> is used.
720
+ * @throws RepositoryException if another error occurs.
721
+ * @since JCR 2.0
722
+ */
723
+ getProperty(): Property;
724
+
725
+ /**
726
+ * Returns the length of the value of this property.
727
+ * <p>
728
+ * For a <code>BINARY</code> property, <code>getLength</code> returns the
729
+ * number of bytes. For other property types, <code>getLength</code> returns
730
+ * the same value that would be returned by calling {@link
731
+ * java.lang.String#length()} on the value when it has been converted to a
732
+ * <code>STRING</code> according to standard JCR property type conversion.
733
+ * <p>
734
+ * Returns -1 if the implementation cannot determine the length.
735
+ *
736
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>
737
+ * @return an <code>long</code>.
738
+ * @throws ValueFormatException if this property is multi-valued.
739
+ * @throws RepositoryException if another error occurs.
740
+ */
741
+ getLength(): number;
742
+
743
+ /**
744
+ * Returns an array holding the lengths of the values of this (multi-value)
745
+ * property in bytes where each is individually calculated as described in
746
+ * {@link #getLength()}.
747
+ * <p>
748
+ * Returns a <code>-1</code> in the appropriate position if the
749
+ * implementation cannot determine the length of a value.
750
+ *
751
+ * <p><strong>Sitevision note:</strong> Unsupported operation</p>
752
+ * @return an array of lengths
753
+ * @throws ValueFormatException if this property is single-valued.
754
+ * @throws RepositoryException if another error occurs.
755
+ */
756
+ getLengths(): number;
757
+
758
+ /**
759
+ * Returns the property definition that applies to this property. In some
760
+ * cases there may appear to be more than one definition that could apply to
761
+ * this node. However, it is assumed that upon creation or change of this
762
+ * property, a single particular definition is chosen by the implementation.
763
+ * It is <i>that</i> definition that this method returns. How this governing
764
+ * definition is selected upon property creation or change from among others
765
+ * which may have been applicable is an implementation issue and is not
766
+ * covered by this specification.
767
+ * @return a <code>PropertyDefinition</code> object.
768
+ * @throws RepositoryException if an error occurs.
769
+ * @see javax.jcr.nodetype.NodeType#getPropertyDefinitions
770
+ */
771
+ getDefinition(): PropertyDefinition;
772
+
773
+ /**
774
+ * Returns the type of this <code>Property</code>. One of: <ul>
775
+ * <li><code>PropertyType.STRING</code></li> <li><code>PropertyType.BINARY</code></li>
776
+ * <li><code>PropertyType.DATE</code></li> <li><code>PropertyType.DOUBLE</code></li>
777
+ * <li><code>PropertyType.LONG</code></li> <li><code>PropertyType.BOOLEAN</code></li>
778
+ * <li><code>PropertyType.NAME</code></li> <li><code>PropertyType.PATH</code></li>
779
+ * <li><code>PropertyType.REFERENCE</code></li> <li><code>PropertyType.WEAKREFERENCE</code></li>
780
+ * <li><code>PropertyType.URI</code></li> </ul> The type returned is that
781
+ * which was set at property creation. Note that for some property
782
+ * <code>p</code>, the type returned by <code>p.getType()</code> will differ
783
+ * from the type returned by <code>p.getDefinition.getRequiredType()</code>
784
+ * only in the case where the latter returns <code>UNDEFINED</code>. The
785
+ * type of a property instance is never <code>UNDEFINED</code> (it must
786
+ * always have some actual type).
787
+ * @return an int
788
+ * @throws RepositoryException if an error occurs
789
+ */
790
+ getType(): number;
791
+
792
+ /**
793
+ * Returns <code>true</code> if this property is multi-valued and
794
+ * <code>false</code> if this property is single-valued.
795
+ * @return <code>true</code> if this property is multi-valued; <code>false</code> otherwise.
796
+ * @throws RepositoryException if an error occurs.
797
+ */
798
+ isMultiple(): boolean;
799
+ }
800
+
801
+ export default Property;