@sitevision/api 1.1.0-alpha.2 → 2.0.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.
- package/client/requester/index.d.ts +7 -7
- package/client/toasts/index.d.ts +5 -5
- package/common/app/index.d.ts +20 -1
- package/common/events/index.d.ts +6 -3
- package/common/i18n/index.d.ts +1 -0
- package/common/router/index.d.ts +43 -21
- package/index.d.ts +23 -18
- package/package.json +4 -2
- package/server/AliasUtil/index.d.ts +4 -4
- package/server/ArchiveUtil/index.d.ts +3 -23
- package/server/ArchiveUtil/index.js +1 -3
- package/server/ArraysInstance/index.d.ts +4 -18
- package/server/ArraysInstance/index.js +27 -0
- package/server/ArticleUtil/index.d.ts +11 -158
- package/server/ArticleUtil/index.js +3 -17
- package/server/AuthenticationUtil/index.d.ts +5 -11
- package/server/AuthenticationUtil/index.js +12 -0
- package/server/BookmarkUtil/index.d.ts +6 -12
- package/server/BuddyIconRenderer/index.d.ts +6 -46
- package/server/BuddyIconRenderer/index.js +21 -0
- package/server/ClientUtil/index.d.ts +3 -3
- package/server/CollaborationFactory/index.d.ts +5 -5
- package/server/CollaborationFactory/index.js +6 -1
- package/server/CollaborationGroupFolderUtil/index.d.ts +4 -9
- package/server/CollaborationGroupFolderUtil/index.js +2 -6
- package/server/CollaborationGroupTemplateUtil/index.d.ts +4 -23
- package/server/CollaborationGroupTemplateUtil/index.js +3 -9
- package/server/CollaborationGroupUtil/index.d.ts +4 -40
- package/server/CollaborationGroupUtil/index.js +2 -6
- package/server/CollectionsInstance/index.d.ts +36 -53
- package/server/CollectionsInstance/index.js +69 -0
- package/server/ColorUtil/index.d.ts +4 -4
- package/server/CompoundAndFilterBuilder/index.d.ts +5 -8
- package/server/CompoundAndFilterBuilder/index.js +12 -0
- package/server/CompoundComparatorBuilder/index.d.ts +4 -11
- package/server/CompoundComparatorBuilder/index.js +12 -0
- package/server/CompoundOrFilterBuilder/index.d.ts +5 -8
- package/server/CompoundOrFilterBuilder/index.js +12 -0
- package/server/ContentNodeUtil/index.d.ts +3 -19
- package/server/ContentNodeUtil/index.js +11 -0
- package/server/CurrencyFactory/index.d.ts +3 -54
- package/server/CurrencyFactory/index.js +11 -0
- package/server/DateUtil/index.d.ts +3 -28
- package/server/DateUtil/index.js +5 -5
- package/server/DecorationUtil/index.d.ts +4 -4
- package/server/DecorationUtil/index.js +10 -0
- package/server/DeviceUtil/index.d.ts +4 -4
- package/server/DeviceUtil/index.js +11 -0
- package/server/DirectoryUtil/index.d.ts +10 -30
- package/server/DirectoryUtil/index.js +2 -2
- package/server/DocTypeUtil/index.d.ts +8 -9
- package/server/DocTypeUtil/index.js +17 -0
- package/server/EndecUtil/index.d.ts +2 -210
- package/server/EndecUtil/index.js +12 -12
- package/server/ExtendedDismaxParserBuilder/index.d.ts +5 -40
- package/server/ExtendedDismaxParserBuilder/index.js +22 -0
- package/server/FileIconRenderer/index.d.ts +3 -24
- package/server/FileIconRenderer/index.js +29 -0
- package/server/FileUtil/index.d.ts +4 -145
- package/server/FileUtil/index.js +20 -0
- package/server/FilterBuilder/index.d.ts +4 -18
- package/server/FilterBuilder/index.js +12 -0
- package/server/FolderUtil/index.d.ts +3 -51
- package/server/FolderUtil/index.js +13 -0
- package/server/FontUtil/index.d.ts +4 -4
- package/server/FontUtil/index.js +11 -0
- package/server/FormatterBuilderFactory/index.d.ts +4 -35
- package/server/FormatterBuilderFactory/index.js +12 -0
- package/server/HighlightBuilder/index.d.ts +4 -33
- package/server/HighlightBuilder/index.js +15 -0
- package/server/IconUtil/index.d.ts +4 -4
- package/server/IconUtil/index.js +12 -0
- package/server/ImageLinkRenderer/index.d.ts +2 -11
- package/server/ImageLinkRenderer/index.js +12 -0
- package/server/ImageRenderer/index.d.ts +7 -77
- package/server/ImageRenderer/index.js +49 -0
- package/server/ImageUtil/index.d.ts +4 -148
- package/server/ImageUtil/index.js +18 -0
- package/server/IndexUtil/index.d.ts +4 -24
- package/server/IndexUtil/index.js +11 -0
- package/server/IndexingUtil/index.d.ts +3 -33
- package/server/IndexingUtil/index.js +10 -0
- package/server/InstanceCreatorUtil/index.d.ts +9 -142
- package/server/InstanceCreatorUtil/index.js +36 -1
- package/server/InstanceTypeUtil/index.d.ts +3 -3
- package/server/InstanceTypeUtil/index.js +31 -0
- package/server/JwtUtil/index.d.ts +3 -74
- package/server/JwtUtil/index.js +13 -0
- package/server/LandingPageUtil/index.d.ts +4 -4
- package/server/LandingPageUtil/index.js +6 -6
- package/server/LinkPageUtil/index.d.ts +8 -177
- package/server/LinkPageUtil/index.js +13 -0
- package/server/LinkRenderer/index.d.ts +3 -209
- package/server/LinkRenderer/index.js +64 -0
- package/server/LinkTargetBuilder/index.d.ts +6 -11
- package/server/LinkTargetBuilder/index.js +16 -0
- package/server/LinkValueBuilder/index.d.ts +7 -5
- package/server/LinkValueBuilder/index.js +4 -4
- package/server/ListWrapper/index.d.ts +5 -15
- package/server/ListWrapper/index.js +19 -0
- package/server/LocaleUtil/index.d.ts +3 -302
- package/server/LocaleUtil/index.js +4 -4
- package/server/LogUtil/index.d.ts +3 -15
- package/server/LogUtil/index.js +7 -7
- package/server/MailBuilder/index.d.ts +5 -4
- package/server/MailBuilder/index.js +23 -0
- package/server/MailUtil/index.d.ts +2 -18
- package/server/MailUtil/index.js +15 -0
- package/server/MathInstance/index.d.ts +3 -10
- package/server/MathInstance/index.js +56 -0
- package/server/MessageDigesterFactory/index.d.ts +4 -4
- package/server/MessageDigesterFactory/index.js +13 -0
- package/server/MetadataDefinitionUtil/index.d.ts +5 -5
- package/server/MetadataDefinitionUtil/index.js +14 -0
- package/server/MetadataUtil/index.d.ts +6 -188
- package/server/MetadataUtil/index.js +5 -5
- package/server/MimeTypeUtil/index.d.ts +3 -86
- package/server/MimeTypeUtil/index.js +21 -0
- package/server/MonitorBuilder/index.d.ts +5 -4
- package/server/MonitorBuilder/index.js +11 -0
- package/server/NodeComparatorUtil/index.d.ts +3 -155
- package/server/NodeComparatorUtil/index.js +15 -0
- package/server/NodeFactoryUtil/index.d.ts +3 -3
- package/server/NodeFactoryUtil/index.js +11 -0
- package/server/NodeFilterUtil/index.d.ts +11 -97
- package/server/NodeFilterUtil/index.js +59 -0
- package/server/NodeIteratorUtil/index.d.ts +11 -117
- package/server/NodeIteratorUtil/index.js +6 -6
- package/server/NodeResolverUtil/index.d.ts +4 -354
- package/server/NodeResolverUtil/index.js +16 -0
- package/server/NodeTreeUtil/index.d.ts +10 -128
- package/server/NodeTreeUtil/index.js +4 -4
- package/server/NodeTypeUtil/index.d.ts +171 -54
- package/server/NodeTypeUtil/index.js +28 -23
- package/server/OfflineVersionPropertyUtil/index.d.ts +6 -2
- package/server/OfflineVersionPropertyUtil/index.js +8 -0
- package/server/OnlineVersionPropertyUtil/index.d.ts +6 -2
- package/server/OnlineVersionPropertyUtil/index.js +8 -0
- package/server/OutputUtil/index.d.ts +4 -244
- package/server/OutputUtil/index.js +16 -0
- package/server/PageUtil/index.d.ts +11 -122
- package/server/PageUtil/index.js +12 -0
- package/server/PermissionUtil/index.d.ts +9 -200
- package/server/PermissionUtil/index.js +24 -0
- package/server/PortletContextUtil/index.d.ts +3 -26
- package/server/PortletContextUtil/index.js +6 -5
- package/server/PortletUtil/index.d.ts +4 -9
- package/server/PortletUtil/index.js +10 -0
- package/server/PrincipalUtil/index.d.ts +5 -10
- package/server/PrincipalUtil/index.js +12 -0
- package/server/Properties/index.d.ts +3 -25
- package/server/Properties/index.js +4 -12
- package/server/PropertyUtil/index.d.ts +17 -822
- package/server/PropertyUtil/index.js +23 -69
- package/server/PublishingUtil/index.d.ts +3 -141
- package/server/QueryStringUtil/index.d.ts +3 -309
- package/server/QueryStringUtil/index.js +17 -0
- package/server/RedirectUtil/index.d.ts +4 -20
- package/server/RedirectUtil/index.js +14 -0
- package/server/RelatedValueBuilder/index.d.ts +8 -6
- package/server/RelatedValueBuilder/index.js +3 -3
- package/server/Requester/index.d.ts +8 -33
- package/server/Requester/index.js +6 -22
- package/server/ResourceLocatorUtil/index.d.ts +3 -106
- package/server/ResourceLocatorUtil/index.js +27 -25
- package/server/RestApi/index.d.ts +7 -39
- package/server/RestApi/index.js +2 -2
- package/server/RestAppInvokerFactory/index.d.ts +5 -5
- package/server/RestAppInvokerFactory/index.js +12 -0
- package/server/RoleAssignmentBuilder/index.d.ts +6 -9
- package/server/RoleAssignmentBuilder/index.js +13 -0
- package/server/RoleMatcherBuilder/index.d.ts +6 -9
- package/server/RoleMatcherBuilder/index.js +13 -0
- package/server/RoleUtil/index.d.ts +6 -9
- package/server/RoleUtil/index.js +13 -0
- package/server/ScriptUtil/index.d.ts +4 -194
- package/server/ScriptUtil/index.js +19 -14
- package/server/SearchFactory/index.d.ts +5 -7
- package/server/SearchFactory/index.js +22 -0
- package/server/SearchUtil/index.d.ts +5 -40
- package/server/SearchUtil/index.js +10 -0
- package/server/SearcherBuilder/index.d.ts +11 -49
- package/server/SearcherBuilder/index.js +17 -0
- package/server/Session/index.d.ts +28 -636
- package/server/Session/index.js +48 -0
- package/server/SimpleUserUtil/index.d.ts +4 -9
- package/server/SiteCookieUtil/index.d.ts +11 -16
- package/server/SiteCookieUtil/index.js +3 -0
- package/server/SortBuilder/index.d.ts +6 -6
- package/server/SortBuilder/index.js +12 -0
- package/server/SpellCheckBuilder/index.d.ts +4 -12
- package/server/SpellCheckBuilder/index.js +11 -0
- package/server/StandardParserBuilder/index.d.ts +5 -12
- package/server/StandardParserBuilder/index.js +12 -0
- package/server/StructureUtil/index.d.ts +3 -73
- package/server/StructureUtil/index.js +10 -0
- package/server/SubscriberUtil/index.d.ts +4 -27
- package/server/SubscriberUtil/index.js +13 -0
- package/server/SubscriptionUtil/index.d.ts +3 -54
- package/server/SubscriptionUtil/index.js +14 -0
- package/server/SystemUserUtil/index.d.ts +3 -79
- package/server/SystemUserUtil/index.js +3 -3
- package/server/TagUtil/index.d.ts +4 -60
- package/server/TagUtil/index.js +15 -0
- package/server/TemplateUtil/index.d.ts +6 -70
- package/server/TemplateUtil/index.js +15 -0
- package/server/TemporaryFileNodeBuilder/index.d.ts +5 -8
- package/server/TemporaryFileNodeBuilder/index.js +12 -0
- package/server/TemporaryNodeBuilder/index.d.ts +5 -44
- package/server/TemporaryNodeBuilder/index.js +21 -0
- package/server/TextModuleRendererBuilder/index.d.ts +6 -5
- package/server/TextModuleRendererBuilder/index.js +11 -0
- package/server/TimestampUtil/index.d.ts +3 -3
- package/server/TimestampUtil/index.js +7 -7
- package/server/TranslationUtil/index.d.ts +5 -62
- package/server/TranslationUtil/index.js +13 -0
- package/server/TrashcanUtil/index.d.ts +3 -78
- package/server/TrashcanUtil/index.js +3 -3
- package/server/UserDataUtil/index.d.ts +4 -55
- package/server/UserDataUtil/index.js +2 -2
- package/server/UserFactory/index.d.ts +5 -5
- package/server/UserFactory/index.js +4 -4
- package/server/UserFieldRenderer/index.d.ts +3 -67
- package/server/UserFieldRenderer/index.js +16 -0
- package/server/UserIdentityUtil/index.d.ts +3 -20
- package/server/UserIdentityUtil/index.js +1 -1
- package/server/UserUtil/index.d.ts +3 -14
- package/server/Utils/index.d.ts +14 -52
- package/server/Utils/index.js +82 -1
- package/server/VelocityRenderer/index.d.ts +4 -52
- package/server/VelocityRenderer/index.js +11 -0
- package/server/VersionUtil/index.d.ts +3 -3
- package/server/VersionUtil/index.js +0 -2
- package/server/WebContentUtil/index.d.ts +7 -181
- package/server/WebContentUtil/index.js +14 -0
- package/server/WebResourceFactory/index.d.ts +3 -3
- package/server/WebResourceFactory/index.js +15 -0
- package/server/XSLTUtil/index.d.ts +2 -15
- package/server/XmlParserUtil/index.d.ts +6 -5
- package/server/appData/index.d.ts +2 -2
- package/server/appInfo/index.d.ts +33 -0
- package/server/appInfo/index.js +38 -0
- package/server/appResource/index.d.ts +5 -3
- package/server/cache/index.d.ts +13 -0
- package/server/cache/index.js +15 -0
- package/server/globalAppData/index.d.ts +2 -2
- package/server/headless/index.d.ts +97 -0
- package/server/headless/index.js +10 -0
- package/server/hooks/index.d.ts +7 -7
- package/server/oauth2/index.d.ts +7 -2
- package/server/privileged/index.d.ts +4 -2
- package/server/storage/index.d.ts +27 -7
- package/{hidden → types}/javax/jcr/Binary/index.d.ts +3 -26
- package/types/javax/jcr/Binary/index.js +13 -0
- package/{hidden → types}/javax/jcr/Credentials/index.d.ts +3 -3
- package/types/javax/jcr/Credentials/index.js +8 -0
- package/{hidden → types}/javax/jcr/ImportUUIDBehavior/index.d.ts +3 -3
- package/types/javax/jcr/ImportUUIDBehavior/index.js +8 -0
- package/{hidden → types}/javax/jcr/Item/index.d.ts +6 -121
- package/types/javax/jcr/Item/index.js +23 -0
- package/{hidden → types}/javax/jcr/ItemVisitor/index.d.ts +6 -11
- package/types/javax/jcr/ItemVisitor/index.js +10 -0
- package/{hidden → types}/javax/jcr/NamespaceRegistry/index.d.ts +3 -20
- package/types/javax/jcr/NamespaceRegistry/index.js +15 -0
- package/{hidden → types}/javax/jcr/Node/index.d.ts +23 -1028
- package/types/javax/jcr/Node/index.js +56 -0
- package/{hidden → types}/javax/jcr/NodeIterator/index.d.ts +5 -6
- package/types/javax/jcr/NodeIterator/index.js +10 -0
- package/{hidden → types}/javax/jcr/Property/index.d.ts +71 -197
- package/types/javax/jcr/Property/index.js +27 -0
- package/{hidden → types}/javax/jcr/PropertyIterator/index.d.ts +5 -6
- package/types/javax/jcr/PropertyIterator/index.js +10 -0
- package/{hidden → types}/javax/jcr/RangeIterator/index.d.ts +3 -28
- package/types/javax/jcr/RangeIterator/index.js +12 -0
- package/{hidden → types}/javax/jcr/Repository/index.d.ts +54 -63
- package/types/javax/jcr/Repository/index.js +16 -0
- package/{hidden → types}/javax/jcr/RepositoryFactory/index.d.ts +5 -19
- package/types/javax/jcr/RepositoryFactory/index.js +10 -0
- package/{hidden → types}/javax/jcr/Value/index.d.ts +4 -36
- package/types/javax/jcr/Value/index.js +18 -0
- package/{hidden → types}/javax/jcr/ValueFactory/index.d.ts +7 -44
- package/types/javax/jcr/ValueFactory/index.js +11 -0
- package/{hidden → types}/javax/jcr/Workspace/index.d.ts +29 -426
- package/types/javax/jcr/Workspace/index.js +26 -0
- package/{hidden → types}/javax/jcr/lock/Lock/index.d.ts +4 -42
- package/types/javax/jcr/lock/Lock/index.js +18 -0
- package/{hidden → types}/javax/jcr/lock/LockManager/index.d.ts +4 -66
- package/types/javax/jcr/lock/LockManager/index.js +17 -0
- package/{hidden → types}/javax/jcr/nodetype/ItemDefinition/index.d.ts +4 -93
- package/types/javax/jcr/nodetype/ItemDefinition/index.js +15 -0
- package/{hidden → types}/javax/jcr/nodetype/NodeDefinition/index.d.ts +6 -64
- package/types/javax/jcr/nodetype/NodeDefinition/index.js +14 -0
- package/{hidden → types}/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +5 -8
- package/types/javax/jcr/nodetype/NodeDefinitionTemplate/index.js +17 -0
- package/{hidden → types}/javax/jcr/nodetype/NodeType/index.d.ts +39 -69
- package/types/javax/jcr/nodetype/NodeType/index.js +21 -0
- package/{hidden → types}/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +5 -90
- package/types/javax/jcr/nodetype/NodeTypeDefinition/index.js +18 -0
- package/{hidden → types}/javax/jcr/nodetype/NodeTypeIterator/index.d.ts +5 -6
- package/types/javax/jcr/nodetype/NodeTypeIterator/index.js +10 -0
- package/{hidden → types}/javax/jcr/nodetype/NodeTypeManager/index.d.ts +10 -50
- package/types/javax/jcr/nodetype/NodeTypeManager/index.js +21 -0
- package/{hidden → types}/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +7 -17
- package/types/javax/jcr/nodetype/NodeTypeTemplate/index.js +18 -0
- package/{hidden → types}/javax/jcr/nodetype/PropertyDefinition/index.d.ts +6 -247
- package/types/javax/jcr/nodetype/PropertyDefinition/index.js +16 -0
- package/{hidden → types}/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +5 -8
- package/types/javax/jcr/nodetype/PropertyDefinitionTemplate/index.js +21 -0
- package/{hidden → types}/javax/jcr/observation/Event/index.d.ts +7 -26
- package/types/javax/jcr/observation/Event/index.js +16 -0
- package/{hidden → types}/javax/jcr/observation/EventIterator/index.d.ts +5 -6
- package/types/javax/jcr/observation/EventIterator/index.js +10 -0
- package/{hidden → types}/javax/jcr/observation/EventJournal/index.d.ts +5 -8
- package/types/javax/jcr/observation/EventJournal/index.js +10 -0
- package/{hidden → types}/javax/jcr/observation/EventListener/index.d.ts +4 -6
- package/types/javax/jcr/observation/EventListener/index.js +10 -0
- package/{hidden → types}/javax/jcr/observation/EventListenerIterator/index.d.ts +5 -6
- package/types/javax/jcr/observation/EventListenerIterator/index.js +10 -0
- package/{hidden → types}/javax/jcr/observation/ObservationManager/index.d.ts +7 -80
- package/types/javax/jcr/observation/ObservationManager/index.js +14 -0
- package/{hidden → types}/javax/jcr/query/Query/index.d.ts +12 -66
- package/types/javax/jcr/query/Query/index.js +18 -0
- package/{hidden → types}/javax/jcr/query/QueryManager/index.d.ts +6 -21
- package/types/javax/jcr/query/QueryManager/index.js +13 -0
- package/{hidden → types}/javax/jcr/query/QueryResult/index.d.ts +5 -12
- package/types/javax/jcr/query/QueryResult/index.js +13 -0
- package/{hidden → types}/javax/jcr/query/Row/index.d.ts +6 -47
- package/types/javax/jcr/query/Row/index.js +14 -0
- package/{hidden → types}/javax/jcr/query/RowIterator/index.d.ts +5 -6
- package/types/javax/jcr/query/RowIterator/index.js +10 -0
- package/{hidden → types}/javax/jcr/query/qom/And/index.d.ts +4 -6
- package/types/javax/jcr/query/qom/And/index.js +11 -0
- package/{hidden → types}/javax/jcr/query/qom/BindVariableValue/index.d.ts +5 -5
- package/types/javax/jcr/query/qom/BindVariableValue/index.js +10 -0
- package/{hidden → types}/javax/jcr/query/qom/ChildNode/index.d.ts +5 -5
- package/types/javax/jcr/query/qom/ChildNode/index.js +11 -0
- package/{hidden → types}/javax/jcr/query/qom/ChildNodeJoinCondition/index.d.ts +5 -5
- package/types/javax/jcr/query/qom/ChildNodeJoinCondition/index.js +11 -0
- package/{hidden → types}/javax/jcr/query/qom/Column/index.d.ts +3 -6
- package/types/javax/jcr/query/qom/Column/index.js +12 -0
- package/{hidden → types}/javax/jcr/query/qom/Comparison/index.d.ts +7 -7
- package/types/javax/jcr/query/qom/Comparison/index.js +12 -0
- package/{hidden → types}/javax/jcr/query/qom/Constraint/index.d.ts +3 -3
- package/types/javax/jcr/query/qom/Constraint/index.js +8 -0
- package/{hidden → types}/javax/jcr/query/qom/DescendantNode/index.d.ts +5 -5
- package/types/javax/jcr/query/qom/DescendantNode/index.js +11 -0
- package/{hidden → types}/javax/jcr/query/qom/DescendantNodeJoinCondition/index.d.ts +5 -5
- package/types/javax/jcr/query/qom/DescendantNodeJoinCondition/index.js +11 -0
- package/{hidden → types}/javax/jcr/query/qom/DynamicOperand/index.d.ts +5 -3
- package/types/javax/jcr/query/qom/DynamicOperand/index.js +8 -0
- package/{hidden → types}/javax/jcr/query/qom/EquiJoinCondition/index.d.ts +5 -5
- package/types/javax/jcr/query/qom/EquiJoinCondition/index.js +13 -0
- package/{hidden → types}/javax/jcr/query/qom/FullTextSearch/index.d.ts +5 -6
- package/types/javax/jcr/query/qom/FullTextSearch/index.js +12 -0
- package/{hidden → types}/javax/jcr/query/qom/FullTextSearchScore/index.d.ts +5 -5
- package/types/javax/jcr/query/qom/FullTextSearchScore/index.js +10 -0
- package/{hidden → types}/javax/jcr/query/qom/Join/index.d.ts +6 -7
- package/types/javax/jcr/query/qom/Join/index.js +13 -0
- package/{hidden → types}/javax/jcr/query/qom/JoinCondition/index.d.ts +3 -3
- package/types/javax/jcr/query/qom/JoinCondition/index.js +8 -0
- package/{hidden → types}/javax/jcr/query/qom/Length/index.d.ts +5 -6
- package/types/javax/jcr/query/qom/Length/index.js +10 -0
- package/{hidden → types}/javax/jcr/query/qom/Literal/index.d.ts +5 -6
- package/types/javax/jcr/query/qom/Literal/index.js +10 -0
- package/{hidden → types}/javax/jcr/query/qom/LowerCase/index.d.ts +4 -6
- package/types/javax/jcr/query/qom/LowerCase/index.js +10 -0
- package/{hidden → types}/javax/jcr/query/qom/NodeLocalName/index.d.ts +5 -5
- package/types/javax/jcr/query/qom/NodeLocalName/index.js +10 -0
- package/{hidden → types}/javax/jcr/query/qom/NodeName/index.d.ts +5 -5
- package/types/javax/jcr/query/qom/NodeName/index.js +10 -0
- package/{hidden → types}/javax/jcr/query/qom/Not/index.d.ts +4 -6
- package/types/javax/jcr/query/qom/Not/index.js +10 -0
- package/{hidden → types}/javax/jcr/query/qom/Operand/index.d.ts +3 -3
- package/types/javax/jcr/query/qom/Operand/index.js +8 -0
- package/{hidden → types}/javax/jcr/query/qom/Or/index.d.ts +4 -6
- package/types/javax/jcr/query/qom/Or/index.js +11 -0
- package/{hidden → types}/javax/jcr/query/qom/Ordering/index.d.ts +4 -6
- package/types/javax/jcr/query/qom/Ordering/index.js +11 -0
- package/{hidden → types}/javax/jcr/query/qom/PropertyExistence/index.d.ts +5 -5
- package/types/javax/jcr/query/qom/PropertyExistence/index.js +11 -0
- package/{hidden → types}/javax/jcr/query/qom/PropertyValue/index.d.ts +5 -5
- package/types/javax/jcr/query/qom/PropertyValue/index.js +11 -0
- package/{hidden → types}/javax/jcr/query/qom/QueryObjectModel/index.d.ts +8 -9
- package/types/javax/jcr/query/qom/QueryObjectModel/index.js +13 -0
- package/{hidden → types}/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +3 -3
- package/types/javax/jcr/query/qom/QueryObjectModelConstants/index.js +8 -0
- package/{hidden → types}/javax/jcr/query/qom/QueryObjectModelFactory/index.d.ts +38 -174
- package/types/javax/jcr/query/qom/QueryObjectModelFactory/index.js +37 -0
- package/{hidden → types}/javax/jcr/query/qom/SameNode/index.d.ts +5 -5
- package/types/javax/jcr/query/qom/SameNode/index.js +11 -0
- package/{hidden → types}/javax/jcr/query/qom/SameNodeJoinCondition/index.d.ts +5 -5
- package/types/javax/jcr/query/qom/SameNodeJoinCondition/index.js +12 -0
- package/{hidden → types}/javax/jcr/query/qom/Selector/index.d.ts +5 -8
- package/types/javax/jcr/query/qom/Selector/index.js +11 -0
- package/{hidden → types}/javax/jcr/query/qom/Source/index.d.ts +3 -3
- package/types/javax/jcr/query/qom/Source/index.js +8 -0
- package/{hidden → types}/javax/jcr/query/qom/StaticOperand/index.d.ts +5 -3
- package/types/javax/jcr/query/qom/StaticOperand/index.js +8 -0
- package/{hidden → types}/javax/jcr/query/qom/UpperCase/index.d.ts +4 -6
- package/types/javax/jcr/query/qom/UpperCase/index.js +10 -0
- package/{hidden → types}/javax/jcr/retention/Hold/index.d.ts +3 -5
- package/types/javax/jcr/retention/Hold/index.js +11 -0
- package/{hidden → types}/javax/jcr/retention/RetentionManager/index.d.ts +6 -60
- package/types/javax/jcr/retention/RetentionManager/index.js +15 -0
- package/{hidden → types}/javax/jcr/retention/RetentionPolicy/index.d.ts +3 -5
- package/types/javax/jcr/retention/RetentionPolicy/index.js +10 -0
- package/{hidden → types}/javax/jcr/security/AccessControlEntry/index.d.ts +4 -6
- package/types/javax/jcr/security/AccessControlEntry/index.js +11 -0
- package/{hidden → types}/javax/jcr/security/AccessControlList/index.d.ts +8 -31
- package/types/javax/jcr/security/AccessControlList/index.js +12 -0
- package/{hidden → types}/javax/jcr/security/AccessControlManager/index.d.ts +7 -102
- package/types/javax/jcr/security/AccessControlManager/index.js +18 -0
- package/{hidden → types}/javax/jcr/security/AccessControlPolicy/index.d.ts +3 -3
- package/types/javax/jcr/security/AccessControlPolicy/index.js +8 -0
- package/{hidden → types}/javax/jcr/security/AccessControlPolicyIterator/index.d.ts +5 -6
- package/types/javax/jcr/security/AccessControlPolicyIterator/index.js +10 -0
- package/{hidden → types}/javax/jcr/security/NamedAccessControlPolicy/index.d.ts +5 -6
- package/types/javax/jcr/security/NamedAccessControlPolicy/index.js +10 -0
- package/{hidden → types}/javax/jcr/security/Privilege/index.d.ts +3 -15
- package/types/javax/jcr/security/Privilege/index.js +14 -0
- package/{hidden → types}/javax/jcr/version/Version/index.d.ts +6 -35
- package/types/javax/jcr/version/Version/index.js +16 -0
- package/{hidden → types}/javax/jcr/version/VersionHistory/index.d.ts +8 -87
- package/types/javax/jcr/version/VersionHistory/index.js +23 -0
- package/{hidden → types}/javax/jcr/version/VersionIterator/index.d.ts +5 -6
- package/types/javax/jcr/version/VersionIterator/index.js +10 -0
- package/{hidden → types}/javax/jcr/version/VersionManager/index.d.ts +8 -410
- package/types/javax/jcr/version/VersionManager/index.js +25 -0
- package/{hidden → types}/senselogic/sitevision/api/base/Builder/index.d.ts +3 -5
- package/types/senselogic/sitevision/api/base/Builder/index.js +10 -0
- package/{hidden → types}/senselogic/sitevision/api/base/Filter/index.d.ts +3 -5
- package/types/senselogic/sitevision/api/base/Filter/index.js +10 -0
- package/{hidden → types}/senselogic/sitevision/api/base/FilterSplit/index.d.ts +6 -12
- package/types/senselogic/sitevision/api/base/FilterSplit/index.js +12 -0
- package/{hidden → types}/senselogic/sitevision/api/base/Loadable/index.d.ts +3 -5
- package/types/senselogic/sitevision/api/base/Loadable/index.js +10 -0
- package/{hidden → types}/senselogic/sitevision/api/base/Resolver/index.d.ts +3 -5
- package/types/senselogic/sitevision/api/base/Resolver/index.js +10 -0
- package/{hidden → types}/senselogic/sitevision/api/base/Wrapper/index.d.ts +3 -5
- package/types/senselogic/sitevision/api/base/Wrapper/index.js +10 -0
- package/{hidden → types}/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.d.ts +12 -136
- package/types/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.js +30 -0
- package/{hidden → types}/senselogic/sitevision/api/format/NumericFormatter/index.d.ts +2 -20
- package/types/senselogic/sitevision/api/format/NumericFormatter/index.js +13 -0
- package/{hidden → types}/senselogic/sitevision/api/format/NumericFormatterBuilder/index.d.ts +5 -26
- package/types/senselogic/sitevision/api/format/NumericFormatterBuilder/index.js +15 -0
- package/{hidden → types}/senselogic/sitevision/api/i18n/Currency/index.d.ts +2 -45
- package/types/senselogic/sitevision/api/i18n/Currency/index.js +12 -0
- package/{hidden → types}/senselogic/sitevision/api/link/CustomLinkProcessor/index.d.ts +5 -16
- package/types/senselogic/sitevision/api/link/CustomLinkProcessor/index.js +11 -0
- package/{hidden → types}/senselogic/sitevision/api/link/CustomLinkRenderData/index.d.ts +4 -31
- package/types/senselogic/sitevision/api/link/CustomLinkRenderData/index.js +10 -0
- package/{hidden → types}/senselogic/sitevision/api/mail/Mail/index.d.ts +3 -8
- package/types/senselogic/sitevision/api/mail/Mail/index.js +11 -0
- package/{hidden → types}/senselogic/sitevision/api/message/MessageTextLinker/index.d.ts +3 -5
- package/types/senselogic/sitevision/api/message/MessageTextLinker/index.js +10 -0
- package/{hidden → types}/senselogic/sitevision/api/metadata/value/LinkValue/index.d.ts +3 -3
- package/types/senselogic/sitevision/api/metadata/value/LinkValue/index.js +8 -0
- package/{hidden → types}/senselogic/sitevision/api/metadata/value/RelatedValue/index.d.ts +3 -3
- package/types/senselogic/sitevision/api/metadata/value/RelatedValue/index.js +8 -0
- package/{hidden → types}/senselogic/sitevision/api/property/VersionedPropertyUtil/index.d.ts +9 -200
- package/types/senselogic/sitevision/api/property/VersionedPropertyUtil/index.js +18 -0
- package/{hidden → types}/senselogic/sitevision/api/render/ImageScaler/index.d.ts +3 -16
- package/types/senselogic/sitevision/api/render/ImageScaler/index.js +12 -0
- package/{hidden → types}/senselogic/sitevision/api/render/TextModuleRenderer/index.d.ts +3 -72
- package/types/senselogic/sitevision/api/render/TextModuleRenderer/index.js +16 -0
- package/{hidden → types}/senselogic/sitevision/api/render/velocity/VelocityAccess/index.d.ts +3 -3
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess/index.js +8 -0
- package/{hidden → types}/senselogic/sitevision/api/render/velocity/VelocityContext/index.d.ts +3 -6
- package/types/senselogic/sitevision/api/render/velocity/VelocityContext/index.js +14 -0
- package/{hidden → types}/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.d.ts +2 -38
- package/types/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.js +10 -0
- package/{hidden → types}/senselogic/sitevision/api/script/RequesterChainable/index.d.ts +5 -52
- package/types/senselogic/sitevision/api/script/RequesterChainable/index.js +11 -0
- package/{hidden → types}/senselogic/sitevision/api/script/app/RestAppInvoker/index.d.ts +2 -36
- package/types/senselogic/sitevision/api/script/app/RestAppInvoker/index.js +13 -0
- package/{hidden → types}/senselogic/sitevision/api/script/factory/TypedArgument/index.d.ts +3 -5
- package/types/senselogic/sitevision/api/script/factory/TypedArgument/index.js +11 -0
- package/{hidden → types}/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts +3 -5
- package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.js +10 -0
- package/{hidden → types}/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts +3 -38
- package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.js +12 -0
- package/{hidden → types}/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.d.ts +3 -5
- package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.js +12 -0
- package/{hidden → types}/senselogic/sitevision/api/search/SearchFieldUtil/index.d.ts +2 -16
- package/types/senselogic/sitevision/api/search/SearchFieldUtil/index.js +15 -0
- package/{hidden → types}/senselogic/sitevision/api/search/SearchHighlighter/index.d.ts +4 -6
- package/types/senselogic/sitevision/api/search/SearchHighlighter/index.js +10 -0
- package/{hidden → types}/senselogic/sitevision/api/search/SearchHit/index.d.ts +12 -411
- package/types/senselogic/sitevision/api/search/SearchHit/index.js +35 -0
- package/{hidden → types}/senselogic/sitevision/api/search/SearchResult/index.d.ts +10 -147
- package/types/senselogic/sitevision/api/search/SearchResult/index.js +24 -0
- package/{hidden → types}/senselogic/sitevision/api/search/facet/SearchFacetField/index.d.ts +4 -6
- package/types/senselogic/sitevision/api/search/facet/SearchFacetField/index.js +12 -0
- package/{hidden → types}/senselogic/sitevision/api/search/facet/SearchFacetValue/index.d.ts +3 -16
- package/types/senselogic/sitevision/api/search/facet/SearchFacetValue/index.js +14 -0
- package/{hidden → types}/senselogic/sitevision/api/search/searcher/Searcher/index.d.ts +3 -39
- package/types/senselogic/sitevision/api/search/searcher/Searcher/index.js +10 -0
- package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Filter/index.d.ts +3 -3
- package/types/senselogic/sitevision/api/search/searcher/component/Filter/index.js +8 -0
- package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Highlight/index.d.ts +3 -3
- package/types/senselogic/sitevision/api/search/searcher/component/Highlight/index.js +8 -0
- package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Monitor/index.d.ts +3 -3
- package/types/senselogic/sitevision/api/search/searcher/component/Monitor/index.js +8 -0
- package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Parser/index.d.ts +3 -3
- package/types/senselogic/sitevision/api/search/searcher/component/Parser/index.js +8 -0
- package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Sort/index.d.ts +3 -3
- package/types/senselogic/sitevision/api/search/searcher/component/Sort/index.js +8 -0
- package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.d.ts +3 -3
- package/types/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.js +8 -0
- package/{hidden → types}/senselogic/sitevision/api/search/sort/CustomSort/index.d.ts +3 -20
- package/types/senselogic/sitevision/api/search/sort/CustomSort/index.js +16 -0
- package/{hidden → types}/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.d.ts +3 -5
- package/types/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.js +11 -0
- package/{hidden → types}/senselogic/sitevision/api/security/DirectoryAttributes/index.d.ts +5 -10
- package/types/senselogic/sitevision/api/security/DirectoryAttributes/index.js +13 -0
- package/{hidden → types}/senselogic/sitevision/api/security/MessageDigester/index.d.ts +3 -7
- package/types/senselogic/sitevision/api/security/MessageDigester/index.js +13 -0
- package/{hidden → types}/senselogic/sitevision/api/security/RoleAssignment/index.d.ts +4 -15
- package/types/senselogic/sitevision/api/security/RoleAssignment/index.js +13 -0
- package/{hidden → types}/senselogic/sitevision/api/security/RoleMatcher/index.d.ts +4 -6
- package/types/senselogic/sitevision/api/security/RoleMatcher/index.js +11 -0
- package/{hidden → types}/senselogic/sitevision/api/security/SecretStore/index.d.ts +5 -7
- package/types/senselogic/sitevision/api/security/SecretStore/index.js +15 -0
- package/{hidden → types}/senselogic/sitevision/api/security/UserUtil/index.d.ts +4 -6
- package/types/senselogic/sitevision/api/security/UserUtil/index.js +14 -0
- package/{hidden → types}/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.d.ts +6 -8
- package/types/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.js +10 -0
- package/{hidden → types}/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.d.ts +4 -6
- package/types/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.js +10 -0
- package/{hidden → types}/senselogic/sitevision/api/user/UserIdentityWrapper/index.d.ts +8 -198
- package/{server → types/senselogic/sitevision/api/user}/UserIdentityWrapper/index.js +20 -14
- package/{hidden → types}/senselogic/sitevision/api/webresource/LinkTarget/index.d.ts +3 -3
- package/types/senselogic/sitevision/api/webresource/LinkTarget/index.js +8 -0
- package/{hidden → types}/senselogic/sitevision/api/xml/XmlElement/index.d.ts +3 -5
- package/types/senselogic/sitevision/api/xml/XmlElement/index.js +15 -0
- package/{hidden → types}/senselogic/sitevision/api/xml/XmlElementHandler/index.d.ts +4 -6
- package/types/senselogic/sitevision/api/xml/XmlElementHandler/index.js +10 -0
- package/hidden/senselogic/sitevision/api/render/BuddyIconRenderer/BuddyIconInfo/index.d.ts +0 -51
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ArticleUtilConstants/index.d.ts +0 -85
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ExceptionSuppressingProxyConstants/index.d.ts +0 -31
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/IndexingUtilConstants/index.d.ts +0 -31
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/LinkPageUtilConstants/index.d.ts +0 -67
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MathInstanceConstants/index.d.ts +0 -25
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MimeTypeUtilConstants/index.d.ts +0 -19
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/NodeTypeUtilConstants/index.d.ts +0 -1243
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/OutputUtilConstants/index.d.ts +0 -31
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PageUtilConstants/index.d.ts +0 -91
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletContextUtilConstants/index.d.ts +0 -27
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletUtilConstants/index.d.ts +0 -19
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/QueryStringUtilConstants/index.d.ts +0 -19
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchHitConstants/index.d.ts +0 -25
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchResultConstants/index.d.ts +0 -37
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/VersionUtilConstants/index.d.ts +0 -25
- package/server/ImageScaler/index.d.ts +0 -24
- package/server/SourceSetMode/index.d.ts +0 -7
- package/server/SourceSetMode/index.js +0 -1
- package/server/UserIdentityWrapper/index.d.ts +0 -138
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
addNode: function addNode() {},
|
|
9
|
+
orderBefore: function orderBefore() {},
|
|
10
|
+
setProperty: function setProperty() {},
|
|
11
|
+
getNode: function getNode() {},
|
|
12
|
+
getNodes: function getNodes() {},
|
|
13
|
+
getProperty: function getProperty() {},
|
|
14
|
+
getProperties: function getProperties() {},
|
|
15
|
+
getPrimaryItem: function getPrimaryItem() {},
|
|
16
|
+
getUUID: function getUUID() {},
|
|
17
|
+
getIdentifier: function getIdentifier() {},
|
|
18
|
+
getIndex: function getIndex() {},
|
|
19
|
+
getReferences: function getReferences() {},
|
|
20
|
+
getWeakReferences: function getWeakReferences() {},
|
|
21
|
+
hasNode: function hasNode() {},
|
|
22
|
+
hasProperty: function hasProperty() {},
|
|
23
|
+
hasNodes: function hasNodes() {},
|
|
24
|
+
hasProperties: function hasProperties() {},
|
|
25
|
+
getPrimaryNodeType: function getPrimaryNodeType() {},
|
|
26
|
+
getMixinNodeTypes: function getMixinNodeTypes() {},
|
|
27
|
+
isNodeType: function isNodeType() {},
|
|
28
|
+
setPrimaryType: function setPrimaryType() {},
|
|
29
|
+
addMixin: function addMixin() {},
|
|
30
|
+
removeMixin: function removeMixin() {},
|
|
31
|
+
canAddMixin: function canAddMixin() {},
|
|
32
|
+
getDefinition: function getDefinition() {},
|
|
33
|
+
checkin: function checkin() {},
|
|
34
|
+
checkout: function checkout() {},
|
|
35
|
+
doneMerge: function doneMerge() {},
|
|
36
|
+
cancelMerge: function cancelMerge() {},
|
|
37
|
+
update: function update() {},
|
|
38
|
+
merge: function merge() {},
|
|
39
|
+
getCorrespondingNodePath: function getCorrespondingNodePath() {},
|
|
40
|
+
getSharedSet: function getSharedSet() {},
|
|
41
|
+
removeSharedSet: function removeSharedSet() {},
|
|
42
|
+
removeShare: function removeShare() {},
|
|
43
|
+
isCheckedOut: function isCheckedOut() {},
|
|
44
|
+
restore: function restore() {},
|
|
45
|
+
restoreByLabel: function restoreByLabel() {},
|
|
46
|
+
getVersionHistory: function getVersionHistory() {},
|
|
47
|
+
getBaseVersion: function getBaseVersion() {},
|
|
48
|
+
lock: function lock() {},
|
|
49
|
+
getLock: function getLock() {},
|
|
50
|
+
unlock: function unlock() {},
|
|
51
|
+
holdsLock: function holdsLock() {},
|
|
52
|
+
isLocked: function isLocked() {},
|
|
53
|
+
followLifecycleTransition: function followLifecycleTransition() {},
|
|
54
|
+
getAllowedLifecycleTransistions: function getAllowedLifecycleTransistions() {}
|
|
55
|
+
};
|
|
56
|
+
exports["default"] = _default;
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import Node from "../Node";
|
|
1
|
+
import type { Node } from "../Node";
|
|
2
|
+
import type { RangeIterator } from "../RangeIterator";
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* Allows easy iteration through a list of <code>Node</code>s with
|
|
5
6
|
* <code>nextNode</code> as well as a <code>skip</code> method inherited from
|
|
6
|
-
* <code>RangeIterator</code>.
|
|
7
|
+
* <code>RangeIterator</code>.
|
|
7
8
|
|
|
8
9
|
*/
|
|
9
|
-
|
|
10
|
+
export type NodeIterator = {
|
|
10
11
|
/**
|
|
11
12
|
* Returns the next <code>Node</code> in the iteration.
|
|
12
13
|
* @return the next <code>Node</code> in the iteration.
|
|
13
14
|
* @throws java.util.NoSuchElementException if iteration has no more <code>Node</code>s.
|
|
14
15
|
*/
|
|
15
16
|
nextNode(): Node;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export default NodeIterator;
|
|
17
|
+
};
|
|
@@ -1,199 +1,17 @@
|
|
|
1
|
-
import Value from "../Value";
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import type { Value } from "../Value";
|
|
2
|
+
|
|
3
|
+
import type { Binary } from "../Binary";
|
|
4
|
+
|
|
5
|
+
import type { Node } from "../Node";
|
|
6
|
+
import type { PropertyDefinition } from "../nodetype/PropertyDefinition";
|
|
7
|
+
|
|
8
|
+
import type { Item } from "../Item";
|
|
5
9
|
|
|
6
10
|
/**
|
|
7
11
|
* A <code>Property</code> object represents the smallest granularity of content
|
|
8
12
|
* storage. It has a single parent node and no children. A property consists of
|
|
9
13
|
* 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>.
|
|
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
|
|
14
|
+
* all of the same type. See <code>{@link Value}</code>.A constant for the property name <code>jcr:primaryType</code> (in
|
|
197
15
|
* expanded form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_BASE
|
|
198
16
|
* nt:base}.A constant for the property name <code>jcr:mixinTypes</code> (in expanded
|
|
199
17
|
* form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_BASE
|
|
@@ -323,9 +141,67 @@ import PropertyDefinition from "../nodetype/PropertyDefinition";
|
|
|
323
141
|
* nt:configuration}.A constant for the property name <code>jcr:statement</code> (in expanded
|
|
324
142
|
* form), declared in node type {@link javax.jcr.nodetype.NodeType#NT_QUERY
|
|
325
143
|
* nt:query}.
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
144
|
+
* @since JCR 2.0
|
|
145
|
+
* @since JCR 2.0
|
|
146
|
+
* @since JCR 2.0
|
|
147
|
+
* @since JCR 2.0
|
|
148
|
+
* @since JCR 2.0
|
|
149
|
+
* @since JCR 2.0
|
|
150
|
+
* @since JCR 2.0
|
|
151
|
+
* @since JCR 2.0
|
|
152
|
+
* @since JCR 2.0
|
|
153
|
+
* @since JCR 2.0
|
|
154
|
+
* @since JCR 2.0
|
|
155
|
+
* @since JCR 2.0
|
|
156
|
+
* @since JCR 2.0
|
|
157
|
+
* @since JCR 2.0
|
|
158
|
+
* @since JCR 2.0
|
|
159
|
+
* @since JCR 2.0
|
|
160
|
+
* @since JCR 2.0
|
|
161
|
+
* @since JCR 2.0
|
|
162
|
+
* @since JCR 2.0
|
|
163
|
+
* @since JCR 2.0
|
|
164
|
+
* @since JCR 2.0
|
|
165
|
+
* @since JCR 2.0
|
|
166
|
+
* @since JCR 2.0
|
|
167
|
+
* @since JCR 2.0
|
|
168
|
+
* @since JCR 2.0
|
|
169
|
+
* @since JCR 2.0
|
|
170
|
+
* @since JCR 2.0
|
|
171
|
+
* @since JCR 2.0
|
|
172
|
+
* @since JCR 2.0
|
|
173
|
+
* @since JCR 2.0
|
|
174
|
+
* @since JCR 2.0
|
|
175
|
+
* @since JCR 2.0
|
|
176
|
+
* @since JCR 2.0
|
|
177
|
+
* @since JCR 2.0
|
|
178
|
+
* @since JCR 2.0
|
|
179
|
+
* @since JCR 2.0
|
|
180
|
+
* @since JCR 2.0
|
|
181
|
+
* @since JCR 2.0
|
|
182
|
+
* @since JCR 2.0
|
|
183
|
+
* @since JCR 2.0
|
|
184
|
+
* @since JCR 2.0
|
|
185
|
+
* @since JCR 2.0
|
|
186
|
+
* @since JCR 2.0
|
|
187
|
+
* @since JCR 2.0
|
|
188
|
+
* @since JCR 2.0
|
|
189
|
+
* @since JCR 2.0
|
|
190
|
+
* @since JCR 2.0
|
|
191
|
+
* @since JCR 2.0
|
|
192
|
+
* @since JCR 2.0
|
|
193
|
+
* @since JCR 2.0
|
|
194
|
+
* @since JCR 2.0
|
|
195
|
+
* @since JCR 2.0
|
|
196
|
+
* @since JCR 2.0
|
|
197
|
+
* @since JCR 2.0
|
|
198
|
+
* @since JCR 2.0
|
|
199
|
+
* @since JCR 2.0
|
|
200
|
+
* @since JCR 2.0
|
|
201
|
+
* @since JCR 2.0
|
|
202
|
+
* @since JCR 2.0
|
|
203
|
+
*/
|
|
204
|
+
export type Property = {
|
|
329
205
|
/**
|
|
330
206
|
* Sets the value of this property to <code>value</code>. If this property's
|
|
331
207
|
* property type is not constrained by the node type of its parent node,
|
|
@@ -796,6 +672,4 @@ interface Property {
|
|
|
796
672
|
* @throws RepositoryException if an error occurs.
|
|
797
673
|
*/
|
|
798
674
|
isMultiple(): boolean;
|
|
799
|
-
}
|
|
800
|
-
|
|
801
|
-
export default Property;
|
|
675
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
setValue: function setValue() {},
|
|
9
|
+
getValue: function getValue() {},
|
|
10
|
+
getValues: function getValues() {},
|
|
11
|
+
getString: function getString() {},
|
|
12
|
+
getStream: function getStream() {},
|
|
13
|
+
getBinary: function getBinary() {},
|
|
14
|
+
getLong: function getLong() {},
|
|
15
|
+
getDouble: function getDouble() {},
|
|
16
|
+
getDecimal: function getDecimal() {},
|
|
17
|
+
getDate: function getDate() {},
|
|
18
|
+
getBoolean: function getBoolean() {},
|
|
19
|
+
getNode: function getNode() {},
|
|
20
|
+
getProperty: function getProperty() {},
|
|
21
|
+
getLength: function getLength() {},
|
|
22
|
+
getLengths: function getLengths() {},
|
|
23
|
+
getDefinition: function getDefinition() {},
|
|
24
|
+
getType: function getType() {},
|
|
25
|
+
isMultiple: function isMultiple() {}
|
|
26
|
+
};
|
|
27
|
+
exports["default"] = _default;
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import Property from "../Property";
|
|
1
|
+
import type { Property } from "../Property";
|
|
2
|
+
import type { RangeIterator } from "../RangeIterator";
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* Allows easy iteration through a list of <code>Property</code>s with
|
|
5
|
-
* <code>nextProperty</code> as well as a <code>skip</code> method.
|
|
6
|
+
* <code>nextProperty</code> as well as a <code>skip</code> method.
|
|
6
7
|
|
|
7
8
|
*/
|
|
8
|
-
|
|
9
|
+
export type PropertyIterator = {
|
|
9
10
|
/**
|
|
10
11
|
* Returns the next <code>Property</code> in the iteration.
|
|
11
12
|
* @return the next <code>Property</code> in the iteration.
|
|
12
13
|
* @throws java.util.NoSuchElementException if iteration has no more <code>Property</code>s.
|
|
13
14
|
*/
|
|
14
15
|
nextProperty(): Property;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export default PropertyIterator;
|
|
16
|
+
};
|
|
@@ -2,33 +2,10 @@
|
|
|
2
2
|
* Extends <code>Iterator</code> with the <code>skip</code>,
|
|
3
3
|
* <code>getSize</code> and <code>getPosition</code> methods. The base interface
|
|
4
4
|
* of all type-specific iterators in the <code>javax.jcr</code> and its sub
|
|
5
|
-
* packages.
|
|
6
|
-
*
|
|
7
|
-
* <p>
|
|
8
|
-
* <strong>Sitevision note:</strong> Unsupported operation
|
|
9
|
-
* </p>Returns the total number of of items available through this iterator. For
|
|
10
|
-
* example, for some node <code>N</code>, <code>N.getNodes().getSize()</code>
|
|
11
|
-
* returns the number of child nodes of <code>N</code> visible through the
|
|
12
|
-
* current <code>Session</code>. In some implementations precise information
|
|
13
|
-
* about the number of elements may not be available. In such cases this
|
|
14
|
-
* method must return -1.
|
|
15
|
-
*
|
|
16
|
-
* <p>
|
|
17
|
-
* <strong>Sitevision note:</strong> Returns -1 as of Sitevision 3.6. Denoted as 'Unsupported operation'
|
|
18
|
-
* in prior releases (i.e. throws UnsupportedOperationException).
|
|
19
|
-
* </p>Returns the current position within the iterator. The number returned is
|
|
20
|
-
* the 0-based index of the next element in the iterator, i.e. the one that
|
|
21
|
-
* will be returned on the subsequent <code>next</code> call.
|
|
22
|
-
* <p>
|
|
23
|
-
* Note that this method does not check if there is a next element, i.e. an
|
|
24
|
-
* empty iterator will always return 0.
|
|
25
|
-
*
|
|
26
|
-
* <p>
|
|
27
|
-
* <strong>Sitevision note:</strong> Unsupported operation
|
|
28
|
-
* </p>
|
|
5
|
+
* packages.
|
|
29
6
|
|
|
30
7
|
*/
|
|
31
|
-
|
|
8
|
+
export type RangeIterator = {
|
|
32
9
|
/**
|
|
33
10
|
* Skip a number of elements in the iterator.
|
|
34
11
|
*
|
|
@@ -70,6 +47,4 @@ interface RangeIterator {
|
|
|
70
47
|
* @return a long
|
|
71
48
|
*/
|
|
72
49
|
getPosition(): number;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export default RangeIterator;
|
|
50
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
skip: function skip() {},
|
|
9
|
+
getSize: function getSize() {},
|
|
10
|
+
getPosition: function getPosition() {}
|
|
11
|
+
};
|
|
12
|
+
exports["default"] = _default;
|
|
@@ -1,64 +1,10 @@
|
|
|
1
|
-
import Value from "../Value";
|
|
2
|
-
import Credentials from "../Credentials";
|
|
1
|
+
import type { Value } from "../Value";
|
|
2
|
+
import type { Credentials } from "../Credentials";
|
|
3
3
|
import Session from "../../../../server/Session";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The entry point into the content repository. The <code>Repository</code>
|
|
7
|
-
* object is usually acquired through the {@link RepositoryFactory}.
|
|
8
|
-
* implementation, both the standard descriptors defined by the string
|
|
9
|
-
* constants in this interface and any implementation-specific descriptors.
|
|
10
|
-
* Used in conjunction with {@link #getDescriptorValue(String key)} and
|
|
11
|
-
* {@link #getDescriptorValues(String key)} to query information about this
|
|
12
|
-
* repository implementation.Returns <code>true</code> if <code>key</code> is a standard descriptor
|
|
13
|
-
* defined by the string constants in this interface and <code>false</code>
|
|
14
|
-
* if it is either a valid implementation-specific key or not a valid key.
|
|
15
|
-
*
|
|
16
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>true</code> if <code>key</code> is a valid single-value
|
|
17
|
-
* descriptor; otherwise returns <code>false</code>.
|
|
18
|
-
*
|
|
19
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>The value of a single-value descriptor is found by passing the key for
|
|
20
|
-
* that descriptor to this method. If <code>key</code> is the key of a
|
|
21
|
-
* multi-value descriptor or not a valid key this method returns
|
|
22
|
-
* <code>null</code>.
|
|
23
|
-
*
|
|
24
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>The value array of a multi-value descriptor is found by passing the key
|
|
25
|
-
* for that descriptor to this method. If <code>key</code> is the key of a
|
|
26
|
-
* single-value descriptor then this method returns that value as an array
|
|
27
|
-
* of size one. If <code>key</code> is not a valid key this method returns
|
|
28
|
-
* <code>null</code>.
|
|
29
|
-
*
|
|
30
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p><p> A convenience method. The call <p> <code>String s =
|
|
31
|
-
* repository.getDescriptor(key);</code> <p> is equivalent to
|
|
32
|
-
* <p>
|
|
33
|
-
* <code>Value v = repository.getDescriptorValue(key);<br>String s = (v ==
|
|
34
|
-
* null) ? null : v.getString();</code>Authenticates the user using the supplied <code>credentials</code>. If
|
|
35
|
-
* <code>workspaceName</code> is recognized as the name of an existing
|
|
36
|
-
* workspace in the repository and authorization to access that workspace is
|
|
37
|
-
* granted, then a new <code>Session</code> object is returned. The format
|
|
38
|
-
* of the string <code>workspaceName</code> depends upon the
|
|
39
|
-
* implementation.
|
|
40
|
-
* <p>
|
|
41
|
-
* If <code>credentials</code> is <code>null</code>, it is assumed that
|
|
42
|
-
* authentication is handled by a mechanism external to the repository
|
|
43
|
-
* itself (for example, through the JAAS framework) and that the repository
|
|
44
|
-
* implementation exists within a context (for example, an application
|
|
45
|
-
* server) that allows it to handle authorization of the request for access
|
|
46
|
-
* to the specified workspace.
|
|
47
|
-
* <p>
|
|
48
|
-
* If <code>workspaceName</code> is <code>null</code>, a default workspace
|
|
49
|
-
* is automatically selected by the repository implementation. This may, for
|
|
50
|
-
* example, be the "home workspace" of the user whose credentials were
|
|
51
|
-
* passed, though this is entirely up to the configuration and
|
|
52
|
-
* implementation of the repository. Alternatively, it may be a "null
|
|
53
|
-
* workspace" that serves only to provide the method {@link
|
|
54
|
-
* Workspace#getAccessibleWorkspaceNames}, allowing the client to select
|
|
55
|
-
* from among available "real" workspaces.
|
|
56
|
-
*
|
|
57
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Equivalent to <code>login(credentials, null)</code>.
|
|
58
|
-
*
|
|
59
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Equivalent to <code>login(null, workspaceName)</code>.
|
|
60
|
-
*
|
|
61
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Equivalent to <code>login(null, null)</code>.The descriptor key for the version of the specification that this
|
|
7
|
+
* object is usually acquired through the {@link RepositoryFactory}.The descriptor key for the version of the specification that this
|
|
62
8
|
* repository implements. For JCR 2.0 the value of this descriptor is the
|
|
63
9
|
* <code>String</code> "2.0".The descriptor key for the name of the specification that this repository
|
|
64
10
|
* implements. For JCR 2.0 the value of this descriptor is the
|
|
@@ -174,9 +120,56 @@ import Session from "../../../../server/Session";
|
|
|
174
120
|
* (deprecated) JCR 1.0 XPath query language is supported. If JCR 1.0 XPath
|
|
175
121
|
* is supported then this descriptor has the same semantics as in JCR 1.0.
|
|
176
122
|
* This constant is deprecated.
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
123
|
+
* @since JCR 2.0
|
|
124
|
+
* @since JCR 2.0
|
|
125
|
+
* @since JCR 2.0
|
|
126
|
+
* @since JCR 2.0
|
|
127
|
+
* @since JCR 2.0
|
|
128
|
+
* @since JCR 2.0
|
|
129
|
+
* @since JCR 2.0
|
|
130
|
+
* @since JCR 2.0
|
|
131
|
+
* @since JCR 2.0
|
|
132
|
+
* @since JCR 2.0
|
|
133
|
+
* @since JCR 2.0
|
|
134
|
+
* @since JCR 2.0
|
|
135
|
+
* @since JCR 2.0
|
|
136
|
+
* @since JCR 2.0
|
|
137
|
+
* @since JCR 2.0
|
|
138
|
+
* @since JCR 2.0
|
|
139
|
+
* @since JCR 2.0
|
|
140
|
+
* @since JCR 2.0
|
|
141
|
+
* @since JCR 2.0
|
|
142
|
+
* @since JCR 2.0
|
|
143
|
+
* @since JCR 2.0
|
|
144
|
+
* @since JCR 2.0
|
|
145
|
+
* @since JCR 2.0
|
|
146
|
+
* @since JCR 2.0
|
|
147
|
+
* @since JCR 2.0
|
|
148
|
+
* @since JCR 2.0
|
|
149
|
+
* @since JCR 2.0
|
|
150
|
+
* @since JCR 2.0
|
|
151
|
+
* @since JCR 2.0
|
|
152
|
+
* @since JCR 2.0
|
|
153
|
+
* @since JCR 2.0
|
|
154
|
+
* @since JCR 2.0
|
|
155
|
+
* @since JCR 2.0
|
|
156
|
+
* @since JCR 2.0
|
|
157
|
+
* @since JCR 2.0
|
|
158
|
+
* @since JCR 2.0
|
|
159
|
+
* @since JCR 2.0
|
|
160
|
+
* @since JCR 2.0
|
|
161
|
+
* @since JCR 2.0
|
|
162
|
+
* @since JCR 2.0
|
|
163
|
+
* @since JCR 2.0
|
|
164
|
+
* @since JCR 2.0
|
|
165
|
+
* @since JCR 2.0
|
|
166
|
+
* @deprecated As of JCR 2.0.
|
|
167
|
+
* @deprecated As of JCR 2.0.
|
|
168
|
+
* @deprecated As of JCR 2.0.
|
|
169
|
+
* @deprecated As of JCR 2.0.
|
|
170
|
+
* @deprecated As of JCR 2.0.
|
|
171
|
+
*/
|
|
172
|
+
export type Repository = {
|
|
180
173
|
/**
|
|
181
174
|
* Returns a string array holding all descriptor keys available for this
|
|
182
175
|
* implementation, both the standard descriptors defined by the string
|
|
@@ -313,6 +306,4 @@ interface Repository {
|
|
|
313
306
|
* @throws RepositoryException if another error occurs.
|
|
314
307
|
*/
|
|
315
308
|
login(): Session;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
export default Repository;
|
|
309
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
getDescriptorKeys: function getDescriptorKeys() {},
|
|
9
|
+
isStandardDescriptor: function isStandardDescriptor() {},
|
|
10
|
+
isSingleValueDescriptor: function isSingleValueDescriptor() {},
|
|
11
|
+
getDescriptorValue: function getDescriptorValue() {},
|
|
12
|
+
getDescriptorValues: function getDescriptorValues() {},
|
|
13
|
+
getDescriptor: function getDescriptor() {},
|
|
14
|
+
login: function login() {}
|
|
15
|
+
};
|
|
16
|
+
exports["default"] = _default;
|