@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,202 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks if an object is a <code>String</code>.
|
|
3
|
+
* @param aObject the object to be checked
|
|
4
|
+
* @return whether <code>aObject</code> is a <code>java.lang.String</code> or not.
|
|
5
|
+
*/
|
|
6
|
+
export function isString(aObject: unknown): boolean;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Checks if an object is a <code>Boolean</code>.
|
|
10
|
+
* @param aObject the object to be checked
|
|
11
|
+
* @return whether <code>aObject</code> is a <code>java.lang.Boolean</code> or not.
|
|
12
|
+
*/
|
|
13
|
+
export function isBoolean(aObject: unknown): boolean;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Checks if an object is an <code>Integer</code>.
|
|
17
|
+
* @param aObject the object to be checked
|
|
18
|
+
* @return whether <code>aObject</code> is a <code>java.lang.Integer</code> or not.
|
|
19
|
+
*/
|
|
20
|
+
export function isInteger(aObject: unknown): boolean;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Checks if an object is a <code>Long</code>.
|
|
24
|
+
* @param aObject the object to be checked
|
|
25
|
+
* @return whether <code>aObject</code> is a <code>java.lang.Long</code> or not.
|
|
26
|
+
*/
|
|
27
|
+
export function isLong(aObject: unknown): boolean;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Checks if an object is a <code>Double</code>.
|
|
31
|
+
* @param aObject the object to be checked
|
|
32
|
+
* @return whether <code>aObject</code> is a <code>java.lang.Double</code> or not.
|
|
33
|
+
*/
|
|
34
|
+
export function isDouble(aObject: unknown): boolean;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Checks if an object is a <code>Float</code>.
|
|
38
|
+
* @param aObject the object to be checked
|
|
39
|
+
* @return whether <code>aObject</code> is a <code>java.lang.Float</code> or not.
|
|
40
|
+
*/
|
|
41
|
+
export function isFloat(aObject: unknown): boolean;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Checks if an object is a <code>Number</code>.
|
|
45
|
+
* @param aObject the object to be checked
|
|
46
|
+
* @return whether <code>aObject</code> is a <code>java.lang.Number</code> or not.
|
|
47
|
+
* @since Sitevision 4.2.3
|
|
48
|
+
*/
|
|
49
|
+
export function isNumber(aObject: unknown): boolean;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Checks if an object is a <code>Node</code>.
|
|
53
|
+
* @param aObject the object to be checked
|
|
54
|
+
* @return whether <code>aObject</code> is a <code>{@link javax.jcr.Node}</code> or not.
|
|
55
|
+
* @see senselogic.sitevision.api.node.NodeTypeUtil
|
|
56
|
+
*/
|
|
57
|
+
export function isNode(aObject: unknown): boolean;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Checks if an object is a <code>Property</code>.
|
|
61
|
+
* @param aObject the object to be checked
|
|
62
|
+
* @return whether <code>aObject</code> is a <code>{@link javax.jcr.Property}</code> or not.
|
|
63
|
+
*/
|
|
64
|
+
export function isProperty(aObject: unknown): boolean;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Checks if an object is a <code>Date</code>.
|
|
68
|
+
* @param aObject the object to be checked
|
|
69
|
+
* @return whether <code>aObject</code> is a <code>java.util.Date</code> or not.
|
|
70
|
+
*/
|
|
71
|
+
export function isDate(aObject: unknown): boolean;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Checks if an object is a <code>Calendar</code>.
|
|
75
|
+
* @param aObject the object to be checked
|
|
76
|
+
* @return whether <code>aObject</code> is a <code>java.lang.Calendar</code> or not.
|
|
77
|
+
* @since Sitevision 4.2.3
|
|
78
|
+
*/
|
|
79
|
+
export function isCalendar(aObject: unknown): boolean;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Checks if an object is a <code>List</code>.
|
|
83
|
+
* @param aObject the object to be checked
|
|
84
|
+
* @return whether <code>aObject</code> is a <code>java.util.List</code> or not.
|
|
85
|
+
*/
|
|
86
|
+
export function isList(aObject: unknown): boolean;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Checks if an object is a <code>Map</code>.
|
|
90
|
+
* @param aObject the object to be checked
|
|
91
|
+
* @return whether <code>aObject</code> is a <code>java.util.Map</code> or not.
|
|
92
|
+
*/
|
|
93
|
+
export function isMap(aObject: unknown): boolean;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Checks if an object is a <code>Set</code>.
|
|
97
|
+
* @param aObject the object to be checked
|
|
98
|
+
* @return whether <code>aObject</code> is a <code>java.util.Set</code> or not.
|
|
99
|
+
*/
|
|
100
|
+
export function isSet(aObject: unknown): boolean;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Checks if an object is a <code>Collection</code>.
|
|
104
|
+
* @param aObject the object to be checked
|
|
105
|
+
* @return whether <code>aObject</code> is a <code>java.util.Collection</code> or not.
|
|
106
|
+
*/
|
|
107
|
+
export function isCollection(aObject: unknown): boolean;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Checks if an object is an <code>Iterator</code>.
|
|
111
|
+
* @param aObject the object to be checked
|
|
112
|
+
* @return whether <code>aObject</code> is a <code>java.util.Iterator</code> or not.
|
|
113
|
+
*/
|
|
114
|
+
export function isIterator(aObject: unknown): boolean;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Checks if an object is an <code>Iterable</code>.
|
|
118
|
+
* @param aObject the object to be checked
|
|
119
|
+
* @return whether <code>aObject</code> is a <code>java.lang.Iterable</code> or not.
|
|
120
|
+
* @since Sitevision 4.2.3
|
|
121
|
+
*/
|
|
122
|
+
export function isIterable(aObject: unknown): boolean;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Checks if an object is a <code>Serializable</code>.
|
|
126
|
+
* @param aObject the object to be checked
|
|
127
|
+
* @return whether <code>aObject</code> is a <code>java.io.Serializable</code> or not.
|
|
128
|
+
* @since Sitevision 4.2.3
|
|
129
|
+
*/
|
|
130
|
+
export function isSerializable(aObject: unknown): boolean;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Checks if an object is a <code>Comparator</code>.
|
|
134
|
+
* @param aObject the object to be checked
|
|
135
|
+
* @return whether <code>aObject</code> is a <code>java.lang.Comparator</code> or not.
|
|
136
|
+
* @since Sitevision 4.2.3
|
|
137
|
+
*/
|
|
138
|
+
export function isComparator(aObject: unknown): boolean;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Checks if an object is a <code>Comparable</code>.
|
|
142
|
+
* @param aObject the object to be checked
|
|
143
|
+
* @return whether <code>aObject</code> is a <code>java.lang.Comparable</code> or not.
|
|
144
|
+
* @since Sitevision 4.2.3
|
|
145
|
+
*/
|
|
146
|
+
export function isComparable(aObject: unknown): boolean;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Checks if an object is an <code>Exception</code>.
|
|
150
|
+
* @param aObject the object to be checked
|
|
151
|
+
* @return whether <code>aObject</code> is a <code>java.lang.Exception</code> or not.
|
|
152
|
+
* @since Sitevision 4.2.3
|
|
153
|
+
*/
|
|
154
|
+
export function isException(aObject: unknown): boolean;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Checks if an object is a <code>Throwable</code>.
|
|
158
|
+
* @param aObject the object to be checked
|
|
159
|
+
* @return whether <code>aObject</code> is a <code>java.lang.Throwable</code> or not.
|
|
160
|
+
* @since Sitevision 4.2.3
|
|
161
|
+
*/
|
|
162
|
+
export function isThrowable(aObject: unknown): boolean;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Instance type utility interface.
|
|
166
|
+
*
|
|
167
|
+
* <p>
|
|
168
|
+
* An instance of the Sitevision class implementing this interface can be obtained via
|
|
169
|
+
* {@link senselogic.sitevision.api.Utils#getInstanceTypeUtil()}.
|
|
170
|
+
* See {@link senselogic.sitevision.api.Utils} for how to obtain an instance of the <code>Utils</code> interface.
|
|
171
|
+
* </p>Checks if an object is a <code>String</code>.Checks if an object is a <code>Boolean</code>.Checks if an object is an <code>Integer</code>.Checks if an object is a <code>Long</code>.Checks if an object is a <code>Double</code>.Checks if an object is a <code>Float</code>.Checks if an object is a <code>Number</code>.Checks if an object is a <code>Node</code>.Checks if an object is a <code>Property</code>.Checks if an object is a <code>Date</code>.Checks if an object is a <code>Calendar</code>.Checks if an object is a <code>List</code>.Checks if an object is a <code>Map</code>.Checks if an object is a <code>Set</code>.Checks if an object is a <code>Collection</code>.Checks if an object is an <code>Iterator</code>.Checks if an object is an <code>Iterable</code>.Checks if an object is a <code>Serializable</code>.Checks if an object is a <code>Comparator</code>.Checks if an object is a <code>Comparable</code>.Checks if an object is an <code>Exception</code>.Checks if an object is a <code>Throwable</code>.
|
|
172
|
+
* @author Magnus Lövgren
|
|
173
|
+
* @since Sitevision 2.6.2
|
|
174
|
+
*/
|
|
175
|
+
declare namespace InstanceTypeUtil {
|
|
176
|
+
export {
|
|
177
|
+
isString,
|
|
178
|
+
isBoolean,
|
|
179
|
+
isInteger,
|
|
180
|
+
isLong,
|
|
181
|
+
isDouble,
|
|
182
|
+
isFloat,
|
|
183
|
+
isNumber,
|
|
184
|
+
isNode,
|
|
185
|
+
isProperty,
|
|
186
|
+
isDate,
|
|
187
|
+
isCalendar,
|
|
188
|
+
isList,
|
|
189
|
+
isMap,
|
|
190
|
+
isSet,
|
|
191
|
+
isCollection,
|
|
192
|
+
isIterator,
|
|
193
|
+
isIterable,
|
|
194
|
+
isSerializable,
|
|
195
|
+
isComparator,
|
|
196
|
+
isComparable,
|
|
197
|
+
isException,
|
|
198
|
+
isThrowable,
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export default InstanceTypeUtil;
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import Node from "../../hidden/javax/jcr/Node";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Create a JWT token with SHA hashing.
|
|
5
|
+
*
|
|
6
|
+
* <p>
|
|
7
|
+
* When creating a JWT token, Sitevision always adds an IAT (issued at) claim. The IAT date is set to the time of creation.
|
|
8
|
+
* Custom <em>claims</em> can be of the following types.
|
|
9
|
+
* </p>
|
|
10
|
+
* <ul>
|
|
11
|
+
* <li>String</li>
|
|
12
|
+
* <li>Boolean</li>
|
|
13
|
+
* <li>Integer</li>
|
|
14
|
+
* <li>Long</li>
|
|
15
|
+
* <li>Array of String</li>
|
|
16
|
+
* <li>Array of Long</li>
|
|
17
|
+
* </ul>
|
|
18
|
+
*
|
|
19
|
+
* <p>
|
|
20
|
+
* JWT tokens signed using a pre-shared key can use an <em>algorithm</em> of the following types:
|
|
21
|
+
* </p>
|
|
22
|
+
* <ul>
|
|
23
|
+
* <li>HS256</li>
|
|
24
|
+
* <li>HS384</li>
|
|
25
|
+
* <li>HS512</li>
|
|
26
|
+
* </ul>
|
|
27
|
+
* @param aClaims The claims to send as payload. Claim values can be of types String, Boolean, Integer, Long and also arrays of Strings or Longs
|
|
28
|
+
* @param aAlgorithm Hashing algorithm used, viable values are HS256, HS384 and HS512
|
|
29
|
+
* @param aPreSharedKey Pre-shared key used for hashing.
|
|
30
|
+
* @return A JWT token
|
|
31
|
+
* @throws JwtException If an error occurs when creating the JWT token
|
|
32
|
+
* @throws IllegalArgumentException If aPreSharedKey or aAlgorithm is blank.
|
|
33
|
+
*/
|
|
34
|
+
export function createSHAToken(
|
|
35
|
+
aClaims: unknown,
|
|
36
|
+
aAlgorithm: string,
|
|
37
|
+
aPreSharedKey: string
|
|
38
|
+
): string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Create a JWT token signed with a RSA keypair.
|
|
42
|
+
*
|
|
43
|
+
* <p>
|
|
44
|
+
* When creating a JWT token, Sitevision always adds an IAT (issued at) claim. The IAT date is set to the time of creation.
|
|
45
|
+
* Custom <em>claims</em> can be of the following types.
|
|
46
|
+
* </p>
|
|
47
|
+
* <ul>
|
|
48
|
+
* <li>String</li>
|
|
49
|
+
* <li>Boolean</li>
|
|
50
|
+
* <li>Integer</li>
|
|
51
|
+
* <li>Long</li>
|
|
52
|
+
* <li>Array of String</li>
|
|
53
|
+
* <li>Array of Long</li>
|
|
54
|
+
* </ul>
|
|
55
|
+
*
|
|
56
|
+
* <p>
|
|
57
|
+
* JWT tokens signed using a pre-shared key can use an <em>algorithm</em> of the following types:
|
|
58
|
+
* </p>
|
|
59
|
+
* <ul>
|
|
60
|
+
* <li>RS256</li>
|
|
61
|
+
* <li>RS384</li>
|
|
62
|
+
* <li>RS512</li>
|
|
63
|
+
* </ul>
|
|
64
|
+
*
|
|
65
|
+
* <p>
|
|
66
|
+
* When signing or decoding JWT using RSA keypair, Sitevision only support keys coded in standard PEM text format.
|
|
67
|
+
* Private keys can use password, but if a key without password is used, an empty string as password must be supplied.
|
|
68
|
+
* </p>
|
|
69
|
+
* @param aClaims The claims to send as payload. Claim values can be of types String, Boolean, Integer, Long and also arrays of Strings or Longs
|
|
70
|
+
* @param aAlgorithm Signing algorithm used, viable values are RS256, RS384 and RS512
|
|
71
|
+
* @param aPrivateKey A sv:file or sv:temporaryFile with the PEM formatted RSA private key.
|
|
72
|
+
* @param aPassword Password for the private key, use an empty string if the key is not password protected.
|
|
73
|
+
* @return A JWT token
|
|
74
|
+
* @throws ConstraintViolationException If the private key cannot be found or accessed
|
|
75
|
+
* @throws JwtException If an error occurs when creating the JWT token
|
|
76
|
+
* @throws IllegalArgumentException If aPassword is null, aAlgorithm is blank, aPrivateKey is null or if aPrivateKey is not a RSA private key.
|
|
77
|
+
*/
|
|
78
|
+
export function createRSAToken(
|
|
79
|
+
aClaims: unknown,
|
|
80
|
+
aAlgorithm: string,
|
|
81
|
+
aPrivateKey: Node,
|
|
82
|
+
aPassword: string
|
|
83
|
+
): string;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Validate a JWT token created with SHA and a pre-shared key.
|
|
87
|
+
*
|
|
88
|
+
* <p>
|
|
89
|
+
* The algorithm to decode is automatically detected by Sitevision from the token but it must be one of the following types:
|
|
90
|
+
* </p>
|
|
91
|
+
* <ul>
|
|
92
|
+
* <li>HS256</li>
|
|
93
|
+
* <li>HS384</li>
|
|
94
|
+
* <li>HS512</li>
|
|
95
|
+
* </ul>
|
|
96
|
+
* @param aToken Token to validate
|
|
97
|
+
* @param aPreSharedKey Pre-shared key that the hash was created with
|
|
98
|
+
* @return A javascript object with the alg and payload if the token was correctly validated.
|
|
99
|
+
* @throws JwtException If an error occurs the decoding the JWT token
|
|
100
|
+
* @throws IllegalArgumentException If aToken or aPreSharedKey are blank.
|
|
101
|
+
*/
|
|
102
|
+
export function decodeSHA(aToken: string, aPreSharedKey: string): unknown;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Validate a JWT token created using a RSA keypair.
|
|
106
|
+
*
|
|
107
|
+
* <p>
|
|
108
|
+
* The algorithm to decode is automatically detected by Sitevision from the token but it must be one of the following types:
|
|
109
|
+
* </p>
|
|
110
|
+
* <ul>
|
|
111
|
+
* <li>RS256</li>
|
|
112
|
+
* <li>RS384</li>
|
|
113
|
+
* <li>RS512</li>
|
|
114
|
+
* </ul>
|
|
115
|
+
*
|
|
116
|
+
* <p>
|
|
117
|
+
* When signing or decoding JWT using RSA keypair, Sitevision only support keys coded in standard PEM text format.
|
|
118
|
+
* </p>
|
|
119
|
+
* @param aToken Token to validate.
|
|
120
|
+
* @param aPublicKey A sv:file or sv:temporaryFile containing the PEM formatted RSA public key for decrypting the JWT token.
|
|
121
|
+
* @return A javascript object with the alg and payload if the token was correctly validated.
|
|
122
|
+
* @throws ConstraintViolationException If the public key cannot be found or accessed
|
|
123
|
+
* @throws JwtException If an error occurs the decoding the JWT token
|
|
124
|
+
* @throws IllegalArgumentException If aToken is blank, aPublicKey is null or aPublicKey is not a RSA public key
|
|
125
|
+
*/
|
|
126
|
+
export function decodeRSA(aToken: string, aPublicKey: Node): unknown;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* JSON Web Token (JWT) utilities.
|
|
130
|
+
*
|
|
131
|
+
* <p>
|
|
132
|
+
* Technical information about JWT:
|
|
133
|
+
* </p>
|
|
134
|
+
* <ul>
|
|
135
|
+
* <li><a href="https://jwt.io/introduction/">Introduction to JSON Web Tokens</a></li>
|
|
136
|
+
* <li><a href="https://tools.ietf.org/html/rfc7519" target="_blank">RFC 7519: The JSON Web Token specification</a></li>
|
|
137
|
+
* </ul>Create a JWT token with SHA hashing.
|
|
138
|
+
*
|
|
139
|
+
* <p>
|
|
140
|
+
* When creating a JWT token, Sitevision always adds an IAT (issued at) claim. The IAT date is set to the time of creation.
|
|
141
|
+
* Custom <em>claims</em> can be of the following types.
|
|
142
|
+
* </p>
|
|
143
|
+
* <ul>
|
|
144
|
+
* <li>String</li>
|
|
145
|
+
* <li>Boolean</li>
|
|
146
|
+
* <li>Integer</li>
|
|
147
|
+
* <li>Long</li>
|
|
148
|
+
* <li>Array of String</li>
|
|
149
|
+
* <li>Array of Long</li>
|
|
150
|
+
* </ul>
|
|
151
|
+
*
|
|
152
|
+
* <p>
|
|
153
|
+
* JWT tokens signed using a pre-shared key can use an <em>algorithm</em> of the following types:
|
|
154
|
+
* </p>
|
|
155
|
+
* <ul>
|
|
156
|
+
* <li>HS256</li>
|
|
157
|
+
* <li>HS384</li>
|
|
158
|
+
* <li>HS512</li>
|
|
159
|
+
* </ul>Create a JWT token signed with a RSA keypair.
|
|
160
|
+
*
|
|
161
|
+
* <p>
|
|
162
|
+
* When creating a JWT token, Sitevision always adds an IAT (issued at) claim. The IAT date is set to the time of creation.
|
|
163
|
+
* Custom <em>claims</em> can be of the following types.
|
|
164
|
+
* </p>
|
|
165
|
+
* <ul>
|
|
166
|
+
* <li>String</li>
|
|
167
|
+
* <li>Boolean</li>
|
|
168
|
+
* <li>Integer</li>
|
|
169
|
+
* <li>Long</li>
|
|
170
|
+
* <li>Array of String</li>
|
|
171
|
+
* <li>Array of Long</li>
|
|
172
|
+
* </ul>
|
|
173
|
+
*
|
|
174
|
+
* <p>
|
|
175
|
+
* JWT tokens signed using a pre-shared key can use an <em>algorithm</em> of the following types:
|
|
176
|
+
* </p>
|
|
177
|
+
* <ul>
|
|
178
|
+
* <li>RS256</li>
|
|
179
|
+
* <li>RS384</li>
|
|
180
|
+
* <li>RS512</li>
|
|
181
|
+
* </ul>
|
|
182
|
+
*
|
|
183
|
+
* <p>
|
|
184
|
+
* When signing or decoding JWT using RSA keypair, Sitevision only support keys coded in standard PEM text format.
|
|
185
|
+
* Private keys can use password, but if a key without password is used, an empty string as password must be supplied.
|
|
186
|
+
* </p>Validate a JWT token created with SHA and a pre-shared key.
|
|
187
|
+
*
|
|
188
|
+
* <p>
|
|
189
|
+
* The algorithm to decode is automatically detected by Sitevision from the token but it must be one of the following types:
|
|
190
|
+
* </p>
|
|
191
|
+
* <ul>
|
|
192
|
+
* <li>HS256</li>
|
|
193
|
+
* <li>HS384</li>
|
|
194
|
+
* <li>HS512</li>
|
|
195
|
+
* </ul>Validate a JWT token created using a RSA keypair.
|
|
196
|
+
*
|
|
197
|
+
* <p>
|
|
198
|
+
* The algorithm to decode is automatically detected by Sitevision from the token but it must be one of the following types:
|
|
199
|
+
* </p>
|
|
200
|
+
* <ul>
|
|
201
|
+
* <li>RS256</li>
|
|
202
|
+
* <li>RS384</li>
|
|
203
|
+
* <li>RS512</li>
|
|
204
|
+
* </ul>
|
|
205
|
+
*
|
|
206
|
+
* <p>
|
|
207
|
+
* When signing or decoding JWT using RSA keypair, Sitevision only support keys coded in standard PEM text format.
|
|
208
|
+
* </p>
|
|
209
|
+
* @param <O> script object
|
|
210
|
+
* @since Sitevision 5.1
|
|
211
|
+
* @author Anders Sjöstrand
|
|
212
|
+
*/
|
|
213
|
+
declare namespace JwtUtil {
|
|
214
|
+
export { createSHAToken, createRSAToken, decodeSHA, decodeRSA };
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export default JwtUtil;
|
|
@@ -1,86 +1,103 @@
|
|
|
1
|
-
import Node from
|
|
1
|
+
import Node from "../../hidden/javax/jcr/Node";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Gets the
|
|
5
|
-
* @
|
|
6
|
-
*/
|
|
7
|
-
export function
|
|
4
|
+
* Gets the error page (404) of current site.
|
|
5
|
+
* @return the error page, or null if current site has no such page specified.
|
|
6
|
+
*/
|
|
7
|
+
export function getErrorPage(): Node;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Gets the login page (401) of current site.
|
|
11
|
+
* @return the login page, or null if current site has no such page specified.
|
|
12
|
+
*/
|
|
13
|
+
export function getLoginPage(): Node;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Gets the profile page (information about current/specified user identity) of current site.
|
|
17
|
+
* @return the profile page, or null if current site has no such page specified.
|
|
18
|
+
*/
|
|
19
|
+
export function getProfilePage(): Node;
|
|
8
20
|
|
|
9
21
|
/**
|
|
10
|
-
* Gets the contacts page (information about the contacts of current/specified user identity) of current site.
|
|
11
|
-
* @
|
|
12
|
-
|
|
22
|
+
* Gets the contacts page (information about the contacts of current/specified user identity) of current site.
|
|
23
|
+
* @return the contact page, or null if current site has no such page specified.
|
|
24
|
+
* @since Sitevision 6.0.1
|
|
25
|
+
*/
|
|
13
26
|
export function getContactsPage(): Node;
|
|
14
27
|
|
|
15
28
|
/**
|
|
16
|
-
* Gets the
|
|
17
|
-
* @
|
|
18
|
-
|
|
19
|
-
|
|
29
|
+
* Gets the user identity search result page of current site.
|
|
30
|
+
* @return the user identity search result page, or null if current site has no such page specified.
|
|
31
|
+
* @since Sitevision 6.0.1
|
|
32
|
+
*/
|
|
33
|
+
export function getUserIdentitySearchResultPage(): Node;
|
|
20
34
|
|
|
21
35
|
/**
|
|
22
|
-
* Gets the files page (information about the files of a collaboration group) of current site.
|
|
23
|
-
* @
|
|
24
|
-
|
|
36
|
+
* Gets the files page (information about the files of a collaboration group) of current site.
|
|
37
|
+
* @return the files page, or null if current site has no such page specified.
|
|
38
|
+
* @since Sitevision 6.0.1
|
|
39
|
+
*/
|
|
25
40
|
export function getFilesPage(): Node;
|
|
26
41
|
|
|
27
42
|
/**
|
|
28
|
-
* Gets the
|
|
29
|
-
* @
|
|
30
|
-
|
|
31
|
-
|
|
43
|
+
* Gets the collaboration groups page (lists all accessible collaboration groups) of current site.
|
|
44
|
+
* @return the collaboration groups page, or null if current site has no such page specified.
|
|
45
|
+
* @since Sitevision 6.0.1
|
|
46
|
+
*/
|
|
47
|
+
export function getCollaborationGroupsPage(): Node;
|
|
32
48
|
|
|
33
49
|
/**
|
|
34
|
-
* Gets the members page (lists all members of a specified collaboration group) of current site.
|
|
35
|
-
* @
|
|
36
|
-
|
|
50
|
+
* Gets the members page (lists all members of a specified collaboration group) of current site.
|
|
51
|
+
* @return the members page, or null if current site has no such page specified.
|
|
52
|
+
* @since Sitevision 6.0.1
|
|
53
|
+
*/
|
|
37
54
|
export function getMembersPage(): Node;
|
|
38
55
|
|
|
39
56
|
/**
|
|
40
|
-
* Gets the
|
|
41
|
-
* @
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Gets the tag timeline page (displays the timeline for a specified tag) of current site.
|
|
47
|
-
* @returns {Node} the tag timeline page, or null if current site has no such page specified.
|
|
48
|
-
*/
|
|
57
|
+
* Gets the tag timeline page (displays the timeline for a specified tag) of current site.
|
|
58
|
+
* @return the tag timeline page, or null if current site has no such page specified.
|
|
59
|
+
* @since Sitevision 6.0.1
|
|
60
|
+
*/
|
|
49
61
|
export function getTagTimelinePage(): Node;
|
|
50
62
|
|
|
51
63
|
/**
|
|
52
|
-
* Gets the timeline entry page (displays a single timeline entry) of current site.
|
|
53
|
-
* @
|
|
54
|
-
|
|
64
|
+
* Gets the timeline entry page (displays a single timeline entry) of current site.
|
|
65
|
+
* @return the timeline entry page, or null if current site has no such page specified.
|
|
66
|
+
* @since Sitevision 6.0.1
|
|
67
|
+
*/
|
|
55
68
|
export function getTimelineEntryPage(): Node;
|
|
56
69
|
|
|
57
70
|
/**
|
|
58
|
-
* Gets the topic timeline page of current site.
|
|
59
|
-
* @
|
|
60
|
-
|
|
71
|
+
* Gets the topic timeline page of current site.
|
|
72
|
+
* @return the topic timeline page, or null if current site has no such page specified.
|
|
73
|
+
* @since Sitevision 7.0
|
|
74
|
+
*/
|
|
61
75
|
export function getTopicTimelinePage(): Node;
|
|
62
76
|
|
|
63
77
|
/**
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
78
|
+
* Utility interface for getting landing pages.
|
|
79
|
+
*
|
|
80
|
+
* <p>
|
|
81
|
+
* An instance of the Sitevision class implementing this interface can be obtained via {@link senselogic.sitevision.api.Utils#getLandingPageUtil()}.
|
|
82
|
+
* See {@link senselogic.sitevision.api.Utils} for how to obtain an instance of the <code>Utils</code> interface.
|
|
83
|
+
* </p>Gets the error page (404) of current site.Gets the login page (401) of current site.Gets the profile page (information about current/specified user identity) of current site.Gets the contacts page (information about the contacts of current/specified user identity) of current site.Gets the user identity search result page of current site.Gets the files page (information about the files of a collaboration group) of current site.Gets the collaboration groups page (lists all accessible collaboration groups) of current site.Gets the members page (lists all members of a specified collaboration group) of current site.Gets the tag timeline page (displays the timeline for a specified tag) of current site.Gets the timeline entry page (displays a single timeline entry) of current site.Gets the topic timeline page of current site.
|
|
84
|
+
* @author Magnus Lövgren
|
|
85
|
+
* @since Sitevision 3.5.1
|
|
86
|
+
*/
|
|
87
|
+
declare namespace LandingPageUtil {
|
|
70
88
|
export {
|
|
71
|
-
getCollaborationGroupsPage,
|
|
72
|
-
getContactsPage,
|
|
73
89
|
getErrorPage,
|
|
74
|
-
getFilesPage,
|
|
75
90
|
getLoginPage,
|
|
76
|
-
getMembersPage,
|
|
77
91
|
getProfilePage,
|
|
92
|
+
getContactsPage,
|
|
93
|
+
getUserIdentitySearchResultPage,
|
|
94
|
+
getFilesPage,
|
|
95
|
+
getCollaborationGroupsPage,
|
|
96
|
+
getMembersPage,
|
|
78
97
|
getTagTimelinePage,
|
|
79
98
|
getTimelineEntryPage,
|
|
80
99
|
getTopicTimelinePage,
|
|
81
|
-
getUserIdentitySearchResultPage,
|
|
82
100
|
};
|
|
83
101
|
}
|
|
84
102
|
|
|
85
|
-
export default
|
|
86
|
-
|
|
103
|
+
export default LandingPageUtil;
|