@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,1027 +1,19 @@
|
|
|
1
|
-
import Value from "../Value";
|
|
2
|
-
import Property from "../Property";
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
1
|
+
import type { Value } from "../Value";
|
|
2
|
+
import type { Property } from "../Property";
|
|
3
|
+
|
|
4
|
+
import type { Binary } from "../Binary";
|
|
5
|
+
|
|
6
|
+
import type { NodeIterator } from "../NodeIterator";
|
|
7
|
+
import type { PropertyIterator } from "../PropertyIterator";
|
|
8
|
+
import type { Item } from "../Item";
|
|
9
|
+
import type { NodeType } from "../nodetype/NodeType";
|
|
10
|
+
import type { NodeDefinition } from "../nodetype/NodeDefinition";
|
|
11
|
+
import type { Version } from "../version/Version";
|
|
12
|
+
import type { VersionHistory } from "../version/VersionHistory";
|
|
13
|
+
import type { Lock } from "../lock/Lock";
|
|
12
14
|
|
|
13
15
|
/**
|
|
14
|
-
* The <code>Node</code> interface represents a node in a workspace.
|
|
15
|
-
* <p>
|
|
16
|
-
* This is <i>session-write</i> method, meaning that the addition of the new
|
|
17
|
-
* node is dispatch upon {@link Session#save}.
|
|
18
|
-
* <p>
|
|
19
|
-
* The <code>relPath</code> provided must not have an index on its final
|
|
20
|
-
* element, otherwise a Repository
|
|
21
|
-
* <p>
|
|
22
|
-
* If ordering is supported by the node type of the parent node of the new
|
|
23
|
-
* node then the new node is appended to the end of the child node list.
|
|
24
|
-
* <p>
|
|
25
|
-
* The new node's primary node type will be determined by the child node
|
|
26
|
-
* definitions in the node types of its parent. This may occur either
|
|
27
|
-
* immediately, on dispatch (save, whether within or without transactions)
|
|
28
|
-
* or on persist (save without transactions, commit within a transaction),
|
|
29
|
-
* depending on the implementation.
|
|
30
|
-
* <p>
|
|
31
|
-
* An <code>ItemExistsException</code> will be thrown either immediately, on
|
|
32
|
-
* dispatch (save, whether within or without transactions) or on persist
|
|
33
|
-
* (save without transactions, commit within a transaction), if an item at
|
|
34
|
-
* the specified path already exists and same-name siblings are not allowed.
|
|
35
|
-
* Implementations may differ on when this validation is performed.
|
|
36
|
-
* <p>
|
|
37
|
-
* A <code>PathNotFoundException</code> will be thrown either immediately,
|
|
38
|
-
* on dispatch (save, whether within or without transactions) or on persist
|
|
39
|
-
* (save without transactions, commit within a transaction), if the
|
|
40
|
-
* specified path implies intermediary nodes that do not exist.
|
|
41
|
-
* Implementations may differ on when this validation is performed.
|
|
42
|
-
* <p>
|
|
43
|
-
* A <code>ConstraintViolationException</code> will be thrown either
|
|
44
|
-
* immediately, on dispatch (save, whether within or without transactions)
|
|
45
|
-
* or on persist (save without transactions, commit within a transaction),
|
|
46
|
-
* if adding the node would violate a node type or implementation-specific
|
|
47
|
-
* constraint or if an attempt is made to add a node as the child of a
|
|
48
|
-
* property. Implementations may differ on when this validation is
|
|
49
|
-
* performed.
|
|
50
|
-
* <p>
|
|
51
|
-
* A <code>VersionException</code> will be thrown either immediately, on
|
|
52
|
-
* dispatch (save, whether within or without transactions) or on persist
|
|
53
|
-
* (save without transactions, commit within a transaction), if the node to
|
|
54
|
-
* which the new child is being added is read-only due to a checked-in node.
|
|
55
|
-
* Implementations may differ on when this validation is performed.
|
|
56
|
-
* <p>
|
|
57
|
-
* A <code>LockException</code> will be thrown either immediately, on
|
|
58
|
-
* dispatch (save, whether within or without transactions) or on persist
|
|
59
|
-
* (save without transactions, commit within a transaction), if a lock
|
|
60
|
-
* prevents the addition of the node. Implementations may differ on when
|
|
61
|
-
* this validation is performed.
|
|
62
|
-
*
|
|
63
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Creates a new node at <code>relPath</code> of the specified node type.
|
|
64
|
-
* The behavior of this method is identical to {@link #addNode(String
|
|
65
|
-
* relPath)} except that the primary node type of the new node is explicitly
|
|
66
|
-
* specified.
|
|
67
|
-
*
|
|
68
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>If this node supports child node ordering, this method inserts the child
|
|
69
|
-
* node at <code>srcChildRelPath</code> into the child node list at the
|
|
70
|
-
* position immediately the child node at <code>destChildRelPath</code>.
|
|
71
|
-
* <p>
|
|
72
|
-
* To place the node <code>srcChildRelPath</code> at the end of the list, a
|
|
73
|
-
* <code>destChildRelPath</code> of <code>null</code> is used.
|
|
74
|
-
* <p>
|
|
75
|
-
* Note that (apart from the case where <code>destChildRelPath</code> is
|
|
76
|
-
* <code>null</code>) both of these arguments must be relative paths of
|
|
77
|
-
* depth one, in other words they are the names of the child nodes, possibly
|
|
78
|
-
* suffixed with an index.
|
|
79
|
-
* <p>
|
|
80
|
-
* If <code>srcChildRelPath</code> and <code>destChildRelPath</code> are the
|
|
81
|
-
* same, then no change is made.
|
|
82
|
-
* <p>
|
|
83
|
-
* This is session-write method, meaning that a change made by this method
|
|
84
|
-
* is dispatched on <code>save</code>
|
|
85
|
-
* <p>
|
|
86
|
-
* A <code>ConstraintViolationException</code> will be thrown either
|
|
87
|
-
* immediately, on dispatch (save whether within or without transactions) or
|
|
88
|
-
* on persist (save without transactions, commit within a transaction), if
|
|
89
|
-
* this operation would violate a node type or implementation-specific
|
|
90
|
-
* constraint. Implementations may differ on when this validation is
|
|
91
|
-
* performed.
|
|
92
|
-
* <p>
|
|
93
|
-
* A <code>VersionException</code> will be thrown either immediately, on
|
|
94
|
-
* dispatch (save whether within or without transactions) or on persist
|
|
95
|
-
* (save without transactions, commit within a transaction), if this node is
|
|
96
|
-
* read-only due to it or a node above it being checked-in Implementations
|
|
97
|
-
* may differ on when this validation is performed.
|
|
98
|
-
* <p>
|
|
99
|
-
* A <code>LockException</code> will be thrown either immediately (by this
|
|
100
|
-
* method), or on <code>save</code>, if a lock prevents the re-ordering.
|
|
101
|
-
* Implementations may differ on when this validation is performed.
|
|
102
|
-
*
|
|
103
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Sets the single-value property of this node called <code>name</code> to
|
|
104
|
-
* the specified <code>value</code>.
|
|
105
|
-
* <p>
|
|
106
|
-
* If the property does not yet exist, it is created and its property type
|
|
107
|
-
* determined by the by the node type of this node. If, based on the
|
|
108
|
-
* <code>name</code> and <code>value</code> passed, there is more than one
|
|
109
|
-
* property definition that applies, the repository chooses one definition
|
|
110
|
-
* according to some implementation-specific criteria. Once a property with
|
|
111
|
-
* name <code>P</code> has been created, the behavior of a subsequent
|
|
112
|
-
* <code>setProperty(P,V)</code> may differ across implementations. Some
|
|
113
|
-
* repositories may allow <code>P</code> to be dynamically re-bound to a
|
|
114
|
-
* different property definition (based for example, on the new value being
|
|
115
|
-
* of a different type than the original value) while other repositories may
|
|
116
|
-
* not allow such dynamic re-binding.
|
|
117
|
-
* <p>
|
|
118
|
-
* If the property type of the supplied <code>Value</code> object is
|
|
119
|
-
* different from that required, then a best-effort conversion is
|
|
120
|
-
* attempted.
|
|
121
|
-
* <p>
|
|
122
|
-
* If the node type of this node does not indicate a specific property type,
|
|
123
|
-
* then the property type of the supplied <code>Value</code> object is used
|
|
124
|
-
* and if the property already exists it assumes both the new value and new
|
|
125
|
-
* property type.
|
|
126
|
-
* <p>
|
|
127
|
-
* Passing a <code>null</code> as the second parameter removes the property.
|
|
128
|
-
* It is equivalent to calling <code>remove</code> on the
|
|
129
|
-
* <code>Property</code> object itself.
|
|
130
|
-
* <p>
|
|
131
|
-
* This is a session-write method, meaning that changes made through this
|
|
132
|
-
* method are dispatched on {@link Session#save}.
|
|
133
|
-
* <p>
|
|
134
|
-
* A <code>ConstraintViolationException</code> will be thrown either
|
|
135
|
-
* immediately, on dispatch (save whether within or without transactions) or
|
|
136
|
-
* on persist (save without transactions, commit within a transaction), if
|
|
137
|
-
* the change would violate a node type or implementation-specific
|
|
138
|
-
* constraint. Implementations may differ on when this validation is
|
|
139
|
-
* performed.
|
|
140
|
-
* <p>
|
|
141
|
-
* A <code>VersionException</code> will be thrown either immediately, on
|
|
142
|
-
* dispatch (save whether within or without transactions) or on persist
|
|
143
|
-
* (save without transactions, commit within a transaction), if this node is
|
|
144
|
-
* read-only due to a checked-in node. Implementations may differ on when
|
|
145
|
-
* this validation is performed.
|
|
146
|
-
* <p>
|
|
147
|
-
* A <code>LockException</code> will be thrown either immediately, on
|
|
148
|
-
* dispatch (save whether within or without transactions) or on persist
|
|
149
|
-
* (save without transactions, commit within a transaction), if a lock
|
|
150
|
-
* prevents the setting of the property. Implementations may differ on when
|
|
151
|
-
* this validation is performed.
|
|
152
|
-
*
|
|
153
|
-
* <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
|
|
154
|
-
* <code>sv:simpleUser</code></p>Sets the single-value property of this node called <code>name</code> to
|
|
155
|
-
* the specified <code>value</code> and the specified <code>type</code>.
|
|
156
|
-
* <p>
|
|
157
|
-
* The behavior of this method is identical to that of {@link
|
|
158
|
-
* #setProperty(String name, Value value)} except that the intended property
|
|
159
|
-
* type is explicitly specified.
|
|
160
|
-
* <p>
|
|
161
|
-
* If the property does not yet exist, it is created. If the property
|
|
162
|
-
* already exists it assumes both the new value and the new property type.
|
|
163
|
-
*
|
|
164
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Sets the multi-value property of this node called <code>name</code> to
|
|
165
|
-
* the specified array of values.
|
|
166
|
-
* <p>
|
|
167
|
-
* If the property does not yet exist, it is created.
|
|
168
|
-
* <p>
|
|
169
|
-
* The behavior of this method is identical to that of {@link
|
|
170
|
-
* #setProperty(String name, Value value)} except that an array of
|
|
171
|
-
* <code>Value</code> objects is assigned instead of a single
|
|
172
|
-
* <code>Value</code>.
|
|
173
|
-
* <p>
|
|
174
|
-
* The property type of the property will be that specified by the node type
|
|
175
|
-
* of this node. If the property type of one or more of the supplied
|
|
176
|
-
* <code>Value</code> objects is different from that required, then a
|
|
177
|
-
* best-effort conversion is attempted, according to an
|
|
178
|
-
* implemention-dependent definition of "best effort". If the conversion
|
|
179
|
-
* fails, a <code>ValueFormatException</code> is thrown.
|
|
180
|
-
* <p>
|
|
181
|
-
* If the property is not multi-valued then a <code>ValueFormatException</code>
|
|
182
|
-
* is also thrown. If another error occurs, a <code>RepositoryException</code>
|
|
183
|
-
* is thrown.
|
|
184
|
-
* <p>
|
|
185
|
-
* If the node type of this node does not indicate a specific property type,
|
|
186
|
-
* then the property type of the supplied <code>Value</code> objects is used
|
|
187
|
-
* and if the property already exists it assumes both the new values and the
|
|
188
|
-
* new property type.
|
|
189
|
-
* <p>
|
|
190
|
-
* Passing a <code>null</code> as the second parameter removes the property.
|
|
191
|
-
* It is equivalent to calling <code>remove</code> on the
|
|
192
|
-
* <code>Property</code> object itself. Note that this is different from
|
|
193
|
-
* passing an array that contains <code>null</code> elements. In such a
|
|
194
|
-
* case, the array is compacted by removing the <code>null</code> values.
|
|
195
|
-
* The resulting set of values never contains a null. However, the set may
|
|
196
|
-
* be empty: <code>N.setProperty("P", new Value[]{null})</code> would set
|
|
197
|
-
* the property to the empty set of values.
|
|
198
|
-
*
|
|
199
|
-
* <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
|
|
200
|
-
* <code>sv:simpleUser</code></p>Sets the multi-value property of this node called <code>name</code> to
|
|
201
|
-
* the specified array of values.
|
|
202
|
-
* <p>
|
|
203
|
-
* The behavior of this method is identical to that of {@link
|
|
204
|
-
* #setProperty(String name, Value[] values)} except that the type of the
|
|
205
|
-
* property is explicitly specified.
|
|
206
|
-
* <p>
|
|
207
|
-
* If the property does not yet exist, it is created. The type of the
|
|
208
|
-
* property is determined by the <code>type</code> parameter specified.
|
|
209
|
-
* <p>
|
|
210
|
-
* If the property type of one or more of the supplied <code>Value</code>
|
|
211
|
-
* objects is different from that specified, then a best-effort conversion
|
|
212
|
-
* is attempted, according to an implemention-dependent definition of "best
|
|
213
|
-
* effort". If the conversion fails, a <code>ValueFormatException</code> is
|
|
214
|
-
* thrown.
|
|
215
|
-
* <p>
|
|
216
|
-
* If the property already exists it assumes both the new values and the new
|
|
217
|
-
* property type.
|
|
218
|
-
* </p>
|
|
219
|
-
*
|
|
220
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Sets the specified property to the specified array of values. Same as
|
|
221
|
-
* {@link #setProperty(String name, Value[] values)} except that the values
|
|
222
|
-
* are specified as <code>String</code> objects instead of
|
|
223
|
-
* <code>Value</code> objects.
|
|
224
|
-
*
|
|
225
|
-
* <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
|
|
226
|
-
* <code>sv:simpleUser</code></p>Sets the specified property to the specified array of values and to the
|
|
227
|
-
* specified type. Same as {@link #setProperty(String name, Value[] values,
|
|
228
|
-
* int type)} except that the values are specified as <code>String</code>
|
|
229
|
-
* objects instead of <code>Value</code> objects.
|
|
230
|
-
*
|
|
231
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Sets the specified single-value property to the specified value. The
|
|
232
|
-
* behavior of this method is identical to that of {@link
|
|
233
|
-
* #setProperty(String name, Value value)} except that the value is
|
|
234
|
-
* specified as a <code>String</code>. and, if possible, the type assigned
|
|
235
|
-
* to the property is <code>STRING</code>, otherwise a best-effort
|
|
236
|
-
* conversion is attempted.
|
|
237
|
-
*
|
|
238
|
-
* <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
|
|
239
|
-
* <code>sv:simpleUser</code></p>Sets the specified single-value property to the specified value. If the
|
|
240
|
-
* property does not yet exist, it is created.
|
|
241
|
-
* <p>
|
|
242
|
-
* The behavior of this method is identical to that of {@link
|
|
243
|
-
* #setProperty(String name, String value)} except that the intended type of
|
|
244
|
-
* the property is explicitly specified by the <code>type</code> parameter.The behavior of this method is identical to that of {@link
|
|
245
|
-
* #setProperty(String name, Value value)} except that the value is
|
|
246
|
-
* specified as a {@link InputStream} and, if possible, the type assigned to
|
|
247
|
-
* the property is <code>BINARY</code>, otherwise a best-effort conversion
|
|
248
|
-
* is attempted.
|
|
249
|
-
* <p>
|
|
250
|
-
* The passed stream is closed before this method returns either normally or
|
|
251
|
-
* because of an exception.
|
|
252
|
-
* <p>The behavior of this method is identical to that of {@link
|
|
253
|
-
* #setProperty(String name, Value value)} except that the value is
|
|
254
|
-
* specified as a {@link Binary} and, if possible, the type assigned to the
|
|
255
|
-
* property is <code>BINARY</code>, otherwise a best-effort conversion is
|
|
256
|
-
* attempted.
|
|
257
|
-
*
|
|
258
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>The behavior of this method is identical to that of {@link
|
|
259
|
-
* #setProperty(String name, Value value)} except that the value is
|
|
260
|
-
* specified as a <code>boolean</code> and, if possible, the type assigned
|
|
261
|
-
* to the property is <code>BOOLEAN</code>, otherwise a best-effort
|
|
262
|
-
* conversion is attempted.
|
|
263
|
-
*
|
|
264
|
-
* <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
|
|
265
|
-
* <code>sv:simpleUser</code></p>The behavior of this method is identical to that of {@link
|
|
266
|
-
* #setProperty(String name, Value value)} except that the value is
|
|
267
|
-
* specified as a <code>double</code> and, if possible, the type assigned to
|
|
268
|
-
* the property is <code>DOUBLE</code>, otherwise a best-effort conversion
|
|
269
|
-
* is attempted.
|
|
270
|
-
*
|
|
271
|
-
* <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
|
|
272
|
-
* <code>sv:simpleUser</code></p>The behavior of this method is identical to that of {@link
|
|
273
|
-
* #setProperty(String name, Value value)} except that the value is
|
|
274
|
-
* specified as a {@link BigDecimal} and, if possible, the type assigned to
|
|
275
|
-
* the property is <code>DECIMAL</code>, otherwise a best-effort conversion
|
|
276
|
-
* is attempted.
|
|
277
|
-
*
|
|
278
|
-
* <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
|
|
279
|
-
* <code>sv:simpleUser</code></p>The behavior of this method is identical to that of {@link
|
|
280
|
-
* #setProperty(String name, Value value)} except that the value is
|
|
281
|
-
* specified as a <code>long</code> and, if possible, the type assigned to
|
|
282
|
-
* the property is <code>LONG</code>, otherwise a best-effort conversion is
|
|
283
|
-
* attempted.
|
|
284
|
-
*
|
|
285
|
-
* <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
|
|
286
|
-
* <code>sv:simpleUser</code></p>The behavior of this method is identical to that of {@link
|
|
287
|
-
* #setProperty(String name, Value value)} except that the value is
|
|
288
|
-
* specified as a {@link Calendar} and, if possible, the type assigned to
|
|
289
|
-
* the property is <code>DATE</code>, otherwise a best-effort conversion is
|
|
290
|
-
* attempted.
|
|
291
|
-
*
|
|
292
|
-
* <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
|
|
293
|
-
* <code>sv:simpleUser</code></p>The behavior of this method is identical to that of {@link
|
|
294
|
-
* #setProperty(String name, Value value)} except that the value is
|
|
295
|
-
* specified as a {@link Node} and, if possible, the type assigned to the
|
|
296
|
-
* property is <code>REFERENCE</code> or <code>WEAKREFERENCE</code>,
|
|
297
|
-
* otherwise a best-effort conversion is attempted.
|
|
298
|
-
* <p>
|
|
299
|
-
* The value to which the property is set is the identifier of the passed
|
|
300
|
-
* node.
|
|
301
|
-
* <p>
|
|
302
|
-
* If the named property does not yet exist and the repository cannot
|
|
303
|
-
* determine whether a <code>REFERENCE</code> or <code>WEAKREFERENCE</code>
|
|
304
|
-
* property is intended, then a <code>REFERENCE</code> property is created.
|
|
305
|
-
*
|
|
306
|
-
* <p><strong>Sitevision note:</strong> Limited to nodes of primary {@link javax.jcr.nodetype.NodeType}
|
|
307
|
-
* <code>sv:simpleUser</code></p>Returns the node at <code>relPath</code> relative to this node.
|
|
308
|
-
* <p>
|
|
309
|
-
* If <code>relPath</code> contains a path element that refers to a node
|
|
310
|
-
* with same-name sibling nodes without explicitly including an index using
|
|
311
|
-
* the array-style notation (<code>[x]</code>), then the index [1] is
|
|
312
|
-
* assumed (indexing of same name siblings begins at 1, not 0, in order to
|
|
313
|
-
* preserve compatibility with XPath).
|
|
314
|
-
* <p>
|
|
315
|
-
* Within the scope of a single <code>Session</code> object, if a
|
|
316
|
-
* <code>Node</code> object has been acquired, any subsequent call of
|
|
317
|
-
* <code>getNode</code> reacquiring the same node must return a
|
|
318
|
-
* <code>Node</code> object reflecting the same state as the earlier
|
|
319
|
-
* <code>Node</code> object. Whether this object is actually the same
|
|
320
|
-
* <code>Node</code> instance, or simply one wrapping the same state, is up
|
|
321
|
-
* to the implementation.Returns all child nodes of this node accessible through the current
|
|
322
|
-
* <code>Session</code>. Does <i>not</i> include properties of this
|
|
323
|
-
* <code>Node</code>. The same reacquisition semantics apply as with {@link
|
|
324
|
-
* #getNode(String)}. If this node has no accessible child nodes, then an
|
|
325
|
-
* empty iterator is returned.Gets all child nodes of this node accessible through the current
|
|
326
|
-
* <code>Session</code> that match <code>namePattern</code>. The pattern may
|
|
327
|
-
* be a full name or a partial name with one or more wildcard characters
|
|
328
|
-
* ("<code>*</code>"), or a disjunction (using the "<code>|</code>"
|
|
329
|
-
* character to represent logical <code>OR</code>) of these. For example,
|
|
330
|
-
* <p>
|
|
331
|
-
* <code>N.getNodes("jcr:* | myapp:report | my doc")</code>
|
|
332
|
-
* <p>
|
|
333
|
-
* would return a <code>NodeIterator</code> holding all accessible child
|
|
334
|
-
* nodes of <code>N</code> that are either called '<code>myapp:report</code>',
|
|
335
|
-
* begin with the prefix '<code>jcr:</code>' or are called '<code>my
|
|
336
|
-
* doc</code>'.
|
|
337
|
-
* <p>
|
|
338
|
-
* The substrings within the pattern that are delimited by "<code>|</code>"
|
|
339
|
-
* characters and which may contain wildcard characters ("<code>*</code>")
|
|
340
|
-
* are called <i>globs</i>.
|
|
341
|
-
* <p>
|
|
342
|
-
* Note that leading and trailing whitespace around a glob is ignored, but
|
|
343
|
-
* whitespace within a disjunct forms part of the pattern to be matched.
|
|
344
|
-
* <p>
|
|
345
|
-
* The pattern is matched against the names (not the paths) of the immediate
|
|
346
|
-
* child nodes of this node.
|
|
347
|
-
* <p>
|
|
348
|
-
* If this node has no accessible matching child nodes, then an empty
|
|
349
|
-
* iterator is returned.
|
|
350
|
-
* <p>
|
|
351
|
-
* The same reacquisition semantics apply as with <code>{@link
|
|
352
|
-
* #getNode(String)}</code>.Gets all child nodes of this node accessible through the current
|
|
353
|
-
* <code>Session</code> that match one or more of the <code>nameGlob</code>
|
|
354
|
-
* strings in the passed array.
|
|
355
|
-
* <p>
|
|
356
|
-
* A glob may be a full name or a partial name with one or more wildcard
|
|
357
|
-
* characters ("<code>*</code>"). For example,
|
|
358
|
-
* <p>
|
|
359
|
-
* <code>N.getNodes(new String[] {"jcr:*", "myapp:report", "my
|
|
360
|
-
* doc"})</code>
|
|
361
|
-
* <p>
|
|
362
|
-
* would return a <code>NodeIterator</code> holding all accessible child
|
|
363
|
-
* nodes of <code>N</code> that are either called '<code>myapp:report</code>',
|
|
364
|
-
* begin with the prefix '<code>jcr:</code>' or are called '<code>my
|
|
365
|
-
* doc</code>'.
|
|
366
|
-
* <p>
|
|
367
|
-
* Note that unlike in the case of the {@link #getNodes(String)} leading and
|
|
368
|
-
* trailing whitespace around a glob is <i>not</i> ignored.
|
|
369
|
-
* <p>
|
|
370
|
-
* The globs are matched against the names (not the paths) of the immediate
|
|
371
|
-
* child nodes of this node.
|
|
372
|
-
* <p>
|
|
373
|
-
* If this node has no accessible matching child nodes, then an empty
|
|
374
|
-
* iterator is returned.
|
|
375
|
-
* <p>
|
|
376
|
-
* The same reacquisition semantics apply as with <code>{@link
|
|
377
|
-
* #getNode(String)}</code>.
|
|
378
|
-
*
|
|
379
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the property at <code>relPath</code> relative to
|
|
380
|
-
* <code>this</code> node. The same reacquisition semantics apply as with
|
|
381
|
-
* <code>{@link #getNode(String)}</code>.Returns all properties of this node accessible through the current
|
|
382
|
-
* <code>Session</code>. Does <i>not</i> include child <i>nodes</i> of this
|
|
383
|
-
* node. The same reacquisition semantics apply as with <code>{@link
|
|
384
|
-
* #getNode(String)}</code>. If this node has no accessible properties, then
|
|
385
|
-
* an empty iterator is returned.Gets all properties of this node accessible through the current
|
|
386
|
-
* <code>Session</code> that match <code>namePattern</code>.
|
|
387
|
-
*
|
|
388
|
-
* <p>The pattern may
|
|
389
|
-
* be a full name or a partial name with one or more wildcard characters
|
|
390
|
-
* ("<code>*</code>"), or a disjunction (using the "<code>|</code>"
|
|
391
|
-
* character to represent logical <code>OR</code>) of these. For example,
|
|
392
|
-
* </p><p>
|
|
393
|
-
* <code>N.getProperties("jcr:* | myapp:name | my doc")</code>
|
|
394
|
-
* </p><p>
|
|
395
|
-
* would return a <code>PropertyIterator</code> holding all accessible
|
|
396
|
-
* properties of <code>N</code> that are either called
|
|
397
|
-
* '<code>myapp:name</code>', begin with the prefix '<code>jcr:</code>' or
|
|
398
|
-
* are called '<code>my doc</code>'.
|
|
399
|
-
* </p><p>
|
|
400
|
-
* The substrings within the pattern that are delimited by "<code>|</code>"
|
|
401
|
-
* characters and which may contain wildcard characters ("<code>*</code>")
|
|
402
|
-
* are called <i>globs</i>.
|
|
403
|
-
* </p><p>
|
|
404
|
-
* Note that leading and trailing whitespace around a glob is ignored, but
|
|
405
|
-
* whitespace within a disjunct forms part of the pattern to be matched.
|
|
406
|
-
* </p><p>
|
|
407
|
-
* The pattern is matched against the names (not the paths) of the immediate
|
|
408
|
-
* child properties of this node.
|
|
409
|
-
* </p><p>
|
|
410
|
-
* If this node has no accessible matching properties, then an empty
|
|
411
|
-
* iterator is returned.
|
|
412
|
-
* </p><p>
|
|
413
|
-
* The same reacquisition semantics apply as with <code>{@link #getNode(String)}</code>.
|
|
414
|
-
* </p>Gets all properties of this node accessible through the current
|
|
415
|
-
* <code>Session</code> that match one or more of the <code>nameGlob</code>
|
|
416
|
-
* strings in the passed array.
|
|
417
|
-
* <p>
|
|
418
|
-
* A glob may be a full name or a partial name with one or more wildcard
|
|
419
|
-
* characters ("<code>*</code>"). For example,
|
|
420
|
-
* <p>
|
|
421
|
-
* <code>N.getProperties(new String[] {"jcr:*", "myapp:report", "my
|
|
422
|
-
* doc"})</code>
|
|
423
|
-
* <p>
|
|
424
|
-
* would return a <code>PropertyIterator</code> holding all accessible
|
|
425
|
-
* properties of <code>N</code> that are either called
|
|
426
|
-
* '<code>myapp:report</code>', begin with the prefix '<code>jcr:</code>' or
|
|
427
|
-
* are called '<code>my doc</code>'.
|
|
428
|
-
* <p>
|
|
429
|
-
* Note that unlike in the case of the {@link #getProperties(String)}
|
|
430
|
-
* leading and trailing whitespace around a glob is <i>not</i> ignored.
|
|
431
|
-
* <p>
|
|
432
|
-
* The globs are matched against the names (not the paths) of the properties
|
|
433
|
-
* of this node.
|
|
434
|
-
* <p>
|
|
435
|
-
* If this node has no accessible matching properties, then an empty
|
|
436
|
-
* iterator is returned.
|
|
437
|
-
* <p>
|
|
438
|
-
* The same reacquisition semantics apply as with <code>{@link
|
|
439
|
-
* #getProperty(String)}</code>.
|
|
440
|
-
*
|
|
441
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the primary child item of this node. The primary node type of
|
|
442
|
-
* this node may specify one child item (child node or property) of this
|
|
443
|
-
* node as the <i>primary child item</i>. This method returns that item.
|
|
444
|
-
* <p>
|
|
445
|
-
* In cases where the primary child item specifies the name of a set
|
|
446
|
-
* same-name sibling child nodes, the node returned will be the one among
|
|
447
|
-
* the same-name siblings with index [1].
|
|
448
|
-
* <p>
|
|
449
|
-
* The same reacquisition semantics apply as with <code>{@link
|
|
450
|
-
* #getNode(String)}</code>.
|
|
451
|
-
*
|
|
452
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the UUID of this node as recorded in this node's
|
|
453
|
-
* <code>jcr:uuid</code> property. This method only works on nodes of mixin
|
|
454
|
-
* node type <code>mix:referenceable</code>.
|
|
455
|
-
* <p>
|
|
456
|
-
* On nonreferenceable nodes, this method throws an <code>UnsupportedRepositoryOperationException</code>.
|
|
457
|
-
* To avoid throwing an exception to determine whether a node has a UUID, a
|
|
458
|
-
* call to {@link #isNodeType(String) isNodeType("mix:referenceable")} can
|
|
459
|
-
* be made.Returns the identifier of this node. Applies to both referenceable and
|
|
460
|
-
* non-referenceable nodes.
|
|
461
|
-
* <p>
|
|
462
|
-
* A <code>RepositoryException</code> is thrown if an error occurs.This method returns the index of this node within the ordered set of its
|
|
463
|
-
* same-name sibling nodes. This index is the one used to address same-name
|
|
464
|
-
* siblings using the square-bracket notation, e.g.,
|
|
465
|
-
* <code>/a[3]/b[4]</code>. Note that the index always starts at 1 (not 0),
|
|
466
|
-
* for compatibility with XPath. As a result, for nodes that do not have
|
|
467
|
-
* same-name-siblings, this method will always return 1.
|
|
468
|
-
*
|
|
469
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>This method returns all <code>REFERENCE</code> properties that refer to
|
|
470
|
-
* this node and that are accessible through the current
|
|
471
|
-
* <code>Session</code>. Equivalent to <code>Node.getReferences(null)</code>.
|
|
472
|
-
* <p>
|
|
473
|
-
* If this node has no referring <code>REFERENCE</code> properties, an
|
|
474
|
-
* empty iterator is returned. This includes the case where this node is not referenceable.
|
|
475
|
-
*
|
|
476
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>This method returns all <code>REFERENCE</code> properties that refer to
|
|
477
|
-
* this node, have the specified <code>name</code> and that are accessible
|
|
478
|
-
* through the current <code>Session</code>.
|
|
479
|
-
* <p>
|
|
480
|
-
* If the <code>name</code> parameter is <code>null</code> then all
|
|
481
|
-
* referring <code>REFERENCES</code> are returned regardless of name.
|
|
482
|
-
* <p>
|
|
483
|
-
* Some implementations may only return properties that have been persisted.
|
|
484
|
-
* Some may return both properties that have been persisted and those that
|
|
485
|
-
* have been dispatched but not persisted (for example, those saved within a
|
|
486
|
-
* transaction but not yet committed) while others implementations may
|
|
487
|
-
* return these two categories of property as well as properties that are
|
|
488
|
-
* still pending and not yet dispatched.
|
|
489
|
-
* <p>
|
|
490
|
-
* In implementations that support versioning, this method does not return
|
|
491
|
-
* properties that are part of the frozen state of a version in version
|
|
492
|
-
* storage.
|
|
493
|
-
* <p>
|
|
494
|
-
* If this node has no referring <code>REFERENCE</code> properties with the specified name, an
|
|
495
|
-
* empty iterator is returned. This includes the case where this node is not referenceable.
|
|
496
|
-
*
|
|
497
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>This method returns all <code>WEAKREFERENCE</code> properties that refer
|
|
498
|
-
* to this node and that are accessible through the current
|
|
499
|
-
* <code>Session</code>. Equivalent to <code>Node.getWeakReferences(null)</code>.
|
|
500
|
-
* <p>
|
|
501
|
-
* If this node has no referring <code>WEAKREFERENCE</code> properties, an
|
|
502
|
-
* empty iterator is returned. This includes the case where this node is not referenceable.
|
|
503
|
-
*
|
|
504
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>This method returns all <code>WEAKREFERENCE</code> properties that refer
|
|
505
|
-
* to this node, have the specified <code>name</code> and that are
|
|
506
|
-
* accessible through the current <code>Session</code>.
|
|
507
|
-
* <p>
|
|
508
|
-
* If the <code>name</code> parameter is <code>null</code> then all
|
|
509
|
-
* referring <code>WEAKREFERENCE</code> are returned regardless of name.
|
|
510
|
-
* <p>
|
|
511
|
-
* Some implementations may only return properties that have been persisted.
|
|
512
|
-
* Some may return both properties that have been persisted and those that
|
|
513
|
-
* have been dispatched but not persisted (for example, those saved within a
|
|
514
|
-
* transaction but not yet committed) while others implementations may
|
|
515
|
-
* return these two categories of property as well as properties that are
|
|
516
|
-
* still pending and not yet dispatched.
|
|
517
|
-
* <p>
|
|
518
|
-
* In implementations that support versioning, this method does not return
|
|
519
|
-
* properties that are part of the frozen state of a version in version
|
|
520
|
-
* storage.
|
|
521
|
-
* <p>
|
|
522
|
-
* If this node has no referring <code>WEAKREFERENCE</code> properties with the specified name, an
|
|
523
|
-
* empty iterator is returned. This includes the case where this node is not referenceable.
|
|
524
|
-
*
|
|
525
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Indicates whether a node exists at <code>relPath</code> Returns
|
|
526
|
-
* <code>true</code> if a node accessible through the current
|
|
527
|
-
* <code>Session</code> exists at <code>relPath</code> and
|
|
528
|
-
* <code>false</code> otherwise.Indicates whether a property exists at <code>relPath</code> Returns
|
|
529
|
-
* <code>true</code> if a property accessible through the current
|
|
530
|
-
* <code>Session</code> exists at <code>relPath</code> and
|
|
531
|
-
* <code>false</code> otherwise.Indicates whether this node has child nodes. Returns <code>true</code> if
|
|
532
|
-
* this node has one or more child nodes accessible through the current
|
|
533
|
-
* <code>Session</code>; <code>false</code> otherwise.Indicates whether this node has properties. Returns <code>true</code> if
|
|
534
|
-
* this node has one or more properties accessible through the current
|
|
535
|
-
* <code>Session</code>; <code>false</code> otherwise.Returns the primary node type in effect for this node. Which
|
|
536
|
-
* <code>NodeType</code> is returned when this method is called on the root
|
|
537
|
-
* node of a workspace is up to the implementation.Returns an array of <code>NodeType</code> objects representing the mixin
|
|
538
|
-
* node types in effect for this node. This includes only those mixin types
|
|
539
|
-
* explicitly assigned to this node. It does not include mixin types
|
|
540
|
-
* inherited through the addition of supertypes to the primary type
|
|
541
|
-
* hierarchy or through the addition of supertypes to the type hierarchy of
|
|
542
|
-
* any of the declared mixin types.Returns <code>true</code> if this node is of the specified primary node
|
|
543
|
-
* type or mixin type, or a subtype thereof. Returns <code>false</code>
|
|
544
|
-
* otherwise.
|
|
545
|
-
* <p>
|
|
546
|
-
* This method respects the effective node type of the node.Changes the primary node type of this node to <code>nodeTypeName</code>.
|
|
547
|
-
* Also immediately changes this node's <code>jcr:primaryType</code>
|
|
548
|
-
* property appropriately. Semantically, the new node type may take effect
|
|
549
|
-
* immediately or on dispatch but <i>must</i> take effect on persist. The
|
|
550
|
-
* behavior adopted must be the same as the behavior adopted for {@link
|
|
551
|
-
* #addMixin} and the behavior that occurs when a node is first created.
|
|
552
|
-
* <p>
|
|
553
|
-
* If the presence of an existing property or child node would cause an
|
|
554
|
-
* incompatibility with the new node type then a <code>ConstraintViolationException</code>
|
|
555
|
-
* is thrown either immediately, on dispatch or on persist.
|
|
556
|
-
* <p>
|
|
557
|
-
* If the new node type would cause this node to be incompatible with the
|
|
558
|
-
* node type of its parent then a <code>ConstraintViolationException</code>
|
|
559
|
-
* is thrown either immediately, on dispatch or on persist.
|
|
560
|
-
* <p>
|
|
561
|
-
* A <code>ConstraintViolationException</code> is also thrown either
|
|
562
|
-
* immediately, on dispatch or on persist if a conflict with an already
|
|
563
|
-
* assigned mixin occurs.
|
|
564
|
-
* <p>
|
|
565
|
-
* A <code>ConstraintViolationException</code> may also be thrown either
|
|
566
|
-
* immediately , on dispatch or on persist if the attempted change violates
|
|
567
|
-
* implementation-specific node type transition rules. A repository that
|
|
568
|
-
* disallows all primary node type changes would simple throw this exception
|
|
569
|
-
* in all cases.
|
|
570
|
-
* <p>
|
|
571
|
-
* If the specified node type is not recognized a <code>NoSuchNodeTypeException</code>
|
|
572
|
-
* is thrown either immediately, on dispatch or on persist.
|
|
573
|
-
* <p>
|
|
574
|
-
* A <code>VersionException</code> is thrown either immediately , on
|
|
575
|
-
* dispatch or on persist if this node is read-only dues to a check-in.
|
|
576
|
-
* <p>
|
|
577
|
-
* A <code>LockException</code> is thrown either immediately, on dispatch or
|
|
578
|
-
* on persist if a lock prevents the change of node type.
|
|
579
|
-
*
|
|
580
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Adds the mixin node type named <code>mixinName</code> to this node. If
|
|
581
|
-
* this node is already of type <code>mixinName</code> (either due to a
|
|
582
|
-
* previously added mixin or due to its primary type, through inheritance)
|
|
583
|
-
* then this method has no effect. Otherwise <code>mixinName</code> is added
|
|
584
|
-
* to this node's <code>jcr:mixinTypes</code> property.
|
|
585
|
-
* <p>
|
|
586
|
-
* Semantically, the new node type <i>may</i> take effect immediately, on
|
|
587
|
-
* dispatch or on persist. The behavior adopted must be the same as the
|
|
588
|
-
* behavior adopted for {@link #setPrimaryType} and the behavior that occurs
|
|
589
|
-
* when a node is first created.
|
|
590
|
-
* <p>
|
|
591
|
-
* A <code>ConstraintViolationException</code> is thrown either immediately,
|
|
592
|
-
* on dispatch or on persist, if a conflict with another assigned mixin or
|
|
593
|
-
* the primary node type or for an implementation-specific reason.
|
|
594
|
-
* Implementations may differ on when this validation is done.
|
|
595
|
-
* <p>
|
|
596
|
-
* In some implementations it may only be possible to add mixin types before
|
|
597
|
-
* a a node is persisted <i>for the first time</i>. I such cases any later
|
|
598
|
-
* calls to <code>addMixin</code> will throw a <code>ConstraintViolationException</code>
|
|
599
|
-
* either immediately, on dispatch or on persist.
|
|
600
|
-
* <p>
|
|
601
|
-
* A <code>NoSuchNodeTypeException</code> is thrown either immediately, on
|
|
602
|
-
* dispatch or on persist, if the specified <code>mixinName</code> is not
|
|
603
|
-
* recognized. Implementations may differ on when this validation is done.
|
|
604
|
-
* <p>
|
|
605
|
-
* A <code>VersionException</code> is thrown either immediately, on dispatch
|
|
606
|
-
* or on persist, if this node is read-only due to a checked-in node.
|
|
607
|
-
* Implementations may differ on when this validation is done.
|
|
608
|
-
* <p>
|
|
609
|
-
* A <code>LockException</code> is thrown either immediately, on dispatch or
|
|
610
|
-
* on persist, if a lock prevents the addition of the mixin. Implementations
|
|
611
|
-
* may differ on when this validation is done.
|
|
612
|
-
*
|
|
613
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Removes the specified mixin node type from this node and removes
|
|
614
|
-
* <code>mixinName</code> from this node's <code>jcr:mixinTypes</code>
|
|
615
|
-
* property. Both the semantic change in effective node type and the
|
|
616
|
-
* persistence of the change to the <code>jcr:mixinTypes</code> property
|
|
617
|
-
* occur on persist.
|
|
618
|
-
* <p>
|
|
619
|
-
* If this node does not have the specified mixin, a
|
|
620
|
-
* <code>NoSuchNodeTypeException</code> is thrown either immediately, on
|
|
621
|
-
* dispatch or on persist. Implementations may differ on when this
|
|
622
|
-
* validation is done.
|
|
623
|
-
* <p>
|
|
624
|
-
* A <code>ConstraintViolationException</code> will be thrown either
|
|
625
|
-
* immediately, on dispatch or on persist, if the removal of a mixin is not
|
|
626
|
-
* allowed. Implementations are free to enforce any policy with regard to
|
|
627
|
-
* mixin removal and may differ on when this validation is done.
|
|
628
|
-
* <p>
|
|
629
|
-
* A <code>VersionException</code> is thrown either immediately, on dispatch
|
|
630
|
-
* or on persist, if this node is read-only due to a checked-in node.
|
|
631
|
-
* Implementations may differ on when this validation is done.
|
|
632
|
-
* <p>
|
|
633
|
-
* A <code>LockException</code> is thrown either immediately or on
|
|
634
|
-
* <code>save</code> if a lock prevents the removal of the mixin.
|
|
635
|
-
* Implementations may differ on when this validation is done.
|
|
636
|
-
*
|
|
637
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>true</code> if calling {@link #addMixin} on this node
|
|
638
|
-
* with the mixn node type <code>mixinName</code> will not fail. Returns
|
|
639
|
-
* <code>false</code> otherwise.
|
|
640
|
-
*
|
|
641
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the node definition that applies to this node. In some cases
|
|
642
|
-
* there may appear to be more than one definition that could apply to this
|
|
643
|
-
* node. However, it is assumed that upon creation of this node, a single
|
|
644
|
-
* particular definition was used and it is <i>that</i> definition that this
|
|
645
|
-
* method returns. How this governing definition is selected upon node
|
|
646
|
-
* creation from among others which may have been applicable is an
|
|
647
|
-
* implementation issue and is not covered by this specification. The
|
|
648
|
-
* <code>NodeDefinition</code> returned when this method is called on the
|
|
649
|
-
* root node of a workspace is also up to the implementation.
|
|
650
|
-
*
|
|
651
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Creates a new version of this node and returns that {@link Version}
|
|
652
|
-
* object. The new version becomes the <i>base version</i> of this node. The
|
|
653
|
-
* name of the new version is implementaion determined.
|
|
654
|
-
* <p>
|
|
655
|
-
* This node becomes <i>checked-in</i> and its <code>jcr:checkedOut</code>
|
|
656
|
-
* property is set to false to reflect this. On a successful check-in the
|
|
657
|
-
* change to this property is made as a workspace-write, and therefore does
|
|
658
|
-
* not require a <code>save</code>.
|
|
659
|
-
* <p>
|
|
660
|
-
* The part of the subgraph of this node that is affected by check-in
|
|
661
|
-
* becomes read-only (see the specification for details).
|
|
662
|
-
* <p>
|
|
663
|
-
* If this node is already checked-in, this method has no effect but returns
|
|
664
|
-
* the current base version of this node.
|
|
665
|
-
*
|
|
666
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Sets this versionable node to checked-out status by setting its
|
|
667
|
-
* <code>jcr:isCheckedOut</code> property to <code>true</code>. Under full
|
|
668
|
-
* versioning it also sets the <code>jcr:predecessors</code> property to be
|
|
669
|
-
* a reference to the current base version (the same value as held in
|
|
670
|
-
* <code>jcr:baseVersion</code>). These changes are made by worksapce-write
|
|
671
|
-
* and therefore do require a <code>save</code>.
|
|
672
|
-
* <p>
|
|
673
|
-
* The part of the subgraph of this node that is affected by the checked-out
|
|
674
|
-
* status of this node becomes no longer read-only.
|
|
675
|
-
* <p>
|
|
676
|
-
* If this node is already checked-out, this method has no effect.
|
|
677
|
-
*
|
|
678
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p><i>Support for this method is only required under full versioning.</i>
|
|
679
|
-
* <p>
|
|
680
|
-
* Completes the merge process with respect to this node and the specified
|
|
681
|
-
* <code>version</code>.
|
|
682
|
-
* <p>
|
|
683
|
-
* When the {@link #merge} method is called on a node, every versionable
|
|
684
|
-
* node in that subgraph is compared with its corresponding node in the
|
|
685
|
-
* indicated other workspace and a "merge test result" is determined
|
|
686
|
-
* indicating one of the following: <ol> <li> This node will be updated to
|
|
687
|
-
* the state of its correspondee (if the base version of the correspondee is
|
|
688
|
-
* more recent in terms of version history). </li> <li> This node will be
|
|
689
|
-
* left alone (if this node's base version is more recent in terms of
|
|
690
|
-
* version history). </li> <li> This node will be marked as having failed
|
|
691
|
-
* the merge test (if this node's base version is on a different branch of
|
|
692
|
-
* the version history from the base version of its corresponding node in
|
|
693
|
-
* the other workspace, thus preventing an automatic determination of which
|
|
694
|
-
* is more recent). </li> </ol> (See {@link #merge} for more details)
|
|
695
|
-
* <p>
|
|
696
|
-
* In the last case the merging of the subgraph of the versionable node in
|
|
697
|
-
* question must be done by the application (for example, by providing a
|
|
698
|
-
* merge tool for the user).
|
|
699
|
-
* <p>
|
|
700
|
-
* Additionally, once the subgraphs of the nodes has been merged, their
|
|
701
|
-
* version graph branches must also be merged. The JCR versioning system
|
|
702
|
-
* provides for this by keeping a record, for each versionable node that
|
|
703
|
-
* fails the merge test, of the base version of the corresponding node that
|
|
704
|
-
* caused the merge failure. This record is kept in the
|
|
705
|
-
* <code>jcr:mergeFailed</code> property of this node. After a
|
|
706
|
-
* <code>merge</code>, this property will contain one or more (if multiple
|
|
707
|
-
* merges have been performed) <code>REFERENCE</code>s that point to the
|
|
708
|
-
* "failed versions".
|
|
709
|
-
* <p>
|
|
710
|
-
* To complete the merge process, the client calls <code>doneMerge(Version
|
|
711
|
-
* v)</code> passing the version object referred to be the
|
|
712
|
-
* <code>jcr:mergeFailed</code> property that the client wishes to connect
|
|
713
|
-
* to <code>this</code> node in the version graph. This has the effect of
|
|
714
|
-
* moving the reference to the indicated version from the
|
|
715
|
-
* <code>jcr:mergeFailed</code> property of <code>this</code> node to the
|
|
716
|
-
* <code>jcr:predecessors</code>.
|
|
717
|
-
* <p>
|
|
718
|
-
* If the client chooses not to connect this node to a particular version
|
|
719
|
-
* referenced in the <code>jcr:mergeFailed</code> property, he calls {@link
|
|
720
|
-
* #cancelMerge(Version version)}. This has the effect of removing the
|
|
721
|
-
* reference to the specified <code>version</code> from
|
|
722
|
-
* <code>jcr:mergeFailed</code> <i>without</i> adding it to
|
|
723
|
-
* <code>jcr:predecessors</code>.
|
|
724
|
-
* <p>
|
|
725
|
-
* Once the last reference in <code>jcr:mergeFailed</code> has been either
|
|
726
|
-
* moved to <code>jcr:predecessors</code> (with <code>doneMerge</code>) or
|
|
727
|
-
* just removed from <code>jcr:mergeFailed</code> (with
|
|
728
|
-
* <code>cancelMerge</code>) the <code>jcr:mergeFailed</code> property is
|
|
729
|
-
* automatically removed, thus enabling <code>this</code> node to be
|
|
730
|
-
* checked-in, creating a new version (note that before the
|
|
731
|
-
* <code>jcr:mergeFailed</code> is removed, its <code>OnParentVersion</code>
|
|
732
|
-
* setting of <code>ABORT</code> prevents checkin). This new version will
|
|
733
|
-
* have a predecessor connection to each version for which
|
|
734
|
-
* <code>doneMerge</code> was called, thus joining those branches of the
|
|
735
|
-
* version graph.
|
|
736
|
-
* <p>
|
|
737
|
-
* If successful, these changes are persisted immediately, there is no need
|
|
738
|
-
* to call <code>save</code>.
|
|
739
|
-
*
|
|
740
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p><i>Support for this method is only required under full versioning.</i>
|
|
741
|
-
* <p>
|
|
742
|
-
* Cancels the merge process with respect to this node and specified
|
|
743
|
-
* <code>version</code>.
|
|
744
|
-
* <p>
|
|
745
|
-
* See {@link #doneMerge} for a full explanation. Also see {@link #merge}
|
|
746
|
-
* for more details.
|
|
747
|
-
* <p>
|
|
748
|
-
* If successful, these changes are persisted immediately, there is no need
|
|
749
|
-
* to call <code>save</code>.
|
|
750
|
-
*
|
|
751
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>If this node does have a corresponding node in the workspace
|
|
752
|
-
* <code>srcWorkspace</code>, then this replaces this node and its subgraph
|
|
753
|
-
* with a clone of the corresponding node and its subgraph.
|
|
754
|
-
* <p>
|
|
755
|
-
* If this node does not have a corresponding node in the workspace
|
|
756
|
-
* <code>srcWorkspace</code>, then the <code>update</code> method has no
|
|
757
|
-
* effect.
|
|
758
|
-
* <p>
|
|
759
|
-
* If the <code>update</code> succeeds the changes made are persisted
|
|
760
|
-
* immediately, there is no need to call <code>save</code>.
|
|
761
|
-
* <p>
|
|
762
|
-
* Note that <code>update</code> does not respect the checked-in status of
|
|
763
|
-
* nodes. An <code>update</code> may change a node even if it is currently
|
|
764
|
-
* checked-in (This fact is only relevant in an implementation that supports
|
|
765
|
-
* versioning).
|
|
766
|
-
*
|
|
767
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p><i>Support for this method is only required under full versioning.</i>
|
|
768
|
-
* <p>
|
|
769
|
-
* This method can be thought of as a version-sensitive update.
|
|
770
|
-
* <p>
|
|
771
|
-
* It recursively tests each versionable node in the subgraph of this node
|
|
772
|
-
* against its corresponding node in <code>srcWorkspace</code> with respect
|
|
773
|
-
* to the relation between their respective base versions and either updates
|
|
774
|
-
* the node in question or not, depending on the outcome of the test.
|
|
775
|
-
* <p>
|
|
776
|
-
* A <code>MergeException</code> is thrown if <code>bestEffort</code> is
|
|
777
|
-
* <code>false</code> and a versionable node is encountered whose
|
|
778
|
-
* corresponding node's base version is on a divergent branch from this
|
|
779
|
-
* node's base version.
|
|
780
|
-
* <p>
|
|
781
|
-
* If successful, the changes are persisted immediately, there is no need to
|
|
782
|
-
* call <code>save</code>.
|
|
783
|
-
* <p>
|
|
784
|
-
* This method returns a <code>NodeIterator</code> over all versionable
|
|
785
|
-
* nodes in the subgraph that received a merge result of <i>fail</i>. If
|
|
786
|
-
* <code>bestEffort</code> is <code>false</code>, this iterator will be
|
|
787
|
-
* empty (since if <code>merge</code> returns successfully, instead of
|
|
788
|
-
* throwing an exception, it will be because no failures were encountered).
|
|
789
|
-
* If <code>bestEffort</code> is <code>true</code>, this iterator will
|
|
790
|
-
* contain all nodes that received a <i>fail</i> during the course of this
|
|
791
|
-
* <code>merge</code> operation.
|
|
792
|
-
*
|
|
793
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the absolute path of the node in the specified workspace that
|
|
794
|
-
* corresponds to <code>this</code> node.
|
|
795
|
-
*
|
|
796
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns an iterator over all nodes that are in the shared set of this
|
|
797
|
-
* node. If this node is not shared then the returned iterator contains only
|
|
798
|
-
* this node.
|
|
799
|
-
*
|
|
800
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Removes this node and every other node in the shared set of this node.
|
|
801
|
-
* <p>
|
|
802
|
-
* This removal must be done atomically, i.e., if one of the nodes cannot be
|
|
803
|
-
* removed, the method throws the exception {@link Node#remove()} would have
|
|
804
|
-
* thrown in that case, and none of the nodes are removed.
|
|
805
|
-
* <p>
|
|
806
|
-
* If this node is not shared this method removes only this node.
|
|
807
|
-
*
|
|
808
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Removes this node, but does not remove any other node in the shared set
|
|
809
|
-
* of this node.
|
|
810
|
-
*
|
|
811
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>false</code> if this node is currently in the checked-in state
|
|
812
|
-
* (either due to its own status as a versionable node or due to the effect of
|
|
813
|
-
* a versionable node being checked in above it). Otherwise this method returns
|
|
814
|
-
* <code>true</code>. This includes the case where the repository does not
|
|
815
|
-
* support versioning (and therefore all nodes are always "checked-out",
|
|
816
|
-
* by default).
|
|
817
|
-
*
|
|
818
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Restores <code>this</code> node to the state defined by the version with
|
|
819
|
-
* the specified <code>versionName</code>.
|
|
820
|
-
* <p>
|
|
821
|
-
* This method will work regardless of whether this node is checked-in or
|
|
822
|
-
* not.
|
|
823
|
-
* <p>
|
|
824
|
-
* An identifier collision occurs when a node exists <i>outside the subgraph
|
|
825
|
-
* rooted at this node</i> with the same identifier as a node that would be
|
|
826
|
-
* introduced by the <code>restore</code> operation <i>into the subgraph at
|
|
827
|
-
* this node</i>. The result in such a case is governed by the
|
|
828
|
-
* <code>removeExisting</code> flag. If <code>removeExisting</code> is
|
|
829
|
-
* <code>true</code>, then the incoming node takes precedence, and the
|
|
830
|
-
* existing node (and its subgraph) is removed (if possible; otherwise a
|
|
831
|
-
* <code>RepositoryException</code> is thrown). If <code>removeExisting</code>
|
|
832
|
-
* is <code>false</code>, then a <code>ItemExistsException</code> is thrown
|
|
833
|
-
* and no changes are made. Note that this applies not only to cases where
|
|
834
|
-
* the restored node itself conflicts with an existing node but also to
|
|
835
|
-
* cases where a conflict occurs with any node that would be introduced into
|
|
836
|
-
* the workspace by the restore operation. In particular, conflicts
|
|
837
|
-
* involving subnodes of the restored node that have
|
|
838
|
-
* <code>OnParentVersion</code> settings of <code>COPY</code> or
|
|
839
|
-
* <code>VERSION</code> are also governed by the <code>removeExisting</code>
|
|
840
|
-
* flag.
|
|
841
|
-
*
|
|
842
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Restores <code>this</code> node to the state defined by the specified
|
|
843
|
-
* <code>version</code>.
|
|
844
|
-
* <p>
|
|
845
|
-
* If successful, the change is persisted immediately and there is no need
|
|
846
|
-
* to call <code>save</code>.
|
|
847
|
-
* <p>
|
|
848
|
-
* This method will work regardless of whether this node is checked-in or
|
|
849
|
-
* not.
|
|
850
|
-
* <p>
|
|
851
|
-
* An identifier collision occurs when a node exists <i>outside the subgraph
|
|
852
|
-
* rooted at this node</i> with the same identifier as a node that would be
|
|
853
|
-
* introduced by the <code>restore</code> operation <i>into the subgraph at
|
|
854
|
-
* this node</i>. The result in such a case is governed by the
|
|
855
|
-
* <code>removeExisting</code> flag. If <code>removeExisting</code> is
|
|
856
|
-
* <code>true</code>, then the incoming node takes precedence, and the
|
|
857
|
-
* existing node (and its subgraph) is removed (if possible; otherwise a
|
|
858
|
-
* <code>RepositoryException</code> is thrown). If <code>removeExisting</code>
|
|
859
|
-
* is <code>false</code>, then a <code>ItemExistsException</code> is thrown
|
|
860
|
-
* and no changes are made. Note that this applies not only to cases where
|
|
861
|
-
* the restored node itself conflicts with an existing node but also to
|
|
862
|
-
* cases where a conflict occurs with any node that would be introduced into
|
|
863
|
-
* the workspace by the restore operation. In particular, conflicts
|
|
864
|
-
* involving subnodes of the restored node that have
|
|
865
|
-
* <code>OnParentVersion</code> settings of <code>COPY</code> or
|
|
866
|
-
* <code>VERSION</code> are also governed by the <code>removeExisting</code>
|
|
867
|
-
* flag.
|
|
868
|
-
*
|
|
869
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Restores the specified version to <code>relPath</code>, relative to this
|
|
870
|
-
* node.
|
|
871
|
-
* <p>
|
|
872
|
-
* If the <code>restore</code> succeeds, the changes made to this node are
|
|
873
|
-
* persisted immediately, there is no need to call <code>save</code>.
|
|
874
|
-
* <p>
|
|
875
|
-
* A node need not exist at relPath, though the parent of
|
|
876
|
-
* <code>relPath</code> must exist.
|
|
877
|
-
* <p>
|
|
878
|
-
* If a node <i>does</i> exist at relPath then it must correspond to the
|
|
879
|
-
* version being restored (the version must be a version <i>of that
|
|
880
|
-
* node</i>) and must not be a root version (<code>jcr:rootVersion</code>),
|
|
881
|
-
* otherwise a <code>VersionException</code> is thrown.
|
|
882
|
-
* <p>
|
|
883
|
-
* If no node exists at <code>relPath</code> then a <code>VersionException</code>
|
|
884
|
-
* is thrown if the parent node of <code>relPath</code> is read-only due to
|
|
885
|
-
* a check-in. However, If there <i>is</i> a node at <code>relPath</code>
|
|
886
|
-
* then the read-only status of that node itself and the read-only status of
|
|
887
|
-
* its parent are irrelevant. The restore will work even if one or both are
|
|
888
|
-
* read-only due to a checked-in node.
|
|
889
|
-
* <p>
|
|
890
|
-
* An identifier collision occurs when a node exists <i>outside the subgraph
|
|
891
|
-
* rooted at <code>relPath</code></i> with the same identifier as a node
|
|
892
|
-
* that would be introduced by the <code>restore</code> operation <i>into
|
|
893
|
-
* the subgraph at <code>relPath</code></i> (Note that in cases where there
|
|
894
|
-
* is no node at <code>relPath</code>, this amounts to saying that an
|
|
895
|
-
* identifier collision occurs if there exists a node <i>anywhere</i> in
|
|
896
|
-
* this workspace with the same identifier as a node that would be
|
|
897
|
-
* introduced by the <code>restore</code>). The result in such a case is
|
|
898
|
-
* governed by the <code>removeExisting</code> flag. If
|
|
899
|
-
* <code>removeExisting</code> is <code>true</code>, then the incoming node
|
|
900
|
-
* takes precedence, and the existing node (and its subgraph) is removed (if
|
|
901
|
-
* possible; otherwise a <code>RepositoryException</code> is thrown). If
|
|
902
|
-
* <code>removeExisting</code> is <code>false</code>, then a
|
|
903
|
-
* <code>ItemExistsException</code> is thrown and no changes are made. Note
|
|
904
|
-
* that this applies not only to cases where the restored node itself
|
|
905
|
-
* conflicts with an existing node but also to cases where a conflict occurs
|
|
906
|
-
* with any node that would be introduced into the workspace by the restore
|
|
907
|
-
* operation. In particular, conflicts involving subnodes of the restored
|
|
908
|
-
* node that have <code>OnParentVersion</code> settings of <code>COPY</code>
|
|
909
|
-
* or <code>VERSION</code> are also governed by the <code>removeExisting</code>
|
|
910
|
-
* flag.
|
|
911
|
-
*
|
|
912
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Restores the version of this node with the specified version label.
|
|
913
|
-
* <p>
|
|
914
|
-
* If successful, the change is persisted immediately and there is no need
|
|
915
|
-
* to call <code>save</code>.
|
|
916
|
-
* <p>
|
|
917
|
-
* This method will work regardless of whether this node is checked-in or
|
|
918
|
-
* not.
|
|
919
|
-
* <p>
|
|
920
|
-
* An identifier collision occurs when a node exists <i>outside the subgraph
|
|
921
|
-
* rooted at this node</i> with the same identifier as a node that would be
|
|
922
|
-
* introduced by the <code>restoreByLabel</code> operation <i>into the
|
|
923
|
-
* subgraph at this node</i>. The result in such a case is governed by the
|
|
924
|
-
* <code>removeExisting</code> flag. If <code>removeExisting</code> is
|
|
925
|
-
* <code>true</code>, then the incoming node takes precedence, and the
|
|
926
|
-
* existing node (and its subgraph) is removed (if possible; otherwise a
|
|
927
|
-
* <code>RepositoryException</code> is thrown). If <code>removeExisting</code>
|
|
928
|
-
* is <code>false</code>, then a <code>ItemExistsException</code> is thrown
|
|
929
|
-
* and no changes are made. Note that this applies not only to cases where
|
|
930
|
-
* the restored node itself conflicts with an existing node but also to
|
|
931
|
-
* cases where a conflict occurs with any node that would be introduced into
|
|
932
|
-
* the workspace by the restore operation. In particular, conflicts
|
|
933
|
-
* involving subnodes of the restored node that have
|
|
934
|
-
* <code>OnParentVersion</code> settings of <code>COPY</code> or
|
|
935
|
-
* <code>VERSION</code> are also governed by the <code>removeExisting</code>
|
|
936
|
-
* flag.
|
|
937
|
-
* <p>
|
|
938
|
-
* Note the special behavior in case of chained versions where a child node
|
|
939
|
-
* of this node has an on <code>OnParentVersion</code>settings of
|
|
940
|
-
* <code>VERSION</code> and is mix:versionable: If there is a version of the
|
|
941
|
-
* child node with the specified label, then that version is restored;
|
|
942
|
-
* otherwise the determination depends on the configuration of the workspace
|
|
943
|
-
* and is defined by the implementation.
|
|
944
|
-
*
|
|
945
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the <code>VersionHistory</code> object of this node. Under full
|
|
946
|
-
* versioning this object provides access to the <code>nt:versionHistory</code>
|
|
947
|
-
* node holding this node's versions.
|
|
948
|
-
*
|
|
949
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the current base version of this versionable node.
|
|
950
|
-
*
|
|
951
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Places a lock on this node. If successful, this node is said to
|
|
952
|
-
* <i>hold</i> the lock.
|
|
953
|
-
* <p>
|
|
954
|
-
* If <code>isDeep</code> is <code>true</code> then the lock applies to this
|
|
955
|
-
* node and all its descendant nodes; if <code>false</code>, the lock
|
|
956
|
-
* applies only to this, the holding node.
|
|
957
|
-
* <p>
|
|
958
|
-
* If <code>isSessionScoped</code> is <code>true</code> then this lock will
|
|
959
|
-
* expire upon the expiration of the current session (either through an
|
|
960
|
-
* automatic or explicit <code>Session.logout</code>); if
|
|
961
|
-
* <code>false</code>, this lock does not expire until explicitly unlocked
|
|
962
|
-
* or automatically unlocked due to a implementation-specific limitation,
|
|
963
|
-
* such as a timeout.
|
|
964
|
-
* <p>
|
|
965
|
-
* Returns a <code>Lock</code> object reflecting the state of the new lock.
|
|
966
|
-
* <p>
|
|
967
|
-
* If the lock is open-scoped the returned lock will include a lock token.
|
|
968
|
-
* <p>
|
|
969
|
-
* The lock token is also automatically added to the set of lock tokens held
|
|
970
|
-
* by the current <code>Session</code>.
|
|
971
|
-
* <p>
|
|
972
|
-
* If successful, then the property <code>jcr:lockOwner</code> is created
|
|
973
|
-
* and set to the value of <code>Session.getUserID</code> for the current
|
|
974
|
-
* session and the property <code>jcr:lockIsDeep</code> is set to the value
|
|
975
|
-
* passed in as <code>isDeep</code>. These changes are persisted
|
|
976
|
-
* automatically; there is no need to call <code>save</code>.
|
|
977
|
-
* <p>
|
|
978
|
-
* Note that it is possible to lock a node even if it is checked-in (the
|
|
979
|
-
* lock-related properties will be changed despite the checked-in status).
|
|
980
|
-
*
|
|
981
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the <code>Lock</code> object that applies to this node. This may
|
|
982
|
-
* be either a lock on this node itself or a deep lock on a node above this
|
|
983
|
-
* node.
|
|
984
|
-
*
|
|
985
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Removes the lock on this node. Also removes the properties
|
|
986
|
-
* <code>jcr:lockOwner</code> and <code>jcr:lockIsDeep</code> from this
|
|
987
|
-
* node. These changes are persisted automatically; there is no need to call
|
|
988
|
-
* <code>save</code>. As well, the corresponding lock token is removed from
|
|
989
|
-
* the set of lock tokens held by the current <code>Session</code>.
|
|
990
|
-
* <p>
|
|
991
|
-
* If this node does not currently hold a lock or holds a lock for which
|
|
992
|
-
* this <code>Session</code> is not the owner, then a
|
|
993
|
-
* <code>LockException</code> is thrown. Note however that the system may
|
|
994
|
-
* give permission to a non-owning session to unlock a lock. Typically such
|
|
995
|
-
* "lock-superuser" capability is intended to facilitate administrational
|
|
996
|
-
* clean-up of orphaned open-scoped locks.
|
|
997
|
-
* <p>
|
|
998
|
-
* Note that it is possible to unlock a node even if it is checked-in (the
|
|
999
|
-
* lock-related properties will be changed despite the checked-in status).
|
|
1000
|
-
*
|
|
1001
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>true</code> if this node holds a lock; otherwise returns
|
|
1002
|
-
* <code>false</code>. To <i>hold</i> a lock means that this node has
|
|
1003
|
-
* actually had a lock placed on it specifically, as opposed to just having
|
|
1004
|
-
* a lock <i>apply</i> to it due to a deep lock held by a node above.
|
|
1005
|
-
*
|
|
1006
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>true</code> if this node is locked either as a result of a
|
|
1007
|
-
* lock held by this node or by a deep lock on a node above this node;
|
|
1008
|
-
* otherwise returns <code>false</code>. This includes the case
|
|
1009
|
-
* where a repository does not support locking (in which case all
|
|
1010
|
-
* nodes are "unlocked" by default).
|
|
1011
|
-
*
|
|
1012
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Causes the lifecycle state of this node to undergo the specified
|
|
1013
|
-
* <code>transition</code>.
|
|
1014
|
-
* <p>
|
|
1015
|
-
* This method may change the value of the <code>jcr:currentLifecycleState</code>
|
|
1016
|
-
* property, in most cases it is expected that the implementation will
|
|
1017
|
-
* change the value to that of the passed <code>transition</code> parameter,
|
|
1018
|
-
* though this is an implementation-specific issue. If the
|
|
1019
|
-
* <code>jcr:currentLifecycleState</code> property is changed the change is
|
|
1020
|
-
* persisted immediately, there is no need to call <code>save</code>.
|
|
1021
|
-
*
|
|
1022
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the list of valid state transitions for this node.
|
|
1023
|
-
*
|
|
1024
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>A constant for the JCR name <code>jcr:content</code>. This is the name of
|
|
16
|
+
* The <code>Node</code> interface represents a node in a workspace.A constant for the JCR name <code>jcr:content</code>. This is the name of
|
|
1025
17
|
* a child node declared in {@link NodeType#NT_FILE nt:file} and a property
|
|
1026
18
|
* declared in {@link javax.jcr.nodetype.NodeType#NT_LINKED_FILE
|
|
1027
19
|
* nt:linkedFile}.A constant for the node name <code>jcr:propertyDefinition</code> declared
|
|
@@ -1030,9 +22,14 @@ import Lock from "../lock/Lock";
|
|
|
1030
22
|
* {@link NodeType#NT_VERSION_HISTORY nt:versionHistory}.A constant for the node name <code>jcr:versionLabels</code> declared in
|
|
1031
23
|
* {@link NodeType#NT_VERSION_HISTORY nt:versionHistory}.A constant for the node name <code>jcr:frozenNode</code> declared in
|
|
1032
24
|
* {@link NodeType#NT_VERSION nt:version}.
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
25
|
+
* @since JCR 2.0
|
|
26
|
+
* @since JCR 2.0
|
|
27
|
+
* @since JCR 2.0
|
|
28
|
+
* @since JCR 2.0
|
|
29
|
+
* @since JCR 2.0
|
|
30
|
+
* @since JCR 2.0
|
|
31
|
+
*/
|
|
32
|
+
export type Node = {
|
|
1036
33
|
/**
|
|
1037
34
|
* Creates a new node at <code>relPath</code>.
|
|
1038
35
|
* <p>
|
|
@@ -2803,6 +1800,4 @@ interface Node {
|
|
|
2803
1800
|
* @since JCR 2.0
|
|
2804
1801
|
*/
|
|
2805
1802
|
getAllowedLifecycleTransistions(): string;
|
|
2806
|
-
}
|
|
2807
|
-
|
|
2808
|
-
export default Node;
|
|
1803
|
+
};
|