@sitevision/api 2.0.0-alpha.0 → 2.0.0-alpha.2
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/common/router/index.d.ts +4 -4
- package/index.d.ts +8 -0
- package/package.json +1 -1
- package/server/AliasUtil/index.d.ts +13 -11
- package/server/ArchiveUtil/index.d.ts +45 -43
- package/server/ArraysInstance/index.d.ts +1667 -1808
- package/server/ArticleUtil/index.d.ts +294 -226
- package/server/AuthenticationUtil/index.d.ts +73 -85
- package/server/BookmarkUtil/index.d.ts +76 -81
- package/server/BuddyIconRenderer/index.d.ts +124 -132
- package/server/BuddyIconRenderer.BuddyIconSize/index.d.ts +41 -0
- package/server/BuddyIconRenderer.BuddyIconSize/index.js +25 -0
- package/server/ClientUtil/index.d.ts +11 -9
- package/server/CollaborationFactory/index.d.ts +37 -40
- package/server/CollaborationGroupFolderUtil/index.d.ts +30 -28
- package/server/CollaborationGroupState/index.d.ts +27 -0
- package/server/CollaborationGroupState/index.js +11 -0
- package/server/CollaborationGroupTemplateUtil/index.d.ts +48 -50
- package/server/CollaborationGroupType/index.d.ts +28 -0
- package/server/CollaborationGroupType/index.js +12 -0
- package/server/CollaborationGroupUtil/index.d.ts +86 -82
- package/server/CollectionsInstance/index.d.ts +642 -705
- package/server/ColorUtil/index.d.ts +36 -37
- package/server/CompoundAndFilterBuilder/index.d.ts +31 -29
- package/server/CompoundComparatorBuilder/index.d.ts +35 -33
- package/server/CompoundOrFilterBuilder/index.d.ts +31 -29
- package/server/ContentNodeUtil/index.d.ts +36 -34
- package/server/CurrencyFactory/index.d.ts +72 -70
- package/server/DateUtil/index.d.ts +132 -142
- package/server/DecorationUtil/index.d.ts +13 -11
- package/server/DeviceUtil/index.d.ts +21 -19
- package/server/DimensionMode/index.d.ts +17 -0
- package/server/DimensionMode/index.js +12 -0
- package/server/DirectoryUtil/index.d.ts +90 -88
- package/server/DocType/index.d.ts +30 -0
- package/server/DocType/index.js +14 -0
- package/server/DocTypeUtil/index.d.ts +129 -135
- package/server/EndecUtil/index.d.ts +330 -347
- package/server/ExtendedDismaxParserBuilder/index.d.ts +156 -170
- package/server/FileIconRenderer/index.d.ts +153 -172
- package/server/FileUtil/index.d.ts +274 -300
- package/server/FilterBuilder/index.d.ts +42 -40
- package/server/FolderUtil/index.d.ts +93 -94
- package/server/FontUtil/index.d.ts +36 -37
- package/server/FormatterBuilderFactory/index.d.ts +76 -84
- package/server/HighlightBuilder/index.d.ts +79 -86
- package/server/IconUtil/index.d.ts +27 -25
- package/server/ImageLinkRenderer/index.d.ts +34 -32
- package/server/ImageRenderer/index.d.ts +343 -379
- package/server/ImageUtil/index.d.ts +247 -265
- package/server/IndexUtil/index.d.ts +40 -37
- package/server/IndexUtil.IndexType/index.d.ts +29 -0
- package/server/IndexUtil.IndexType/index.js +13 -0
- package/server/IndexingUtil/index.d.ts +69 -47
- package/server/InstanceCreatorUtil/index.d.ts +421 -457
- package/server/InstanceTypeUtil/index.d.ts +168 -189
- package/server/JwtUtil/index.d.ts +131 -129
- package/server/LandingPageUtil/index.d.ts +84 -87
- package/server/LandingPageUtil/index.js +1 -0
- package/server/LinkPageUtil/index.d.ts +297 -251
- package/server/LinkRenderer/index.d.ts +651 -715
- package/server/LinkTargetBuilder/index.d.ts +69 -77
- package/server/LinkValueBuilder/index.d.ts +70 -77
- package/server/ListWrapper/index.d.ts +82 -91
- package/server/LocaleUtil/index.d.ts +382 -394
- package/server/LogUtil/index.d.ts +119 -128
- package/server/MailBuilder/index.d.ts +109 -124
- package/server/MailUtil/index.d.ts +58 -63
- package/server/MathInstance/index.d.ts +625 -657
- package/server/MessageDigesterFactory/index.d.ts +30 -28
- package/server/MetadataDefinitionUtil/index.d.ts +79 -83
- package/server/MetadataUtil/index.d.ts +322 -346
- package/server/MimeTypeUtil/index.d.ts +209 -215
- package/server/MonitorBuilder/index.d.ts +20 -20
- package/server/NodeComparatorUtil/index.d.ts +215 -225
- package/server/NodeFactoryUtil/index.d.ts +18 -16
- package/server/NodeFilterUtil/index.d.ts +652 -739
- package/server/NodeIteratorUtil/index.d.ts +214 -229
- package/server/NodeResolverUtil/index.d.ts +400 -406
- package/server/NodeTreeUtil/index.d.ts +214 -229
- package/server/NodeTypeUtil/index.d.ts +1432 -548
- package/server/OfflineVersionPropertyUtil/index.d.ts +8 -6
- package/server/OnlineVersionPropertyUtil/index.d.ts +8 -6
- package/server/OutputUtil/index.d.ts +385 -380
- package/server/PageUtil/index.d.ts +266 -188
- package/server/PermissionUtil/index.d.ts +393 -430
- package/server/PermissionUtil.Permission/index.d.ts +54 -0
- package/server/PermissionUtil.Permission/index.js +38 -0
- package/server/PortletContextUtil/index.d.ts +112 -109
- package/server/PortletUtil/index.d.ts +32 -22
- package/server/PrincipalUtil/index.d.ts +35 -33
- package/server/Properties/index.d.ts +69 -76
- package/server/PropertyUtil/index.d.ts +1422 -1464
- package/server/PublishingUtil/index.d.ts +248 -249
- package/server/QueryStringUtil/index.d.ts +404 -415
- package/server/RedirectUtil/index.d.ts +64 -68
- package/server/RelatedValueBuilder/index.d.ts +45 -43
- package/server/Requester/index.d.ts +125 -125
- package/server/ResourceLocatorUtil/index.d.ts +436 -476
- package/server/RestApi/index.d.ts +158 -138
- package/server/RestAppInvokerFactory/index.d.ts +28 -26
- package/server/RoleAssignmentBuilder/index.d.ts +39 -37
- package/server/RoleMatcherBuilder/index.d.ts +39 -37
- package/server/RoleUtil/index.d.ts +35 -37
- package/server/ScriptUtil/index.d.ts +458 -495
- package/server/SearchFactory/index.d.ts +90 -105
- package/server/SearchUtil/index.d.ts +75 -73
- package/server/SearcherBuilder/index.d.ts +117 -124
- package/server/Session/index.d.ts +261 -1103
- package/server/Session/index.js +1 -20
- package/server/SimpleUserUtil/index.d.ts +28 -29
- package/server/SiteCookieUtil/index.d.ts +152 -175
- package/server/SortBuilder/index.d.ts +27 -25
- package/server/SourceSetMode/index.d.ts +12 -0
- package/server/SourceSetMode/index.js +12 -0
- package/server/SpellCheckBuilder/index.d.ts +30 -30
- package/server/StandardParserBuilder/index.d.ts +36 -34
- package/server/StructureUtil/index.d.ts +85 -83
- package/server/SubscriberUtil/index.d.ts +60 -67
- package/server/SubscriptionUtil/index.d.ts +123 -130
- package/server/SystemUserUtil/index.d.ts +148 -146
- package/server/TagUtil/index.d.ts +115 -120
- package/server/TemplateUtil/index.d.ts +115 -120
- package/server/TemporaryFileNodeBuilder/index.d.ts +32 -30
- package/server/TemporaryNodeBuilder/index.d.ts +139 -177
- package/server/TextModuleRendererBuilder/index.d.ts +22 -20
- package/server/TimestampUtil/index.d.ts +103 -117
- package/server/TranslationUtil/index.d.ts +98 -104
- package/server/TrashcanUtil/index.d.ts +114 -117
- package/server/UserDataUtil/index.d.ts +110 -111
- package/server/UserFactory/index.d.ts +47 -54
- package/server/UserFieldRenderer/index.d.ts +120 -128
- package/server/UserIdentityUtil/index.d.ts +38 -36
- package/server/UserUtil/index.d.ts +32 -30
- package/server/Utils/index.d.ts +634 -723
- package/server/VelocityRenderer/index.d.ts +96 -94
- package/server/VersionUtil/index.d.ts +25 -9
- package/server/WebContentUtil/index.d.ts +277 -284
- package/server/WebResourceFactory/index.d.ts +41 -46
- package/server/XSLTUtil/index.d.ts +34 -32
- package/server/XmlParserUtil/index.d.ts +50 -48
- package/server/appData/index.d.ts +1 -1
- package/server/appResource/index.d.ts +1 -1
- package/server/globalAppData/index.d.ts +1 -1
- package/server/oauth2/index.d.ts +1 -1
- package/server/privileged/index.d.ts +2 -0
- package/{hidden → types}/javax/jcr/Binary/index.d.ts +3 -23
- package/{hidden → types}/javax/jcr/Binary/index.js +0 -1
- package/{hidden → types}/javax/jcr/Credentials/index.d.ts +3 -3
- package/{hidden → types}/javax/jcr/Credentials/index.js +0 -0
- package/{hidden → types}/javax/jcr/ImportUUIDBehavior/index.d.ts +27 -3
- package/{hidden → types}/javax/jcr/ImportUUIDBehavior/index.js +0 -0
- package/{hidden → types}/javax/jcr/Item/index.d.ts +6 -121
- package/{hidden → types}/javax/jcr/Item/index.js +0 -6
- package/{hidden → types}/javax/jcr/ItemVisitor/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/ItemVisitor/index.js +0 -0
- package/types/javax/jcr/NamespaceRegistry/index.d.ts +109 -0
- package/{hidden → types}/javax/jcr/NamespaceRegistry/index.js +0 -2
- package/types/javax/jcr/Node/index.d.ts +334 -0
- package/types/javax/jcr/Node/index.js +23 -0
- package/{hidden → types}/javax/jcr/NodeIterator/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/NodeIterator/index.js +0 -0
- package/types/javax/jcr/Property/index.d.ts +675 -0
- package/{hidden → types}/javax/jcr/Property/index.js +0 -5
- package/{hidden → types}/javax/jcr/PropertyIterator/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/PropertyIterator/index.js +0 -0
- package/types/javax/jcr/RangeIterator/index.d.ts +10 -0
- package/{hidden/javax/jcr/query/qom/Constraint → types/javax/jcr/RangeIterator}/index.js +0 -0
- package/types/javax/jcr/Repository/index.d.ts +511 -0
- package/types/javax/jcr/Repository/index.js +12 -0
- package/{hidden → types}/javax/jcr/RepositoryFactory/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/RepositoryFactory/index.js +0 -0
- package/{hidden → types}/javax/jcr/Value/index.d.ts +4 -33
- package/{hidden → types}/javax/jcr/Value/index.js +0 -2
- package/types/javax/jcr/ValueFactory/index.d.ts +74 -0
- package/types/javax/jcr/ValueFactory/index.js +10 -0
- package/types/javax/jcr/Workspace/index.d.ts +190 -0
- package/types/javax/jcr/Workspace/index.js +15 -0
- package/{hidden → types}/javax/jcr/lock/Lock/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/lock/Lock/index.js +0 -0
- package/{hidden → types}/javax/jcr/lock/LockManager/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/lock/LockManager/index.js +0 -0
- package/types/javax/jcr/nodetype/ItemDefinition/index.d.ts +29 -0
- package/types/javax/jcr/nodetype/ItemDefinition/index.js +10 -0
- package/{hidden → types}/javax/jcr/nodetype/NodeDefinition/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/nodetype/NodeDefinition/index.js +0 -0
- package/{hidden → types}/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/nodetype/NodeDefinitionTemplate/index.js +0 -0
- package/types/javax/jcr/nodetype/NodeType/index.d.ts +312 -0
- package/types/javax/jcr/nodetype/NodeType/index.js +10 -0
- package/types/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +61 -0
- package/types/javax/jcr/nodetype/NodeTypeDefinition/index.js +12 -0
- package/{hidden → types}/javax/jcr/nodetype/NodeTypeIterator/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/nodetype/NodeTypeIterator/index.js +0 -0
- package/types/javax/jcr/nodetype/NodeTypeManager/index.d.ts +57 -0
- package/types/javax/jcr/nodetype/NodeTypeManager/index.js +14 -0
- package/{hidden → types}/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/nodetype/NodeTypeTemplate/index.js +0 -0
- package/types/javax/jcr/nodetype/PropertyDefinition/index.d.ts +28 -0
- package/types/javax/jcr/nodetype/PropertyDefinition/index.js +10 -0
- package/{hidden → types}/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/nodetype/PropertyDefinitionTemplate/index.js +0 -0
- package/{hidden → types}/javax/jcr/observation/Event/index.d.ts +85 -44
- package/{hidden → types}/javax/jcr/observation/Event/index.js +0 -0
- package/{hidden → types}/javax/jcr/observation/EventIterator/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/observation/EventIterator/index.js +0 -0
- package/{hidden → types}/javax/jcr/observation/EventJournal/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/observation/EventJournal/index.js +0 -0
- package/{hidden → types}/javax/jcr/observation/EventListener/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/observation/EventListener/index.js +0 -0
- package/{hidden → types}/javax/jcr/observation/EventListenerIterator/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/observation/EventListenerIterator/index.js +0 -0
- package/{hidden → types}/javax/jcr/observation/ObservationManager/index.d.ts +6 -6
- package/{hidden → types}/javax/jcr/observation/ObservationManager/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/Query/index.d.ts +35 -14
- package/{hidden → types}/javax/jcr/query/Query/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/QueryManager/index.d.ts +6 -6
- package/{hidden → types}/javax/jcr/query/QueryManager/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/QueryResult/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/query/QueryResult/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/Row/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/query/Row/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/RowIterator/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/query/RowIterator/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/And/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/And/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/BindVariableValue/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/BindVariableValue/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/ChildNode/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/ChildNode/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/ChildNodeJoinCondition/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/ChildNodeJoinCondition/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/Column/index.d.ts +3 -3
- package/{hidden → types}/javax/jcr/query/qom/Column/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/Comparison/index.d.ts +6 -6
- package/{hidden → types}/javax/jcr/query/qom/Comparison/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/Constraint/index.d.ts +3 -3
- package/{hidden/javax/jcr/query/qom/DynamicOperand → types/javax/jcr/query/qom/Constraint}/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/DescendantNode/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/DescendantNode/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/DescendantNodeJoinCondition/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/DescendantNodeJoinCondition/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/DynamicOperand/index.d.ts +4 -4
- package/{hidden/javax/jcr/query/qom/JoinCondition → types/javax/jcr/query/qom/DynamicOperand}/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/EquiJoinCondition/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/EquiJoinCondition/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/FullTextSearch/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/query/qom/FullTextSearch/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/FullTextSearchScore/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/FullTextSearchScore/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/Join/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/query/qom/Join/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/JoinCondition/index.d.ts +3 -3
- package/{hidden/javax/jcr/query/qom/Operand → types/javax/jcr/query/qom/JoinCondition}/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/Length/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/query/qom/Length/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/Literal/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/query/qom/Literal/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/LowerCase/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/LowerCase/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/NodeLocalName/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/NodeLocalName/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/NodeName/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/NodeName/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/Not/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/Not/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/Operand/index.d.ts +3 -3
- package/{hidden/javax/jcr/query/qom/QueryObjectModelConstants → types/javax/jcr/query/qom/Operand}/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/Or/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/Or/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/Ordering/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/Ordering/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/PropertyExistence/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/PropertyExistence/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/PropertyValue/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/PropertyValue/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/QueryObjectModel/index.d.ts +8 -8
- package/{hidden → types}/javax/jcr/query/qom/QueryObjectModel/index.js +0 -0
- package/types/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +83 -0
- package/{hidden/javax/jcr/query/qom/Source → types/javax/jcr/query/qom/QueryObjectModelConstants}/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/QueryObjectModelFactory/index.d.ts +37 -37
- package/{hidden → types}/javax/jcr/query/qom/QueryObjectModelFactory/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/SameNode/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/SameNode/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/SameNodeJoinCondition/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/SameNodeJoinCondition/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/Selector/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/Selector/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/Source/index.d.ts +3 -3
- package/{hidden/javax/jcr/query/qom/StaticOperand → types/javax/jcr/query/qom/Source}/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/StaticOperand/index.d.ts +4 -4
- package/{hidden/javax/jcr/security/AccessControlPolicy → types/javax/jcr/query/qom/StaticOperand}/index.js +0 -0
- package/{hidden → types}/javax/jcr/query/qom/UpperCase/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/query/qom/UpperCase/index.js +0 -0
- package/{hidden → types}/javax/jcr/retention/Hold/index.d.ts +3 -3
- package/{hidden → types}/javax/jcr/retention/Hold/index.js +0 -0
- package/{hidden → types}/javax/jcr/retention/RetentionManager/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/retention/RetentionManager/index.js +0 -0
- package/{hidden → types}/javax/jcr/retention/RetentionPolicy/index.d.ts +3 -3
- package/{hidden → types}/javax/jcr/retention/RetentionPolicy/index.js +0 -0
- package/{hidden → types}/javax/jcr/security/AccessControlEntry/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/security/AccessControlEntry/index.js +0 -0
- package/{hidden → types}/javax/jcr/security/AccessControlList/index.d.ts +6 -6
- package/{hidden → types}/javax/jcr/security/AccessControlList/index.js +0 -0
- package/{hidden → types}/javax/jcr/security/AccessControlManager/index.d.ts +6 -6
- package/{hidden → types}/javax/jcr/security/AccessControlManager/index.js +0 -0
- package/{hidden → types}/javax/jcr/security/AccessControlPolicy/index.d.ts +3 -3
- package/{hidden/senselogic/sitevision/api/metadata/value/LinkValue → types/javax/jcr/security/AccessControlPolicy}/index.js +0 -0
- package/{hidden → types}/javax/jcr/security/AccessControlPolicyIterator/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/security/AccessControlPolicyIterator/index.js +0 -0
- package/{hidden → types}/javax/jcr/security/NamedAccessControlPolicy/index.d.ts +4 -4
- package/{hidden → types}/javax/jcr/security/NamedAccessControlPolicy/index.js +0 -0
- package/{hidden → types}/javax/jcr/security/Privilege/index.d.ts +130 -46
- package/{hidden → types}/javax/jcr/security/Privilege/index.js +0 -0
- package/{hidden → types}/javax/jcr/version/Version/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/version/Version/index.js +0 -0
- package/{hidden → types}/javax/jcr/version/VersionHistory/index.d.ts +7 -7
- package/{hidden → types}/javax/jcr/version/VersionHistory/index.js +0 -0
- package/{hidden → types}/javax/jcr/version/VersionIterator/index.d.ts +5 -5
- package/{hidden → types}/javax/jcr/version/VersionIterator/index.js +0 -0
- package/{hidden → types}/javax/jcr/version/VersionManager/index.d.ts +7 -7
- package/{hidden → types}/javax/jcr/version/VersionManager/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/base/Builder/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/base/Builder/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/base/Filter/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/base/Filter/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/base/FilterSplit/index.d.ts +4 -4
- package/{hidden → types}/senselogic/sitevision/api/base/FilterSplit/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/base/Loadable/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/base/Loadable/index.js +0 -0
- package/types/senselogic/sitevision/api/base/Requireable/ScriptEngine/index.d.ts +9 -0
- package/types/senselogic/sitevision/api/base/Requireable/ScriptEngine/index.js +11 -0
- package/{hidden → types}/senselogic/sitevision/api/base/Resolver/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/base/Resolver/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/base/Wrapper/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/base/Wrapper/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.d.ts +13 -9
- package/{hidden → types}/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/format/NumericFormatter/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/format/NumericFormatter/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/format/NumericFormatterBuilder/index.d.ts +5 -5
- package/{hidden → types}/senselogic/sitevision/api/format/NumericFormatterBuilder/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/i18n/Currency/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/i18n/Currency/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/link/CustomLinkProcessor/index.d.ts +5 -5
- package/{hidden → types}/senselogic/sitevision/api/link/CustomLinkProcessor/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/link/CustomLinkRenderData/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/link/CustomLinkRenderData/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/mail/Mail/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/mail/Mail/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/message/MessageTextLinker/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/message/MessageTextLinker/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/metadata/value/LinkValue/index.d.ts +3 -3
- package/{hidden/senselogic/sitevision/api/metadata/value/RelatedValue → types/senselogic/sitevision/api/metadata/value/LinkValue}/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/metadata/value/RelatedValue/index.d.ts +3 -3
- package/{hidden/senselogic/sitevision/api/render/velocity/VelocityAccess → types/senselogic/sitevision/api/metadata/value/RelatedValue}/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/property/VersionedPropertyUtil/index.d.ts +4 -4
- package/{hidden → types}/senselogic/sitevision/api/property/VersionedPropertyUtil/index.js +0 -0
- package/types/senselogic/sitevision/api/render/BuddyIconRenderer.BuddyIconInfo/index.d.ts +51 -0
- package/types/senselogic/sitevision/api/render/BuddyIconRenderer.BuddyIconInfo/index.js +12 -0
- package/{hidden → types}/senselogic/sitevision/api/render/ImageScaler/index.d.ts +4 -4
- package/{hidden → types}/senselogic/sitevision/api/render/ImageScaler/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/render/TextModuleRenderer/index.d.ts +4 -4
- package/{hidden → types}/senselogic/sitevision/api/render/TextModuleRenderer/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/render/velocity/VelocityAccess/index.d.ts +3 -3
- package/{hidden/senselogic/sitevision/api/search/searcher/component/Filter → types/senselogic/sitevision/api/render/velocity/VelocityAccess}/index.js +0 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ArticleUtilConstants/index.d.ts +85 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ArticleUtilConstants/index.js +21 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ExceptionSuppressingProxyConstants/index.d.ts +31 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ExceptionSuppressingProxyConstants/index.js +12 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.IndexingUtilConstants/index.d.ts +31 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.IndexingUtilConstants/index.js +12 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.LinkPageUtilConstants/index.d.ts +67 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.LinkPageUtilConstants/index.js +18 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MathInstanceConstants/index.d.ts +25 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MathInstanceConstants/index.js +11 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MimeTypeUtilConstants/index.d.ts +19 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MimeTypeUtilConstants/index.js +10 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.NodeTypeUtilConstants/index.d.ts +1243 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.NodeTypeUtilConstants/index.js +189 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.OutputUtilConstants/index.d.ts +31 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.OutputUtilConstants/index.js +12 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PageUtilConstants/index.d.ts +91 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PageUtilConstants/index.js +22 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletContextUtilConstants/index.d.ts +27 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletContextUtilConstants/index.js +11 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletUtilConstants/index.d.ts +19 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletUtilConstants/index.js +10 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.QueryStringUtilConstants/index.d.ts +19 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.QueryStringUtilConstants/index.js +10 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchHitConstants/index.d.ts +25 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchHitConstants/index.js +11 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchResultConstants/index.d.ts +37 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchResultConstants/index.js +13 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.VersionUtilConstants/index.d.ts +25 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.VersionUtilConstants/index.js +11 -0
- package/{hidden → types}/senselogic/sitevision/api/render/velocity/VelocityContext/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/render/velocity/VelocityContext/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/script/RequesterChainable/index.d.ts +4 -4
- package/{hidden → types}/senselogic/sitevision/api/script/RequesterChainable/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/script/app/RestAppInvoker/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/script/app/RestAppInvoker/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/script/factory/TypedArgument/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/script/factory/TypedArgument/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts +4 -4
- package/{hidden → types}/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.d.ts +24 -4
- package/{hidden → types}/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/search/SearchFieldUtil/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/search/SearchFieldUtil/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/search/SearchHighlighter/index.d.ts +4 -4
- package/{hidden → types}/senselogic/sitevision/api/search/SearchHighlighter/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/search/SearchHit/index.d.ts +19 -5
- package/{hidden → types}/senselogic/sitevision/api/search/SearchHit/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/search/SearchResult/index.d.ts +31 -9
- package/{hidden → types}/senselogic/sitevision/api/search/SearchResult/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/search/facet/SearchFacetField/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/search/facet/SearchFacetField/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/search/facet/SearchFacetValue/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/search/facet/SearchFacetValue/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/search/searcher/Searcher/index.d.ts +4 -4
- package/{hidden → types}/senselogic/sitevision/api/search/searcher/Searcher/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Filter/index.d.ts +3 -3
- package/{hidden/senselogic/sitevision/api/search/searcher/component/Highlight → types/senselogic/sitevision/api/search/searcher/component/Filter}/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Highlight/index.d.ts +3 -3
- package/{hidden/senselogic/sitevision/api/search/searcher/component/Monitor → types/senselogic/sitevision/api/search/searcher/component/Highlight}/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Monitor/index.d.ts +3 -3
- package/{hidden/senselogic/sitevision/api/search/searcher/component/Parser → types/senselogic/sitevision/api/search/searcher/component/Monitor}/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Parser/index.d.ts +3 -3
- package/{hidden/senselogic/sitevision/api/search/searcher/component/Sort → types/senselogic/sitevision/api/search/searcher/component/Parser}/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/Sort/index.d.ts +3 -3
- package/{hidden/senselogic/sitevision/api/search/searcher/component/SpellCheck → types/senselogic/sitevision/api/search/searcher/component/Sort}/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.d.ts +3 -3
- package/{hidden/senselogic/sitevision/api/webresource/LinkTarget → types/senselogic/sitevision/api/search/searcher/component/SpellCheck}/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/search/sort/CustomSort/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/search/sort/CustomSort/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/security/DirectoryAttributes/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/security/DirectoryAttributes/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/security/MessageDigester/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/security/MessageDigester/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/security/RoleAssignment/index.d.ts +4 -4
- package/{hidden → types}/senselogic/sitevision/api/security/RoleAssignment/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/security/RoleMatcher/index.d.ts +4 -4
- package/{hidden → types}/senselogic/sitevision/api/security/RoleMatcher/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/security/SecretStore/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/security/SecretStore/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/security/UserUtil/index.d.ts +4 -4
- package/{hidden → types}/senselogic/sitevision/api/security/UserUtil/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.d.ts +35 -5
- package/{hidden → types}/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.d.ts +3 -3
- package/{hidden → types}/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/user/UserIdentityWrapper/index.d.ts +5 -5
- package/{hidden → types}/senselogic/sitevision/api/user/UserIdentityWrapper/index.js +0 -0
- 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 -3
- package/{hidden → types}/senselogic/sitevision/api/xml/XmlElement/index.js +0 -0
- package/{hidden → types}/senselogic/sitevision/api/xml/XmlElementHandler/index.d.ts +4 -4
- package/{hidden → types}/senselogic/sitevision/api/xml/XmlElementHandler/index.js +0 -0
- package/hidden/javax/jcr/NamespaceRegistry/index.d.ts +0 -85
- package/hidden/javax/jcr/Node/index.d.ts +0 -1805
- package/hidden/javax/jcr/Node/index.js +0 -56
- package/hidden/javax/jcr/Property/index.d.ts +0 -677
- package/hidden/javax/jcr/RangeIterator/index.d.ts +0 -52
- package/hidden/javax/jcr/RangeIterator/index.js +0 -12
- package/hidden/javax/jcr/Repository/index.d.ts +0 -311
- package/hidden/javax/jcr/Repository/index.js +0 -16
- package/hidden/javax/jcr/Session/index.d.ts +0 -1107
- package/hidden/javax/jcr/ValueFactory/index.d.ts +0 -144
- package/hidden/javax/jcr/ValueFactory/index.js +0 -11
- package/hidden/javax/jcr/Workspace/index.d.ts +0 -666
- package/hidden/javax/jcr/Workspace/index.js +0 -26
- package/hidden/javax/jcr/nodetype/ItemDefinition/index.d.ts +0 -132
- package/hidden/javax/jcr/nodetype/ItemDefinition/index.js +0 -15
- package/hidden/javax/jcr/nodetype/NodeType/index.d.ts +0 -321
- package/hidden/javax/jcr/nodetype/NodeType/index.js +0 -21
- package/hidden/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +0 -165
- package/hidden/javax/jcr/nodetype/NodeTypeDefinition/index.js +0 -18
- package/hidden/javax/jcr/nodetype/NodeTypeManager/index.d.ts +0 -180
- package/hidden/javax/jcr/nodetype/NodeTypeManager/index.js +0 -21
- package/hidden/javax/jcr/nodetype/PropertyDefinition/index.d.ts +0 -297
- package/hidden/javax/jcr/nodetype/PropertyDefinition/index.js +0 -16
- package/hidden/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +0 -11
- package/hidden/senselogic/sitevision/api/Utils/index.d.ts +0 -753
- package/hidden/senselogic/sitevision/api/alias/AliasUtil/index.d.ts +0 -22
- package/hidden/senselogic/sitevision/api/bookmark/BookmarkUtil/index.d.ts +0 -87
- package/hidden/senselogic/sitevision/api/client/ClientUtil/index.d.ts +0 -23
- package/hidden/senselogic/sitevision/api/collaboration/CollaborationFactory/index.d.ts +0 -49
- package/hidden/senselogic/sitevision/api/collaboration/CollaborationGroupFolderUtil/index.d.ts +0 -39
- package/hidden/senselogic/sitevision/api/collaboration/CollaborationGroupTemplateUtil/index.d.ts +0 -58
- package/hidden/senselogic/sitevision/api/collaboration/CollaborationGroupUtil/index.d.ts +0 -99
- package/hidden/senselogic/sitevision/api/context/PortletContextUtil/index.d.ts +0 -112
- package/hidden/senselogic/sitevision/api/cookie/SiteCookieUtil/index.d.ts +0 -166
- package/hidden/senselogic/sitevision/api/date/DateUtil/index.d.ts +0 -153
- package/hidden/senselogic/sitevision/api/date/TimestampUtil/index.d.ts +0 -121
- package/hidden/senselogic/sitevision/api/device/DeviceUtil/index.d.ts +0 -33
- package/hidden/senselogic/sitevision/api/format/FormatterBuilderFactory/index.d.ts +0 -89
- package/hidden/senselogic/sitevision/api/i18n/CurrencyFactory/index.d.ts +0 -81
- package/hidden/senselogic/sitevision/api/i18n/LocaleUtil/index.d.ts +0 -412
- package/hidden/senselogic/sitevision/api/i18n/TranslationUtil/index.d.ts +0 -110
- package/hidden/senselogic/sitevision/api/log/LogUtil/index.d.ts +0 -128
- package/hidden/senselogic/sitevision/api/mail/MailBuilder/index.d.ts +0 -221
- package/hidden/senselogic/sitevision/api/mail/MailUtil/index.d.ts +0 -72
- package/hidden/senselogic/sitevision/api/metadata/MetadataDefinitionUtil/index.d.ts +0 -109
- package/hidden/senselogic/sitevision/api/metadata/MetadataUtil/index.d.ts +0 -356
- package/hidden/senselogic/sitevision/api/metadata/builder/LinkValueBuilder/index.d.ts +0 -131
- package/hidden/senselogic/sitevision/api/metadata/builder/RelatedValueBuilder/index.d.ts +0 -89
- package/hidden/senselogic/sitevision/api/node/ContentNodeUtil/index.d.ts +0 -57
- package/hidden/senselogic/sitevision/api/node/NodeComparatorUtil/index.d.ts +0 -235
- package/hidden/senselogic/sitevision/api/node/NodeFactoryUtil/index.d.ts +0 -29
- package/hidden/senselogic/sitevision/api/node/NodeFilterUtil/index.d.ts +0 -781
- package/hidden/senselogic/sitevision/api/node/NodeIteratorUtil/index.d.ts +0 -231
- package/hidden/senselogic/sitevision/api/node/NodeResolverUtil/index.d.ts +0 -406
- package/hidden/senselogic/sitevision/api/node/NodeTreeUtil/index.d.ts +0 -232
- package/hidden/senselogic/sitevision/api/node/NodeTypeUtil/index.d.ts +0 -549
- package/hidden/senselogic/sitevision/api/node/builder/CompoundAndFilterBuilder/index.d.ts +0 -54
- package/hidden/senselogic/sitevision/api/node/builder/CompoundComparatorBuilder/index.d.ts +0 -53
- package/hidden/senselogic/sitevision/api/node/builder/CompoundOrFilterBuilder/index.d.ts +0 -53
- package/hidden/senselogic/sitevision/api/node/builder/TemporaryFileNodeBuilder/index.d.ts +0 -57
- package/hidden/senselogic/sitevision/api/node/builder/TemporaryNodeBuilder/index.d.ts +0 -177
- package/hidden/senselogic/sitevision/api/property/OfflineVersionPropertyUtil/index.d.ts +0 -31
- package/hidden/senselogic/sitevision/api/property/OnlineVersionPropertyUtil/index.d.ts +0 -31
- package/hidden/senselogic/sitevision/api/property/Properties/index.d.ts +0 -176
- package/hidden/senselogic/sitevision/api/property/PropertyUtil/index.d.ts +0 -1550
- package/hidden/senselogic/sitevision/api/redirect/RedirectUtil/index.d.ts +0 -73
- package/hidden/senselogic/sitevision/api/render/BuddyIconRenderer/index.d.ts +0 -186
- package/hidden/senselogic/sitevision/api/render/FileIconRenderer/index.d.ts +0 -301
- package/hidden/senselogic/sitevision/api/render/ImageLinkRenderer/index.d.ts +0 -122
- package/hidden/senselogic/sitevision/api/render/ImageRenderer/index.d.ts +0 -504
- package/hidden/senselogic/sitevision/api/render/LinkRenderer/index.d.ts +0 -890
- package/hidden/senselogic/sitevision/api/render/OutputUtil/index.d.ts +0 -390
- package/hidden/senselogic/sitevision/api/render/TextModuleRendererBuilder/index.d.ts +0 -66
- package/hidden/senselogic/sitevision/api/render/UserFieldRenderer/index.d.ts +0 -181
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityRenderer/index.d.ts +0 -197
- package/hidden/senselogic/sitevision/api/render/xslt/XSLTUtil/index.d.ts +0 -59
- package/hidden/senselogic/sitevision/api/resource/ColorUtil/index.d.ts +0 -46
- package/hidden/senselogic/sitevision/api/resource/DecorationUtil/index.d.ts +0 -20
- package/hidden/senselogic/sitevision/api/resource/FontUtil/index.d.ts +0 -43
- package/hidden/senselogic/sitevision/api/resource/IconUtil/index.d.ts +0 -34
- package/hidden/senselogic/sitevision/api/resource/LandingPageUtil/index.d.ts +0 -88
- package/hidden/senselogic/sitevision/api/resource/PortletUtil/index.d.ts +0 -32
- package/hidden/senselogic/sitevision/api/resource/ResourceLocatorUtil/index.d.ts +0 -444
- package/hidden/senselogic/sitevision/api/resource/TemplateUtil/index.d.ts +0 -143
- package/hidden/senselogic/sitevision/api/script/InstanceTypeUtil/index.d.ts +0 -176
- package/hidden/senselogic/sitevision/api/script/Requester/index.d.ts +0 -420
- package/hidden/senselogic/sitevision/api/script/RestApi/index.d.ts +0 -195
- package/hidden/senselogic/sitevision/api/script/ScriptUtil/index.d.ts +0 -482
- package/hidden/senselogic/sitevision/api/script/app/RestAppInvokerFactory/index.d.ts +0 -70
- package/hidden/senselogic/sitevision/api/script/factory/ArraysInstance/index.d.ts +0 -1643
- package/hidden/senselogic/sitevision/api/script/factory/CollectionsInstance/index.d.ts +0 -661
- package/hidden/senselogic/sitevision/api/script/factory/InstanceCreatorUtil/index.d.ts +0 -490
- package/hidden/senselogic/sitevision/api/script/factory/ListWrapper/index.d.ts +0 -148
- package/hidden/senselogic/sitevision/api/script/factory/MathInstance/index.d.ts +0 -623
- package/hidden/senselogic/sitevision/api/search/SearchFactory/index.d.ts +0 -114
- package/hidden/senselogic/sitevision/api/search/SearchUtil/index.d.ts +0 -126
- package/hidden/senselogic/sitevision/api/search/index/IndexUtil/index.d.ts +0 -50
- package/hidden/senselogic/sitevision/api/search/index/IndexingUtil/index.d.ts +0 -59
- package/hidden/senselogic/sitevision/api/search/query/QueryStringUtil/index.d.ts +0 -419
- package/hidden/senselogic/sitevision/api/search/searcher/builder/ExtendedDismaxParserBuilder/index.d.ts +0 -257
- package/hidden/senselogic/sitevision/api/search/searcher/builder/FilterBuilder/index.d.ts +0 -103
- package/hidden/senselogic/sitevision/api/search/searcher/builder/HighlightBuilder/index.d.ts +0 -153
- package/hidden/senselogic/sitevision/api/search/searcher/builder/MonitorBuilder/index.d.ts +0 -47
- package/hidden/senselogic/sitevision/api/search/searcher/builder/SearcherBuilder/index.d.ts +0 -210
- package/hidden/senselogic/sitevision/api/search/searcher/builder/SortBuilder/index.d.ts +0 -110
- package/hidden/senselogic/sitevision/api/search/searcher/builder/SpellCheckBuilder/index.d.ts +0 -57
- package/hidden/senselogic/sitevision/api/search/searcher/builder/StandardParserBuilder/index.d.ts +0 -102
- package/hidden/senselogic/sitevision/api/security/AuthenticationUtil/index.d.ts +0 -103
- package/hidden/senselogic/sitevision/api/security/DirectoryUtil/index.d.ts +0 -98
- package/hidden/senselogic/sitevision/api/security/JwtUtil/index.d.ts +0 -143
- package/hidden/senselogic/sitevision/api/security/MessageDigesterFactory/index.d.ts +0 -46
- package/hidden/senselogic/sitevision/api/security/PermissionUtil/index.d.ts +0 -426
- package/hidden/senselogic/sitevision/api/security/PrincipalUtil/index.d.ts +0 -46
- package/hidden/senselogic/sitevision/api/security/RoleAssignmentBuilder/index.d.ts +0 -54
- package/hidden/senselogic/sitevision/api/security/RoleMatcherBuilder/index.d.ts +0 -53
- package/hidden/senselogic/sitevision/api/security/RoleUtil/index.d.ts +0 -49
- package/hidden/senselogic/sitevision/api/subscription/SubscriberUtil/index.d.ts +0 -96
- package/hidden/senselogic/sitevision/api/subscription/SubscriptionUtil/index.d.ts +0 -137
- package/hidden/senselogic/sitevision/api/tag/TagUtil/index.d.ts +0 -127
- package/hidden/senselogic/sitevision/api/text/EndecUtil/index.d.ts +0 -352
- package/hidden/senselogic/sitevision/api/user/SimpleUserUtil/index.d.ts +0 -43
- package/hidden/senselogic/sitevision/api/user/SystemUserUtil/index.d.ts +0 -163
- package/hidden/senselogic/sitevision/api/user/UserDataUtil/index.d.ts +0 -140
- package/hidden/senselogic/sitevision/api/user/UserFactory/index.d.ts +0 -61
- package/hidden/senselogic/sitevision/api/user/UserIdentityUtil/index.d.ts +0 -52
- package/hidden/senselogic/sitevision/api/user/UserUtil/index.d.ts +0 -67
- package/hidden/senselogic/sitevision/api/versioning/PublishingUtil/index.d.ts +0 -265
- package/hidden/senselogic/sitevision/api/versioning/VersionUtil/index.d.ts +0 -19
- package/hidden/senselogic/sitevision/api/webresource/ArticleUtil/index.d.ts +0 -252
- package/hidden/senselogic/sitevision/api/webresource/FileUtil/index.d.ts +0 -294
- package/hidden/senselogic/sitevision/api/webresource/ImageUtil/index.d.ts +0 -267
- package/hidden/senselogic/sitevision/api/webresource/LinkPageUtil/index.d.ts +0 -288
- package/hidden/senselogic/sitevision/api/webresource/PageUtil/index.d.ts +0 -216
- package/hidden/senselogic/sitevision/api/webresource/WebResourceFactory/index.d.ts +0 -56
- package/hidden/senselogic/sitevision/api/webresource/builder/LinkTargetBuilder/index.d.ts +0 -128
- package/hidden/senselogic/sitevision/api/webresource/doctype/DocTypeUtil/index.d.ts +0 -141
- package/hidden/senselogic/sitevision/api/webresource/mime/MimeTypeUtil/index.d.ts +0 -217
- package/hidden/senselogic/sitevision/api/webresource/structure/ArchiveUtil/index.d.ts +0 -53
- package/hidden/senselogic/sitevision/api/webresource/structure/FolderUtil/index.d.ts +0 -107
- package/hidden/senselogic/sitevision/api/webresource/structure/StructureUtil/index.d.ts +0 -94
- package/hidden/senselogic/sitevision/api/webresource/structure/TrashcanUtil/index.d.ts +0 -123
- package/hidden/senselogic/sitevision/api/webresource/webcontent/WebContentUtil/index.d.ts +0 -458
- package/hidden/senselogic/sitevision/api/xml/XmlParserUtil/index.d.ts +0 -116
|
@@ -1,666 +0,0 @@
|
|
|
1
|
-
import Session from "../../../../server/Session";
|
|
2
|
-
|
|
3
|
-
import Version from "../version/Version";
|
|
4
|
-
import LockManager from "../lock/LockManager";
|
|
5
|
-
import QueryManager from "../query/QueryManager";
|
|
6
|
-
import NamespaceRegistry from "../NamespaceRegistry";
|
|
7
|
-
import NodeTypeManager from "../nodetype/NodeTypeManager";
|
|
8
|
-
import ObservationManager from "../observation/ObservationManager";
|
|
9
|
-
import VersionManager from "../version/VersionManager";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* A <code>Workspace</code> object represents a view onto a persitent workspace
|
|
13
|
-
* within a repository. This view is defined by the authorization settings of
|
|
14
|
-
* the <code>Session</code> object associated with the <code>Workspace</code>
|
|
15
|
-
* object. Each <code>Workspace</code> object is associated one-to-one with a
|
|
16
|
-
* <code>Session</code> object. The <code>Workspace</code> object can be
|
|
17
|
-
* acquired by calling <code>{@link Session#getWorkspace()}</code> on the
|
|
18
|
-
* associated <code>Session</code> object.A constant for the name of the workspace root node.A constant for the absolute path of the workspace root node.A constant for the name of the system node.A constant for the absolute path of the system node.A constant for the name of the node type definition storage node.A constant for the absolute path of the node type definition storage
|
|
19
|
-
* node.A constant for the name of the version storage node.A constant for the absolute path of the version storage node.A constant for the name of the activities node.A constant for the absolute path of the activities node.A constant for the name of the configurations node.A constant for the absolute path of the configurations node.A constant for the name of the unfiled storage node.A constant for the absolute path of the unfiled storage node.A constant for the name of the <code>jcr:xmltext</code> node produced on
|
|
20
|
-
* {@link #importXML}.A constant for the name of the <code>jcr:xmlcharacters</code> property
|
|
21
|
-
* produced on {@link #importXML}.A constant for the relative path from the node representing the imported
|
|
22
|
-
* XML element of the <code>jcr:xmlcharacters</code> property produced on
|
|
23
|
-
* {@link #importXML}.
|
|
24
|
-
* @since JCR 2.0
|
|
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
|
-
* @since JCR 2.0
|
|
32
|
-
* @since JCR 2.0
|
|
33
|
-
* @since JCR 2.0
|
|
34
|
-
* @since JCR 2.0
|
|
35
|
-
* @since JCR 2.0
|
|
36
|
-
* @since JCR 2.0
|
|
37
|
-
* @since JCR 2.0
|
|
38
|
-
* @since JCR 2.0
|
|
39
|
-
* @since JCR 2.0
|
|
40
|
-
* @since JCR 2.0
|
|
41
|
-
*/
|
|
42
|
-
interface Workspace {
|
|
43
|
-
/**
|
|
44
|
-
* Returns the <code>Session</code> object through which this
|
|
45
|
-
* <code>Workspace</code> object was acquired.
|
|
46
|
-
* @return a <code>{@link Session}</code> object.
|
|
47
|
-
*/
|
|
48
|
-
getSession(): Session;
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Returns the name of the actual persistent workspace represented by this
|
|
52
|
-
* <code>Workspace</code> object. This the name used in
|
|
53
|
-
* <code>Repository.login</code>.
|
|
54
|
-
* @return the name of this workspace.
|
|
55
|
-
*/
|
|
56
|
-
getName(): string;
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* This method copies the subgraph rooted at, and including, the node at
|
|
60
|
-
* <code>srcAbsPath</code> to the new location at <code>destAbsPath</code>.
|
|
61
|
-
* <p>
|
|
62
|
-
* This is a workspace-write operation and therefore dispatches changes
|
|
63
|
-
* immediately and does not require a <code>save</code>.
|
|
64
|
-
* <p>
|
|
65
|
-
* When a node <code>N</code> is copied to a path location where no node
|
|
66
|
-
* currently exists, a new node <code>N'</code> is created at that location.
|
|
67
|
-
* The subgraph rooted at and including <code>N'</code> (call it <code>S'</code>)
|
|
68
|
-
* is created and is identical to the subgraph rooted at and including <code>N</code>
|
|
69
|
-
* (call it <code>S</code>) with the following exceptions:
|
|
70
|
-
* <ul>
|
|
71
|
-
* <li>Every node in <code>S'</code> is given a new and distinct identifier.</li>
|
|
72
|
-
* <li>The repository <i>may</i> automatically drop any mixin node type <code>T</code>
|
|
73
|
-
* present on any node <code>M</code> in <code>S</code>. Dropping a mixin node type
|
|
74
|
-
* in this context means that while <code>M</code> remains unchanged, its copy
|
|
75
|
-
* <code>M'</code> will lack the mixin <code>T</code> and any child nodes and properties
|
|
76
|
-
* defined by <code>T</code> that are present on <code>M</code>. For example, a node
|
|
77
|
-
* <code>M</code> that is <code>mix:versionable</code> may be copied such that the
|
|
78
|
-
* resulting node <code>M'</code> will be a copy of <code>N</code> except that
|
|
79
|
-
* <code>M'</code> will not be <code>mix:versionable</code> and will not have any of the
|
|
80
|
-
* properties defined by <code>mix:versionable</code>. In order for a mixin node type to
|
|
81
|
-
* be dropped it must be listed by name in the <code>jcr:mixinTypes</code> property of
|
|
82
|
-
* <code>M</code>. The resulting <code>jcr:mixinTypes</code> property of <code>M'</code>
|
|
83
|
-
* will reflect any change.</li>
|
|
84
|
-
* <li>If a node <code>M</code> in <code>S</code> is referenceable and its
|
|
85
|
-
* <code>mix:referenceable</code> mixin is not dropped on copy, then the resulting
|
|
86
|
-
* <code>jcr:uuid</code> property of <code>M'</code> will reflect the new identifier
|
|
87
|
-
* assigned to <code>M'</code>.</li>
|
|
88
|
-
* <li>Each <code>REFERENCE</code> or <code>WEAKEREFERENCE</code> property <code>R</code>
|
|
89
|
-
* in <code>S</code> is copied to its new location <code>R'</code> in <code>S'</code>.
|
|
90
|
-
* If <code>R</code> references a node <code>M</code> within <code>S</code> then the value
|
|
91
|
-
* of <code>R'</code> will be the identifier of <code>M'</code>, the new copy of
|
|
92
|
-
* <code>M</code>, thus preserving the reference within the subgraph.</li>
|
|
93
|
-
* </ul>
|
|
94
|
-
* When a node <code>N</code> is copied to a location where a node <code>N'</code> already
|
|
95
|
-
* exists, the repository may either immediately throw an <code>ItemExistsException</code>
|
|
96
|
-
* or attempt to update the node <code>N'</code> by selectively replacing part of its subgraph
|
|
97
|
-
* with a copy of the relevant part of the subgraph of <code>N</code>. If the node types of
|
|
98
|
-
* <code>N</code> and <code>N'</code> are compatible, the implementation supports update-on-copy
|
|
99
|
-
* for these node types and no other errors occur, then the copy will succeed. Otherwise an
|
|
100
|
-
* <code>ItemExistsException</code> is thrown.
|
|
101
|
-
* <p>
|
|
102
|
-
* Which node types can be updated on copy and the details of any such updates are
|
|
103
|
-
* implementation-dependent. For example, some implementations may support update-on-copy
|
|
104
|
-
* for <code>mix:versionable</code> nodes. In such a case the versioning-related properties
|
|
105
|
-
* of the target node would remain unchanged (<code>jcr:uuid</code>,
|
|
106
|
-
* <code>jcr:versionHistory</code>, etc.) while the substantive content part of the subgraph
|
|
107
|
-
* would be replaced with that of the source node.
|
|
108
|
-
* <p>
|
|
109
|
-
* The <code>destAbsPath</code> provided must not have an index on its final
|
|
110
|
-
* element. If it does then a <code>RepositoryException</code> is thrown.
|
|
111
|
-
* Strictly speaking, the <code>destAbsPath</code> parameter is actually an
|
|
112
|
-
* <i>absolute path</i> to the parent node of the new location, appended
|
|
113
|
-
* with the new <i>name</i> desired for the copied node. It does not specify
|
|
114
|
-
* a position within the child node ordering. If ordering is supported by
|
|
115
|
-
* the node type of the parent node of the new location, then the new copy
|
|
116
|
-
* of the node is appended to the end of the child node list.
|
|
117
|
-
* <p>
|
|
118
|
-
* This method cannot be used to copy an individual property by itself. It
|
|
119
|
-
* copies an entire node and its subgraph.
|
|
120
|
-
*
|
|
121
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
122
|
-
* @param srcAbsPath the path of the node to be copied.
|
|
123
|
-
* @param destAbsPath the location to which the node at <code>srcAbsPath</code> is to be copied.
|
|
124
|
-
* @throws ConstraintViolationException if the operation would violate a node-type or other implementation-specific constraint.
|
|
125
|
-
* @throws VersionException if the parent node of <code>destAbsPath</code> is read-only due to a checked-in node.
|
|
126
|
-
* @throws AccessDeniedException if the current session does not have sufficent access to complete the operation.
|
|
127
|
-
* @throws PathNotFoundException if the node at <code>srcAbsPath</code> or the parent of <code>destAbsPath</code> does not exist.
|
|
128
|
-
* @throws ItemExistsException if a node already exists at <code>destAbsPath</code> and either same-name siblings are not allowed or update on copy is not supported for the nodes involved.
|
|
129
|
-
* @throws LockException if a lock prevents the copy.
|
|
130
|
-
* @throws RepositoryException if the last element of <code>destAbsPath</code> has an index or if another error occurs.
|
|
131
|
-
*/
|
|
132
|
-
copy(srcAbsPath: string, destAbsPath: string): void;
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* This method copies the subgraph at <code>srcAbsPath</code> in
|
|
136
|
-
* <code>srcWorkspace</code> to <code>destAbsPath</code> in
|
|
137
|
-
* <code>this</code> workspace.
|
|
138
|
-
* <p>
|
|
139
|
-
* When a node <code>N</code> is copied to a path location where no node
|
|
140
|
-
* currently exists, a new node <code>N'</code> is created at that location.
|
|
141
|
-
* The subgraph rooted at and including <code>N'</code> (call it <code>S'</code>)
|
|
142
|
-
* is created and is identical to the subgraph rooted at and including <code>N</code>
|
|
143
|
-
* (call it <code>S</code>) with the following exceptions:
|
|
144
|
-
* <ul>
|
|
145
|
-
* <li>Every referenceable node in <code>S'</code> is given a new and distinct identifier
|
|
146
|
-
* while every non-referenceable node in <code>S'</code> <i>may</i> be given a new and
|
|
147
|
-
* distinct identifier.</li>
|
|
148
|
-
* <li>The repository <i>may</i> automatically drop any mixin node type <code>T</code>
|
|
149
|
-
* present on any node <code>M</code> in <code>S</code>. Dropping a mixin node type
|
|
150
|
-
* in this context means that while <code>M</code> remains unchanged, its copy
|
|
151
|
-
* <code>M'</code> will lack the mixin <code>T</code> and any child nodes and properties
|
|
152
|
-
* defined by <code>T</code> that are present on <code>M</code>. For example, a node
|
|
153
|
-
* <code>M</code> that is <code>mix:versionable</code> may be copied such that the
|
|
154
|
-
* resulting node <code>M'</code> will be a copy of <code>N</code> except that
|
|
155
|
-
* <code>M'</code> will not be <code>mix:versionable</code> and will not have any of the
|
|
156
|
-
* properties defined by <code>mix:versionable</code>. In order for a mixin node type to
|
|
157
|
-
* be dropped it must be listed by name in the <code>jcr:mixinTypes</code> property of
|
|
158
|
-
* <code>M</code>. The resulting <code>jcr:mixinTypes</code> property of <code>M'</code>
|
|
159
|
-
* will reflect any change.</li>
|
|
160
|
-
* <li>If a node <code>M</code> in <code>S</code> is referenceable and its
|
|
161
|
-
* <code>mix:referenceable</code> mixin is not dropped on copy, then the resulting
|
|
162
|
-
* <code>jcr:uuid</code> property of <code>M'</code> will reflect the new identifier
|
|
163
|
-
* assigned to <code>M'</code>.</li>
|
|
164
|
-
* <li>Each <code>REFERENCE</code> or <code>WEAKEREFERENCE</code> property <code>R</code>
|
|
165
|
-
* in <code>S</code> is copied to its new location <code>R'</code> in <code>S'</code>.
|
|
166
|
-
* If <code>R</code> references a node <code>M</code> within <code>S</code> then the value
|
|
167
|
-
* of <code>R'</code> will be the identifier of <code>M'</code>, the new copy of
|
|
168
|
-
* <code>M</code>, thus preserving the reference within the subgraph.</li>
|
|
169
|
-
* </ul>
|
|
170
|
-
* When a node <code>N</code> is copied to a location where a node <code>N'</code> already
|
|
171
|
-
* exists, the repository may either immediately throw an <code>ItemExistsException</code>
|
|
172
|
-
* or attempt to update the node <code>N'</code> by selectively replacing part of its subgraph
|
|
173
|
-
* with a copy of the relevant part of the subgraph of <code>N</code>. If the node types of
|
|
174
|
-
* <code>N</code> and <code>N'</code> are compatible, the implementation supports update-on-copy
|
|
175
|
-
* for these node types and no other errors occur, then the copy will succeed. Otherwise an
|
|
176
|
-
* <code>ItemExistsException</code> is thrown.
|
|
177
|
-
* <p>
|
|
178
|
-
* Which node types can be updated on copy and the details of any such updates are
|
|
179
|
-
* implementation-dependent. For example, some implementations may support update-on-copy
|
|
180
|
-
* for <code>mix:versionable</code> nodes. In such a case the versioning-related properties
|
|
181
|
-
* of the target node would remain unchanged (<code>jcr:uuid</code>,
|
|
182
|
-
* <code>jcr:versionHistory</code>, etc.) while the substantive content part of the subgraph
|
|
183
|
-
* would be replaced with that of the source node.
|
|
184
|
-
* <p>
|
|
185
|
-
* The <code>destAbsPath</code> provided must not have an index on its final
|
|
186
|
-
* element. If it does then a <code>RepositoryException</code> is thrown.
|
|
187
|
-
* Strictly speaking, the <code>destAbsPath</code> parameter is actually an
|
|
188
|
-
* <i>absolute path</i> to the parent node of the new location, appended
|
|
189
|
-
* with the new <i>name</i> desired for the copied node. It does not specify
|
|
190
|
-
* a position within the child node ordering. If ordering is supported by
|
|
191
|
-
* the node type of the parent node of the new location, then the new copy
|
|
192
|
-
* of the node is appended to the end of the child node list.
|
|
193
|
-
* <p>
|
|
194
|
-
* This method cannot be used to copy just an individual property by itself.
|
|
195
|
-
* It copies an entire node and its subgraph (including, of course, any
|
|
196
|
-
* properties contained therein).
|
|
197
|
-
*
|
|
198
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
199
|
-
* @param srcWorkspace the name of the workspace from which the copy is to be made.
|
|
200
|
-
* @param srcAbsPath the path of the node to be copied.
|
|
201
|
-
* @param destAbsPath the location to which the node at <code>srcAbsPath</code> is to be copied in <code>this</code> workspace.
|
|
202
|
-
* @throws NoSuchWorkspaceException if <code>srcWorkspace</code> does not exist or if the current <code>Session</code> does not have permission to access it.
|
|
203
|
-
* @throws ConstraintViolationException if the operation would violate a node-type or other implementation-specific constraint
|
|
204
|
-
* @throws VersionException if the parent node of <code>destAbsPath</code> is read-only due to a checked-in node.
|
|
205
|
-
* @throws AccessDeniedException if the current session does have access to <code>srcWorkspace</code> but otherwise does not have sufficient access to complete the operation.
|
|
206
|
-
* @throws PathNotFoundException if the node at <code>srcAbsPath</code> in <code>srcWorkspace</code> or the parent of <code>destAbsPath</code> in this workspace does not exist.
|
|
207
|
-
* @throws ItemExistsException if a node already exists at <code>destAbsPath</code> and either same-name siblings are not allowed or update on copy is not supported for the nodes involved.
|
|
208
|
-
* @throws LockException if a lock prevents the copy.
|
|
209
|
-
* @throws RepositoryException if the last element of <code>destAbsPath</code> has an index or if another error occurs.
|
|
210
|
-
*/
|
|
211
|
-
copy(srcWorkspace: string, srcAbsPath: string, destAbsPath: string): void;
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* Clones the subgraph at the node <code>srcAbsPath</code> in
|
|
215
|
-
* <code>srcWorkspace</code> to the new location at <code>destAbsPath</code>
|
|
216
|
-
* in <code>this</code> workspace.
|
|
217
|
-
* <p>
|
|
218
|
-
* Unlike the signature of <code>copy</code> that copies between workspaces,
|
|
219
|
-
* this method <i>does not</i> assign new identifiers to the newly cloned
|
|
220
|
-
* nodes but preserves the identifiers of their respective source nodes.
|
|
221
|
-
* This applies to both referenceable and non-referenceable nodes.
|
|
222
|
-
* <p>
|
|
223
|
-
* In some implementations there may be cases where preservation of a
|
|
224
|
-
* non-referenceable identifier is not possible, due to how
|
|
225
|
-
* non-referenceable identifiers are constructed in that implementation. In
|
|
226
|
-
* such a case this method will throw a <code>RepositoryException</code>.
|
|
227
|
-
* <p>
|
|
228
|
-
* If <code>removeExisting</code> is true and an existing node in this
|
|
229
|
-
* workspace (the destination workspace) has the same identifier as a node
|
|
230
|
-
* being cloned from <code>srcWorkspace</code>, then the incoming node takes
|
|
231
|
-
* precedence, and the existing node (and its subgraph) is removed. If
|
|
232
|
-
* <code>removeExisting</code> is false then an identifier collision causes
|
|
233
|
-
* this method to throw a <code>ItemExistsException</code> and no changes
|
|
234
|
-
* are made.
|
|
235
|
-
* <p>
|
|
236
|
-
* If successful, the change is persisted immediately, there is no need to
|
|
237
|
-
* call <code>save</code>.
|
|
238
|
-
* <p>
|
|
239
|
-
* The <code>destAbsPath</code> provided must not have an index on its final
|
|
240
|
-
* element. If it does then a <code>RepositoryException</code> is thrown. If
|
|
241
|
-
* ordering is supported by the node type of the parent node of the new
|
|
242
|
-
* location, then the new clone of the node is appended to the end of the
|
|
243
|
-
* child node list.
|
|
244
|
-
* <p>
|
|
245
|
-
* This method cannot be used to clone just an individual property; it
|
|
246
|
-
* clones an node and its subgraph.
|
|
247
|
-
*
|
|
248
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
249
|
-
* @param srcWorkspace The name of the workspace from which the node is to be copied.
|
|
250
|
-
* @param srcAbsPath the path of the node to be copied in <code>srcWorkspace</code>.
|
|
251
|
-
* @param destAbsPath the location to which the node at <code>srcAbsPath</code> is to be copied in <code>this</code> workspace.
|
|
252
|
-
* @param removeExisting if <code>false</code> then this method throws an <code>ItemExistsException</code> on identifier conflict with an incoming node. If <code>true</code> then a identifier conflict is resolved by removing the existing node from its location in this workspace and cloning (copying in) the one from <code>srcWorkspace</code>.
|
|
253
|
-
* @throws NoSuchWorkspaceException if <code>destWorkspace</code> does not exist.
|
|
254
|
-
* @throws ConstraintViolationException if the operation would violate a node-type or other implementation-specific constraint.
|
|
255
|
-
* @throws VersionException if the parent node of <code>destAbsPath</code> is read-only due to a checked-in node. This exception will also be thrown if <code>removeExisting</code> is <code>true</code>, and an identifier conflict occurs that would require the moving and/or altering of a node that is checked-in.
|
|
256
|
-
* @throws AccessDeniedException if the current session does not have sufficient access to complete the operation.
|
|
257
|
-
* @throws PathNotFoundException if the node at <code>srcAbsPath</code> in <code>srcWorkspace</code> or the parent of <code>destAbsPath</code> in this workspace does not exist.
|
|
258
|
-
* @throws ItemExistsException if a node already exists at <code>destAbsPath</code> and same-name siblings are not allowed or if <code>removeExisting</code> is <code>false</code> and an identifier conflict occurs.
|
|
259
|
-
* @throws LockException if a lock prevents the clone.
|
|
260
|
-
* @throws RepositoryException if the last element of <code>destAbsPath</code> has an index or if another error occurs.
|
|
261
|
-
*/
|
|
262
|
-
clone(
|
|
263
|
-
srcWorkspace: string,
|
|
264
|
-
srcAbsPath: string,
|
|
265
|
-
destAbsPath: string,
|
|
266
|
-
removeExisting: boolean
|
|
267
|
-
): void;
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* Moves the node at <code>srcAbsPath</code> (and its entire subgraph) to
|
|
271
|
-
* the new location at <code>destAbsPath</code>.
|
|
272
|
-
* <p>
|
|
273
|
-
* If successful, the change is persisted immediately, there is no need to
|
|
274
|
-
* call <code>save</code>. Note that this is in contrast to {@link
|
|
275
|
-
* Session#move} which operates within the transient space and hence
|
|
276
|
-
* requires a <code>save</code>.
|
|
277
|
-
* <p>
|
|
278
|
-
* The identifiers of referenceable nodes must not be changed by a
|
|
279
|
-
* <code>move</code>. The identifiers of non-referenceable nodes <i>may</i>
|
|
280
|
-
* change.
|
|
281
|
-
* <p>
|
|
282
|
-
* The <code>destAbsPath</code> provided must not have an index on its final
|
|
283
|
-
* element. If it does then a <code>RepositoryException</code> is thrown.
|
|
284
|
-
* Strictly speaking, the <code>destAbsPath</code> parameter is actually an
|
|
285
|
-
* <i>absolute path</i> to the parent node of the new location, appended
|
|
286
|
-
* with the new <i>name</i> desired for the moved node. It does not specify
|
|
287
|
-
* a position within the child node ordering. If ordering is supported by
|
|
288
|
-
* the node type of the parent node of the new location, then the newly
|
|
289
|
-
* moved node is appended to the end of the child node list.
|
|
290
|
-
* <p>
|
|
291
|
-
* This method cannot be used to move just an individual property by itself.
|
|
292
|
-
* It moves an entire node and its subgraph (including, of course, any
|
|
293
|
-
* properties contained therein).
|
|
294
|
-
* <p>
|
|
295
|
-
* The identifiers of referenceable nodes must not be changed by a
|
|
296
|
-
* <code>move</code>. The identifiers of non-referenceable nodes may
|
|
297
|
-
* change.
|
|
298
|
-
* <p>
|
|
299
|
-
* A <code>ConstraintViolationException</code> is thrown if the operation
|
|
300
|
-
* would violate a node-type or other implementation-specific constraint.
|
|
301
|
-
* <p>
|
|
302
|
-
* A <code>VersionException</code> is thrown if the parent node of
|
|
303
|
-
* <code>destAbsPath</code> or the parent node of <code>srcAbsPath</code> is
|
|
304
|
-
* versionable and checked-in, or is non-versionable but its nearest
|
|
305
|
-
* versionable ancestor is checked-in.
|
|
306
|
-
* <p>
|
|
307
|
-
* An <code>AccessDeniedException</code> is thrown if the current session
|
|
308
|
-
* (i.e. the session that was used to acquire this <code>Workspace</code>
|
|
309
|
-
* object) does not have sufficient access rights to complete the
|
|
310
|
-
* operation.
|
|
311
|
-
* <p>
|
|
312
|
-
* A <code>PathNotFoundException</code> is thrown if the node at
|
|
313
|
-
* <code>srcAbsPath</code> or the parent of <code>destAbsPath</code> does
|
|
314
|
-
* not exist.
|
|
315
|
-
* <p>
|
|
316
|
-
* An <code>ItemExistException</code> is thrown if a node already exists at
|
|
317
|
-
* <code>destAbsPath</code> and same-name siblings are not allowed.
|
|
318
|
-
* <p>
|
|
319
|
-
* Note that if a property already exists at <code>destAbsPath</code>, the
|
|
320
|
-
* operation succeeds, since a node may have a child node and property with
|
|
321
|
-
* the same name
|
|
322
|
-
* <p>
|
|
323
|
-
* A <code>LockException</code> if a lock prevents the move.
|
|
324
|
-
*
|
|
325
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
326
|
-
* @param srcAbsPath the path of the node to be moved.
|
|
327
|
-
* @param destAbsPath the location to which the node at <code>srcAbsPath</code> is to be moved.
|
|
328
|
-
* @throws ConstraintViolationException if the operation would violate a node-type or other implementation-specific constraint
|
|
329
|
-
* @throws VersionException if the parent node of <code>destAbsPath</code> is read-only due to a checked-in node.
|
|
330
|
-
* @throws AccessDeniedException if the current session does not have sufficient access to complete the operation.
|
|
331
|
-
* @throws PathNotFoundException if the node at <code>srcAbsPath</code> or the parent of <code>destAbsPath</code> does not exist.
|
|
332
|
-
* @throws ItemExistsException if a node already exists at <code>destAbsPath</code> and same-name siblings are not allowed.
|
|
333
|
-
* @throws LockException if a lock prevents the move.
|
|
334
|
-
* @throws RepositoryException if the last element of <code>destAbsPath</code> has an index or if another error occurs.
|
|
335
|
-
*/
|
|
336
|
-
move(srcAbsPath: string, destAbsPath: string): void;
|
|
337
|
-
|
|
338
|
-
/**
|
|
339
|
-
* Restores a set of versions at once. Used in cases where a "chicken and
|
|
340
|
-
* egg" problem of mutually referring <code>REFERENCE</code> properties
|
|
341
|
-
* would prevent the restore in any serial order.
|
|
342
|
-
* <p>
|
|
343
|
-
* If the restore succeeds the changes made to <code>this</code> node are
|
|
344
|
-
* persisted immediately, there is no need to call <code>save</code>.
|
|
345
|
-
* <p>
|
|
346
|
-
* The following restrictions apply to the set of versions specified:
|
|
347
|
-
* <p>
|
|
348
|
-
* If <code>S</code> is the set of versions being restored simultaneously,
|
|
349
|
-
* <ul> <li> For every version <code>V</code> in <code>S</code> that
|
|
350
|
-
* corresponds to a <i>missing</i> node, there must also be a parent of V in
|
|
351
|
-
* S. </li> <li> <code>S</code> must contain at least one version that
|
|
352
|
-
* corresponds to an existing node in the workspace. </li> <li> No
|
|
353
|
-
* <code>V</code> in <code>S</code> can be a root version
|
|
354
|
-
* (<code>jcr:rootVersion</code>). </li> </ul> If any of these restrictions
|
|
355
|
-
* does not hold, the restore will fail because the system will be unable to
|
|
356
|
-
* determine the path locations to which one or more versions are to be
|
|
357
|
-
* restored. In this case a <code>VersionException</code> is thrown.
|
|
358
|
-
* <p>
|
|
359
|
-
* The versionable nodes in this workspace that correspond to the versions
|
|
360
|
-
* being restored define a set of (one or more) subgraphs. An identifier
|
|
361
|
-
* collision occurs when this workspace contains a node <i>outside these
|
|
362
|
-
* subgraphs</i> that has the same identifier as one of the nodes that would
|
|
363
|
-
* be introduced by the <code>restore</code> operation <i>into one of these
|
|
364
|
-
* subgraphs</i>. The result in such a case is governed by the
|
|
365
|
-
* <code>removeExisting</code> flag. If <code>removeExisting</code> is
|
|
366
|
-
* <code>true</code> then the incoming node takes precedence, and the
|
|
367
|
-
* existing node (and its subgraph) is removed. If <code>removeExisting</code>
|
|
368
|
-
* is <code>false</code> then a <code>ItemExistsException</code> is thrown
|
|
369
|
-
* and no changes are made. Note that this applies not only to cases where
|
|
370
|
-
* the restored node itself conflicts with an existing node but also to
|
|
371
|
-
* cases where a conflict occurs with any node that would be introduced into
|
|
372
|
-
* the workspace by the restore operation. In particular, conflicts
|
|
373
|
-
* involving subnodes of the restored node that have
|
|
374
|
-
* <code>OnParentVersion</code> settings of <code>COPY</code> or
|
|
375
|
-
* <code>VERSION</code> are also governed by the <code>removeExisting</code>
|
|
376
|
-
* flag.
|
|
377
|
-
*
|
|
378
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
379
|
-
* @param versions The set of versions to be restored
|
|
380
|
-
* @param removeExisting governs what happens on identifier collision.
|
|
381
|
-
* @throws ItemExistsException if <code>removeExisting</code> is <code>false</code> and an identifier collision occurs with a node being restored.
|
|
382
|
-
* @throws UnsupportedRepositoryOperationException if one or more of the nodes to be restored is not versionable.
|
|
383
|
-
* @throws VersionException if the set of versions to be restored is such that the original path location of one or more of the versions cannot be determined or if the <code>restore</code> would change the state of a existing versionable node that is currently checked-in or if a root version (<code>jcr:rootVersion</code>) is among those being restored.
|
|
384
|
-
* @throws LockException if a lock prevents the restore.
|
|
385
|
-
* @throws InvalidItemStateException if this <code>Session</code> has pending unsaved changes.
|
|
386
|
-
* @throws RepositoryException if another error occurs.
|
|
387
|
-
* @deprecated As of JCR 2.0, {@link javax.jcr.version.VersionManager#restore} should be used instead.
|
|
388
|
-
*/
|
|
389
|
-
restore(versions: Version, removeExisting: boolean): void;
|
|
390
|
-
|
|
391
|
-
/**
|
|
392
|
-
* Returns the <code>LockManager</code> object, through which locking
|
|
393
|
-
* methods are accessed.
|
|
394
|
-
*
|
|
395
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
396
|
-
* @return the <code>LockManager</code> object.
|
|
397
|
-
* @throws UnsupportedRepositoryOperationException if the implementation does not support locking.
|
|
398
|
-
* @throws RepositoryException if an error occurs.
|
|
399
|
-
* @since JCR 2.0
|
|
400
|
-
*/
|
|
401
|
-
getLockManager(): LockManager;
|
|
402
|
-
|
|
403
|
-
/**
|
|
404
|
-
* Returns the <code>QueryManager</code> object, through search methods are
|
|
405
|
-
* accessed.
|
|
406
|
-
* @return the <code>QueryManager</code> object.
|
|
407
|
-
* @throws RepositoryException if an error occurs.
|
|
408
|
-
*/
|
|
409
|
-
getQueryManager(): QueryManager;
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* Returns the <code>NamespaceRegistry</code> object, which is used to
|
|
413
|
-
* access the mapping between prefixes and namespaces. In level 2
|
|
414
|
-
* repositories the <code>NamespaceRegistry</code> can also be used to
|
|
415
|
-
* change the namespace mappings.
|
|
416
|
-
* @return the <code>NamespaceRegistry</code>.
|
|
417
|
-
* @throws RepositoryException if an error occurs.
|
|
418
|
-
*/
|
|
419
|
-
getNamespaceRegistry(): NamespaceRegistry;
|
|
420
|
-
|
|
421
|
-
/**
|
|
422
|
-
* Returns the <code>NodeTypeManager</code> through which node type
|
|
423
|
-
* information can be queried. There is one node type registry per
|
|
424
|
-
* repository, therefore the <code>NodeTypeManager</code> is not
|
|
425
|
-
* workspace-specific; it provides introspection methods for the global,
|
|
426
|
-
* repository-wide set of available node types. In repositories that support
|
|
427
|
-
* it, the <code>NodeTypeManager</code> can also be used to register new
|
|
428
|
-
* node types.
|
|
429
|
-
* @return a <code>NodeTypeManager</code> object.
|
|
430
|
-
* @throws RepositoryException if an error occurs.
|
|
431
|
-
*/
|
|
432
|
-
getNodeTypeManager(): NodeTypeManager;
|
|
433
|
-
|
|
434
|
-
/**
|
|
435
|
-
* Returns the <code>ObservationManager</code> object.
|
|
436
|
-
*
|
|
437
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
438
|
-
* @return an <code>ObservationManager</code> object.
|
|
439
|
-
* @throws UnsupportedRepositoryOperationException if the implementation does not support observation.
|
|
440
|
-
* @throws RepositoryException if an error occurs.
|
|
441
|
-
*/
|
|
442
|
-
getObservationManager(): ObservationManager;
|
|
443
|
-
|
|
444
|
-
/**
|
|
445
|
-
* Returns the <code>VersionManager</code> object.
|
|
446
|
-
*
|
|
447
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
448
|
-
* @return an <code>VersionManager</code> object.
|
|
449
|
-
* @throws UnsupportedRepositoryOperationException if the implementation does not support versioning.
|
|
450
|
-
* @throws RepositoryException if an error occurs.
|
|
451
|
-
* @since JCR 2.0
|
|
452
|
-
*/
|
|
453
|
-
getVersionManager(): VersionManager;
|
|
454
|
-
|
|
455
|
-
/**
|
|
456
|
-
* Returns a string array containing the names of all workspaces in this
|
|
457
|
-
* repository that are accessible to this user, given the
|
|
458
|
-
* <code>Credentials</code> that were used to get the <code>Session</code>
|
|
459
|
-
* to which this <code>Workspace</code> is tied.
|
|
460
|
-
* <p>
|
|
461
|
-
* In order to access one of the listed workspaces, the user performs
|
|
462
|
-
* another {@link Repository#login}, specifying the name of the desired
|
|
463
|
-
* workspace, and receives a new <code>Session</code> object.
|
|
464
|
-
* @return string array of names of accessible workspaces.
|
|
465
|
-
* @throws RepositoryException if an error occurs
|
|
466
|
-
*/
|
|
467
|
-
getAccessibleWorkspaceNames(): string;
|
|
468
|
-
|
|
469
|
-
/**
|
|
470
|
-
* Returns an <code>org.xml.sax.ContentHandler</code> which can be used to
|
|
471
|
-
* push SAX events into the repository. If the incoming XML stream (in the
|
|
472
|
-
* form of SAX events) does not appear to be a JCR system view XML document
|
|
473
|
-
* then it is interpreted as a document view XML document.
|
|
474
|
-
* <p>
|
|
475
|
-
* The incoming XML is deserialized into a subgraph of items immediately
|
|
476
|
-
* below the node at <code>parentAbsPath</code>.
|
|
477
|
-
* <p>
|
|
478
|
-
* This method simply returns the <code>ContentHandler</code> without
|
|
479
|
-
* altering the state of the repository; the actual deserialization is done
|
|
480
|
-
* through the methods of the <code>ContentHandler</code>. Invalid XML data
|
|
481
|
-
* will cause the <code>ContentHandler</code> to throw a
|
|
482
|
-
* <code>SAXException</code>.
|
|
483
|
-
* <p>
|
|
484
|
-
* As SAX events are fed into the <code>ContentHandler</code>, changes are
|
|
485
|
-
* made directly at the workspace level, without going through the
|
|
486
|
-
* <code>Session</code>. As a result, there is not need to call
|
|
487
|
-
* <code>save</code>. The advantage of this direct-to-workspace method is
|
|
488
|
-
* that a large import will not result in a large cache of pending nodes in
|
|
489
|
-
* the <code>Session</code>. The disadvantage is that structures that
|
|
490
|
-
* violate node type constraints cannot be imported, fixed and then saved.
|
|
491
|
-
* Instead, a constraint violation will cause the <code>ContentHandler</code>
|
|
492
|
-
* to throw a <code>SAXException</code>. See <code>Session.getImportContentHandler</code>
|
|
493
|
-
* for a version of this method that <i>does</i> go through the
|
|
494
|
-
* <code>Session</code>.
|
|
495
|
-
* <p>
|
|
496
|
-
* The flag <code>uuidBehavior</code> governs how the identifiers of
|
|
497
|
-
* incoming (deserialized) nodes are handled. There are four options: <ul>
|
|
498
|
-
* <li>{@link ImportUUIDBehavior#IMPORT_UUID_CREATE_NEW}: Incoming nodes are
|
|
499
|
-
* assigned newly created identifiers upon addition to the workspace. As a
|
|
500
|
-
* result identifier collisions never occur. <li>{@link
|
|
501
|
-
* ImportUUIDBehavior#IMPORT_UUID_COLLISION_REMOVE_EXISTING}: If an incoming
|
|
502
|
-
* node has the same identifier as a node already existing in the workspace,
|
|
503
|
-
* then the already existing node (and its subgraph) is removed from
|
|
504
|
-
* wherever it may be in the workspace before the incoming node is added.
|
|
505
|
-
* Note that this can result in nodes "disappearing" from locations in the
|
|
506
|
-
* workspace that are remote from the location to which the incoming
|
|
507
|
-
* subgraph is being written. <li>{@link ImportUUIDBehavior#IMPORT_UUID_COLLISION_REPLACE_EXISTING}:
|
|
508
|
-
* If an incoming node has the same identifier as a node already existing in
|
|
509
|
-
* the workspace then the already existing node is replaced by the incoming
|
|
510
|
-
* node in the same position as the existing node. Note that this may result
|
|
511
|
-
* in the incoming subgraph being disaggregated and "spread around" to
|
|
512
|
-
* different locations in the workspace. In the most extreme case this
|
|
513
|
-
* behavior may result in no node at all being added as child of
|
|
514
|
-
* <code>parentAbsPath</code>. This will occur if the topmost element of the
|
|
515
|
-
* incoming XML has the same identifier as an existing node elsewhere in the
|
|
516
|
-
* workspace. <li>{@link ImportUUIDBehavior#IMPORT_UUID_COLLISION_THROW}: If
|
|
517
|
-
* an incoming node has the same identifier as a node already existing in
|
|
518
|
-
* the workspace then a <code>SAXException</code> is thrown by the returned
|
|
519
|
-
* <code>ContentHandler</code> during deserialization. </ul> A
|
|
520
|
-
* <code>SAXException</code> will be thrown by the returned
|
|
521
|
-
* <code>ContentHandler</code> during deserialization if the top-most
|
|
522
|
-
* element of the incoming XML would deserialize to a node with the same
|
|
523
|
-
* name as an existing child of <code>parentAbsPath</code> and that child
|
|
524
|
-
* does not allow same-name siblings.
|
|
525
|
-
* <p>
|
|
526
|
-
* A <code>SAXException</code> will also be thrown by the returned
|
|
527
|
-
* <code>ContentHandler</code> during deserialization if
|
|
528
|
-
* <code>uuidBehavior</code> is set to <code>IMPORT_UUID_COLLISION_REMOVE_EXISTING</code>
|
|
529
|
-
* and an incoming node has the same identifier as the node at
|
|
530
|
-
* <code>parentAbsPath</code> or one of its ancestors.
|
|
531
|
-
*
|
|
532
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
533
|
-
* @param parentAbsPath the absolute path of a node under which (as child) the imported subgraph will be built.
|
|
534
|
-
* @param uuidBehavior a four-value flag that governs how incoming identifiers are handled.
|
|
535
|
-
* @return an org.xml.sax.ContentHandler whose methods may be called to feed SAX events into the deserializer.
|
|
536
|
-
* @throws PathNotFoundException if no node exists at <code>parentAbsPath</code>.
|
|
537
|
-
* @throws ConstraintViolationException if the new subgraph cannot be added to the node at <code>parentAbsPath</code> due to node-type or other implementation-specific constraints, and this can be determined before the first SAX event is sent. Unlike {@link Session#getImportContentHandler}, this method also enforces node type constraints by throwing <code>SAXException</code>s during deserialization. However, which node type constraints are enforced depends upon whether node type information in the imported data is respected, and this is an implementation-specific issue.
|
|
538
|
-
* @throws VersionException if the node at <code>parentAbsPath</code> is read-only due to a checked-in node.
|
|
539
|
-
* @throws LockException if a lock prevents the addition of the subgraph.
|
|
540
|
-
* @throws AccessDeniedException if the session associated with this <code>Workspace</code> object does not have sufficient access to perform the import.
|
|
541
|
-
* @throws RepositoryException if another error occurs.
|
|
542
|
-
*/
|
|
543
|
-
getImportContentHandler(parentAbsPath: string, uuidBehavior: number): unknown;
|
|
544
|
-
|
|
545
|
-
/**
|
|
546
|
-
* Deserializes an XML document and adds the resulting item subgraph as a
|
|
547
|
-
* child of the node at <code>parentAbsPath</code>.
|
|
548
|
-
* <p>
|
|
549
|
-
* If the incoming XML stream does not appear to be a JCR system view XML
|
|
550
|
-
* document then it is interpreted as a <b>document view</b> XML document.
|
|
551
|
-
* <p>
|
|
552
|
-
* The passed <code>InputStream</code> is closed before this method returns
|
|
553
|
-
* either normally or because of an exception.
|
|
554
|
-
* <p>
|
|
555
|
-
* Changes are made directly at the workspace level, without going through
|
|
556
|
-
* the <code>Session</code>. As a result, there is not need to call
|
|
557
|
-
* <code>save</code>. The advantage of this direct-to-workspace method is
|
|
558
|
-
* that a large import will not result in a large cache of pending nodes in
|
|
559
|
-
* the <code>Session</code>. The disadvantage is that invalid data cannot be
|
|
560
|
-
* imported, fixed and then saved. Instead, invalid data will cause this
|
|
561
|
-
* method to throw an <code>InvalidSerializedDataException</code>. See
|
|
562
|
-
* <code>Session.importXML</code> for a version of this method that
|
|
563
|
-
* <i>does</i> go through the <code>Session</code>.
|
|
564
|
-
* <p>
|
|
565
|
-
* The flag <code>uuidBehavior</code> governs how the identifiers of
|
|
566
|
-
* incoming (deserialized) nodes are handled. There are four options: <ul>
|
|
567
|
-
* <li>{@link ImportUUIDBehavior#IMPORT_UUID_CREATE_NEW}: Incoming nodes are
|
|
568
|
-
* assigned newly created identifiers upon addition to the workspace. As a
|
|
569
|
-
* result identifier collisions never occur. <li>{@link
|
|
570
|
-
* ImportUUIDBehavior#IMPORT_UUID_COLLISION_REMOVE_EXISTING}: If an incoming
|
|
571
|
-
* node has the same identifier as a node already existing in the workspace
|
|
572
|
-
* then the already existing node (and its subgraph) is removed from
|
|
573
|
-
* wherever it may be in the workspace before the incoming node is added.
|
|
574
|
-
* Note that this can result in nodes "disappearing" from locations in the
|
|
575
|
-
* workspace that are remote from the location to which the incoming
|
|
576
|
-
* subgraph is being written. If an incoming node has the same identifier as
|
|
577
|
-
* the existing root node of this workspace then <li>{@link
|
|
578
|
-
* ImportUUIDBehavior#IMPORT_UUID_COLLISION_REPLACE_EXISTING}: If an
|
|
579
|
-
* incoming node has the same identifier as a node already existing in the
|
|
580
|
-
* workspace then the already existing node is replaced by the incoming node
|
|
581
|
-
* in the same position as the existing node. Note that this may result in
|
|
582
|
-
* the incoming subgraph being disaggregated and "spread around" to
|
|
583
|
-
* different locations in the workspace. In the most extreme edge case this
|
|
584
|
-
* behavior may result in no node at all being added as child of
|
|
585
|
-
* <code>parentAbsPath</code>. This will occur if the topmost element of the
|
|
586
|
-
* incoming XML has the same identifier as an existing node elsewhere in the
|
|
587
|
-
* workspace. <li>{@link ImportUUIDBehavior#IMPORT_UUID_COLLISION_THROW}: If
|
|
588
|
-
* an incoming node has the same identifier as a node already existing in
|
|
589
|
-
* the workspace then an <code>ItemExistsException</code> is thrown. </ul>
|
|
590
|
-
* An <code>ItemExistsException</code> will be thrown if the top-most
|
|
591
|
-
* element of the incoming XML would deserialize to a node with the same
|
|
592
|
-
* name as an existing child of <code>parentAbsPath</code> and that child
|
|
593
|
-
* does not allow same-name siblings.
|
|
594
|
-
*
|
|
595
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
596
|
-
* @param parentAbsPath the absolute path of the node below which the deserialized subgraph is added.
|
|
597
|
-
* @param in The <code>Inputstream</code> from which the XML to be deserialized is read.
|
|
598
|
-
* @param uuidBehavior a four-value flag that governs how incoming identifiers are handled.
|
|
599
|
-
* @throws java.io.IOException if an error during an I/O operation occurs.
|
|
600
|
-
* @throws PathNotFoundException if no node exists at <code>parentAbsPath</code>.
|
|
601
|
-
* @throws ConstraintViolationException if node-type or other implementation-specific constraints prevent the addition of the subgraph or if <code>uuidBehavior</code> is set to <code>IMPORT_UUID_COLLISION_REMOVE_EXISTING</code> and an incoming node has the same identifier as the node at <code>parentAbsPath</code> or one of its ancestors.
|
|
602
|
-
* @throws VersionException if the node at <code>parentAbsPath</code> is read-only due to a checked-in node..
|
|
603
|
-
* @throws InvalidSerializedDataException if incoming stream is not a valid XML document.
|
|
604
|
-
* @throws ItemExistsException if the top-most element of the incoming XML would deserialize to a node with the same name as an existing child of <code>parentAbsPath</code> and that child does not allow same-name siblings, or if a <code>uuidBehavior</code> is set to <code>IMPORT_UUID_COLLISION_THROW</code> and an identifier collision occurs.
|
|
605
|
-
* @throws LockException if a lock prevents the addition of the subgraph.
|
|
606
|
-
* @throws AccessDeniedException if the session associated with this <code>Workspace</code> object does not have sufficient access to perform the import.
|
|
607
|
-
* @throws RepositoryException if another error occurs.
|
|
608
|
-
*/
|
|
609
|
-
importXML(parentAbsPath: string, _in: unknown, uuidBehavior: number): void;
|
|
610
|
-
|
|
611
|
-
/**
|
|
612
|
-
* Creates a new <code>Workspace</code> with the specified
|
|
613
|
-
* <code>name</code>. The new workspace is empty, meaning it contains only
|
|
614
|
-
* root node.
|
|
615
|
-
* <p>
|
|
616
|
-
* The new workspace can be accessed through a <code>login</code> specifying
|
|
617
|
-
* its name.
|
|
618
|
-
*
|
|
619
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
620
|
-
* @param name A <code>String</code>, the name of the new workspace.
|
|
621
|
-
* @throws AccessDeniedException if the session through which this <code>Workspace</code> object was acquired does not have permission to create the new workspace.
|
|
622
|
-
* @throws UnsupportedRepositoryOperationException if the repository does not support the creation of workspaces.
|
|
623
|
-
* @throws RepositoryException if another error occurs.
|
|
624
|
-
* @since JCR 2.0
|
|
625
|
-
*/
|
|
626
|
-
createWorkspace(name: string): void;
|
|
627
|
-
|
|
628
|
-
/**
|
|
629
|
-
* Creates a new <code>Workspace</code> with the specified <code>name</code>
|
|
630
|
-
* initialized with a <code>clone</code> of the content of the workspace
|
|
631
|
-
* <code>srcWorkspace</code>. Semantically, this method is equivalent to
|
|
632
|
-
* creating a new workspace and manually cloning <code>srcWorkspace</code>
|
|
633
|
-
* to it; however, this method may assist some implementations in optimizing
|
|
634
|
-
* subsequent <code>Node.update</code> and <code>Node.merge</code> calls
|
|
635
|
-
* between the new workspace and its source.
|
|
636
|
-
* <p>
|
|
637
|
-
* The new workspace can be accessed through a <code>login</code> specifying
|
|
638
|
-
* its name.
|
|
639
|
-
*
|
|
640
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
641
|
-
* @param name A <code>String</code>, the name of the new workspace.
|
|
642
|
-
* @param srcWorkspace The name of the workspace from which the new workspace is to be cloned.
|
|
643
|
-
* @throws AccessDeniedException if the session through which this <code>Workspace</code> object was acquired does not have sufficient access to create the new workspace.
|
|
644
|
-
* @throws UnsupportedRepositoryOperationException if the repository does not support the creation of workspaces.
|
|
645
|
-
* @throws NoSuchWorkspaceException is <code>srcWorkspace</code> does not exist.
|
|
646
|
-
* @throws RepositoryException if another error occurs.
|
|
647
|
-
* @since JCR 2.0
|
|
648
|
-
*/
|
|
649
|
-
createWorkspace(name: string, srcWorkspace: string): void;
|
|
650
|
-
|
|
651
|
-
/**
|
|
652
|
-
* Deletes the workspace with the specified <code>name</code> from the
|
|
653
|
-
* repository, deleting all content within it.
|
|
654
|
-
*
|
|
655
|
-
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
656
|
-
* @param name A <code>String</code>, the name of the workspace to be deleted.
|
|
657
|
-
* @throws AccessDeniedException if the session through which this <code>Workspace</code> object was acquired does not have sufficent access to remove the workspace.
|
|
658
|
-
* @throws UnsupportedRepositoryOperationException if the repository does not support the removal of workspaces.
|
|
659
|
-
* @throws NoSuchWorkspaceException is <code>srcWorkspace</code> does not exist.
|
|
660
|
-
* @throws RepositoryException if another error occurs.
|
|
661
|
-
* @since JCR 2.0
|
|
662
|
-
*/
|
|
663
|
-
deleteWorkspace(name: string): void;
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
export default Workspace;
|