@sitevision/api 1.0.20 → 1.1.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/hidden/javax/jcr/Binary/index.d.ts +86 -0
- package/hidden/javax/jcr/Credentials/index.d.ts +11 -0
- package/hidden/javax/jcr/ImportUUIDBehavior/index.d.ts +11 -0
- package/hidden/javax/jcr/Item/index.d.ts +353 -0
- package/hidden/javax/jcr/ItemVisitor/index.d.ts +41 -0
- package/hidden/javax/jcr/NamespaceRegistry/index.d.ts +100 -0
- package/hidden/javax/jcr/Node/index.d.ts +2808 -0
- package/hidden/javax/jcr/NodeIterator/index.d.ts +18 -0
- package/hidden/javax/jcr/Property/index.d.ts +801 -0
- package/hidden/javax/jcr/PropertyIterator/index.d.ts +17 -0
- package/hidden/javax/jcr/RangeIterator/index.d.ts +75 -0
- package/hidden/javax/jcr/Repository/index.d.ts +318 -0
- package/hidden/javax/jcr/RepositoryFactory/index.d.ts +90 -0
- package/hidden/javax/jcr/Value/index.d.ts +190 -0
- package/hidden/javax/jcr/ValueFactory/index.d.ts +179 -0
- package/hidden/javax/jcr/Workspace/index.d.ts +1061 -0
- package/hidden/javax/jcr/lock/Lock/index.d.ts +142 -0
- package/hidden/javax/jcr/lock/LockManager/index.d.ts +217 -0
- package/hidden/javax/jcr/nodetype/ItemDefinition/index.d.ts +219 -0
- package/hidden/javax/jcr/nodetype/NodeDefinition/index.d.ts +158 -0
- package/hidden/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +74 -0
- package/hidden/javax/jcr/nodetype/NodeType/index.d.ts +349 -0
- package/hidden/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +248 -0
- package/hidden/javax/jcr/nodetype/NodeTypeIterator/index.d.ts +16 -0
- package/hidden/javax/jcr/nodetype/NodeTypeManager/index.d.ts +218 -0
- package/hidden/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +98 -0
- package/hidden/javax/jcr/nodetype/PropertyDefinition/index.d.ts +536 -0
- package/hidden/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +97 -0
- package/hidden/javax/jcr/observation/Event/index.d.ts +133 -0
- package/hidden/javax/jcr/observation/EventIterator/index.d.ts +20 -0
- package/hidden/javax/jcr/observation/EventJournal/index.d.ts +22 -0
- package/hidden/javax/jcr/observation/EventListener/index.d.ts +23 -0
- package/hidden/javax/jcr/observation/EventListenerIterator/index.d.ts +20 -0
- package/hidden/javax/jcr/observation/ObservationManager/index.d.ts +227 -0
- package/hidden/javax/jcr/query/Query/index.d.ts +201 -0
- package/hidden/javax/jcr/query/QueryManager/index.d.ts +73 -0
- package/hidden/javax/jcr/query/QueryResult/index.d.ts +51 -0
- package/hidden/javax/jcr/query/Row/index.d.ts +159 -0
- package/hidden/javax/jcr/query/RowIterator/index.d.ts +20 -0
- package/hidden/javax/jcr/query/qom/And/index.d.ts +26 -0
- package/hidden/javax/jcr/query/qom/BindVariableValue/index.d.ts +15 -0
- package/hidden/javax/jcr/query/qom/ChildNode/index.d.ts +27 -0
- package/hidden/javax/jcr/query/qom/ChildNodeJoinCondition/index.d.ts +27 -0
- package/hidden/javax/jcr/query/qom/Column/index.d.ts +39 -0
- package/hidden/javax/jcr/query/qom/Comparison/index.d.ts +82 -0
- package/hidden/javax/jcr/query/qom/Constraint/index.d.ts +13 -0
- package/hidden/javax/jcr/query/qom/DescendantNode/index.d.ts +31 -0
- package/hidden/javax/jcr/query/qom/DescendantNodeJoinCondition/index.d.ts +29 -0
- package/hidden/javax/jcr/query/qom/DynamicOperand/index.d.ts +9 -0
- package/hidden/javax/jcr/query/qom/EquiJoinCondition/index.d.ts +41 -0
- package/hidden/javax/jcr/query/qom/FullTextSearch/index.d.ts +89 -0
- package/hidden/javax/jcr/query/qom/FullTextSearchScore/index.d.ts +24 -0
- package/hidden/javax/jcr/query/qom/Join/index.d.ts +36 -0
- package/hidden/javax/jcr/query/qom/JoinCondition/index.d.ts +9 -0
- package/hidden/javax/jcr/query/qom/Length/index.d.ts +24 -0
- package/hidden/javax/jcr/query/qom/Literal/index.d.ts +18 -0
- package/hidden/javax/jcr/query/qom/LowerCase/index.d.ts +26 -0
- package/hidden/javax/jcr/query/qom/NodeLocalName/index.d.ts +16 -0
- package/hidden/javax/jcr/query/qom/NodeName/index.d.ts +16 -0
- package/hidden/javax/jcr/query/qom/Not/index.d.ts +20 -0
- package/hidden/javax/jcr/query/qom/Operand/index.d.ts +9 -0
- package/hidden/javax/jcr/query/qom/Or/index.d.ts +30 -0
- package/hidden/javax/jcr/query/qom/Ordering/index.d.ts +53 -0
- package/hidden/javax/jcr/query/qom/PropertyExistence/index.d.ts +24 -0
- package/hidden/javax/jcr/query/qom/PropertyValue/index.d.ts +25 -0
- package/hidden/javax/jcr/query/qom/QueryObjectModel/index.d.ts +64 -0
- package/hidden/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +9 -0
- package/hidden/javax/jcr/query/qom/QueryObjectModelFactory/index.d.ts +638 -0
- package/hidden/javax/jcr/query/qom/SameNode/index.d.ts +27 -0
- package/hidden/javax/jcr/query/qom/SameNodeJoinCondition/index.d.ts +36 -0
- package/hidden/javax/jcr/query/qom/Selector/index.d.ts +35 -0
- package/hidden/javax/jcr/query/qom/Source/index.d.ts +9 -0
- package/hidden/javax/jcr/query/qom/StaticOperand/index.d.ts +10 -0
- package/hidden/javax/jcr/query/qom/UpperCase/index.d.ts +26 -0
- package/hidden/javax/jcr/retention/Hold/index.d.ts +34 -0
- package/hidden/javax/jcr/retention/RetentionManager/index.d.ts +189 -0
- package/hidden/javax/jcr/retention/RetentionPolicy/index.d.ts +21 -0
- package/hidden/javax/jcr/security/AccessControlEntry/index.d.ts +24 -0
- package/hidden/javax/jcr/security/AccessControlList/index.d.ts +91 -0
- package/hidden/javax/jcr/security/AccessControlManager/index.d.ts +297 -0
- package/hidden/javax/jcr/security/AccessControlPolicy/index.d.ts +11 -0
- package/hidden/javax/jcr/security/AccessControlPolicyIterator/index.d.ts +20 -0
- package/hidden/javax/jcr/security/NamedAccessControlPolicy/index.d.ts +22 -0
- package/hidden/javax/jcr/security/Privilege/index.d.ts +117 -0
- package/hidden/javax/jcr/version/Version/index.d.ts +121 -0
- package/hidden/javax/jcr/version/VersionHistory/index.d.ts +307 -0
- package/hidden/javax/jcr/version/VersionIterator/index.d.ts +20 -0
- package/hidden/javax/jcr/version/VersionManager/index.d.ts +1082 -0
- package/hidden/senselogic/sitevision/api/base/Builder/index.d.ts +102 -0
- package/hidden/senselogic/sitevision/api/base/Filter/index.d.ts +25 -0
- package/hidden/senselogic/sitevision/api/base/FilterSplit/index.d.ts +50 -0
- package/hidden/senselogic/sitevision/api/base/Loadable/index.d.ts +15 -0
- package/hidden/senselogic/sitevision/api/base/Resolver/index.d.ts +31 -0
- package/hidden/senselogic/sitevision/api/base/Wrapper/index.d.ts +24 -0
- package/hidden/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.d.ts +417 -0
- package/hidden/senselogic/sitevision/api/format/NumericFormatter/index.d.ts +80 -0
- package/hidden/senselogic/sitevision/api/format/NumericFormatterBuilder/index.d.ts +100 -0
- package/hidden/senselogic/sitevision/api/i18n/Currency/index.d.ts +120 -0
- package/hidden/senselogic/sitevision/api/link/CustomLinkProcessor/index.d.ts +45 -0
- package/hidden/senselogic/sitevision/api/link/CustomLinkRenderData/index.d.ts +65 -0
- package/hidden/senselogic/sitevision/api/mail/Mail/index.d.ts +32 -0
- package/hidden/senselogic/sitevision/api/message/MessageTextLinker/index.d.ts +15 -0
- package/hidden/senselogic/sitevision/api/metadata/value/LinkValue/index.d.ts +23 -0
- package/hidden/senselogic/sitevision/api/metadata/value/RelatedValue/index.d.ts +23 -0
- package/hidden/senselogic/sitevision/api/property/VersionedPropertyUtil/index.d.ts +642 -0
- package/hidden/senselogic/sitevision/api/render/BuddyIconRenderer/BuddyIconInfo/index.d.ts +51 -0
- package/hidden/senselogic/sitevision/api/render/ImageScaler/index.d.ts +58 -0
- package/hidden/senselogic/sitevision/api/render/TextModuleRenderer/index.d.ts +301 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ArticleUtilConstants/index.d.ts +85 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ExceptionSuppressingProxyConstants/index.d.ts +31 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/IndexingUtilConstants/index.d.ts +31 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/LinkPageUtilConstants/index.d.ts +67 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MathInstanceConstants/index.d.ts +25 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MimeTypeUtilConstants/index.d.ts +19 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/NodeTypeUtilConstants/index.d.ts +1243 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/OutputUtilConstants/index.d.ts +31 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PageUtilConstants/index.d.ts +91 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletContextUtilConstants/index.d.ts +27 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletUtilConstants/index.d.ts +19 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/QueryStringUtilConstants/index.d.ts +19 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchHitConstants/index.d.ts +25 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchResultConstants/index.d.ts +37 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/VersionUtilConstants/index.d.ts +25 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/index.d.ts +8 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityContext/index.d.ts +50 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.d.ts +89 -0
- package/hidden/senselogic/sitevision/api/script/RequesterChainable/index.d.ts +119 -0
- package/hidden/senselogic/sitevision/api/script/app/RestAppInvoker/index.d.ts +272 -0
- package/hidden/senselogic/sitevision/api/script/factory/TypedArgument/index.d.ts +43 -0
- package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts +94 -0
- package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts +117 -0
- package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.d.ts +90 -0
- package/hidden/senselogic/sitevision/api/search/SearchFieldUtil/index.d.ts +89 -0
- package/hidden/senselogic/sitevision/api/search/SearchHighlighter/index.d.ts +45 -0
- package/hidden/senselogic/sitevision/api/search/SearchHit/index.d.ts +1176 -0
- package/hidden/senselogic/sitevision/api/search/SearchResult/index.d.ts +414 -0
- package/hidden/senselogic/sitevision/api/search/facet/SearchFacetField/index.d.ts +27 -0
- package/hidden/senselogic/sitevision/api/search/facet/SearchFacetValue/index.d.ts +61 -0
- package/hidden/senselogic/sitevision/api/search/searcher/Searcher/index.d.ts +277 -0
- package/hidden/senselogic/sitevision/api/search/searcher/component/Filter/index.d.ts +25 -0
- package/hidden/senselogic/sitevision/api/search/searcher/component/Highlight/index.d.ts +29 -0
- package/hidden/senselogic/sitevision/api/search/searcher/component/Monitor/index.d.ts +25 -0
- package/hidden/senselogic/sitevision/api/search/searcher/component/Parser/index.d.ts +35 -0
- package/hidden/senselogic/sitevision/api/search/searcher/component/Sort/index.d.ts +25 -0
- package/hidden/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.d.ts +29 -0
- package/hidden/senselogic/sitevision/api/search/sort/CustomSort/index.d.ts +82 -0
- package/hidden/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.d.ts +21 -0
- package/hidden/senselogic/sitevision/api/security/DirectoryAttributes/index.d.ts +70 -0
- package/hidden/senselogic/sitevision/api/security/MessageDigester/index.d.ts +50 -0
- package/hidden/senselogic/sitevision/api/security/RoleAssignment/index.d.ts +72 -0
- package/hidden/senselogic/sitevision/api/security/RoleMatcher/index.d.ts +29 -0
- package/hidden/senselogic/sitevision/api/security/SecretStore/index.d.ts +55 -0
- package/hidden/senselogic/sitevision/api/security/UserUtil/index.d.ts +80 -0
- package/hidden/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.d.ts +36 -0
- package/hidden/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.d.ts +32 -0
- package/hidden/senselogic/sitevision/api/user/UserIdentityWrapper/index.d.ts +599 -0
- package/hidden/senselogic/sitevision/api/webresource/LinkTarget/index.d.ts +20 -0
- package/hidden/senselogic/sitevision/api/xml/XmlElement/index.d.ts +55 -0
- package/hidden/senselogic/sitevision/api/xml/XmlElementHandler/index.d.ts +17 -0
- package/index.d.ts +103 -4
- package/package.json +2 -4
- package/server/AliasUtil/index.d.ts +25 -0
- package/server/AliasUtil/index.js +10 -0
- package/server/ArchiveUtil/index.d.ts +65 -11
- package/server/ArraysInstance/index.d.ts +1846 -0
- package/server/ArticleUtil/index.d.ts +381 -69
- package/server/AuthenticationUtil/index.d.ts +106 -0
- package/server/BookmarkUtil/index.d.ts +36 -28
- package/server/BuddyIconRenderer/index.d.ts +240 -0
- package/server/ClientUtil/index.d.ts +18 -4
- package/server/CollaborationFactory/index.d.ts +42 -25
- package/server/CollaborationGroupFolderUtil/index.d.ts +40 -29
- package/server/CollaborationGroupTemplateUtil/index.d.ts +71 -39
- package/server/CollaborationGroupUtil/index.d.ts +128 -55
- package/server/CollectionsInstance/index.d.ts +738 -0
- package/server/ColorUtil/index.d.ts +22 -17
- package/server/CompoundAndFilterBuilder/index.d.ts +60 -0
- package/server/CompoundComparatorBuilder/index.d.ts +63 -0
- package/server/CompoundOrFilterBuilder/index.d.ts +59 -0
- package/server/ContentNodeUtil/index.d.ts +76 -0
- package/server/CurrencyFactory/index.d.ts +135 -0
- package/server/DateUtil/index.d.ts +154 -77
- package/server/DecorationUtil/index.d.ts +23 -0
- package/server/DeviceUtil/index.d.ts +36 -0
- package/server/DirectoryUtil/index.d.ts +107 -47
- package/server/DocTypeUtil/index.d.ts +149 -0
- package/server/EndecUtil/index.d.ts +537 -91
- package/server/ExtendedDismaxParserBuilder/index.d.ts +311 -0
- package/server/FileIconRenderer/index.d.ts +346 -0
- package/server/FileUtil/index.d.ts +462 -0
- package/server/FilterBuilder/index.d.ts +120 -0
- package/server/FolderUtil/index.d.ts +161 -0
- package/server/FontUtil/index.d.ts +49 -0
- package/server/FormatterBuilderFactory/index.d.ts +129 -0
- package/server/HighlightBuilder/index.d.ts +194 -0
- package/server/IconUtil/index.d.ts +37 -0
- package/server/ImageLinkRenderer/index.d.ts +134 -0
- package/server/ImageRenderer/index.d.ts +613 -231
- package/server/ImageUtil/index.d.ts +430 -0
- package/server/IndexUtil/index.d.ts +71 -0
- package/server/IndexingUtil/index.d.ts +92 -0
- package/server/InstanceCreatorUtil/index.d.ts +661 -0
- package/server/InstanceTypeUtil/index.d.ts +202 -0
- package/server/JwtUtil/index.d.ts +217 -0
- package/server/LandingPageUtil/index.d.ts +67 -50
- package/server/LinkPageUtil/index.d.ts +468 -0
- package/server/LinkRenderer/index.d.ts +1157 -0
- package/server/LinkTargetBuilder/index.d.ts +146 -0
- package/server/LinkValueBuilder/index.d.ts +129 -52
- package/server/ListWrapper/index.d.ts +172 -0
- package/server/LocaleUtil/index.d.ts +695 -61
- package/server/LogUtil/index.d.ts +118 -77
- package/server/MailBuilder/index.d.ts +238 -0
- package/server/MailUtil/index.d.ts +98 -0
- package/server/MathInstance/index.d.ts +681 -0
- package/server/MessageDigesterFactory/index.d.ts +49 -0
- package/server/MetadataDefinitionUtil/index.d.ts +118 -0
- package/server/MetadataUtil/index.d.ts +524 -79
- package/server/MimeTypeUtil/index.d.ts +316 -0
- package/server/MonitorBuilder/index.d.ts +51 -0
- package/server/NodeComparatorUtil/index.d.ts +397 -0
- package/server/NodeFactoryUtil/index.d.ts +32 -0
- package/server/NodeFilterUtil/index.d.ts +924 -0
- package/server/NodeIteratorUtil/index.d.ts +322 -72
- package/server/NodeResolverUtil/index.d.ts +767 -0
- package/server/NodeTreeUtil/index.d.ts +339 -63
- package/server/NodeTypeUtil/index.d.ts +391 -197
- package/server/OfflineVersionPropertyUtil/index.d.ts +30 -0
- package/server/OnlineVersionPropertyUtil/index.d.ts +30 -0
- package/server/OutputUtil/index.d.ts +641 -0
- package/server/PageUtil/index.d.ts +330 -0
- package/server/PermissionUtil/index.d.ts +650 -0
- package/server/PortletContextUtil/index.d.ts +118 -37
- package/server/PortletContextUtil/index.js +1 -0
- package/server/PortletUtil/index.d.ts +40 -0
- package/server/PrincipalUtil/index.d.ts +51 -0
- package/server/Properties/index.d.ts +185 -38
- package/server/PropertyUtil/index.d.ts +2330 -406
- package/server/PublishingUtil/index.d.ts +385 -49
- package/server/QueryStringUtil/index.d.ts +737 -0
- package/server/RedirectUtil/index.d.ts +98 -0
- package/server/RelatedValueBuilder/index.d.ts +81 -39
- package/server/Requester/index.d.ts +441 -65
- package/server/ResourceLocatorUtil/index.d.ts +483 -227
- package/server/RestApi/index.d.ts +208 -23
- package/server/RestAppInvokerFactory/index.d.ts +73 -0
- package/server/RoleAssignmentBuilder/index.d.ts +60 -0
- package/server/RoleMatcherBuilder/index.d.ts +59 -0
- package/server/RoleUtil/index.d.ts +57 -0
- package/server/ScriptUtil/index.d.ts +625 -143
- package/server/SearchFactory/index.d.ts +133 -0
- package/server/SearchUtil/index.d.ts +164 -0
- package/server/SearcherBuilder/index.d.ts +260 -0
- package/server/Session/index.d.ts +1758 -0
- package/server/SimpleUserUtil/index.d.ts +39 -30
- package/server/SiteCookieUtil/index.d.ts +78 -53
- package/server/SortBuilder/index.d.ts +111 -0
- package/server/SpellCheckBuilder/index.d.ts +68 -0
- package/server/StandardParserBuilder/index.d.ts +112 -0
- package/server/StructureUtil/index.d.ts +167 -0
- package/server/SubscriberUtil/index.d.ts +122 -0
- package/server/SubscriptionUtil/index.d.ts +197 -0
- package/server/SystemUserUtil/index.d.ts +201 -98
- package/server/TagUtil/index.d.ts +193 -0
- package/server/TemplateUtil/index.d.ts +217 -0
- package/server/TemporaryFileNodeBuilder/index.d.ts +63 -0
- package/server/TemporaryNodeBuilder/index.d.ts +241 -0
- package/server/TextModuleRendererBuilder/index.d.ts +68 -0
- package/server/TimestampUtil/index.d.ts +98 -82
- package/server/TranslationUtil/index.d.ts +175 -0
- package/server/TrashcanUtil/index.d.ts +193 -24
- package/server/UserDataUtil/index.d.ts +167 -85
- package/server/UserFactory/index.d.ts +45 -30
- package/server/UserFieldRenderer/index.d.ts +258 -0
- package/server/UserIdentityUtil/index.d.ts +61 -29
- package/server/UserUtil/index.d.ts +69 -28
- package/server/Utils/index.d.ts +870 -12
- package/server/VelocityRenderer/index.d.ts +248 -0
- package/server/VersionUtil/index.d.ts +15 -12
- package/server/WebContentUtil/index.d.ts +644 -0
- package/server/WebResourceFactory/index.d.ts +66 -0
- package/server/XSLTUtil/index.d.ts +49 -10
- package/server/XmlParserUtil/index.d.ts +82 -81
- package/builtins/Binary/index.d.ts +0 -3
- package/builtins/Calendar/index.d.ts +0 -3
- package/builtins/Collection/index.d.ts +0 -3
- package/builtins/Date/index.d.ts +0 -3
- package/builtins/InputStream/index.d.ts +0 -3
- package/builtins/Instant/index.d.ts +0 -3
- package/builtins/List/index.d.ts +0 -3
- package/builtins/LocalDateTime/index.d.ts +0 -3
- package/builtins/Locale/index.d.ts +0 -3
- package/builtins/Node/index.d.ts +0 -3
- package/builtins/NodeIterator/index.d.ts +0 -27
- package/builtins/Property/index.d.ts +0 -3
- package/builtins/Serializable/index.d.ts +0 -3
- package/builtins/Set/index.d.ts +0 -3
- package/builtins/Throwable/index.d.ts +0 -3
- package/builtins/byte/index.d.ts +0 -3
- package/server/CollaborationGroupState/index.d.ts +0 -6
- package/server/CollaborationGroupState/index.js +0 -1
- package/server/CollaborationGroupType/index.d.ts +0 -7
- package/server/CollaborationGroupType/index.js +0 -1
- package/server/CollaborationGroupWrapper/index.d.ts +0 -136
- package/server/CollaborationGroupWrapper/index.js +0 -1
- package/server/DimensionMode/index.d.ts +0 -7
- package/server/DimensionMode/index.js +0 -1
|
@@ -0,0 +1,638 @@
|
|
|
1
|
+
import Source from "../Source";
|
|
2
|
+
import Constraint from "../Constraint";
|
|
3
|
+
import Ordering from "../Ordering";
|
|
4
|
+
import Column from "../Column";
|
|
5
|
+
import QueryObjectModel from "../QueryObjectModel";
|
|
6
|
+
import Selector from "../Selector";
|
|
7
|
+
import JoinCondition from "../JoinCondition";
|
|
8
|
+
import Join from "../Join";
|
|
9
|
+
import EquiJoinCondition from "../EquiJoinCondition";
|
|
10
|
+
import SameNodeJoinCondition from "../SameNodeJoinCondition";
|
|
11
|
+
import ChildNodeJoinCondition from "../ChildNodeJoinCondition";
|
|
12
|
+
import DescendantNodeJoinCondition from "../DescendantNodeJoinCondition";
|
|
13
|
+
import And from "../And";
|
|
14
|
+
import Or from "../Or";
|
|
15
|
+
import Not from "../Not";
|
|
16
|
+
import DynamicOperand from "../DynamicOperand";
|
|
17
|
+
import StaticOperand from "../StaticOperand";
|
|
18
|
+
import Comparison from "../Comparison";
|
|
19
|
+
import PropertyExistence from "../PropertyExistence";
|
|
20
|
+
import FullTextSearch from "../FullTextSearch";
|
|
21
|
+
import SameNode from "../SameNode";
|
|
22
|
+
import ChildNode from "../ChildNode";
|
|
23
|
+
import DescendantNode from "../DescendantNode";
|
|
24
|
+
import PropertyValue from "../PropertyValue";
|
|
25
|
+
import Length from "../Length";
|
|
26
|
+
import NodeName from "../NodeName";
|
|
27
|
+
import NodeLocalName from "../NodeLocalName";
|
|
28
|
+
import FullTextSearchScore from "../FullTextSearchScore";
|
|
29
|
+
import LowerCase from "../LowerCase";
|
|
30
|
+
import UpperCase from "../UpperCase";
|
|
31
|
+
import BindVariableValue from "../BindVariableValue";
|
|
32
|
+
import Value from "../../../Value";
|
|
33
|
+
import Literal from "../Literal";
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* A <code>QueryObjectModelFactory</code> creates instances of the JCR query
|
|
37
|
+
* object model.
|
|
38
|
+
* <p>
|
|
39
|
+
* Refer to {@link QueryObjectModel} for a description of the query object
|
|
40
|
+
* model.
|
|
41
|
+
*
|
|
42
|
+
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Creates a query with one or more selectors.Selects a subset of the nodes in the repository based on node type.
|
|
43
|
+
* <p>
|
|
44
|
+
* The query is invalid if <code>nodeTypeName</code> or
|
|
45
|
+
* <code>selectorName</code> is not a syntactically valid JCR name.
|
|
46
|
+
* <p>
|
|
47
|
+
* The query is invalid if <code>selectorName</code>} is identical to the
|
|
48
|
+
* name of another selector in the query.
|
|
49
|
+
* <p>
|
|
50
|
+
* The query is also invalid if <code>nodeType</code> is not a valid JCR
|
|
51
|
+
* name or is a valid JCR name but not the name of a node type available in
|
|
52
|
+
* the repository.Performs a join between two node-tuple sources.
|
|
53
|
+
* <p>
|
|
54
|
+
* The query is invalid if <code>left</code> is the same source as
|
|
55
|
+
* <code>right</code>.Tests whether the value of a property in a first selector is equal to the
|
|
56
|
+
* value of a property in a second selector.
|
|
57
|
+
* <p>
|
|
58
|
+
* The query is invalid if:
|
|
59
|
+
* </p>
|
|
60
|
+
* <ul>
|
|
61
|
+
* <li><code>selector1</code> is not the name of a selector in the query, or</li>
|
|
62
|
+
* <li><code>selector2</code> is not the name of a selector in the query, or</li>
|
|
63
|
+
* <li><code>selector1</code> is the same as <code>selector2</code>, or</li>
|
|
64
|
+
* <li><code>property1</code> is not a syntactically valid JCR name, or</li>
|
|
65
|
+
* <li><code>property2</code> is not a syntactically valid JCR name, or</li>
|
|
66
|
+
* <li>the value of <code>property1</code> is not the same property type as the value of <code>property2</code>, or</li>
|
|
67
|
+
* <li><code>property1</code> is a multi-valued property, or</li>
|
|
68
|
+
* <li><code>property2</code> is a multi-valued property, or</li>
|
|
69
|
+
* <li><code>property1</code> is a <code>BINARY</code> property, or</li>
|
|
70
|
+
* <li><code>property2</code> is a <code>BINARY</code> property.</li>
|
|
71
|
+
* </ul>Tests whether a first selector's node is the same as a node identified by
|
|
72
|
+
* relative path from a second selector's node.
|
|
73
|
+
* <p>
|
|
74
|
+
* The query is invalid if: <ul> <li><code>selector1</code> is not the name
|
|
75
|
+
* of a selector in the query, or</li> <li><code>selector2</code> is not the
|
|
76
|
+
* name of a selector in the query, or</li> <li><code>selector1</code> is
|
|
77
|
+
* the same as selector2, or</li> <li><code>selector2Path</code> is not a
|
|
78
|
+
* syntactically valid relative path. Note, however, that if the path is
|
|
79
|
+
* syntactically valid but does not identify a node visible to the current
|
|
80
|
+
* session, the query is valid but the constraint is not satisfied.</li>
|
|
81
|
+
* </ul>Tests whether a first selector's node is a child of a second selector's
|
|
82
|
+
* node.
|
|
83
|
+
* <p>
|
|
84
|
+
* The query is invalid if: <ul> <li><code>childSelector</code> is not the
|
|
85
|
+
* name of a selector in the query, or</li> <li><code>parentSelector</code>
|
|
86
|
+
* is not the name of a selector in the query, or</li>
|
|
87
|
+
* <li><code>childSelector</code> is the same as <code>parentSelector</code>.
|
|
88
|
+
* </ul>Tests whether a first selector's node is a descendant of a second
|
|
89
|
+
* selector's node.
|
|
90
|
+
* <p>
|
|
91
|
+
* The query is invalid if: <ul> <li><code>descendantSelector</code> is not
|
|
92
|
+
* the name of a selector in the query, or</li> <li><code>ancestorSelector</code>
|
|
93
|
+
* is not the name of a selector in the query, or</li>
|
|
94
|
+
* <li><code>descendantSelector</code> is the same as
|
|
95
|
+
* <code>ancestorSelector</code>. </ul>Performs a logical conjunction of two other constraints.Performs a logical disjunction of two other constraints.Performs a logical negation of another constraint.Filters node-tuples based on the outcome of a binary operation.Tests the existence of a property in the specified selector.
|
|
96
|
+
* <p>
|
|
97
|
+
* The query is invalid if: <ul> <li><code>selector</code> is not the name
|
|
98
|
+
* of a selector in the query, or</li> <li><code>property</code> is not a
|
|
99
|
+
* syntactically valid JCR name.</li> </ul>Performs a full-text search against the specified selector.
|
|
100
|
+
* <p>
|
|
101
|
+
* The query is invalid if:
|
|
102
|
+
* </p>
|
|
103
|
+
* <ul>
|
|
104
|
+
* <li><code>selector</code> is not the name of a selector in the query, or</li>
|
|
105
|
+
* <li><code>property</code> is specified but is not a syntactically valid JCR name, or</li>
|
|
106
|
+
* <li><code>fullTextSearchExpression</code> does not evaluate to a JCR STRING Value (or convertible to STRING) that conforms to the full text search grammar.</li>
|
|
107
|
+
* </ul>
|
|
108
|
+
*
|
|
109
|
+
* <p>
|
|
110
|
+
* If <code>property</code> is specified but, for a node-tuple, the selector
|
|
111
|
+
* node does not have a property named <code>property</code>, the query is
|
|
112
|
+
* valid but the constraint is not satisfied.
|
|
113
|
+
* </p>Tests whether a node in the specified selector is reachable by a
|
|
114
|
+
* specified absolute path.
|
|
115
|
+
* <p>
|
|
116
|
+
* The query is invalid if: <ul> <li><code>selector</code> is not the name
|
|
117
|
+
* of a selector in the query, or</li> <li><code>path</code> is not a
|
|
118
|
+
* syntactically valid absolute path. Note, however, that if the path is
|
|
119
|
+
* syntactically valid but does not identify a node in the repository (or
|
|
120
|
+
* the node is not visible to this session, because of access control
|
|
121
|
+
* constraints), the query is valid but the constraint is not
|
|
122
|
+
* satisfied.</li> </ul>Tests whether a node in the specified selector is a child of a node
|
|
123
|
+
* reachable by a specified absolute path. The query is invalid if: <ul>
|
|
124
|
+
* <li><code>selector</code> is not the name of a selector in the query,
|
|
125
|
+
* or</li> <li><code>path</code> is not a syntactically valid absolute path.
|
|
126
|
+
* Note, however, that if the path is syntactically valid but does not
|
|
127
|
+
* identify a node in the repository (or the node is not visible to this
|
|
128
|
+
* session, because of access control constraints), the query is valid but
|
|
129
|
+
* the constraint is not satisfied.</li> </ul>Tests whether a node in the specified selector is a descendant of a node
|
|
130
|
+
* reachable by a specified absolute path.
|
|
131
|
+
* <p>
|
|
132
|
+
* The query is invalid if: <ul> <li><code>selector</code> is not the name
|
|
133
|
+
* of a selector in the query, or</li> <li><code>path</code> is not a
|
|
134
|
+
* syntactically valid absolute path. Note, however, that if the path is
|
|
135
|
+
* syntactically valid but does not identify a node in the repository (or
|
|
136
|
+
* the node is not visible to this session, because of access control
|
|
137
|
+
* constraints), the query is valid but the constraint is not
|
|
138
|
+
* satisfied.</li> </ul>Evaluates to the value (or values, if multi-valued) of a property in the
|
|
139
|
+
* specified selector.
|
|
140
|
+
* <p>
|
|
141
|
+
* The query is invalid if: <ul> <li><code>selector</code> is not the name
|
|
142
|
+
* of a selector in the query, or</li> <li><code>property</code> is not a
|
|
143
|
+
* syntactically valid JCR name.</li> </ul>Evaluates to the length (or lengths, if multi-valued) of a property.Evaluates to a <code>NAME</code> value equal to the prefix-qualified name
|
|
144
|
+
* of a node in the specified selector.
|
|
145
|
+
* <p>
|
|
146
|
+
* The query is invalid if <code>selector</code> is not the name of a
|
|
147
|
+
* selector in the query.Evaluates to a <code>NAME</code> value equal to the local (unprefixed)
|
|
148
|
+
* name of a node in the specified selector.
|
|
149
|
+
* <p>
|
|
150
|
+
* The query is invalid if <code>selector</code> is not the name of a
|
|
151
|
+
* selector in the query.Evaluates to a <code>DOUBLE</code> value equal to the full-text search
|
|
152
|
+
* score of a node in the specified selector.
|
|
153
|
+
* <p>
|
|
154
|
+
* The query is invalid if <code>selector</code> is not the name of a
|
|
155
|
+
* selector in the query.Evaluates to the lower-case string value (or values, if multi-valued) of
|
|
156
|
+
* an operand.Evaluates to the upper-case string value (or values, if multi-valued) of
|
|
157
|
+
* an operand.Evaluates to the value of a bind variable.
|
|
158
|
+
* <p>
|
|
159
|
+
* The query is invalid if <code>bindVariableName</code> is not a valid JCR
|
|
160
|
+
* prefix.Evaluates to a literal value.Orders by the value of the specified operand, in ascending order. The
|
|
161
|
+
* query is invalid if <code>operand</code> does not evaluate to a scalar
|
|
162
|
+
* value.Orders by the value of the specified operand, in descending order. The
|
|
163
|
+
* query is invalid if <code>operand</code> does not evaluate to a scalar
|
|
164
|
+
* value.Identifies a property in the specified selector to include in the tabular
|
|
165
|
+
* view of query results.
|
|
166
|
+
* <p>
|
|
167
|
+
* The query is invalid if: <ul> <li><code>selectorName</code> is not the name
|
|
168
|
+
* of a selector in the query, or</li>
|
|
169
|
+
* <li><code>propertyName</code> is specified but does not evaluate to a scalar
|
|
170
|
+
* value, or</li> <li><code>propertyName</code> is specified but
|
|
171
|
+
* <code>columnName</code> is omitted, or</li> <li><code>propertyName</code> is
|
|
172
|
+
* omitted but <code>columnName</code> is specified, or</li> <li>the columns
|
|
173
|
+
* in the tabular view are not uniquely named, whether those column names
|
|
174
|
+
* are specified by <code>columnName</code> (if <code>propertyName</code> is
|
|
175
|
+
* specified) or generated as described above (if <code>propertyName</code> is
|
|
176
|
+
* omitted).</li> </ul> If <code>propertyName</code> is specified but, for a
|
|
177
|
+
* node-tuple, the selector node does not have a property named
|
|
178
|
+
* <code>propertyName</code>, the query is valid and the column has null value.
|
|
179
|
+
* @since JCR 2.0
|
|
180
|
+
*/
|
|
181
|
+
interface QueryObjectModelFactory {
|
|
182
|
+
/**
|
|
183
|
+
* Creates a query with one or more selectors.
|
|
184
|
+
* @param source the node-tuple source; non-null
|
|
185
|
+
* @param constraint the constraint, or null if none
|
|
186
|
+
* @param orderings zero or more orderings; null is equivalent to a zero-length array
|
|
187
|
+
* @param columns the columns; null is equivalent to a zero-length array
|
|
188
|
+
* @return the query; non-null
|
|
189
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test and the parameters given fail that test. See the individual QOM factory methods for the validity criteria of each query element.
|
|
190
|
+
* @throws RepositoryException if another error occurs.
|
|
191
|
+
*/
|
|
192
|
+
createQuery(
|
|
193
|
+
source: Source,
|
|
194
|
+
constraint: Constraint,
|
|
195
|
+
orderings: Ordering,
|
|
196
|
+
columns: Column
|
|
197
|
+
): QueryObjectModel;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Selects a subset of the nodes in the repository based on node type.
|
|
201
|
+
* <p>
|
|
202
|
+
* The query is invalid if <code>nodeTypeName</code> or
|
|
203
|
+
* <code>selectorName</code> is not a syntactically valid JCR name.
|
|
204
|
+
* <p>
|
|
205
|
+
* The query is invalid if <code>selectorName</code>} is identical to the
|
|
206
|
+
* name of another selector in the query.
|
|
207
|
+
* <p>
|
|
208
|
+
* The query is also invalid if <code>nodeType</code> is not a valid JCR
|
|
209
|
+
* name or is a valid JCR name but not the name of a node type available in
|
|
210
|
+
* the repository.
|
|
211
|
+
* @param nodeTypeName the name of the required node type; non-null
|
|
212
|
+
* @param selectorName the selector name; non-null
|
|
213
|
+
* @return the selector; non-null
|
|
214
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
215
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
216
|
+
*/
|
|
217
|
+
selector(nodeTypeName: string, selectorName: string): Selector;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Performs a join between two node-tuple sources.
|
|
221
|
+
* <p>
|
|
222
|
+
* The query is invalid if <code>left</code> is the same source as
|
|
223
|
+
* <code>right</code>.
|
|
224
|
+
* @param left the left node-tuple source; non-null
|
|
225
|
+
* @param right the right node-tuple source; non-null
|
|
226
|
+
* @param joinType either <ul> <li>{@link QueryObjectModelConstants#JCR_JOIN_TYPE_INNER},</li> <li>{@link QueryObjectModelConstants#JCR_JOIN_TYPE_LEFT_OUTER},</li> <li>{@link QueryObjectModelConstants#JCR_JOIN_TYPE_RIGHT_OUTER}</li> </ul>
|
|
227
|
+
* @param joinCondition the join condition; non-null
|
|
228
|
+
* @return the join; non-null
|
|
229
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
230
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
231
|
+
*/
|
|
232
|
+
join(
|
|
233
|
+
left: Source,
|
|
234
|
+
right: Source,
|
|
235
|
+
joinType: string,
|
|
236
|
+
joinCondition: JoinCondition
|
|
237
|
+
): Join;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Tests whether the value of a property in a first selector is equal to the
|
|
241
|
+
* value of a property in a second selector.
|
|
242
|
+
* <p>
|
|
243
|
+
* The query is invalid if:
|
|
244
|
+
* </p>
|
|
245
|
+
* <ul>
|
|
246
|
+
* <li><code>selector1</code> is not the name of a selector in the query, or</li>
|
|
247
|
+
* <li><code>selector2</code> is not the name of a selector in the query, or</li>
|
|
248
|
+
* <li><code>selector1</code> is the same as <code>selector2</code>, or</li>
|
|
249
|
+
* <li><code>property1</code> is not a syntactically valid JCR name, or</li>
|
|
250
|
+
* <li><code>property2</code> is not a syntactically valid JCR name, or</li>
|
|
251
|
+
* <li>the value of <code>property1</code> is not the same property type as the value of <code>property2</code>, or</li>
|
|
252
|
+
* <li><code>property1</code> is a multi-valued property, or</li>
|
|
253
|
+
* <li><code>property2</code> is a multi-valued property, or</li>
|
|
254
|
+
* <li><code>property1</code> is a <code>BINARY</code> property, or</li>
|
|
255
|
+
* <li><code>property2</code> is a <code>BINARY</code> property.</li>
|
|
256
|
+
* </ul>
|
|
257
|
+
* @param selector1Name the name of the first selector; non-null
|
|
258
|
+
* @param property1Name the property name in the first selector; non-null
|
|
259
|
+
* @param selector2Name the name of the second selector; non-null
|
|
260
|
+
* @param property2Name the property name in the second selector; non-null
|
|
261
|
+
* @return the constraint; non-null
|
|
262
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implementation chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
263
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
264
|
+
*/
|
|
265
|
+
equiJoinCondition(
|
|
266
|
+
selector1Name: string,
|
|
267
|
+
property1Name: string,
|
|
268
|
+
selector2Name: string,
|
|
269
|
+
property2Name: string
|
|
270
|
+
): EquiJoinCondition;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Tests whether a first selector's node is the same as a node identified by
|
|
274
|
+
* relative path from a second selector's node.
|
|
275
|
+
* <p>
|
|
276
|
+
* The query is invalid if: <ul> <li><code>selector1</code> is not the name
|
|
277
|
+
* of a selector in the query, or</li> <li><code>selector2</code> is not the
|
|
278
|
+
* name of a selector in the query, or</li> <li><code>selector1</code> is
|
|
279
|
+
* the same as selector2, or</li> <li><code>selector2Path</code> is not a
|
|
280
|
+
* syntactically valid relative path. Note, however, that if the path is
|
|
281
|
+
* syntactically valid but does not identify a node visible to the current
|
|
282
|
+
* session, the query is valid but the constraint is not satisfied.</li>
|
|
283
|
+
* </ul>
|
|
284
|
+
* @param selector1Name the name of the first selector; non-null
|
|
285
|
+
* @param selector2Name the name of the second selector; non-null
|
|
286
|
+
* @param selector2Path the path relative to the second selector; non-null
|
|
287
|
+
* @return the constraint; non-null
|
|
288
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
289
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
290
|
+
*/
|
|
291
|
+
sameNodeJoinCondition(
|
|
292
|
+
selector1Name: string,
|
|
293
|
+
selector2Name: string,
|
|
294
|
+
selector2Path: string
|
|
295
|
+
): SameNodeJoinCondition;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Tests whether a first selector's node is a child of a second selector's
|
|
299
|
+
* node.
|
|
300
|
+
* <p>
|
|
301
|
+
* The query is invalid if: <ul> <li><code>childSelector</code> is not the
|
|
302
|
+
* name of a selector in the query, or</li> <li><code>parentSelector</code>
|
|
303
|
+
* is not the name of a selector in the query, or</li>
|
|
304
|
+
* <li><code>childSelector</code> is the same as <code>parentSelector</code>.
|
|
305
|
+
* </ul>
|
|
306
|
+
* @param childSelectorName the name of the child selector; non-null
|
|
307
|
+
* @param parentSelectorName the name of the parent selector; non-null
|
|
308
|
+
* @return the constraint; non-null
|
|
309
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
310
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
311
|
+
*/
|
|
312
|
+
childNodeJoinCondition(
|
|
313
|
+
childSelectorName: string,
|
|
314
|
+
parentSelectorName: string
|
|
315
|
+
): ChildNodeJoinCondition;
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Tests whether a first selector's node is a descendant of a second
|
|
319
|
+
* selector's node.
|
|
320
|
+
* <p>
|
|
321
|
+
* The query is invalid if: <ul> <li><code>descendantSelector</code> is not
|
|
322
|
+
* the name of a selector in the query, or</li> <li><code>ancestorSelector</code>
|
|
323
|
+
* is not the name of a selector in the query, or</li>
|
|
324
|
+
* <li><code>descendantSelector</code> is the same as
|
|
325
|
+
* <code>ancestorSelector</code>. </ul>
|
|
326
|
+
* @param descendantSelectorName the name of the descendant selector; non-null
|
|
327
|
+
* @param ancestorSelectorName the name of the ancestor selector; non-null
|
|
328
|
+
* @return the constraint; non-null
|
|
329
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
330
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
331
|
+
*/
|
|
332
|
+
descendantNodeJoinCondition(
|
|
333
|
+
descendantSelectorName: string,
|
|
334
|
+
ancestorSelectorName: string
|
|
335
|
+
): DescendantNodeJoinCondition;
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Performs a logical conjunction of two other constraints.
|
|
339
|
+
* @param constraint1 the first constraint; non-null
|
|
340
|
+
* @param constraint2 the second constraint; non-null
|
|
341
|
+
* @return the <code>And</code> constraint; non-null
|
|
342
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
343
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
344
|
+
*/
|
|
345
|
+
and(constraint1: Constraint, constraint2: Constraint): And;
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Performs a logical disjunction of two other constraints.
|
|
349
|
+
* @param constraint1 the first constraint; non-null
|
|
350
|
+
* @param constraint2 the second constraint; non-null
|
|
351
|
+
* @return the <code>Or</code> constraint; non-null
|
|
352
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
353
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
354
|
+
*/
|
|
355
|
+
or(constraint1: Constraint, constraint2: Constraint): Or;
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Performs a logical negation of another constraint.
|
|
359
|
+
* @param constraint the constraint to be negated; non-null
|
|
360
|
+
* @return the <code>Not</code> constraint; non-null
|
|
361
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
362
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
363
|
+
*/
|
|
364
|
+
not(constraint: Constraint): Not;
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Filters node-tuples based on the outcome of a binary operation.
|
|
368
|
+
* @param operand1 the first operand; non-null
|
|
369
|
+
* @param operator the operator; either <ul> <li>{@link QueryObjectModelConstants#JCR_OPERATOR_EQUAL_TO},</li> <li>{@link QueryObjectModelConstants#JCR_OPERATOR_NOT_EQUAL_TO},</li> <li>{@link QueryObjectModelConstants#JCR_OPERATOR_LESS_THAN},</li> <li>{@link QueryObjectModelConstants#JCR_OPERATOR_LESS_THAN_OR_EQUAL_TO},</li> <li>{@link QueryObjectModelConstants#JCR_OPERATOR_GREATER_THAN},</li> <li>{@link QueryObjectModelConstants#JCR_OPERATOR_GREATER_THAN_OR_EQUAL_TO}, or</li> <li>{@link QueryObjectModelConstants#JCR_OPERATOR_LIKE}</li> </ul>
|
|
370
|
+
* @param operand2 the second operand; non-null
|
|
371
|
+
* @return the constraint; non-null
|
|
372
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
373
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
374
|
+
*/
|
|
375
|
+
comparison(
|
|
376
|
+
operand1: DynamicOperand,
|
|
377
|
+
operator: string,
|
|
378
|
+
operand2: StaticOperand
|
|
379
|
+
): Comparison;
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Tests the existence of a property in the specified selector.
|
|
383
|
+
* <p>
|
|
384
|
+
* The query is invalid if: <ul> <li><code>selector</code> is not the name
|
|
385
|
+
* of a selector in the query, or</li> <li><code>property</code> is not a
|
|
386
|
+
* syntactically valid JCR name.</li> </ul>
|
|
387
|
+
* @param selectorName the selector name; non-null
|
|
388
|
+
* @param propertyName the property name; non-null
|
|
389
|
+
* @return the constraint; non-null
|
|
390
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
391
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
392
|
+
*/
|
|
393
|
+
propertyExistence(
|
|
394
|
+
selectorName: string,
|
|
395
|
+
propertyName: string
|
|
396
|
+
): PropertyExistence;
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Performs a full-text search against the specified selector.
|
|
400
|
+
* <p>
|
|
401
|
+
* The query is invalid if:
|
|
402
|
+
* </p>
|
|
403
|
+
* <ul>
|
|
404
|
+
* <li><code>selector</code> is not the name of a selector in the query, or</li>
|
|
405
|
+
* <li><code>property</code> is specified but is not a syntactically valid JCR name, or</li>
|
|
406
|
+
* <li><code>fullTextSearchExpression</code> does not evaluate to a JCR STRING Value (or convertible to STRING) that conforms to the full text search grammar.</li>
|
|
407
|
+
* </ul>
|
|
408
|
+
*
|
|
409
|
+
* <p>
|
|
410
|
+
* If <code>property</code> is specified but, for a node-tuple, the selector
|
|
411
|
+
* node does not have a property named <code>property</code>, the query is
|
|
412
|
+
* valid but the constraint is not satisfied.
|
|
413
|
+
* </p>
|
|
414
|
+
* @param selectorName the selector name; non-null
|
|
415
|
+
* @param propertyName the property name, or null to search all full-text indexed properties of the node (or node subgraph, in some implementations)
|
|
416
|
+
* @param fullTextSearchExpression the full-text search expression as a static operand; non-null
|
|
417
|
+
* @return the constraint; non-null
|
|
418
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
419
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
420
|
+
*/
|
|
421
|
+
fullTextSearch(
|
|
422
|
+
selectorName: string,
|
|
423
|
+
propertyName: string,
|
|
424
|
+
fullTextSearchExpression: StaticOperand
|
|
425
|
+
): FullTextSearch;
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* Tests whether a node in the specified selector is reachable by a
|
|
429
|
+
* specified absolute path.
|
|
430
|
+
* <p>
|
|
431
|
+
* The query is invalid if: <ul> <li><code>selector</code> is not the name
|
|
432
|
+
* of a selector in the query, or</li> <li><code>path</code> is not a
|
|
433
|
+
* syntactically valid absolute path. Note, however, that if the path is
|
|
434
|
+
* syntactically valid but does not identify a node in the repository (or
|
|
435
|
+
* the node is not visible to this session, because of access control
|
|
436
|
+
* constraints), the query is valid but the constraint is not
|
|
437
|
+
* satisfied.</li> </ul>
|
|
438
|
+
* @param selectorName the selector name; non-null
|
|
439
|
+
* @param path an absolute path; non-null
|
|
440
|
+
* @return the constraint; non-null
|
|
441
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
442
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
443
|
+
*/
|
|
444
|
+
sameNode(selectorName: string, path: string): SameNode;
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Tests whether a node in the specified selector is a child of a node
|
|
448
|
+
* reachable by a specified absolute path. The query is invalid if: <ul>
|
|
449
|
+
* <li><code>selector</code> is not the name of a selector in the query,
|
|
450
|
+
* or</li> <li><code>path</code> is not a syntactically valid absolute path.
|
|
451
|
+
* Note, however, that if the path is syntactically valid but does not
|
|
452
|
+
* identify a node in the repository (or the node is not visible to this
|
|
453
|
+
* session, because of access control constraints), the query is valid but
|
|
454
|
+
* the constraint is not satisfied.</li> </ul>
|
|
455
|
+
* @param selectorName the selector name; non-null
|
|
456
|
+
* @param path an absolute path; non-null
|
|
457
|
+
* @return the constraint; non-null
|
|
458
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
459
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
460
|
+
*/
|
|
461
|
+
childNode(selectorName: string, path: string): ChildNode;
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Tests whether a node in the specified selector is a descendant of a node
|
|
465
|
+
* reachable by a specified absolute path.
|
|
466
|
+
* <p>
|
|
467
|
+
* The query is invalid if: <ul> <li><code>selector</code> is not the name
|
|
468
|
+
* of a selector in the query, or</li> <li><code>path</code> is not a
|
|
469
|
+
* syntactically valid absolute path. Note, however, that if the path is
|
|
470
|
+
* syntactically valid but does not identify a node in the repository (or
|
|
471
|
+
* the node is not visible to this session, because of access control
|
|
472
|
+
* constraints), the query is valid but the constraint is not
|
|
473
|
+
* satisfied.</li> </ul>
|
|
474
|
+
* @param selectorName the selector name; non-null
|
|
475
|
+
* @param path an absolute path; non-null
|
|
476
|
+
* @return the constraint; non-null
|
|
477
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
478
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
479
|
+
*/
|
|
480
|
+
descendantNode(selectorName: string, path: string): DescendantNode;
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* Evaluates to the value (or values, if multi-valued) of a property in the
|
|
484
|
+
* specified selector.
|
|
485
|
+
* <p>
|
|
486
|
+
* The query is invalid if: <ul> <li><code>selector</code> is not the name
|
|
487
|
+
* of a selector in the query, or</li> <li><code>property</code> is not a
|
|
488
|
+
* syntactically valid JCR name.</li> </ul>
|
|
489
|
+
* @param selectorName the selector name; non-null
|
|
490
|
+
* @param propertyName the property name; non-null
|
|
491
|
+
* @return the operand; non-null
|
|
492
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
493
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
494
|
+
*/
|
|
495
|
+
propertyValue(selectorName: string, propertyName: string): PropertyValue;
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Evaluates to the length (or lengths, if multi-valued) of a property.
|
|
499
|
+
* @param propertyValue the property value for which to compute the length; non-null
|
|
500
|
+
* @return the operand; non-null
|
|
501
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
502
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
503
|
+
*/
|
|
504
|
+
length(propertyValue: PropertyValue): Length;
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Evaluates to a <code>NAME</code> value equal to the prefix-qualified name
|
|
508
|
+
* of a node in the specified selector.
|
|
509
|
+
* <p>
|
|
510
|
+
* The query is invalid if <code>selector</code> is not the name of a
|
|
511
|
+
* selector in the query.
|
|
512
|
+
* @param selectorName the selector name; non-null
|
|
513
|
+
* @return the operand; non-null
|
|
514
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
515
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
516
|
+
*/
|
|
517
|
+
nodeName(selectorName: string): NodeName;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* Evaluates to a <code>NAME</code> value equal to the local (unprefixed)
|
|
521
|
+
* name of a node in the specified selector.
|
|
522
|
+
* <p>
|
|
523
|
+
* The query is invalid if <code>selector</code> is not the name of a
|
|
524
|
+
* selector in the query.
|
|
525
|
+
* @param selectorName the selector name; non-null
|
|
526
|
+
* @return the operand; non-null
|
|
527
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
528
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
529
|
+
*/
|
|
530
|
+
nodeLocalName(selectorName: string): NodeLocalName;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* Evaluates to a <code>DOUBLE</code> value equal to the full-text search
|
|
534
|
+
* score of a node in the specified selector.
|
|
535
|
+
* <p>
|
|
536
|
+
* The query is invalid if <code>selector</code> is not the name of a
|
|
537
|
+
* selector in the query.
|
|
538
|
+
* @param selectorName the selector name; non-null
|
|
539
|
+
* @return the operand; non-null
|
|
540
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
541
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
542
|
+
*/
|
|
543
|
+
fullTextSearchScore(selectorName: string): FullTextSearchScore;
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* Evaluates to the lower-case string value (or values, if multi-valued) of
|
|
547
|
+
* an operand.
|
|
548
|
+
* @param operand the operand whose value is converted to a lower-case string; non-null
|
|
549
|
+
* @return the operand; non-null
|
|
550
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
551
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
552
|
+
*/
|
|
553
|
+
lowerCase(operand: DynamicOperand): LowerCase;
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* Evaluates to the upper-case string value (or values, if multi-valued) of
|
|
557
|
+
* an operand.
|
|
558
|
+
* @param operand the operand whose value is converted to a upper-case string; non-null
|
|
559
|
+
* @return the operand; non-null
|
|
560
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
561
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
562
|
+
*/
|
|
563
|
+
upperCase(operand: DynamicOperand): UpperCase;
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* Evaluates to the value of a bind variable.
|
|
567
|
+
* <p>
|
|
568
|
+
* The query is invalid if <code>bindVariableName</code> is not a valid JCR
|
|
569
|
+
* prefix.
|
|
570
|
+
* @param bindVariableName the bind variable name; non-null
|
|
571
|
+
* @return the operand; non-null
|
|
572
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test.
|
|
573
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
574
|
+
*/
|
|
575
|
+
bindVariable(bindVariableName: string): BindVariableValue;
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* Evaluates to a literal value.
|
|
579
|
+
* @param literalValue the value
|
|
580
|
+
* @return the literal; non-null
|
|
581
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameter given fails that test
|
|
582
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
583
|
+
*/
|
|
584
|
+
literal(literalValue: Value): Literal;
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Orders by the value of the specified operand, in ascending order. The
|
|
588
|
+
* query is invalid if <code>operand</code> does not evaluate to a scalar
|
|
589
|
+
* value.
|
|
590
|
+
* @param operand the operand by which to order; non-null
|
|
591
|
+
* @return the ordering
|
|
592
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
593
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
594
|
+
*/
|
|
595
|
+
ascending(operand: DynamicOperand): Ordering;
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Orders by the value of the specified operand, in descending order. The
|
|
599
|
+
* query is invalid if <code>operand</code> does not evaluate to a scalar
|
|
600
|
+
* value.
|
|
601
|
+
* @param operand the operand by which to order; non-null
|
|
602
|
+
* @return the ordering
|
|
603
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
604
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
605
|
+
*/
|
|
606
|
+
descending(operand: DynamicOperand): Ordering;
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* Identifies a property in the specified selector to include in the tabular
|
|
610
|
+
* view of query results.
|
|
611
|
+
* <p>
|
|
612
|
+
* The query is invalid if: <ul> <li><code>selectorName</code> is not the name
|
|
613
|
+
* of a selector in the query, or</li>
|
|
614
|
+
* <li><code>propertyName</code> is specified but does not evaluate to a scalar
|
|
615
|
+
* value, or</li> <li><code>propertyName</code> is specified but
|
|
616
|
+
* <code>columnName</code> is omitted, or</li> <li><code>propertyName</code> is
|
|
617
|
+
* omitted but <code>columnName</code> is specified, or</li> <li>the columns
|
|
618
|
+
* in the tabular view are not uniquely named, whether those column names
|
|
619
|
+
* are specified by <code>columnName</code> (if <code>propertyName</code> is
|
|
620
|
+
* specified) or generated as described above (if <code>propertyName</code> is
|
|
621
|
+
* omitted).</li> </ul> If <code>propertyName</code> is specified but, for a
|
|
622
|
+
* node-tuple, the selector node does not have a property named
|
|
623
|
+
* <code>propertyName</code>, the query is valid and the column has null value.
|
|
624
|
+
* @param selectorName the selector name; non-null
|
|
625
|
+
* @param propertyName the property name, or null to include a column for each single-value non-residual property of the selector's node type
|
|
626
|
+
* @param columnName the column name; must be null if <code>propertyName</code> is null; must be non-null if <code>propertyName</code> is non-null.
|
|
627
|
+
* @return the column; non-null
|
|
628
|
+
* @throws InvalidQueryException if a particular validity test is possible on this method, the implemention chooses to perform that test (and not leave it until later, on {@link #createQuery}), and the parameters given fail that test
|
|
629
|
+
* @throws RepositoryException if the operation otherwise fails
|
|
630
|
+
*/
|
|
631
|
+
column(
|
|
632
|
+
selectorName: string,
|
|
633
|
+
propertyName: string,
|
|
634
|
+
columnName: string
|
|
635
|
+
): Column;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
export default QueryObjectModelFactory;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tests whether the {@link #getSelectorName selector} node is reachable by
|
|
3
|
+
* absolute path {@link #getPath path}.
|
|
4
|
+
* <p>
|
|
5
|
+
* A node-tuple satisfies the constraint only if:
|
|
6
|
+
* <pre> selectorNode.isSame(session.getNode(path))</pre>
|
|
7
|
+
* would return true, where <code>selectorNode</code> is the node for the
|
|
8
|
+
* specified selector.
|
|
9
|
+
*
|
|
10
|
+
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Gets the name of the selector against which to apply this constraint.Gets the absolute path.
|
|
11
|
+
* @since JCR 2.0
|
|
12
|
+
*/
|
|
13
|
+
interface SameNode {
|
|
14
|
+
/**
|
|
15
|
+
* Gets the name of the selector against which to apply this constraint.
|
|
16
|
+
* @return the selector name; non-null
|
|
17
|
+
*/
|
|
18
|
+
getSelectorName(): string;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Gets the absolute path.
|
|
22
|
+
* @return the path; non-null
|
|
23
|
+
*/
|
|
24
|
+
getPath(): string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export default SameNode;
|