@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
|
@@ -1,73 +1,13 @@
|
|
|
1
|
-
import Lock from "../Lock";
|
|
1
|
+
import type { Lock } from "../Lock";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* This interface encapsulates methods for the management of locks.
|
|
5
5
|
*
|
|
6
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
7
|
-
* Holding a lock token makes the current <code>Session</code> the owner of
|
|
8
|
-
* the lock specified by that particular lock token.Returns the <code>Lock</code> object that applies to the node at the
|
|
9
|
-
* specified <code>absPath</code>. This may be either a lock on that node
|
|
10
|
-
* itself or a deep lock on a node above that node.
|
|
11
|
-
* <p>Returns an array containing all lock tokens currently held by the current
|
|
12
|
-
* <code>Session</code>. Note that any such tokens will represent
|
|
13
|
-
* open-scoped locks, since session-scoped locks do not have tokens.Returns <code>true</code> if the node at <code>absPath</code> holds a
|
|
14
|
-
* lock; otherwise returns <code>false</code>. To <i>hold</i> a lock means
|
|
15
|
-
* that this node has actually had a lock placed on it specifically, as
|
|
16
|
-
* opposed to just having a lock <i>apply</i> to it due to a deep lock held
|
|
17
|
-
* by a node above.<p> Places a lock on the node at <code>absPath</code>. If successful,
|
|
18
|
-
* the node is said to <i>hold</i> the lock. <p> If <code>isDeep</code> is
|
|
19
|
-
* <code>true</code> then the lock applies to the specified node and all its
|
|
20
|
-
* descendant nodes; if <code>false</code>, the lock applies only to the
|
|
21
|
-
* specified node. On a successful lock, the <code>jcr:lockIsDeep</code>
|
|
22
|
-
* property of the locked node is set to this value. <p> If
|
|
23
|
-
* <code>isSessionScoped</code> is <code>true</code> then this lock will
|
|
24
|
-
* expire upon the expiration of the current session (either through an
|
|
25
|
-
* automatic or explicit <code>Session.logout</code>); if false, this lock
|
|
26
|
-
* does not expire until it is explicitly unlocked, it times out, or it is
|
|
27
|
-
* automatically unlocked due to a implementation-specific limitation. <p>
|
|
28
|
-
* The timeout parameter specifies the number of seconds until the lock
|
|
29
|
-
* times out (if it is not refreshed with <code>Lock.refresh</code> in the
|
|
30
|
-
* meantime). An implementation may use this information as a hint or ignore
|
|
31
|
-
* it altogether. Clients can discover the actual timeout by inspecting the
|
|
32
|
-
* returned <code>Lock</code> object. <p> The <code>ownerInfo</code>
|
|
33
|
-
* parameter can be used to pass a string holding owner information relevant
|
|
34
|
-
* to the client. An implementation may either use or ignore this parameter.
|
|
35
|
-
* If it uses the parameter it must set the <code>jcr:lockOwner</code>
|
|
36
|
-
* property of the locked node to this value and return this value on
|
|
37
|
-
* <code>Lock.getLockOwner</code>. If it ignores this parameter the
|
|
38
|
-
* <code>jcr:lockOwner</code> property (and the value returned by
|
|
39
|
-
* <code>Lock.getLockOwner</code>) is set to either the value returned by
|
|
40
|
-
* <code>Session.getUserID</code> of the owning session or an
|
|
41
|
-
* implementation-specific string identifying the owner. <p> The method
|
|
42
|
-
* returns a <code>Lock</code> object representing the new lock. If the lock
|
|
43
|
-
* is open-scoped the returned lock will include a lock token. The lock
|
|
44
|
-
* token is also automatically added to the set of lock tokens held by the
|
|
45
|
-
* current session. <p> The addition or change of the properties
|
|
46
|
-
* <code>jcr:lockIsDeep</code> and <code>jcr:lockOwner</code> are persisted
|
|
47
|
-
* immediately; there is no need to call <code>save</code>. <p> It is
|
|
48
|
-
* possible to lock a node even if it is checked-in.Returns <code>true</code> if the node at <code>absPath</code> is locked
|
|
49
|
-
* either as a result of a lock held by that node or by a deep lock on a
|
|
50
|
-
* node above that node; otherwise returns <code>false</code>.Removes the specified lock token from this <code>Session</code>.Removes the lock on the node at <code>absPath</code>. Also removes the
|
|
51
|
-
* properties <code>jcr:lockOwner</code> and <code>jcr:lockIsDeep</code>
|
|
52
|
-
* from that node. As well, the corresponding lock token is removed from the
|
|
53
|
-
* set of lock tokens held by the current <code>Session</code>.
|
|
54
|
-
* <p>
|
|
55
|
-
* If the node does not currently hold a lock or holds a lock for which this
|
|
56
|
-
* <code>Session</code> is not the owner and is not a "lock-superuser", then
|
|
57
|
-
* a <code>LockException</code> is thrown. Note that the system may give
|
|
58
|
-
* permission to a non-owning session to unlock a lock. Typically, such
|
|
59
|
-
* "lock-superuser" capability is intended to facilitate administrational
|
|
60
|
-
* clean-up of orphaned open-scoped locks.
|
|
61
|
-
* <p>
|
|
62
|
-
* Note that it is possible to unlock a node even if it is checked-in (the
|
|
63
|
-
* lock-related properties will be changed despite the checked-in status).
|
|
64
|
-
* <p>
|
|
65
|
-
* If the current session does not have sufficient privileges to remove the
|
|
66
|
-
* lock, an <code>AccessDeniedException</code> is thrown.
|
|
6
|
+
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
67
7
|
* @since Sitevision 3.5
|
|
68
8
|
* @since JCR 2.0
|
|
69
9
|
*/
|
|
70
|
-
|
|
10
|
+
export type LockManager = {
|
|
71
11
|
/**
|
|
72
12
|
* Adds the specified lock token to the current <code>Session</code>.
|
|
73
13
|
* Holding a lock token makes the current <code>Session</code> the owner of
|
|
@@ -212,6 +152,4 @@ interface LockManager {
|
|
|
212
152
|
* @throws RepositoryException if another error occurs.
|
|
213
153
|
*/
|
|
214
154
|
unlock(absPath: string): void;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
export default LockManager;
|
|
155
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
addLockToken: function addLockToken() {},
|
|
9
|
+
getLock: function getLock() {},
|
|
10
|
+
getLockTokens: function getLockTokens() {},
|
|
11
|
+
holdsLock: function holdsLock() {},
|
|
12
|
+
lock: function lock() {},
|
|
13
|
+
isLocked: function isLocked() {},
|
|
14
|
+
removeLockToken: function removeLockToken() {},
|
|
15
|
+
unlock: function unlock() {}
|
|
16
|
+
};
|
|
17
|
+
exports["default"] = _default;
|
|
@@ -1,97 +1,10 @@
|
|
|
1
|
-
import NodeType from "../NodeType";
|
|
1
|
+
import type { NodeType } from "../NodeType";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Superclass of {@link NodeDefinition} and {@link PropertyDefinition}.
|
|
5
|
-
* <code>ItemDefinition</code>.
|
|
6
|
-
* <p>
|
|
7
|
-
* In implementations that support node type registration an
|
|
8
|
-
* <code>ItemDefinition</code> object may be acquired (in the form of a
|
|
9
|
-
* <code>NodeDefinitionTemplate</code> or <code>PropertyDefinitionTemplate</code>)
|
|
10
|
-
* that is not attached to a live <code>NodeType</code>. In such cases this
|
|
11
|
-
* method returns <code>null</code>.
|
|
12
|
-
*
|
|
13
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Gets the name of the child item. If <code>"*"</code>, this
|
|
14
|
-
* <code>ItemDefinition</code> defines a residual set of child items. That
|
|
15
|
-
* is, it defines the characteristics of all those child items with names
|
|
16
|
-
* apart from the names explicitly used in other child item definitions.
|
|
17
|
-
* <p>
|
|
18
|
-
* In implementations that support node type registration, if this
|
|
19
|
-
* <code>ItemDefinition</code> object is actually a newly-created empty
|
|
20
|
-
* <code>PropertyDefinitionTemplate</code> or <code>NodeDefinitionTemplate</code>,
|
|
21
|
-
* then this method will return <code>null</code>.
|
|
22
|
-
*
|
|
23
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Reports whether the item is to be automatically created when its parent
|
|
24
|
-
* node is created. If <code>true</code>, then this <code>ItemDefinition</code>
|
|
25
|
-
* will necessarily not be a residual set definition but will specify an
|
|
26
|
-
* actual item name (in other words getName() will not return "*").
|
|
27
|
-
* <p>
|
|
28
|
-
* An autocreated non-protected item must be created immediately when its
|
|
29
|
-
* parent node is created in the transient session space. Creation of
|
|
30
|
-
* autocreated non-protected items is never delayed until
|
|
31
|
-
* <code>save</code>.
|
|
32
|
-
* </p>
|
|
33
|
-
* <p>
|
|
34
|
-
* An autocreated protected item should be created immediately when its
|
|
35
|
-
* parent node is created in the transient session space. Creation of
|
|
36
|
-
* autocreated protected items should not be delayed until
|
|
37
|
-
* <code>save</code>, though doing so does not violate JCR compliance.
|
|
38
|
-
* <p>
|
|
39
|
-
* In implementations that support node type registration, if this
|
|
40
|
-
* <code>ItemDefinition</code> object is actually a newly-created empty
|
|
41
|
-
* <code>PropertyDefinitionTemplate</code> or <code>NodeDefinitionTemplate</code>,
|
|
42
|
-
* then this method will return <code>false</code>.
|
|
43
|
-
*
|
|
44
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Reports whether the item is mandatory. A mandatory item is one that, if
|
|
45
|
-
* its parent node exists, must also exist.
|
|
46
|
-
* <p>
|
|
47
|
-
* This means that a mandatory single-value property must have a value
|
|
48
|
-
* (since there is no such thing a <code>null</code> value). In the case of
|
|
49
|
-
* multi-value properties this means that the property must exist, though it
|
|
50
|
-
* can have zero or more values.
|
|
51
|
-
* <p>
|
|
52
|
-
* An attempt to save a node that has a mandatory child item without first
|
|
53
|
-
* creating that child item will throw a <code>ConstraintViolationException</code>
|
|
54
|
-
* on <code>save</code>.
|
|
55
|
-
* <p>
|
|
56
|
-
* In implementations that support node type registration, if this
|
|
57
|
-
* <code>ItemDefinition</code> object is actually a newly-created empty
|
|
58
|
-
* <code>PropertyDefinitionTemplate</code> or <code>NodeDefinitionTemplate</code>,
|
|
59
|
-
* then this method will return <code>false</code>.
|
|
60
|
-
* <p>
|
|
61
|
-
* An item definition cannot be both residual and mandatory.
|
|
62
|
-
*
|
|
63
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Gets the <code>OnParentVersion </code> status of the child item. This
|
|
64
|
-
* governs what occurs (in implementations that support versioning) when the
|
|
65
|
-
* parent node of this item is checked-in. One of: <ul>
|
|
66
|
-
* <li><code>OnParentVersionAction.COPY</code></li> <li><code>OnParentVersionAction.VERSION</code></li>
|
|
67
|
-
* <li><code>OnParentVersionAction.IGNORE</code></li>
|
|
68
|
-
* <li><code>OnParentVersionAction.INITIALIZE</code></li>
|
|
69
|
-
* <li><code>OnParentVersionAction.COMPUTE</code></li>
|
|
70
|
-
* <li><code>OnParentVersionAction.ABORT</code></li> </ul>
|
|
71
|
-
* <p>
|
|
72
|
-
* In implementations that support node type registration, if this
|
|
73
|
-
* <code>ItemDefinition</code> object is actually a newly-created empty
|
|
74
|
-
* <code>PropertyDefinitionTemplate</code> or <code>NodeDefinitionTemplate</code>,
|
|
75
|
-
* then this method will return <code>OnParentVersionAction.COPY</code>.
|
|
76
|
-
*
|
|
77
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Reports whether the child item is protected. In level 2 implementations,
|
|
78
|
-
* a protected item is one that cannot be removed (except by removing its
|
|
79
|
-
* parent) or modified through the the standard write methods of this API
|
|
80
|
-
* (that is, <code>Item.remove</code>, <code>Node.addNode</code>,
|
|
81
|
-
* <code>Node.setProperty</code> and <code>Property.setValue</code>).
|
|
82
|
-
* <p>
|
|
83
|
-
* A protected node may be removed or modified (in a level 2
|
|
84
|
-
* implementation), however, through some mechanism not defined by this
|
|
85
|
-
* specification or as a side-effect of operations other than the standard
|
|
86
|
-
* write methods of the API.
|
|
87
|
-
* <p>
|
|
88
|
-
* In implementations that support node type registration, if this
|
|
89
|
-
* <code>ItemDefinition</code> object is actually a newly-created empty
|
|
90
|
-
* <code>PropertyDefinitionTemplate</code> or <code>NodeDefinitionTemplate</code>,
|
|
91
|
-
* then this method will return <code>false</code>.
|
|
4
|
+
* Superclass of {@link NodeDefinition} and {@link PropertyDefinition}.
|
|
92
5
|
|
|
93
6
|
*/
|
|
94
|
-
|
|
7
|
+
export type ItemDefinition = {
|
|
95
8
|
/**
|
|
96
9
|
* Gets the node type that contains the declaration of <i>this</i>
|
|
97
10
|
* <code>ItemDefinition</code>.
|
|
@@ -214,6 +127,4 @@ interface ItemDefinition {
|
|
|
214
127
|
* @return a <code>boolean</code>.
|
|
215
128
|
*/
|
|
216
129
|
isProtected(): boolean;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
export default ItemDefinition;
|
|
130
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
getDeclaringNodeType: function getDeclaringNodeType() {},
|
|
9
|
+
getName: function getName() {},
|
|
10
|
+
isAutoCreated: function isAutoCreated() {},
|
|
11
|
+
isMandatory: function isMandatory() {},
|
|
12
|
+
getOnParentVersion: function getOnParentVersion() {},
|
|
13
|
+
isProtected: function isProtected() {}
|
|
14
|
+
};
|
|
15
|
+
exports["default"] = _default;
|
|
@@ -1,69 +1,13 @@
|
|
|
1
|
-
import NodeType from "../NodeType";
|
|
1
|
+
import type { NodeType } from "../NodeType";
|
|
2
|
+
|
|
3
|
+
import type { ItemDefinition } from "../ItemDefinition";
|
|
2
4
|
|
|
3
5
|
/**
|
|
4
|
-
* A node definition. Used in node type definitions.
|
|
5
|
-
* Returns an array to support those implementations with multiple
|
|
6
|
-
* inheritance. This method never returns an empty array. If this node
|
|
7
|
-
* definition places no requirements on the primary node type, then this
|
|
8
|
-
* method will return an array containing only the <code>NodeType</code>
|
|
9
|
-
* object representing <code>nt:base</code>, which is the base of all
|
|
10
|
-
* primary node types and therefore constitutes the least restrictive node
|
|
11
|
-
* type requirement. Note that any particular node instance still has only
|
|
12
|
-
* one assigned primary node type, but in multiple-inheritance-supporting
|
|
13
|
-
* implementations the <code>RequiredPrimaryTypes</code> attribute can be
|
|
14
|
-
* used to restrict that assigned node type to be a subtype of <i>all</i> of
|
|
15
|
-
* a specified set of node types.
|
|
16
|
-
* <p>
|
|
17
|
-
* In implementations that support node type registration an
|
|
18
|
-
* <code>NodeDefinition</code> object may be acquired (in the form of a
|
|
19
|
-
* <code>NodeDefinitionTemplate</code>) that is not attached to a live
|
|
20
|
-
* <code>NodeType</code>. In such cases this method returns
|
|
21
|
-
* <code>null</code>.Returns the names of the required primary node types.
|
|
22
|
-
* <p>
|
|
23
|
-
* If this <code>NodeDefinition</code> is acquired from a live
|
|
24
|
-
* <code>NodeType</code> this list will reflect the node types returned by
|
|
25
|
-
* <code>getRequiredPrimaryTypes</code>, above.
|
|
26
|
-
* <p>
|
|
27
|
-
* If this <code>NodeDefinition</code> is actually a
|
|
28
|
-
* <code>NodeDefinitionTemplate</code> that is not part of a registered node
|
|
29
|
-
* type, then this method will return the required primary types as set in
|
|
30
|
-
* that template. If that template is a newly-created empty one, then this
|
|
31
|
-
* method will return <code>null</code>.Gets the default primary node type that will be assigned to the child
|
|
32
|
-
* node if it is created without an explicitly specified primary node type.
|
|
33
|
-
* This node type must be a subtype of (or the same type as) the node types
|
|
34
|
-
* returned by <code>getRequiredPrimaryTypes</code>.
|
|
35
|
-
* <p>
|
|
36
|
-
* If <code>null</code> is returned this indicates that no default primary
|
|
37
|
-
* type is specified and that therefore an attempt to create this node
|
|
38
|
-
* without specifying a node type will throw a <code>ConstraintViolationException</code>.
|
|
39
|
-
* <p>
|
|
40
|
-
* In implementations that support node type registration an
|
|
41
|
-
* <code>NodeDefinition</code> object may be acquired (in the form of a
|
|
42
|
-
* <code>NodeDefinitionTemplate</code>) that is not attached to a live
|
|
43
|
-
* <code>NodeType</code>. In such cases this method returns
|
|
44
|
-
* <code>null</code>.Returns the name of the default primary node type.
|
|
45
|
-
* <p>
|
|
46
|
-
* If this <code>NodeDefinition</code> is acquired from a live
|
|
47
|
-
* <code>NodeType</code> this list will reflect the NodeType returned by
|
|
48
|
-
* getDefaultPrimaryType, above.
|
|
49
|
-
* <p>
|
|
50
|
-
* If this <code>NodeDefinition</code> is actually a
|
|
51
|
-
* <code>NodeDefinitionTemplate</code> that is not part of a registered node
|
|
52
|
-
* type, then this method will return the required primary types as set in
|
|
53
|
-
* that template. If that template is a newly-created empty one, then this
|
|
54
|
-
* method will return <code>null</code>.Reports whether this child node can have same-name siblings. In other
|
|
55
|
-
* words, whether the parent node can have more than one child node of this
|
|
56
|
-
* name.
|
|
57
|
-
* <p>
|
|
58
|
-
* If this <code>NodeDefinition</code> is actually a
|
|
59
|
-
* <code>NodeDefinitionTemplate</code> that is not part of a registered node
|
|
60
|
-
* type, then this method will return the same name siblings status as set
|
|
61
|
-
* in that template. If that template is a newly-created empty one, then
|
|
62
|
-
* this method will return <code>false</code>.
|
|
6
|
+
* A node definition. Used in node type definitions.
|
|
63
7
|
* @see NodeType#getChildNodeDefinitions
|
|
64
8
|
* @see javax.jcr.Node#getDefinition
|
|
65
9
|
*/
|
|
66
|
-
|
|
10
|
+
export type NodeDefinition = {
|
|
67
11
|
/**
|
|
68
12
|
* Gets the minimum set of primary node types that the child node must have.
|
|
69
13
|
* Returns an array to support those implementations with multiple
|
|
@@ -153,6 +97,4 @@ interface NodeDefinition {
|
|
|
153
97
|
* @return a boolean.
|
|
154
98
|
*/
|
|
155
99
|
allowsSameNameSiblings(): boolean;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
export default NodeDefinition;
|
|
100
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
getRequiredPrimaryTypes: function getRequiredPrimaryTypes() {},
|
|
9
|
+
getRequiredPrimaryTypeNames: function getRequiredPrimaryTypeNames() {},
|
|
10
|
+
getDefaultPrimaryType: function getDefaultPrimaryType() {},
|
|
11
|
+
getDefaultPrimaryTypeName: function getDefaultPrimaryTypeName() {},
|
|
12
|
+
allowsSameNameSiblings: function allowsSameNameSiblings() {}
|
|
13
|
+
};
|
|
14
|
+
exports["default"] = _default;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { NodeDefinition } from "../NodeDefinition";
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* The <code>NodeDefinitionTemplate</code> interface extends
|
|
3
5
|
* <code>NodeDefinition</code> with the addition of write methods, enabling the
|
|
@@ -9,13 +11,10 @@
|
|
|
9
11
|
* <code>NodeDefinitionTemplate</code> is created (as opposed to one extracted
|
|
10
12
|
* from an existing <code>NodeType</code>).
|
|
11
13
|
*
|
|
12
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
13
|
-
* qualified or expanded form.Sets the auto-create status of the node.Sets the mandatory status of the node.Sets the on-parent-version status of the node.Sets the protected status of the node.Sets the names of the required primary types of this node.
|
|
14
|
-
* These must be a JCR names in either qualified or expanded form.Sets the name of the default primary type of this node.
|
|
15
|
-
* This must be a JCR name in either qualified or expanded form.Sets the same-name sibling status of this node.
|
|
14
|
+
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
16
15
|
* @since JCR 2.0
|
|
17
16
|
*/
|
|
18
|
-
|
|
17
|
+
export type NodeDefinitionTemplate = {
|
|
19
18
|
/**
|
|
20
19
|
* Sets the name of the node. This must be a JCR name in either
|
|
21
20
|
* qualified or expanded form.
|
|
@@ -69,6 +68,4 @@ interface NodeDefinitionTemplate {
|
|
|
69
68
|
* @param allowSameNameSiblings a <code>boolean</code>.
|
|
70
69
|
*/
|
|
71
70
|
setSameNameSiblings(allowSameNameSiblings: boolean): void;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export default NodeDefinitionTemplate;
|
|
71
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
setName: function setName() {},
|
|
9
|
+
setAutoCreated: function setAutoCreated() {},
|
|
10
|
+
setMandatory: function setMandatory() {},
|
|
11
|
+
setOnParentVersion: function setOnParentVersion() {},
|
|
12
|
+
setProtected: function setProtected() {},
|
|
13
|
+
setRequiredPrimaryTypeNames: function setRequiredPrimaryTypeNames() {},
|
|
14
|
+
setDefaultPrimaryTypeName: function setDefaultPrimaryTypeName() {},
|
|
15
|
+
setSameNameSiblings: function setSameNameSiblings() {}
|
|
16
|
+
};
|
|
17
|
+
exports["default"] = _default;
|
|
@@ -1,69 +1,13 @@
|
|
|
1
|
-
import NodeTypeIterator from "../NodeTypeIterator";
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import type { NodeTypeIterator } from "../NodeTypeIterator";
|
|
2
|
+
|
|
3
|
+
import type { PropertyDefinition } from "../PropertyDefinition";
|
|
4
|
+
import type { NodeDefinition } from "../NodeDefinition";
|
|
5
|
+
import type { Value } from "../../Value";
|
|
6
|
+
import type { NodeTypeDefinition } from "../NodeTypeDefinition";
|
|
5
7
|
|
|
6
8
|
/**
|
|
7
9
|
* A <code>NodeType</code> object represents a "live" node type that is
|
|
8
|
-
* registered in the repository.
|
|
9
|
-
* hierarchy. For primary types apart from <code>nt:base</code>, this list
|
|
10
|
-
* will always include at least <code>nt:base</code>. For mixin types, there
|
|
11
|
-
* is no required supertype.
|
|
12
|
-
*
|
|
13
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the <i>direct</i> supertypes of this node type in the node type
|
|
14
|
-
* inheritance hierarchy, that is, those actually declared in this node
|
|
15
|
-
* type. In single-inheritance systems, this will always be an array of size
|
|
16
|
-
* 0 or 1. In systems that support multiple inheritance of node types this
|
|
17
|
-
* array may be of size greater than 1.
|
|
18
|
-
*
|
|
19
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns all subtypes of this node type in the node type inheritance
|
|
20
|
-
* hierarchy.
|
|
21
|
-
*
|
|
22
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the <i>direct</i> subtypes of this node type in the node type
|
|
23
|
-
* inheritance hierarchy, that is, those which actually declared this node
|
|
24
|
-
* type in their list of supertypes.
|
|
25
|
-
*
|
|
26
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>true</code> if the name of <i>this</i> node type or any of
|
|
27
|
-
* its direct or indirect supertypes is equal to <code>nodeTypeName</code>,
|
|
28
|
-
* otherwise returns <code>false</code>.Returns an array containing the property definitions of this node type.
|
|
29
|
-
* This includes both those property definitions actually declared in this
|
|
30
|
-
* node type and those inherited from the supertypes of this type.
|
|
31
|
-
*
|
|
32
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns an array containing the child node definitions of this node type.
|
|
33
|
-
* This includes both those child node definitions actually declared in this
|
|
34
|
-
* node type and those inherited from the supertypes of this node type.
|
|
35
|
-
*
|
|
36
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>true</code> if setting <code>propertyName</code> to
|
|
37
|
-
* <code>value</code> is allowed by this node type. Otherwise returns
|
|
38
|
-
* <code>false</code>.
|
|
39
|
-
*
|
|
40
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>true</code> if setting <code>propertyName</code> to
|
|
41
|
-
* <code>values</code> is allowed by this node type. Otherwise returns
|
|
42
|
-
* <code>false</code>.
|
|
43
|
-
*
|
|
44
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>true</code> if this node type allows the addition of a
|
|
45
|
-
* child node called <code>childNodeName</code> without specific node type
|
|
46
|
-
* information (that is, given the definition of this parent node type, the
|
|
47
|
-
* child node name is sufficient to determine the intended child node type).
|
|
48
|
-
* Returns <code>false</code> otherwise.
|
|
49
|
-
*
|
|
50
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>true</code> if this node type allows the addition of a
|
|
51
|
-
* child node called <code>childNodeName</code> of node type
|
|
52
|
-
* <code>nodeTypeName</code>. Returns <code>false</code> otherwise.
|
|
53
|
-
*
|
|
54
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>true</code> if removing the child item called
|
|
55
|
-
* <code>itemName</code> is allowed by this node type. Returns
|
|
56
|
-
* <code>false</code> otherwise.
|
|
57
|
-
*
|
|
58
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>true</code> if removing the child node called
|
|
59
|
-
* <code>nodeName</code> is allowed by this node type. Returns
|
|
60
|
-
* <code>false</code> otherwise.
|
|
61
|
-
*
|
|
62
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>true</code> if removing the property called
|
|
63
|
-
* <code>propertyName</code> is allowed by this node type. Returns
|
|
64
|
-
* <code>false</code> otherwise.
|
|
65
|
-
*
|
|
66
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>A constant for the node type name <code>nt:base</code> (in expanded
|
|
10
|
+
* registered in the repository.A constant for the node type name <code>nt:base</code> (in expanded
|
|
67
11
|
* form). Constants for the names of the properties declared by
|
|
68
12
|
* <code>nt:base</code> are: <ul> <li>{@link javax.jcr.Property#JCR_PRIMARY_TYPE}</li>
|
|
69
13
|
* <li>{@link javax.jcr.Property#JCR_MIXIN_TYPES}</li> </ul>A constant for the node type name <code>nt:hierarchyNode</code> (in
|
|
@@ -178,9 +122,37 @@ import Value from "../../Value";
|
|
|
178
122
|
* form). Constants for the names of the properties declared by
|
|
179
123
|
* <code>nt:query</code> are: <ul> <li>{@link javax.jcr.Property#JCR_STATEMENT}</li>
|
|
180
124
|
* <li>{@link javax.jcr.Property#JCR_LANGUAGE}</li> </ul>
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
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
|
+
*/
|
|
155
|
+
export type NodeType = {
|
|
184
156
|
/**
|
|
185
157
|
* Returns all supertypes of this node type in the node type inheritance
|
|
186
158
|
* hierarchy. For primary types apart from <code>nt:base</code>, this list
|
|
@@ -344,6 +316,4 @@ interface NodeType {
|
|
|
344
316
|
* @since JCR 2.0
|
|
345
317
|
*/
|
|
346
318
|
canRemoveProperty(propertyName: string): boolean;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
export default NodeType;
|
|
319
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
getSupertypes: function getSupertypes() {},
|
|
9
|
+
getDeclaredSupertypes: function getDeclaredSupertypes() {},
|
|
10
|
+
getSubtypes: function getSubtypes() {},
|
|
11
|
+
getDeclaredSubtypes: function getDeclaredSubtypes() {},
|
|
12
|
+
isNodeType: function isNodeType() {},
|
|
13
|
+
getPropertyDefinitions: function getPropertyDefinitions() {},
|
|
14
|
+
getChildNodeDefinitions: function getChildNodeDefinitions() {},
|
|
15
|
+
canSetProperty: function canSetProperty() {},
|
|
16
|
+
canAddChildNode: function canAddChildNode() {},
|
|
17
|
+
canRemoveItem: function canRemoveItem() {},
|
|
18
|
+
canRemoveNode: function canRemoveNode() {},
|
|
19
|
+
canRemoveProperty: function canRemoveProperty() {}
|
|
20
|
+
};
|
|
21
|
+
exports["default"] = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import PropertyDefinition from "../PropertyDefinition";
|
|
2
|
-
import NodeDefinition from "../NodeDefinition";
|
|
1
|
+
import type { PropertyDefinition } from "../PropertyDefinition";
|
|
2
|
+
import type { NodeDefinition } from "../NodeDefinition";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The <code>NodeTypeDefinition</code> interface provides methods for
|
|
@@ -11,93 +11,10 @@ import NodeDefinition from "../NodeDefinition";
|
|
|
11
11
|
* implementations that support node type registration. In those cases it serves
|
|
12
12
|
* as the superclass of both <code>NodeType</code> and <code>NodeTypeTemplate</code>.
|
|
13
13
|
* In implementations that do not support node type registration, only objects
|
|
14
|
-
* implementing the subinterface <code>NodeType</code> will be encountered.
|
|
15
|
-
* <p>
|
|
16
|
-
* In implementations that support node type registration, if this
|
|
17
|
-
* <code>NodeTypeDefinition</code> object is actually a newly-created empty
|
|
18
|
-
* <code>NodeTypeTemplate</code>, then this method will return
|
|
19
|
-
* <code>null</code>.Returns the names of the supertypes actually declared in this node type.
|
|
20
|
-
* <p>
|
|
21
|
-
* In implementations that support node type registration, if this
|
|
22
|
-
* <code>NodeTypeDefinition</code> object is actually a newly-created empty
|
|
23
|
-
* <code>NodeTypeTemplate</code>, then this method will return an empty array.
|
|
24
|
-
*
|
|
25
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>true</code> if this is an abstract node type; returns
|
|
26
|
-
* <code>false</code> otherwise.
|
|
27
|
-
* <p>
|
|
28
|
-
* An abstract node type is one that cannot be assigned as the primary or
|
|
29
|
-
* mixin type of a node but can be used in the definitions of other node
|
|
30
|
-
* types as a superclass.
|
|
31
|
-
* <p>
|
|
32
|
-
* In implementations that support node type registration, if this
|
|
33
|
-
* <code>NodeTypeDefinition</code> object is actually a newly-created empty
|
|
34
|
-
* <code>NodeTypeTemplate</code>, then this method will return
|
|
35
|
-
* <code>false</code>.Returns <code>true</code> if this is a mixin type; returns
|
|
36
|
-
* <code>false</code> if it is primary.
|
|
37
|
-
* <p>
|
|
38
|
-
* In implementations that support node type registration, if this
|
|
39
|
-
* <code>NodeTypeDefinition</code> object is actually a newly-created empty
|
|
40
|
-
* <code>NodeTypeTemplate</code>, then this method will return
|
|
41
|
-
* <code>false</code>.Returns <code>true</code> if nodes of this type must support orderable
|
|
42
|
-
* child nodes; returns <code>false</code> otherwise. If a node type returns
|
|
43
|
-
* <code>true</code> on a call to this method, then all nodes of that node
|
|
44
|
-
* type <i>must</i> support the method <code>Node.orderBefore</code>. If a
|
|
45
|
-
* node type returns <code>false</code> on a call to this method, then nodes
|
|
46
|
-
* of that node type <i>may</i> support <code>Node.orderBefore</code>. Only
|
|
47
|
-
* the primary node type of a node controls that node's status in this
|
|
48
|
-
* regard. This setting on a mixin node type will not have any effect on the
|
|
49
|
-
* node.
|
|
50
|
-
* <p>
|
|
51
|
-
* In implementations that support node type registration, if this
|
|
52
|
-
* <code>NodeTypeDefinition</code> object is actually a newly-created empty
|
|
53
|
-
* <code>NodeTypeTemplate</code>, then this method will return
|
|
54
|
-
* <code>false</code>.
|
|
55
|
-
*
|
|
56
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>true</code> if the node type is queryable, meaning that the
|
|
57
|
-
* available-query-operators, full-text-searchable and query-orderable
|
|
58
|
-
* attributes of its property definitions take effect. See {@link
|
|
59
|
-
* javax.jcr.nodetype.PropertyDefinition#getAvailableQueryOperators()},
|
|
60
|
-
* {@link javax.jcr.nodetype.PropertyDefinition#isFullTextSearchable()} and
|
|
61
|
-
* {@link javax.jcr.nodetype.PropertyDefinition#isQueryOrderable()}.
|
|
62
|
-
* <p>
|
|
63
|
-
* If a node type is declared non-queryable then these attributes of its
|
|
64
|
-
* property definitions have no effect.
|
|
65
|
-
* <p>
|
|
66
|
-
* In implementations that support node type registration, if this
|
|
67
|
-
* <code>NodeTypeDefinition</code> object is actually a newly-created empty
|
|
68
|
-
* <code>NodeTypeTemplate</code>, then this method will return
|
|
69
|
-
* an implementation-determined defalt value.
|
|
70
|
-
*
|
|
71
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the name of the primary item (one of the child items of the nodes
|
|
72
|
-
* of this node type). If this node has no primary item, then this method
|
|
73
|
-
* returns <code>null</code>. This indicator is used by the method
|
|
74
|
-
* <code>Node.getPrimaryItem()</code>.
|
|
75
|
-
* <p>
|
|
76
|
-
* In implementations that support node type registration, if this
|
|
77
|
-
* <code>NodeTypeDefinition</code> object is actually a newly-created empty
|
|
78
|
-
* <code>NodeTypeTemplate</code>, then this method will return
|
|
79
|
-
* <code>null</code>.
|
|
80
|
-
*
|
|
81
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns an array containing the property definitions actually declared in
|
|
82
|
-
* this node type.
|
|
83
|
-
* <p>
|
|
84
|
-
* In implementations that support node type registration, if this
|
|
85
|
-
* <code>NodeTypeDefinition</code> object is actually a newly-created empty
|
|
86
|
-
* <code>NodeTypeTemplate</code>, then this method will return
|
|
87
|
-
* <code>null</code>.
|
|
88
|
-
*
|
|
89
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns an array containing the child node definitions actually declared
|
|
90
|
-
* in this node type.
|
|
91
|
-
* <p>
|
|
92
|
-
* In implementations that support node type registration, if this
|
|
93
|
-
* <code>NodeTypeDefinition</code> object is actually a newly-created empty
|
|
94
|
-
* <code>NodeTypeTemplate</code>, then this method will return
|
|
95
|
-
* <code>null</code>.
|
|
96
|
-
*
|
|
97
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
14
|
+
* implementing the subinterface <code>NodeType</code> will be encountered.
|
|
98
15
|
* @since JCR 2.0
|
|
99
16
|
*/
|
|
100
|
-
|
|
17
|
+
export type NodeTypeDefinition = {
|
|
101
18
|
/**
|
|
102
19
|
* Returns the name of the node type.
|
|
103
20
|
* <p>
|
|
@@ -243,6 +160,4 @@ interface NodeTypeDefinition {
|
|
|
243
160
|
* @since JCR 2.0 moved here from JCR 1.0 <code>NodeType</code>.
|
|
244
161
|
*/
|
|
245
162
|
getDeclaredChildNodeDefinitions(): NodeDefinition;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
export default NodeTypeDefinition;
|
|
163
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
getName: function getName() {},
|
|
9
|
+
getDeclaredSupertypeNames: function getDeclaredSupertypeNames() {},
|
|
10
|
+
isAbstract: function isAbstract() {},
|
|
11
|
+
isMixin: function isMixin() {},
|
|
12
|
+
hasOrderableChildNodes: function hasOrderableChildNodes() {},
|
|
13
|
+
isQueryable: function isQueryable() {},
|
|
14
|
+
getPrimaryItemName: function getPrimaryItemName() {},
|
|
15
|
+
getDeclaredPropertyDefinitions: function getDeclaredPropertyDefinitions() {},
|
|
16
|
+
getDeclaredChildNodeDefinitions: function getDeclaredChildNodeDefinitions() {}
|
|
17
|
+
};
|
|
18
|
+
exports["default"] = _default;
|