@sitevision/api 1.0.19 → 1.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/router/index.d.ts +1 -1
- 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/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
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tests whether two nodes are "the same" according to the <code>isSame</code>
|
|
3
|
+
* method of <code>javax.jcr.Item</code>.
|
|
4
|
+
* <p>
|
|
5
|
+
* Tests whether the {@link #getSelector1Name selector1} node is the same as a node identified by
|
|
6
|
+
* relative path from the {@link #getSelector2Name selector2} node.
|
|
7
|
+
* A node-tuple satisfies the constraint only if:
|
|
8
|
+
* <pre> selector1Node.isSame(selector2Node.getNode(selector2Path))</pre>
|
|
9
|
+
* would return true, where <code>selector1Node</code> is the node for {@link
|
|
10
|
+
* #getSelector1Name selector1} and <code>selector2Node</code> is the node for
|
|
11
|
+
* {@link #getSelector2Name selector2}.
|
|
12
|
+
*
|
|
13
|
+
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Gets the name of the first selector.Gets the name of the second selector.Gets the path relative to the second selector.
|
|
14
|
+
* @since JCR 2.0
|
|
15
|
+
*/
|
|
16
|
+
interface SameNodeJoinCondition {
|
|
17
|
+
/**
|
|
18
|
+
* Gets the name of the first selector.
|
|
19
|
+
* @return the selector name; non-null
|
|
20
|
+
*/
|
|
21
|
+
getSelector1Name(): string;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Gets the name of the second selector.
|
|
25
|
+
* @return the selector name; non-null
|
|
26
|
+
*/
|
|
27
|
+
getSelector2Name(): string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Gets the path relative to the second selector.
|
|
31
|
+
* @return the relative path, or null for none
|
|
32
|
+
*/
|
|
33
|
+
getSelector2Path(): string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export default SameNodeJoinCondition;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selects a subset of the nodes in the repository based on node type.
|
|
3
|
+
* <p>
|
|
4
|
+
* A selector selects every node in the repository, subject to access control
|
|
5
|
+
* constraints, that satisfies at least one of the following conditions: <ul>
|
|
6
|
+
* <li>the node's primary node type is {@link #getNodeTypeName nodeType},
|
|
7
|
+
* or</li> <li>the node's primary node type is a subtype of {@link
|
|
8
|
+
* #getNodeTypeName nodeType}, or</li> <li>the node has a mixin node type that
|
|
9
|
+
* is {@link #getNodeTypeName nodeType}, or</li> <li>the node has a mixin node
|
|
10
|
+
* type that is a subtype of {@link #getNodeTypeName nodeType}.</li> </ul>
|
|
11
|
+
*
|
|
12
|
+
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Gets the name of the required node type.Gets the selector name.
|
|
13
|
+
* <p>
|
|
14
|
+
* A selector's name can be used elsewhere in the query to identify the
|
|
15
|
+
* selector.
|
|
16
|
+
* @since JCR 2.0
|
|
17
|
+
*/
|
|
18
|
+
interface Selector {
|
|
19
|
+
/**
|
|
20
|
+
* Gets the name of the required node type.
|
|
21
|
+
* @return the node type name; non-null
|
|
22
|
+
*/
|
|
23
|
+
getNodeTypeName(): string;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Gets the selector name.
|
|
27
|
+
* <p>
|
|
28
|
+
* A selector's name can be used elsewhere in the query to identify the
|
|
29
|
+
* selector.
|
|
30
|
+
* @return the selector name; non-null
|
|
31
|
+
*/
|
|
32
|
+
getSelectorName(): string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export default Selector;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An operand whose value can be determined from static analysis of the query,
|
|
3
|
+
* prior to its evaluation.
|
|
4
|
+
*
|
|
5
|
+
* <p><strong>Sitevision note:</strong> Unsupported operation</p>
|
|
6
|
+
* @since JCR 2.0
|
|
7
|
+
*/
|
|
8
|
+
interface StaticOperand {}
|
|
9
|
+
|
|
10
|
+
export default StaticOperand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import DynamicOperand from "../DynamicOperand";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Evaluates to the upper-case string value (or values, if multi-valued) of
|
|
5
|
+
* {@link #getOperand operand}.
|
|
6
|
+
* <p>
|
|
7
|
+
* If {@link #getOperand operand} does not evaluate to a string value, its value
|
|
8
|
+
* is first converted to a string. The upper-case string value is computed as
|
|
9
|
+
* though the <code>toUpperCase()</code> method of <code>java.lang.String</code>
|
|
10
|
+
* were called.
|
|
11
|
+
* <p>
|
|
12
|
+
* If {@link #getOperand operand} evaluates to null, the <code>UpperCase</code>
|
|
13
|
+
* operand also evaluates to null.
|
|
14
|
+
*
|
|
15
|
+
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Gets the operand whose value is converted to a upper-case string.
|
|
16
|
+
* @since JCR 2.0
|
|
17
|
+
*/
|
|
18
|
+
interface UpperCase {
|
|
19
|
+
/**
|
|
20
|
+
* Gets the operand whose value is converted to a upper-case string.
|
|
21
|
+
* @return the operand; non-null
|
|
22
|
+
*/
|
|
23
|
+
getOperand(): DynamicOperand;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export default UpperCase;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <code>Hold</code> represents a hold that can be applied to an existing node
|
|
3
|
+
* in order to prevent the node from being modified or removed. The format and
|
|
4
|
+
* interpretation of the name are not specified. They are
|
|
5
|
+
* application-dependent.
|
|
6
|
+
* <p>
|
|
7
|
+
* If {@link #isDeep()} is <code>true</code>, the hold applies to the node and
|
|
8
|
+
* its entire subgraph. Otherwise the hold applies to the node and its
|
|
9
|
+
* properties only.
|
|
10
|
+
*
|
|
11
|
+
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns <code>true</code> if this <code>Hold</code> is deep.Returns the name of this <code>Hold</code>. A JCR name.
|
|
12
|
+
* @see RetentionManager#getHolds(String)
|
|
13
|
+
* @see RetentionManager#addHold(String, String, boolean)
|
|
14
|
+
* @see RetentionManager#removeHold(String, Hold)
|
|
15
|
+
* @since Sitevision 3.5
|
|
16
|
+
* @since JCR 2.0
|
|
17
|
+
*/
|
|
18
|
+
interface Hold {
|
|
19
|
+
/**
|
|
20
|
+
* Returns <code>true</code> if this <code>Hold</code> is deep.
|
|
21
|
+
* @return <code>true</code> if this <code>Hold</code> is deep.
|
|
22
|
+
* @throws RepositoryException if an error occurs.
|
|
23
|
+
*/
|
|
24
|
+
isDeep(): boolean;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Returns the name of this <code>Hold</code>. A JCR name.
|
|
28
|
+
* @return the name of this <code>Hold</code>. A JCR name.
|
|
29
|
+
* @throws RepositoryException if an error occurs.
|
|
30
|
+
*/
|
|
31
|
+
getName(): string;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default Hold;
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import Hold from "../Hold";
|
|
2
|
+
import RetentionPolicy from "../RetentionPolicy";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The <code>RetentionManager</code> object is accessed via {@link
|
|
6
|
+
* javax.jcr.Session#getRetentionManager()}.
|
|
7
|
+
*
|
|
8
|
+
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns all hold objects that have been added through this API to the
|
|
9
|
+
* existing node at <code>absPath</code>. If no hold has been set before,
|
|
10
|
+
* this method returns an empty array.Places a hold on the existing node at <code>absPath</code>. If
|
|
11
|
+
* <code>isDeep</code> is <code>true</code>) the hold applies to this node
|
|
12
|
+
* and its subgraph. The hold does not take effect until a <code>save</code>
|
|
13
|
+
* is performed. A node may have more than one hold.
|
|
14
|
+
* <p>
|
|
15
|
+
* The format and interpretation of the <code>name</code> are not specified.
|
|
16
|
+
* They are application-dependent.
|
|
17
|
+
* <p>
|
|
18
|
+
* A <code>VersionException</code> will be thrown either immediately, on
|
|
19
|
+
* dispatch or on persists, if the node at <code>absPath</code> is read-only
|
|
20
|
+
* due to a checked-in node. Implementations may differ on when this
|
|
21
|
+
* validation is performed.
|
|
22
|
+
* <p>
|
|
23
|
+
* A <code>LockException</code> will be thrown either immediately, on
|
|
24
|
+
* dispatch or on persists, if a lock prevents the operation.
|
|
25
|
+
* Implementations may differ on when this validation is performed.Removes the specified <code>hold</code> from the node at
|
|
26
|
+
* <code>absPath</code>. The removal does not take effect until a
|
|
27
|
+
* <code>save</code> is performed.
|
|
28
|
+
* <p>
|
|
29
|
+
* A <code>VersionException</code> will be thrown either immediately, on
|
|
30
|
+
* dispatch or on persists, if the node at <code>absPath</code> is read-only
|
|
31
|
+
* due to a checked-in node. Implementations may differ on when this
|
|
32
|
+
* validation is performed.
|
|
33
|
+
* <p>
|
|
34
|
+
* A <code>LockException</code> will be thrown either immediately, on
|
|
35
|
+
* dispatch or on persists, if a lock prevents the operation.
|
|
36
|
+
* Implementations may differ on when this validation is performed.Returns the retention policy that has been set using {@link
|
|
37
|
+
* #setRetentionPolicy} on the node at <code>absPath</code> or
|
|
38
|
+
* <code>null</code> if no policy has been set.Sets the retention policy of the node at <code>absPath</code> to that
|
|
39
|
+
* defined in the specified policy node. Interpretation and enforcement of
|
|
40
|
+
* this policy is an implementation issue. In any case the policy does does
|
|
41
|
+
* not take effect until a <code>save</code> is performed.
|
|
42
|
+
* <p>
|
|
43
|
+
* A <code>VersionException</code> will be thrown either immediately, on
|
|
44
|
+
* dispatch or on persists, if the node at <code>absPath</code> is read-only
|
|
45
|
+
* due to a checked-in node. Implementations may differ on when this
|
|
46
|
+
* validation is performed.
|
|
47
|
+
* <p>
|
|
48
|
+
* A <code>LockException</code> will be thrown either immediately, on
|
|
49
|
+
* dispatch or on persists, if a lock prevents the operation.
|
|
50
|
+
* Implementations may differ on when this validation is performed.Causes the current retention policy on the node at <code>absPath</code>
|
|
51
|
+
* to no longer apply. The removal does not take effect until a
|
|
52
|
+
* <code>save</code> is performed.
|
|
53
|
+
* <p>
|
|
54
|
+
* A <code>VersionException</code> will be thrown either immediately, on
|
|
55
|
+
* dispatch or on persists, if the node at <code>absPath</code> is read-only
|
|
56
|
+
* due to a checked-in node. Implementations may differ on when this
|
|
57
|
+
* validation is performed.
|
|
58
|
+
* <p>
|
|
59
|
+
* A <code>LockException</code> will be thrown either immediately, on
|
|
60
|
+
* dispatch or on persists, if a lock prevents the operation.
|
|
61
|
+
* Implementations may differ on when this validation is performed.
|
|
62
|
+
* @since Sitevision 3.5
|
|
63
|
+
* @since JCR 2.0
|
|
64
|
+
*/
|
|
65
|
+
interface RetentionManager {
|
|
66
|
+
/**
|
|
67
|
+
* Returns all hold objects that have been added through this API to the
|
|
68
|
+
* existing node at <code>absPath</code>. If no hold has been set before,
|
|
69
|
+
* this method returns an empty array.
|
|
70
|
+
* @param absPath an absolute path.
|
|
71
|
+
* @return All hold objects that have been added to the existing node at <code>absPath</code> through this API or an empty array if no hold has been set.
|
|
72
|
+
* @throws PathNotFoundException if no node at <code>absPath</code> exists or the session does not have sufficent access to retrieve the node.
|
|
73
|
+
* @throws AccessDeniedException if the current session does not have sufficient access to retrieve the holds.
|
|
74
|
+
* @throws RepositoryException if another error occurs.
|
|
75
|
+
*/
|
|
76
|
+
getHolds(absPath: string): Hold;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Places a hold on the existing node at <code>absPath</code>. If
|
|
80
|
+
* <code>isDeep</code> is <code>true</code>) the hold applies to this node
|
|
81
|
+
* and its subgraph. The hold does not take effect until a <code>save</code>
|
|
82
|
+
* is performed. A node may have more than one hold.
|
|
83
|
+
* <p>
|
|
84
|
+
* The format and interpretation of the <code>name</code> are not specified.
|
|
85
|
+
* They are application-dependent.
|
|
86
|
+
* <p>
|
|
87
|
+
* A <code>VersionException</code> will be thrown either immediately, on
|
|
88
|
+
* dispatch or on persists, if the node at <code>absPath</code> is read-only
|
|
89
|
+
* due to a checked-in node. Implementations may differ on when this
|
|
90
|
+
* validation is performed.
|
|
91
|
+
* <p>
|
|
92
|
+
* A <code>LockException</code> will be thrown either immediately, on
|
|
93
|
+
* dispatch or on persists, if a lock prevents the operation.
|
|
94
|
+
* Implementations may differ on when this validation is performed.
|
|
95
|
+
* @param absPath an absolute path.
|
|
96
|
+
* @param name an application-dependent string.
|
|
97
|
+
* @param isDeep a boolean indicating if the hold applies to the subgraph.
|
|
98
|
+
* @return The <code>Hold</code> applied.
|
|
99
|
+
* @throws PathNotFoundException if no node at <code>absPath</code> exists or the session does not have sufficient access to retrieve the node.
|
|
100
|
+
* @throws AccessDeniedException if the current session does not have sufficient access to perform the operation.
|
|
101
|
+
* @throws LockException if a lock applies at the node at <code>absPath</code> and this implementation performs this validation immediately.
|
|
102
|
+
* @throws VersionException if the node at <code>absPath</code> is read-only due to a checked-in node. and this implementation performs this validation immediately.
|
|
103
|
+
* @throws RepositoryException if another error occurs.
|
|
104
|
+
*/
|
|
105
|
+
addHold(absPath: string, name: string, isDeep: boolean): Hold;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Removes the specified <code>hold</code> from the node at
|
|
109
|
+
* <code>absPath</code>. The removal does not take effect until a
|
|
110
|
+
* <code>save</code> is performed.
|
|
111
|
+
* <p>
|
|
112
|
+
* A <code>VersionException</code> will be thrown either immediately, on
|
|
113
|
+
* dispatch or on persists, if the node at <code>absPath</code> is read-only
|
|
114
|
+
* due to a checked-in node. Implementations may differ on when this
|
|
115
|
+
* validation is performed.
|
|
116
|
+
* <p>
|
|
117
|
+
* A <code>LockException</code> will be thrown either immediately, on
|
|
118
|
+
* dispatch or on persists, if a lock prevents the operation.
|
|
119
|
+
* Implementations may differ on when this validation is performed.
|
|
120
|
+
* @param absPath an absolute path.
|
|
121
|
+
* @param hold the hold to be removed.
|
|
122
|
+
* @throws PathNotFoundException if no node at <code>absPath</code> exists or the session does not have sufficient access to retrieve the node.
|
|
123
|
+
* @throws AccessDeniedException if the current session does not have sufficient access to perform the operation.
|
|
124
|
+
* @throws LockException if a lock applies at the node at <code>absPath</code> and this implementation performs this validation immediately.
|
|
125
|
+
* @throws VersionException if the node at <code>absPath</code> is read-only due to a checked-in node and this implementation performs this validation immediately.
|
|
126
|
+
* @throws RepositoryException if another error occurs.
|
|
127
|
+
*/
|
|
128
|
+
removeHold(absPath: string, hold: Hold): void;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Returns the retention policy that has been set using {@link
|
|
132
|
+
* #setRetentionPolicy} on the node at <code>absPath</code> or
|
|
133
|
+
* <code>null</code> if no policy has been set.
|
|
134
|
+
* @param absPath an absolute path to an existing node.
|
|
135
|
+
* @return The retention policy that applies to the existing node at <code>absPath</code> or <code>null</code> if no policy applies.
|
|
136
|
+
* @throws PathNotFoundException if no node at <code>absPath</code> exists or the session does not have sufficent access to retrieve the node.
|
|
137
|
+
* @throws AccessDeniedException if the current session does not have sufficient access to retrieve the policy.
|
|
138
|
+
* @throws RepositoryException if another error occurs.
|
|
139
|
+
*/
|
|
140
|
+
getRetentionPolicy(absPath: string): RetentionPolicy;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Sets the retention policy of the node at <code>absPath</code> to that
|
|
144
|
+
* defined in the specified policy node. Interpretation and enforcement of
|
|
145
|
+
* this policy is an implementation issue. In any case the policy does does
|
|
146
|
+
* not take effect until a <code>save</code> is performed.
|
|
147
|
+
* <p>
|
|
148
|
+
* A <code>VersionException</code> will be thrown either immediately, on
|
|
149
|
+
* dispatch or on persists, if the node at <code>absPath</code> is read-only
|
|
150
|
+
* due to a checked-in node. Implementations may differ on when this
|
|
151
|
+
* validation is performed.
|
|
152
|
+
* <p>
|
|
153
|
+
* A <code>LockException</code> will be thrown either immediately, on
|
|
154
|
+
* dispatch or on persists, if a lock prevents the operation.
|
|
155
|
+
* Implementations may differ on when this validation is performed.
|
|
156
|
+
* @param absPath an absolute path to an existing node.
|
|
157
|
+
* @param retentionPolicy a retention policy.
|
|
158
|
+
* @throws PathNotFoundException if no node at <code>absPath</code> exists or the session does not have sufficient access to retrieve the node.
|
|
159
|
+
* @throws AccessDeniedException if the current session does not have sufficient access to perform the operation.
|
|
160
|
+
* @throws LockException if a lock applies at the node at <code>absPath</code> and this implementation performs this validation immediately.
|
|
161
|
+
* @throws VersionException if the node at <code>absPath</code> is read-only due to a checked-in node and this implementation performs this validation immediately.
|
|
162
|
+
* @throws RepositoryException if another error occurs.
|
|
163
|
+
*/
|
|
164
|
+
setRetentionPolicy(absPath: string, retentionPolicy: RetentionPolicy): void;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Causes the current retention policy on the node at <code>absPath</code>
|
|
168
|
+
* to no longer apply. The removal does not take effect until a
|
|
169
|
+
* <code>save</code> is performed.
|
|
170
|
+
* <p>
|
|
171
|
+
* A <code>VersionException</code> will be thrown either immediately, on
|
|
172
|
+
* dispatch or on persists, if the node at <code>absPath</code> is read-only
|
|
173
|
+
* due to a checked-in node. Implementations may differ on when this
|
|
174
|
+
* validation is performed.
|
|
175
|
+
* <p>
|
|
176
|
+
* A <code>LockException</code> will be thrown either immediately, on
|
|
177
|
+
* dispatch or on persists, if a lock prevents the operation.
|
|
178
|
+
* Implementations may differ on when this validation is performed.
|
|
179
|
+
* @param absPath an absolute path to an existing node.
|
|
180
|
+
* @throws PathNotFoundException if no node at <code>absPath</code> exists or the session does not have sufficient access to retrieve the node.
|
|
181
|
+
* @throws AccessDeniedException if the current session does not have sufficient access to perform the operation.
|
|
182
|
+
* @throws LockException if a lock applies at the node at <code>absPath</code> and this implementation performs this validation immediately.
|
|
183
|
+
* @throws VersionException if the node at <code>absPath</code> is read-only due to a checked-in node and this implementation performs this validation immediately.
|
|
184
|
+
* @throws RepositoryException if another error occurs.
|
|
185
|
+
*/
|
|
186
|
+
removeRetentionPolicy(absPath: string): void;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export default RetentionManager;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An <code>RetentionPolicy</code> is an object with a name and an optional
|
|
3
|
+
* description.
|
|
4
|
+
*
|
|
5
|
+
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the name of the retention policy. A JCR name.
|
|
6
|
+
* @see RetentionManager#getRetentionPolicy(String)
|
|
7
|
+
* @see RetentionManager#setRetentionPolicy(String, RetentionPolicy)
|
|
8
|
+
* @see RetentionManager#removeRetentionPolicy(String)
|
|
9
|
+
* @since Sitevision 3.5
|
|
10
|
+
* @since JCR 2.0
|
|
11
|
+
*/
|
|
12
|
+
interface RetentionPolicy {
|
|
13
|
+
/**
|
|
14
|
+
* Returns the name of the retention policy. A JCR name.
|
|
15
|
+
* @return the name of the access control policy. A JCR name.
|
|
16
|
+
* @throws RepositoryException if an error occurs.
|
|
17
|
+
*/
|
|
18
|
+
getName(): string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export default RetentionPolicy;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import Privilege from "../Privilege";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* An <code>AccessControlEntry</code> represents the association of one or more
|
|
5
|
+
* <code>Privilege</code> objects with a specific <code>Principal</code>.
|
|
6
|
+
*
|
|
7
|
+
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns the principal associated with this access control entry.Returns the privileges associated with this access control entry.
|
|
8
|
+
* @since JCR 2.0
|
|
9
|
+
*/
|
|
10
|
+
interface AccessControlEntry {
|
|
11
|
+
/**
|
|
12
|
+
* Returns the principal associated with this access control entry.
|
|
13
|
+
* @return a <code>Principal</code>.
|
|
14
|
+
*/
|
|
15
|
+
getPrincipal(): unknown;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Returns the privileges associated with this access control entry.
|
|
19
|
+
* @return an array of <code>Privilege</code>s.
|
|
20
|
+
*/
|
|
21
|
+
getPrivileges(): Privilege;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export default AccessControlEntry;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import AccessControlEntry from "../AccessControlEntry";
|
|
2
|
+
import Privilege from "../Privilege";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The <code>AccessControlList</code> is an <code>AccessControlPolicy</code>
|
|
6
|
+
* representing a list of {@link AccessControlEntry access control entries}. It
|
|
7
|
+
* is mutable before being {@link AccessControlManager#setPolicy(String,
|
|
8
|
+
* AccessControlPolicy) set} to the AccessControlManager and consequently
|
|
9
|
+
* defines methods to read and mutate the list i.e. to get, add or remove
|
|
10
|
+
* individual entries.
|
|
11
|
+
*
|
|
12
|
+
* <p><strong>Sitevision note:</strong> Unsupported operation</p>Returns all access control entries present with this policy.
|
|
13
|
+
* <p>
|
|
14
|
+
* This method is only guaranteed to return an <code>AccessControlEntry</code>
|
|
15
|
+
* if that <code>AccessControlEntry</code> has been assigned <i>through this
|
|
16
|
+
* API</i>.Adds an access control entry to this policy consisting of the specified
|
|
17
|
+
* <code>principal</code> and the specified <code>privileges</code>.
|
|
18
|
+
* <p>
|
|
19
|
+
* This method returns <code>true</code> if this policy was modified,
|
|
20
|
+
* <code>false</code> otherwise.
|
|
21
|
+
* <p>
|
|
22
|
+
* How the entries are grouped within the list is an implementation detail.
|
|
23
|
+
* An implementation may e.g. combine the specified privileges with those
|
|
24
|
+
* added by a previous call to <code>addAccessControlEntry</code> for the
|
|
25
|
+
* same <code>Principal</code>. However, a call to <code>addAccessControlEntry</code>
|
|
26
|
+
* for a given <code>Principal</code> can never remove a
|
|
27
|
+
* <code>Privilege</code> added by a previous call.
|
|
28
|
+
* <p>
|
|
29
|
+
* The modification does not take effect until this policy has been set to a
|
|
30
|
+
* node by calling {@link AccessControlManager#setPolicy(String,
|
|
31
|
+
* AccessControlPolicy)} and <code>save</code> is performed.Removes the specified <code>AccessControlEntry</code> from this policy.
|
|
32
|
+
* <p>
|
|
33
|
+
* Only exactly those entries obtained through <code>getAccessControlEntries</code>
|
|
34
|
+
* can be removed. This method does not take effect until this policy has
|
|
35
|
+
* been re-set to a node by calling {@link AccessControlManager#setPolicy(String,
|
|
36
|
+
* AccessControlPolicy)} and <code>save</code> is performed.
|
|
37
|
+
* @since Sitevision 3.5
|
|
38
|
+
* @since JCR 2.0
|
|
39
|
+
*/
|
|
40
|
+
interface AccessControlList {
|
|
41
|
+
/**
|
|
42
|
+
* Returns all access control entries present with this policy.
|
|
43
|
+
* <p>
|
|
44
|
+
* This method is only guaranteed to return an <code>AccessControlEntry</code>
|
|
45
|
+
* if that <code>AccessControlEntry</code> has been assigned <i>through this
|
|
46
|
+
* API</i>.
|
|
47
|
+
* @return all access control entries present with this policy.
|
|
48
|
+
* @throws RepositoryException if an error occurs.
|
|
49
|
+
*/
|
|
50
|
+
getAccessControlEntries(): AccessControlEntry;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Adds an access control entry to this policy consisting of the specified
|
|
54
|
+
* <code>principal</code> and the specified <code>privileges</code>.
|
|
55
|
+
* <p>
|
|
56
|
+
* This method returns <code>true</code> if this policy was modified,
|
|
57
|
+
* <code>false</code> otherwise.
|
|
58
|
+
* <p>
|
|
59
|
+
* How the entries are grouped within the list is an implementation detail.
|
|
60
|
+
* An implementation may e.g. combine the specified privileges with those
|
|
61
|
+
* added by a previous call to <code>addAccessControlEntry</code> for the
|
|
62
|
+
* same <code>Principal</code>. However, a call to <code>addAccessControlEntry</code>
|
|
63
|
+
* for a given <code>Principal</code> can never remove a
|
|
64
|
+
* <code>Privilege</code> added by a previous call.
|
|
65
|
+
* <p>
|
|
66
|
+
* The modification does not take effect until this policy has been set to a
|
|
67
|
+
* node by calling {@link AccessControlManager#setPolicy(String,
|
|
68
|
+
* AccessControlPolicy)} and <code>save</code> is performed.
|
|
69
|
+
* @param principal a <code>Principal</code>.
|
|
70
|
+
* @param privileges an array of <code>Privilege</code>s.
|
|
71
|
+
* @return <code>true</code> if this policy was modify; <code>false</code> otherwise.
|
|
72
|
+
* @throws AccessControlException if the specified principal or any of the privileges does not exist or if some other access control related exception occurs.
|
|
73
|
+
* @throws RepositoryException if another error occurs.
|
|
74
|
+
*/
|
|
75
|
+
addAccessControlEntry(principal: unknown, privileges: Privilege): boolean;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Removes the specified <code>AccessControlEntry</code> from this policy.
|
|
79
|
+
* <p>
|
|
80
|
+
* Only exactly those entries obtained through <code>getAccessControlEntries</code>
|
|
81
|
+
* can be removed. This method does not take effect until this policy has
|
|
82
|
+
* been re-set to a node by calling {@link AccessControlManager#setPolicy(String,
|
|
83
|
+
* AccessControlPolicy)} and <code>save</code> is performed.
|
|
84
|
+
* @param ace the access control entry to be removed.
|
|
85
|
+
* @throws AccessControlException if the specified entry is not present on the specified node.
|
|
86
|
+
* @throws RepositoryException if another error occurs.
|
|
87
|
+
*/
|
|
88
|
+
removeAccessControlEntry(ace: AccessControlEntry): void;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export default AccessControlList;
|