@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,7 +1,8 @@
|
|
|
1
|
-
import Version from "../Version";
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import type { Version } from "../Version";
|
|
2
|
+
|
|
3
|
+
import type { VersionHistory } from "../VersionHistory";
|
|
4
|
+
import type { NodeIterator } from "../../NodeIterator";
|
|
5
|
+
import type { Node } from "../../Node";
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* The <code>VersionManager</code> object is accessed via {@link
|
|
@@ -11,412 +12,11 @@ import Node from "../../Node";
|
|
|
11
12
|
* checkpoint)</li> <li>Restore feature</li> <li>Label feature</li> <li>Merge
|
|
12
13
|
* feature</li> <li>Configuration feature</li> <li>Activity feature</li> </ul>
|
|
13
14
|
*
|
|
14
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
15
|
-
* with a system generated version name and returns that version (which will
|
|
16
|
-
* be the new base version of this node). Sets the <code>jcr:checkedOut</code>
|
|
17
|
-
* property to false thus putting the node into the <i>checked-in</i> state.
|
|
18
|
-
* This means that the node and its <i>connected non-versionable
|
|
19
|
-
* subgraph</i> become read-only. A node's connected non-versionable
|
|
20
|
-
* subgraph is the set of non-versionable descendant nodes reachable from
|
|
21
|
-
* that node through child links without encountering any versionable nodes.
|
|
22
|
-
* In other words, the read-only status flows down from the checked-in node
|
|
23
|
-
* along every child link until either a versionable node is encountered or
|
|
24
|
-
* an item with no children is encountered. In a system that supports only
|
|
25
|
-
* simple versioning the connected non-versionable subgraph will be
|
|
26
|
-
* equivalent to the whole subgraph, since simple-versionable nodes cannot
|
|
27
|
-
* have simple-versionable descendants.
|
|
28
|
-
* <p>
|
|
29
|
-
* Read-only status means that an item cannot be altered by the client using
|
|
30
|
-
* standard API methods (<code>addNode</code>, <code>setProperty</code>,
|
|
31
|
-
* etc.). The only exceptions to this rule are the {@link #restore} (all
|
|
32
|
-
* signatures), {@link #restoreByLabel}, {@link #restore}, {@link #merge}
|
|
33
|
-
* and {@link Node#update} operations; these do not respect read-only status
|
|
34
|
-
* due to check-in. Note that <code>remove</code> of a read-only node is
|
|
35
|
-
* possible, as long as its parent is not read-only (since removal is an
|
|
36
|
-
* alteration of the parent node).
|
|
37
|
-
* <p>
|
|
38
|
-
* If the node is already checked-in, this method has no effect but returns
|
|
39
|
-
* the current base version of the node at <code>absPath</code>.
|
|
40
|
-
* <p>
|
|
41
|
-
* If a repository supports configurations and baselines and the node at
|
|
42
|
-
* <code>absPath</code> is a configuration proxy node in configuration storage
|
|
43
|
-
* then checkin of that node has the additional side effect of storing in the
|
|
44
|
-
* created version, the state of the configuration that this proxy node represents.
|
|
45
|
-
* In particular, the current bs version of each versionable node within the
|
|
46
|
-
* configuration is recorded in some implementation-specific way within the
|
|
47
|
-
* version created by the checkin. For checkin to succeed on a configuration
|
|
48
|
-
* proxy node, every versionable node within the configuration in question must
|
|
49
|
-
* have been checked-in at least once (i.e., each must have a current base version
|
|
50
|
-
* which is not the root version of its version history).
|
|
51
|
-
* <p>
|
|
52
|
-
* If <code>checkin</code> succeeds, the change to the
|
|
53
|
-
* <code>jcr:isCheckedOut</code> property is dispatched immediately;
|
|
54
|
-
* there is no need to call <code>save</code>.Sets the versionable node at <code>absPath</code> to checked-out status
|
|
55
|
-
* by setting its <code>jcr:isCheckedOut</code> property to
|
|
56
|
-
* <code>true</code>. Under full versioning it also sets the
|
|
57
|
-
* <code>jcr:predecessors</code> property to be a reference to the current
|
|
58
|
-
* base version (the same value as held in <code>jcr:baseVersion</code>).
|
|
59
|
-
* <p> This method puts the node into the <i>checked-out</i> state, making
|
|
60
|
-
* it and its connected non-versionable subgraph no longer read-only (see
|
|
61
|
-
* {@link #checkin(String)} for an explanation of the term "connected
|
|
62
|
-
* non-versionable subgraph". Under simple versioning this will simply be
|
|
63
|
-
* the whole subgraph). <p> If successful, these changes are dispatched
|
|
64
|
-
* immediately; there is no need to call <code>save</code>. <p> If the node
|
|
65
|
-
* at <code>absPath</code> is already checked-out, this method has no
|
|
66
|
-
* effect.Performs a <code>checkin()</code> followed by a <code>checkout()</code>
|
|
67
|
-
* on the versionable node at <code>absPath</code>.
|
|
68
|
-
* <p>
|
|
69
|
-
* If the node is already checked-in, this method is equivalent to
|
|
70
|
-
* <code>checkout()</code>.Returns <code>true</code> if the node at <code>absPath</code> is either
|
|
71
|
-
* <ul> <li>versionable (full or simple) and currently checked-out,</li>
|
|
72
|
-
* <li>non-versionable and its nearest versionable ancestor is checked-out
|
|
73
|
-
* or</li> <li>non-versionable and it has no versionable ancestor.</li>
|
|
74
|
-
* </ul>
|
|
75
|
-
* <p>
|
|
76
|
-
* Returns <code>false</code> if the node at <code>absPath</code> is either
|
|
77
|
-
* <ul> <li>versionable (full or simple) and currently checked-in or</li>
|
|
78
|
-
* <li>non-versionable and its nearest versionable ancestor is
|
|
79
|
-
* checked-in.</li> </ul>Returns the <code>VersionHistory</code> object of the node at
|
|
80
|
-
* <code>absPath</code>. This object provides access to the
|
|
81
|
-
* <code>nt:versionHistory</code> node holding the node's versions.Returns the current base version of the versionable node at
|
|
82
|
-
* <code>absPath</code>.Restores a set of versions at once. Used in cases where a "chicken and
|
|
83
|
-
* egg" problem of mutually referring <code>REFERENCE</code> properties
|
|
84
|
-
* would prevent the restore in any serial order.
|
|
85
|
-
* <p>
|
|
86
|
-
* If the restore succeeds the changes made are
|
|
87
|
-
* dispatched immediately; there is no need to call <code>save</code>.
|
|
88
|
-
* <p>
|
|
89
|
-
* The following restrictions apply to the set of versions specified:
|
|
90
|
-
* <p>
|
|
91
|
-
* If <code>S</code> is the set of versions being restored simultaneously,
|
|
92
|
-
* <ul> <li> For every version <code>V</code> in <code>S</code> that
|
|
93
|
-
* corresponds to a <i>missing</i> node, there must also be a parent of V in
|
|
94
|
-
* S.</li> <li><code>S</code> must contain at least one version that
|
|
95
|
-
* corresponds to an existing node in the workspace.</li> <li> No
|
|
96
|
-
* <code>V</code> in <code>S</code> can be a root version
|
|
97
|
-
* (<code>jcr:rootVersion</code>).</li> </ul>
|
|
98
|
-
* <p>
|
|
99
|
-
* If any of these restrictions does not hold, the restore will fail because
|
|
100
|
-
* the system will be unable to determine the path locations to which one or
|
|
101
|
-
* more versions are to be restored. In this case a <code>VersionException</code>
|
|
102
|
-
* is thrown.
|
|
103
|
-
* <p>
|
|
104
|
-
* The versionable nodes in the current workspace that correspond to the
|
|
105
|
-
* versions being restored define a set of (one or more) subgraphs. An
|
|
106
|
-
* identifier collision occurs when the current workspace contains a node
|
|
107
|
-
* <i>outside these subgraphs</i> that has the same identifier as one of the
|
|
108
|
-
* nodes that would be introduced by the <code>restore</code> operation
|
|
109
|
-
* <i>into one of these subgraphs</i>. The result in such a case is governed
|
|
110
|
-
* by the <code>removeExisting</code> flag. If <code>removeExisting</code>
|
|
111
|
-
* is <code>true</code> then the incoming node takes precedence, and the
|
|
112
|
-
* existing node (and its subgraph) is removed. If <code>removeExisting</code>
|
|
113
|
-
* is <code>false</code> then a <code>ItemExistsException</code> is thrown
|
|
114
|
-
* and no changes are made. Note that this applies not only to cases where
|
|
115
|
-
* the restored node itself conflicts with an existing node but also to
|
|
116
|
-
* cases where a conflict occurs with any node that would be introduced into
|
|
117
|
-
* the workspace by the restore operation. In particular, conflicts
|
|
118
|
-
* involving subnodes of the restored node that have
|
|
119
|
-
* <code>OnParentVersion</code> settings of <code>COPY</code> or
|
|
120
|
-
* <code>VERSION</code> are also governed by the <code>removeExisting</code>
|
|
121
|
-
* flag.Restores the node at <code>absPath</code> to the state defined by the
|
|
122
|
-
* version with the specified <code>versionName</code>.
|
|
123
|
-
* <p>
|
|
124
|
-
* If the node at <code>absPath</code> is not versionable, an
|
|
125
|
-
* <code>UnsupportedRepositoryOperationException</code> is thrown.
|
|
126
|
-
* <p>
|
|
127
|
-
* If successful, the change is dispatched immediately; there is no need
|
|
128
|
-
* to call <code>save</code>. This method will work regardless of whether
|
|
129
|
-
* the node at <code>absPath</code> is checked-in or not.
|
|
130
|
-
* <p>
|
|
131
|
-
* An identifier collision occurs when a node exists <i>outside the subgraph
|
|
132
|
-
* rooted at this node</i> with the same identifier as a node that would be
|
|
133
|
-
* introduced by the <code>restore</code> operation <i>into the subgraph at
|
|
134
|
-
* this node</i>. The result in such a case is governed by the
|
|
135
|
-
* <code>removeExisting</code> flag. If <code>removeExisting</code> is
|
|
136
|
-
* <code>true</code>, then the incoming node takes precedence, and the
|
|
137
|
-
* existing node (and its subgraph) is removed (if possible; otherwise a
|
|
138
|
-
* <code>RepositoryException</code> is thrown). If <code>removeExisting</code>
|
|
139
|
-
* is <code>false</code>, then a <code>ItemExistsException</code> is thrown
|
|
140
|
-
* and no changes are made. Note that this applies not only to cases where
|
|
141
|
-
* the restored node itself conflicts with an existing node but also to
|
|
142
|
-
* cases where a conflict occurs with any node that would be introduced into
|
|
143
|
-
* the workspace by the restore operation. In particular, conflicts
|
|
144
|
-
* involving subnodes of the restored node that have
|
|
145
|
-
* <code>OnParentVersion</code> settings of <code>COPY</code> or
|
|
146
|
-
* <code>VERSION</code> are also governed by the <code>removeExisting</code>
|
|
147
|
-
* flag.Restores the node in the current workspace that is the versionable node of the
|
|
148
|
-
* specified <code>version</code> to the state reflected in that version.
|
|
149
|
-
* <p>
|
|
150
|
-
* If successful, the change is dispatched immediately; there is no need to call <code>save</code>.
|
|
151
|
-
* This method ignores checked-in status.
|
|
152
|
-
* <p>
|
|
153
|
-
* An identifier collision occurs when a node exists <i>outside the subgraph
|
|
154
|
-
* rooted at this node</i> with the same identifier as a node that would be
|
|
155
|
-
* introduced by the <code>restore</code> operation <i>into the subgraph at
|
|
156
|
-
* this node</i>. The result in such a case is governed by the
|
|
157
|
-
* <code>removeExisting</code> flag. If <code>removeExisting</code> is
|
|
158
|
-
* <code>true</code>, then the incoming node takes precedence, and the
|
|
159
|
-
* existing node (and its subgraph) is removed (if possible; otherwise a
|
|
160
|
-
* <code>RepositoryException</code> is thrown). If <code>removeExisting</code>
|
|
161
|
-
* is <code>false</code>, then a <code>ItemExistsException</code> is thrown
|
|
162
|
-
* and no changes are made. Note that this applies not only to cases where
|
|
163
|
-
* the restored node itself conflicts with an existing node but also to
|
|
164
|
-
* cases where a conflict occurs with any node that would be introduced into
|
|
165
|
-
* the workspace by the restore operation. In particular, conflicts
|
|
166
|
-
* involving subnodes of the restored node that have
|
|
167
|
-
* <code>OnParentVersion</code> settings of <code>COPY</code> or
|
|
168
|
-
* <code>VERSION</code> are also governed by the <code>removeExisting</code>
|
|
169
|
-
* flag.Restores the specified version to <code>absPath</code>.
|
|
170
|
-
* <p>
|
|
171
|
-
* There must be no existing node at <code>absPath</code>. If one exists,
|
|
172
|
-
* a <code>VersionException</code> is thrown.
|
|
173
|
-
* <p>
|
|
174
|
-
* There must be a parent node to the location at
|
|
175
|
-
* <code>absPath</code>, otherwise a <code>PathNotFoundException</code>
|
|
176
|
-
* is thrown.
|
|
177
|
-
* <p>
|
|
178
|
-
* An identifier collision occurs when a node exists <i>outside the subgraph
|
|
179
|
-
* rooted at <code>absPath</code></i> with the same identifier as a node
|
|
180
|
-
* that would be introduced by the <code>restore</code> operation <i>into
|
|
181
|
-
* the subgraph at <code>absPath</code></i>. The result in such a case is
|
|
182
|
-
* governed by the <code>removeExisting</code> flag. If
|
|
183
|
-
* <code>removeExisting</code> is <code>true</code>, then the incoming node
|
|
184
|
-
* takes precedence, and the existing node (and its subgraph) is removed (if
|
|
185
|
-
* possible; otherwise a <code>RepositoryException</code> is thrown). If
|
|
186
|
-
* <code>removeExisting</code> is <code>false</code>, then a
|
|
187
|
-
* <code>ItemExistsException</code> is thrown and no changes are made. Note
|
|
188
|
-
* that this applies not only to cases where the restored node itself
|
|
189
|
-
* conflicts with an existing node but also to cases where a conflict occurs
|
|
190
|
-
* with any node that would be introduced into the workspace by the restore
|
|
191
|
-
* operation. In particular, conflicts involving subnodes of the restored
|
|
192
|
-
* node that have <code>OnParentVersion</code> settings of <code>COPY</code>
|
|
193
|
-
* or <code>VERSION</code> are also governed by the <code>removeExisting</code>
|
|
194
|
-
* flag.
|
|
195
|
-
* <p>
|
|
196
|
-
* If the would-be parent of the location <code>absPath</code> is actually a
|
|
197
|
-
* property, or if a node type restriction would be violated, then a
|
|
198
|
-
* <code>ConstraintViolationException</code> is thrown.
|
|
199
|
-
* <p>
|
|
200
|
-
* If the <code>restore</code> succeeds, the changes made to this node are
|
|
201
|
-
* dispatched immediately; there is no need to call <code>save</code>.Restores the version of the node at <code>absPath</code> with the
|
|
202
|
-
* specified version label. If successful, the change is dispatched
|
|
203
|
-
* immediately; there is no need to call <code>save</code>.
|
|
204
|
-
* <p>
|
|
205
|
-
* This method will work regardless of whether the node at
|
|
206
|
-
* <code>absPath</code> is checked-in or not.
|
|
207
|
-
* <p>
|
|
208
|
-
* An identifier collision occurs when a node exists <i>outside the subgraph
|
|
209
|
-
* rooted at this node</i> with the same identifier as a node that would be
|
|
210
|
-
* introduced by the <code>restoreByLabel</code> operation <i>into the
|
|
211
|
-
* subgraph at this node</i>. The result in such a case is governed by the
|
|
212
|
-
* <code>removeExisting</code> flag. If <code>removeExisting</code> is
|
|
213
|
-
* <code>true</code>, then the incoming node takes precedence, and the
|
|
214
|
-
* existing node (and its subgraph) is removed (if possible; otherwise a
|
|
215
|
-
* <code>RepositoryException</code> is thrown). If <code>removeExisting</code>
|
|
216
|
-
* is <code>false</code>, then a <code>ItemExistsException</code> is thrown
|
|
217
|
-
* and no changes are made. Note that this applies not only to cases where
|
|
218
|
-
* the restored node itself conflicts with an existing node but also to
|
|
219
|
-
* cases where a conflict occurs with any node that would be introduced into
|
|
220
|
-
* the workspace by the restore operation. In particular, conflicts
|
|
221
|
-
* involving subnodes of the restored node that have
|
|
222
|
-
* <code>OnParentVersion</code> settings of <code>COPY</code> or
|
|
223
|
-
* <code>VERSION</code> are also governed by the <code>removeExisting</code>
|
|
224
|
-
* flag.This method recursively tests each versionable node in the subgraph of
|
|
225
|
-
* the node at <code>absPath</code> against its corresponding node in
|
|
226
|
-
* <code>srcWorkspace</code> with respect to the relation between their
|
|
227
|
-
* respective base versions and either updates the node in question or not,
|
|
228
|
-
* depending on the outcome of the test.
|
|
229
|
-
* <p>
|
|
230
|
-
* When a versionable node V with base version B is encountered whose
|
|
231
|
-
* corresponding node V' has a base version B': <ul> <li>If B' is an
|
|
232
|
-
* eventual predecessor of B then V is left unchanged.</li> <li>If B' is an
|
|
233
|
-
* eventual successor of B then V is updated to the state of V'.</li> <li>If
|
|
234
|
-
* B' and B are ob divergent branches of the version history then V
|
|
235
|
-
* <i>fails</i> the merge.</li> </ul> If <code>bestEffort</code> is
|
|
236
|
-
* <code>true</code> then each failed node is marked and traversal
|
|
237
|
-
* continues. If <code>bestEffort</code> is <code>false</code> then the
|
|
238
|
-
* first failed node results in a <code>MergeException</code>.
|
|
239
|
-
* <p>
|
|
240
|
-
* This is a workspace-write method and therefore any changes are dispatched
|
|
241
|
-
* immediately; there is no need to call <code>save</code>.
|
|
242
|
-
* <p>
|
|
243
|
-
* This method returns a <code>NodeIterator</code> over all versionable
|
|
244
|
-
* nodes in the subgraph that received a merge result of <i>fail</i>. If
|
|
245
|
-
* <code>bestEffort</code> is <code>false</code>, this iterator will be
|
|
246
|
-
* empty (since if <code>merge</code> returns successfully, instead of
|
|
247
|
-
* throwing an exception, it will be because no failures were encountered).
|
|
248
|
-
* If <code>bestEffort</code> is <code>true</code>, this iterator will
|
|
249
|
-
* contain all nodes that received a <i>fail</i> during the course of this
|
|
250
|
-
* <code>merge</code> operation.
|
|
251
|
-
* <p>
|
|
252
|
-
* See the JCR specifications for more details on the behavior of this
|
|
253
|
-
* method.Same as {@link #merge(String absPath, String srcWorkspace, boolean
|
|
254
|
-
* bestEffort)} except that an option exists to make the merge
|
|
255
|
-
* <i>shallow</i>.
|
|
256
|
-
* <p>
|
|
257
|
-
* If <code>isShallow</code> is <code>true</code>, this method tests this
|
|
258
|
-
* versionable node against its corresponding node in
|
|
259
|
-
* <code>srcWorkspace</code> with respect to the relation between their
|
|
260
|
-
* respective base versions and either updates the node in question or not,
|
|
261
|
-
* depending on the outcome of the test.
|
|
262
|
-
* <p>
|
|
263
|
-
* If <code>isShallow</code> is <code>false</code>, it recursively tests
|
|
264
|
-
* each versionable node in the subgraph as mentioned above. See {@link
|
|
265
|
-
* #merge(String absPath, String srcWorkspace, boolean bestEffort)}.
|
|
266
|
-
* <p>
|
|
267
|
-
* If <code>isShallow</code> is <code>true</code> and this node is not
|
|
268
|
-
* versionable, then this method returns and no changes are made.
|
|
269
|
-
* <p>
|
|
270
|
-
* If successful, the changes are dispatched immediately; there is no need to
|
|
271
|
-
* call <code>save</code>.
|
|
272
|
-
* <p>
|
|
273
|
-
* This method returns a <code>NodeIterator</code> over all versionable
|
|
274
|
-
* nodes in the subgraph that received a merge result of <i>fail</i>. If
|
|
275
|
-
* <code>bestEffort</code> is <code>false</code>, this iterator will be
|
|
276
|
-
* empty (since if <code>merge</code> returns successfully, instead of
|
|
277
|
-
* throwing an exception, it will be because no failures were encountered).
|
|
278
|
-
* If <code>bestEffort</code> is <code>true</code>, this iterator will
|
|
279
|
-
* contain all nodes that received a <i>fail</i> during the course of this
|
|
280
|
-
* <code>merge</code> operation.Completes the merge process with respect to the node at
|
|
281
|
-
* <code>absPath</code> and the specified <code>version</code>.
|
|
282
|
-
* <p>
|
|
283
|
-
* When the {@link #merge} method is called on a node, every versionable
|
|
284
|
-
* node in that subgraph is compared with its corresponding node in the
|
|
285
|
-
* indicated other workspace and a "merge test result" is determined
|
|
286
|
-
* indicating one of the following:
|
|
287
|
-
* </p>
|
|
288
|
-
* <ol> <li> This node will be updated to the state of its correspondee (if
|
|
289
|
-
* the base version of the correspondee is more recent in terms of version
|
|
290
|
-
* history) </li> <li> This node will be left alone (if this node's base
|
|
291
|
-
* version is more recent in terms of version history). </li> <li> This node
|
|
292
|
-
* will be marked as having failed the merge test (if this node's base
|
|
293
|
-
* version is on a different branch of the version history from the base
|
|
294
|
-
* version of its corresponding node in the other workspace, thus preventing
|
|
295
|
-
* an automatic determination of which is more recent). </li> </ol>
|
|
296
|
-
* <p>
|
|
297
|
-
* (See {@link #merge} for more details)
|
|
298
|
-
* </p>
|
|
299
|
-
* <p>
|
|
300
|
-
* In the last case the merge of the non-versionable subgraph (the
|
|
301
|
-
* "content") of this node must be done by the application (for example, by
|
|
302
|
-
* providing a merge tool for the user).
|
|
303
|
-
* </p>
|
|
304
|
-
* <p>
|
|
305
|
-
* Additionally, once the content of the nodes has been merged, their
|
|
306
|
-
* version graph branches must also be merged. The JCR versioning system
|
|
307
|
-
* provides for this by keeping a record, for each versionable node that
|
|
308
|
-
* fails the merge test, of the base version of the corresponding node that
|
|
309
|
-
* caused the merge failure. This record is kept in the
|
|
310
|
-
* <code>jcr:mergeFailed</code> property of this node. After a
|
|
311
|
-
* <code>merge</code>, this property will contain one or more (if multiple
|
|
312
|
-
* merges have been performed) <code>REFERENCE</code>s that point to the
|
|
313
|
-
* "offending versions".
|
|
314
|
-
* </p>
|
|
315
|
-
* <p>
|
|
316
|
-
* To complete the merge process, the client calls <code>doneMerge(Version
|
|
317
|
-
* v)</code> passing the version object referred to be the
|
|
318
|
-
* <code>jcr:mergeFailed</code> property that the client wishes to connect
|
|
319
|
-
* to <code>this</code> node in the version graph. This has the effect of
|
|
320
|
-
* moving the reference to the indicated version from the
|
|
321
|
-
* <code>jcr:mergeFailed</code> property of <code>this</code> node to the
|
|
322
|
-
* <code>jcr:predecessors</code>.
|
|
323
|
-
* </p>
|
|
324
|
-
* <p>
|
|
325
|
-
* If the client chooses not to connect this node to a particular version
|
|
326
|
-
* referenced in the <code>jcr:mergeFailed</code> property, he calls {@link
|
|
327
|
-
* #cancelMerge(String, Version)}. This has the effect of removing the
|
|
328
|
-
* reference to the specified <code>version</code> from
|
|
329
|
-
* <code>jcr:mergeFailed</code> <i>without</i> adding it to
|
|
330
|
-
* <code>jcr:predecessors</code>.
|
|
331
|
-
* </p>
|
|
332
|
-
* <p>
|
|
333
|
-
* Once the last reference in <code>jcr:mergeFailed</code> has been either
|
|
334
|
-
* moved to <code>jcr:predecessors</code> (with <code>doneMerge</code>) or
|
|
335
|
-
* just removed from <code>jcr:mergeFailed</code> (with
|
|
336
|
-
* <code>cancelMerge</code>) the <code>jcr:mergeFailed</code> property is
|
|
337
|
-
* automatically removed, thus enabling <code>this</code> node to be
|
|
338
|
-
* checked-in, creating a new version (note that before the
|
|
339
|
-
* <code>jcr:mergeFailed</code> is removed, its <code>OnParentVersion</code>
|
|
340
|
-
* setting of <code>ABORT</code> prevents checkin). This new version will
|
|
341
|
-
* have a predecessor connection to each version for which
|
|
342
|
-
* <code>doneMerge</code> was called, thus joining those branches of the
|
|
343
|
-
* version graph.
|
|
344
|
-
* </p>
|
|
345
|
-
* <p>
|
|
346
|
-
* If successful, these changes are dispatched immediately; there is no need
|
|
347
|
-
* to call <code>save</code>.
|
|
348
|
-
* </p>Cancels the merge process with respect to the node at
|
|
349
|
-
* <code>absPath</code> and the specified <code>version</code>.
|
|
350
|
-
* <p>
|
|
351
|
-
* See {@link #doneMerge} for a full explanation. Also see {@link #merge}
|
|
352
|
-
* for more details.
|
|
353
|
-
* <p>
|
|
354
|
-
* If successful, these changes are dispatched immediately; there is no need
|
|
355
|
-
* to call <code>save</code>.Calling <code>createConfiguration</code> on the node <i>N</i> at
|
|
356
|
-
* <code>absPath</code> creates, in the configuration storage, a new
|
|
357
|
-
* <code>nt:configuration</code> node whose root is <i>N</i>. A reference to
|
|
358
|
-
* <i>N</i> is recorded in the <code>jcr:root</code> property of the new
|
|
359
|
-
* configuration, and a reference to the new configuration is recorded in
|
|
360
|
-
* the <code>jcr:configuration</code> property of <i>N</i>.
|
|
361
|
-
* <p>
|
|
362
|
-
* A new version history is created to store baselines of the new configuration,
|
|
363
|
-
* and the <code>jcr:baseVersion</code> of the new configuration references
|
|
364
|
-
* the root version of the new version history.
|
|
365
|
-
* <p>
|
|
366
|
-
* The changes are dispatched immediately; a <code>save</code> is not
|
|
367
|
-
* required.This method is called by the client to set the current activity on the
|
|
368
|
-
* current session by specifying a previously created <code>nt:activity</code>
|
|
369
|
-
* node (see {@link #createActivity}). Changing the
|
|
370
|
-
* current activity is done by calling <code>setActivity</code> again.
|
|
371
|
-
* Cancelling the current activity (so that the session has no current
|
|
372
|
-
* activity) is done by calling <code>setActivity(null)</code>. The previously
|
|
373
|
-
* set <code>nt:activity</code> node is returned, or <code>null</code> if no activity
|
|
374
|
-
* was previously set.Returns the node representing the current activity or <code>null</code>
|
|
375
|
-
* if there is no current activity.This method creates a new <code>nt:activity</code> at an
|
|
376
|
-
* implementation-determined location in the <code>/jcr:system/jcr:activities</code>
|
|
377
|
-
* subgraph.
|
|
378
|
-
* <p>
|
|
379
|
-
* The repository may, but is not required to, use the <code>title</code> as
|
|
380
|
-
* a hint for what to name the new activity node. The new activity
|
|
381
|
-
* <code>Node</code> is returned.
|
|
382
|
-
* <p>
|
|
383
|
-
* The new node addition is dispatched immediately and does not require a
|
|
384
|
-
* <code>save</code>.
|
|
385
|
-
* <p>This method removes the given <code>activityNode</code> and all <code>REFERENCE</code> properties
|
|
386
|
-
* within all workspaces that refer to the <code>activityNode</code>.
|
|
387
|
-
* However, the existence of a <code>REFERENCE</code> to the <code>activityNode</code>
|
|
388
|
-
* from within version storage will cause a <code>VersionException</code> to be thrown.
|
|
389
|
-
* <p>
|
|
390
|
-
* The change is dispatched immediately and does not require a <code>save</code>.This method merges the changes that were made under the specified
|
|
391
|
-
* activity into the current workspace.
|
|
392
|
-
* <p>
|
|
393
|
-
* An activity <i>A</i> will be associated with a set of versions through
|
|
394
|
-
* the <code>jcr:activity</code> reference of each version node in the set.
|
|
395
|
-
* We call each such associated version a <i>member of A</i>.
|
|
396
|
-
* <p>
|
|
397
|
-
* For each version history <i>H</i> that contains one or more members of
|
|
398
|
-
* <i>A</i>, one such member will be the latest member of <i>A</i> in
|
|
399
|
-
* <i>H</i>. The latest member of <i>A</i> in <i>H</i> is the version in
|
|
400
|
-
* <i>H</i> that is a member of <i>A</i> and that has no successor versions
|
|
401
|
-
* (to any degree) that are also members of <i>A</i>.
|
|
402
|
-
* <p>
|
|
403
|
-
* The set of versions that are the latest members of <i>A</i> in their
|
|
404
|
-
* respective version histories is called the change set of <i>A</i>. It
|
|
405
|
-
* fully describes the changes made under the activity <i>A</i>.
|
|
406
|
-
* <p>
|
|
407
|
-
* This method performs a shallow merge into the current workspace of each
|
|
408
|
-
* version in the change set of the activity specified by
|
|
409
|
-
* <code>activityNode</code>. If there is no corresponding node in this
|
|
410
|
-
* workspace for a given member of the change set, that member is ignored.
|
|
411
|
-
* <p>
|
|
412
|
-
* This method returns a <code>NodeIterator</code> over all versionable
|
|
413
|
-
* nodes in the subgraph that received a merge result of <i>fail</i>.
|
|
414
|
-
* <p>
|
|
415
|
-
* The changes are dispatched immediately and do not require a <code>save</code>.
|
|
15
|
+
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
416
16
|
* @since Sitevision 3.5
|
|
417
17
|
* @since JCR 2.0
|
|
418
18
|
*/
|
|
419
|
-
|
|
19
|
+
export type VersionManager = {
|
|
420
20
|
/**
|
|
421
21
|
* Creates for the versionable node at <code>absPath</code> a new version
|
|
422
22
|
* with a system generated version name and returns that version (which will
|
|
@@ -1077,6 +677,4 @@ interface VersionManager {
|
|
|
1077
677
|
* @since JCR 2.0
|
|
1078
678
|
*/
|
|
1079
679
|
merge(activityNode: Node): NodeIterator;
|
|
1080
|
-
}
|
|
1081
|
-
|
|
1082
|
-
export default VersionManager;
|
|
680
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
checkin: function checkin() {},
|
|
9
|
+
checkout: function checkout() {},
|
|
10
|
+
checkpoint: function checkpoint() {},
|
|
11
|
+
isCheckedOut: function isCheckedOut() {},
|
|
12
|
+
getVersionHistory: function getVersionHistory() {},
|
|
13
|
+
getBaseVersion: function getBaseVersion() {},
|
|
14
|
+
restore: function restore() {},
|
|
15
|
+
restoreByLabel: function restoreByLabel() {},
|
|
16
|
+
merge: function merge() {},
|
|
17
|
+
doneMerge: function doneMerge() {},
|
|
18
|
+
cancelMerge: function cancelMerge() {},
|
|
19
|
+
createConfiguration: function createConfiguration() {},
|
|
20
|
+
setActivity: function setActivity() {},
|
|
21
|
+
getActivity: function getActivity() {},
|
|
22
|
+
createActivity: function createActivity() {},
|
|
23
|
+
removeActivity: function removeActivity() {}
|
|
24
|
+
};
|
|
25
|
+
exports["default"] = _default;
|
|
@@ -87,16 +87,14 @@
|
|
|
87
87
|
* $scriptUtil.swallow($mailBuilder.addRecipient('magnus.lovgren@sitevision.se'))
|
|
88
88
|
* #set ($mail = $mailBuilder.build())</code></pre>
|
|
89
89
|
* </li>
|
|
90
|
-
* </ul>
|
|
90
|
+
* </ul>
|
|
91
91
|
* @author Magnus Lövgren
|
|
92
92
|
* @since Sitevision 3.6
|
|
93
93
|
*/
|
|
94
|
-
|
|
94
|
+
export type Builder = {
|
|
95
95
|
/**
|
|
96
96
|
* Creates an instance of type <em>T</em> using current state of this builder.
|
|
97
97
|
* @return an instance of type <em>T</em>
|
|
98
98
|
*/
|
|
99
99
|
build(): unknown;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
export default Builder;
|
|
100
|
+
};
|
|
@@ -8,18 +8,16 @@
|
|
|
8
8
|
* </p>
|
|
9
9
|
* <p>
|
|
10
10
|
* See {@link senselogic.sitevision.api.node.NodeFilterUtil} for predefined node filters (i.e. <code>Filter<Node></code>).
|
|
11
|
-
* </p>
|
|
11
|
+
* </p>
|
|
12
12
|
* @author Magnus Lövgren
|
|
13
13
|
* @since Sitevision 3.6.2
|
|
14
14
|
* @see senselogic.sitevision.api.node.NodeFilterUtil
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
export type Filter = {
|
|
17
17
|
/**
|
|
18
18
|
* Whether a given object matches the filter requirements or not.
|
|
19
19
|
* @param anObject the object to check
|
|
20
20
|
* @return <code>true</code> if <code>anObject</code> is accepted by this filter, <code>false</code> otherwise
|
|
21
21
|
*/
|
|
22
22
|
accept(anObject: unknown): boolean;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export default Filter;
|
|
23
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Filter from "../Filter";
|
|
1
|
+
import type { Filter } from "../Filter";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* This is the base interface for all filter splits in the Sitevision Utility API.
|
|
@@ -15,15 +15,11 @@ import Filter from "../Filter";
|
|
|
15
15
|
* to split on an iterator and
|
|
16
16
|
* {@link senselogic.sitevision.api.node.NodeFilterUtil#split(java.util.Collection, Filter)}
|
|
17
17
|
* to split on a collection.
|
|
18
|
-
* </p>
|
|
19
|
-
*
|
|
20
|
-
* <p>
|
|
21
|
-
* <em>Note! The accepted list will always be empty if the filter used for the filtering operation is null</em>
|
|
22
|
-
* </p>Gets the list of items that was rejected by the filter.Gets the filter used for the filtering operation.
|
|
18
|
+
* </p>
|
|
23
19
|
* @author Magnus Lövgren
|
|
24
20
|
* @since Sitevision 3.6.3
|
|
25
21
|
*/
|
|
26
|
-
|
|
22
|
+
export type FilterSplit = {
|
|
27
23
|
/**
|
|
28
24
|
* Gets the list of items that was accepted by the filter.
|
|
29
25
|
*
|
|
@@ -32,19 +28,17 @@ interface FilterSplit {
|
|
|
32
28
|
* </p>
|
|
33
29
|
* @return the list of accepted items, never <code>null</code>
|
|
34
30
|
*/
|
|
35
|
-
getAccepted(): unknown
|
|
31
|
+
getAccepted(): unknown;
|
|
36
32
|
|
|
37
33
|
/**
|
|
38
34
|
* Gets the list of items that was rejected by the filter.
|
|
39
35
|
* @return the list of rejected items, never <code>null</code>
|
|
40
36
|
*/
|
|
41
|
-
getRejected(): unknown
|
|
37
|
+
getRejected(): unknown;
|
|
42
38
|
|
|
43
39
|
/**
|
|
44
40
|
* Gets the filter used for the filtering operation.
|
|
45
41
|
* @return the filter used
|
|
46
42
|
*/
|
|
47
43
|
getFilter(): Filter;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export default FilterSplit;
|
|
44
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
getAccepted: function getAccepted() {},
|
|
9
|
+
getRejected: function getRejected() {},
|
|
10
|
+
getFilter: function getFilter() {}
|
|
11
|
+
};
|
|
12
|
+
exports["default"] = _default;
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A functional interface for loading resources.
|
|
2
|
+
* A functional interface for loading resources.
|
|
3
3
|
* @author Magnus Lövgren
|
|
4
4
|
* @since Sitevision 4.0
|
|
5
5
|
*/
|
|
6
|
-
|
|
6
|
+
export type Loadable = {
|
|
7
7
|
/**
|
|
8
8
|
* Loads a resource that is identified with a specific name.
|
|
9
9
|
* @param aName the name of the resource
|
|
10
10
|
* @return the resource, or <code>null</code> if no resource match <code>aName</code>
|
|
11
11
|
*/
|
|
12
12
|
load(aName: string): unknown;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export default Loadable;
|
|
13
|
+
};
|
|
@@ -13,19 +13,17 @@
|
|
|
13
13
|
* <p>
|
|
14
14
|
* See {@link senselogic.sitevision.api.node.NodeResolverUtil} for predefined resolvers that operates on nodes
|
|
15
15
|
* (i.e. <code>Resolver<Node,?></code>).
|
|
16
|
-
* </p>
|
|
16
|
+
* </p>
|
|
17
17
|
* @param <T> type of object to operate on
|
|
18
18
|
* @param <V> type of value to produce
|
|
19
19
|
* @author Magnus Lövgren
|
|
20
20
|
* @since Sitevision 4.1
|
|
21
21
|
*/
|
|
22
|
-
|
|
22
|
+
export type Resolver = {
|
|
23
23
|
/**
|
|
24
24
|
* Resolves a value from an object.
|
|
25
25
|
* @param aObject the object to operate on
|
|
26
26
|
* @return the resolved value
|
|
27
27
|
*/
|
|
28
28
|
resolve(aObject: unknown): unknown;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export default Resolver;
|
|
29
|
+
};
|