@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
|
@@ -1,59 +1,50 @@
|
|
|
1
|
-
import
|
|
2
|
-
import Node from '../../builtins/Node';
|
|
1
|
+
import Node from "../../hidden/javax/jcr/Node";
|
|
3
2
|
|
|
4
3
|
/**
|
|
5
4
|
* Returns a list of <code>Node</code> objects for all bookmarks belonging to
|
|
6
5
|
* the current user regardless of category. This method only returns valid bookmarks
|
|
7
6
|
* (existing, published objects)
|
|
8
|
-
*
|
|
9
|
-
* @return {List<Node>} a list of bookmark nodes. Is never <code>null</code>
|
|
7
|
+
* @return a list of bookmark nodes. Is never <code>null</code>
|
|
10
8
|
*/
|
|
11
|
-
export function getBookmarks():
|
|
9
|
+
export function getBookmarks(): unknown[];
|
|
12
10
|
|
|
13
11
|
/**
|
|
14
12
|
* Returns a list of <code>Node</code> objects corresponding to the bookmarks for
|
|
15
13
|
* the current user and the provided categories. This method only returns valid bookmarks
|
|
16
14
|
* (existing, published objects)
|
|
17
|
-
*
|
|
18
|
-
* @
|
|
19
|
-
* @return {List<Node>} a list of bookmark nodes. Is never <code>null</code>
|
|
15
|
+
* @param category a comma separated list of categories or <code>null</code> for no category
|
|
16
|
+
* @return a list of bookmark nodes. Is never <code>null</code>
|
|
20
17
|
*/
|
|
21
|
-
export function getBookmarks(category: string):
|
|
18
|
+
export function getBookmarks(category: string): unknown[];
|
|
22
19
|
|
|
23
20
|
/**
|
|
24
21
|
* Adds a bookmark for the current user. This operation is synchronized
|
|
25
|
-
*
|
|
26
|
-
* @param
|
|
27
|
-
* <code>sv:sitePage</code> or an <code>sv:article</code>
|
|
28
|
-
* @param {string} categories a comma separated list of categories to where this bookmark belongs
|
|
22
|
+
* @param bookmark the node to be bookmarked must be a <code>sv:page</code>, <code>sv:sitePage</code> or an <code>sv:article</code>
|
|
23
|
+
* @param categories a comma separated list of categories to where this bookmark belongs
|
|
29
24
|
* @throws IllegalArgumentException if <code>bookmark</code> is node of wrong type
|
|
30
|
-
* @throws NullPointerException
|
|
25
|
+
* @throws NullPointerException if <code>bookmark</code> is <code>null</code>
|
|
31
26
|
* @deprecated Use {@link #add(javax.jcr.Node)}, categories will be resolved from metadata.
|
|
32
27
|
*/
|
|
33
28
|
export function add(bookmark: Node, categories: string): void;
|
|
34
29
|
|
|
35
30
|
/**
|
|
36
31
|
* Adds a bookmark for the current user. This operation is synchronized
|
|
37
|
-
*
|
|
38
|
-
* @param {Node} bookmark the node to be bookmarked must be a <code>sv:page</code>,
|
|
39
|
-
* <code>sv:sitePage</code> or an <code>sv:article</code>
|
|
32
|
+
* @param bookmark the node to be bookmarked must be a <code>sv:page</code>, <code>sv:sitePage</code> or an <code>sv:article</code>
|
|
40
33
|
* @throws IllegalArgumentException if bookmark is node of wrong type
|
|
41
|
-
* @throws NullPointerException
|
|
34
|
+
* @throws NullPointerException if <code>bookmark</code> is <code>null</code>
|
|
42
35
|
*/
|
|
43
36
|
export function add(bookmark: Node): void;
|
|
44
37
|
|
|
45
38
|
/**
|
|
46
39
|
* Removes a bookmark for the current user. This operation is synchronized
|
|
47
|
-
*
|
|
48
|
-
* @param {Node} bookmark the bookmark
|
|
40
|
+
* @param bookmark the bookmark
|
|
49
41
|
* @throws NullPointerException if <code>bookmark</code> is <code>null</code>
|
|
50
42
|
*/
|
|
51
43
|
export function remove(bookmark: Node): void;
|
|
52
44
|
|
|
53
45
|
/**
|
|
54
46
|
* Checks if the current user has the provided bookmark
|
|
55
|
-
*
|
|
56
|
-
* @param {Node} bookmark the bookmark
|
|
47
|
+
* @param bookmark the bookmark
|
|
57
48
|
* @return if the user has provided bookmark
|
|
58
49
|
* @throws NullPointerException if <code>bookmark</code> is <code>null</code>
|
|
59
50
|
*/
|
|
@@ -63,8 +54,7 @@ export function contains(bookmark: Node): boolean;
|
|
|
63
54
|
* Accesses a <code>boolean</code> indicating if the current site has a limited number of bookmarks.
|
|
64
55
|
*
|
|
65
56
|
* To get the max number of bookmarks, use {@link #getMaxNofBookmarks()}.
|
|
66
|
-
*
|
|
67
|
-
* @return {boolean} a <code>boolean</code> indicating if the current site has a limited number of bookmarks
|
|
57
|
+
* @return a <code>boolean</code> indicating if the current site has a limited number of bookmarks
|
|
68
58
|
* @throws NullPointerException if current site is indeterminable
|
|
69
59
|
* @see #getMaxNofBookmarks()
|
|
70
60
|
* @since Sitevision 2.6.1_01
|
|
@@ -73,15 +63,33 @@ export function getLimitNofBookmarks(): boolean;
|
|
|
73
63
|
|
|
74
64
|
/**
|
|
75
65
|
* Accessor to max number of bookmarks for the current site.
|
|
76
|
-
*
|
|
77
|
-
* @return {number} max number of bookmarks for the current site
|
|
66
|
+
* @return max number of bookmarks for the current site
|
|
78
67
|
* @throws NullPointerException if current site is indeterminable
|
|
79
68
|
* @see #getLimitNofBookmarks()
|
|
80
69
|
* @since Sitevision 2.6.1_01
|
|
81
70
|
*/
|
|
82
71
|
export function getMaxNofBookmarks(): number;
|
|
83
72
|
|
|
84
|
-
|
|
73
|
+
/**
|
|
74
|
+
* <p>Bookmark utility interface. Bookmarks are potentially clustered between sitevision instances.
|
|
75
|
+
* All altering methods in this class are synchronized.</p>
|
|
76
|
+
*
|
|
77
|
+
* <p><strong>Note:</strong> Does NOT work for anonymous users!</p>
|
|
78
|
+
*
|
|
79
|
+
* <p>
|
|
80
|
+
* An instance of the Sitevision class implementing this interface can be obtained via {@link senselogic.sitevision.api.Utils#getBookmarkUtil()}.
|
|
81
|
+
* See {@link senselogic.sitevision.api.Utils} for how to obtain an instance of the <code>Utils</code> interface.
|
|
82
|
+
* </p>Returns a list of <code>Node</code> objects for all bookmarks belonging to
|
|
83
|
+
* the current user regardless of category. This method only returns valid bookmarks
|
|
84
|
+
* (existing, published objects)Returns a list of <code>Node</code> objects corresponding to the bookmarks for
|
|
85
|
+
* the current user and the provided categories. This method only returns valid bookmarks
|
|
86
|
+
* (existing, published objects)Adds a bookmark for the current user. This operation is synchronizedAdds a bookmark for the current user. This operation is synchronizedRemoves a bookmark for the current user. This operation is synchronizedChecks if the current user has the provided bookmarkAccesses a <code>boolean</code> indicating if the current site has a limited number of bookmarks.
|
|
87
|
+
*
|
|
88
|
+
* To get the max number of bookmarks, use {@link #getMaxNofBookmarks()}.Accessor to max number of bookmarks for the current site.
|
|
89
|
+
* @author Mikael Wikblom
|
|
90
|
+
* @since Sitevision 2.6.1
|
|
91
|
+
*/
|
|
92
|
+
declare namespace BookmarkUtil {
|
|
85
93
|
export {
|
|
86
94
|
getBookmarks,
|
|
87
95
|
add,
|
|
@@ -92,4 +100,4 @@ declare namespace bookmarkUtil {
|
|
|
92
100
|
};
|
|
93
101
|
}
|
|
94
102
|
|
|
95
|
-
export default
|
|
103
|
+
export default BookmarkUtil;
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import BuddyIconRenderer_BuddyIconSize from "../BuddyIconRenderer_BuddyIconSize";
|
|
2
|
+
import Node from "../../hidden/javax/jcr/Node";
|
|
3
|
+
import BuddyIconRenderer_BuddyIconInfo from "../../hidden/senselogic/sitevision/api/render/BuddyIconRenderer/BuddyIconInfo";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Sets the size for rendered buddy icons.
|
|
7
|
+
*
|
|
8
|
+
* <p>Default is <code>BuddyIconSize.SMALL</code></p>
|
|
9
|
+
* @param aBuddyIconSize the icon size
|
|
10
|
+
*/
|
|
11
|
+
export function setBuddyIconSize(aBuddyIconSize: BuddyIconSize): void;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Utility method for executing <code>setBuddyIconSize(BuddyIconSize.SMALL)</code>
|
|
15
|
+
* @see #setBuddyIconSize(senselogic.sitevision.api.render.BuddyIconRenderer.BuddyIconSize)
|
|
16
|
+
* @see BuddyIconSize#SMALL
|
|
17
|
+
*/
|
|
18
|
+
export function forceUseSmallBuddyIconSize(): void;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Utility method for executing <code>setBuddyIconSize(BuddyIconSize.LARGE)</code>
|
|
22
|
+
* @see #setBuddyIconSize(senselogic.sitevision.api.render.BuddyIconRenderer.BuddyIconSize)
|
|
23
|
+
* @see BuddyIconSize#LARGE
|
|
24
|
+
*/
|
|
25
|
+
export function forceUseLargeBuddyIconSize(): void;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Utility method for executing <code>setBuddyIconSize(BuddyIconSize.X_LARGE)</code>
|
|
29
|
+
* @since Sitevision 8.2
|
|
30
|
+
* @see #setBuddyIconSize(senselogic.sitevision.api.render.BuddyIconRenderer.BuddyIconSize)
|
|
31
|
+
* @see BuddyIconSize#X_LARGE
|
|
32
|
+
*/
|
|
33
|
+
export function forceUseXLargeBuddyIconSize(): void;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Whether or not rendered buddy icons should be linked.
|
|
37
|
+
*
|
|
38
|
+
* <p>Default is <code>true</code></p>
|
|
39
|
+
* @param aLinkBuddyIcon Whether or not buddy icons should be linked.
|
|
40
|
+
*/
|
|
41
|
+
export function setLinkBuddyIcon(aLinkBuddyIcon: boolean): void;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Utility method for executing <code>setLinkBuddyIcon(false)</code>
|
|
45
|
+
* @see #setLinkBuddyIcon(boolean)
|
|
46
|
+
*/
|
|
47
|
+
export function clearUseLinkBuddyIcon(): void;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Utility method for executing <code>setLinkBuddyIcon(true)</code>
|
|
51
|
+
* @see #setLinkBuddyIcon(boolean)
|
|
52
|
+
*/
|
|
53
|
+
export function forceUseLinkBuddyIcon(): void;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Updates the renderer with a new buddy icon supported node.
|
|
57
|
+
*
|
|
58
|
+
* <p>
|
|
59
|
+
* If <code>aBuddyIconNode</code> is not a type that can be represented by a buddy icon, the argument will be considered as <code>null</code>,
|
|
60
|
+
* i.e. the renderer will not have any renderable node in subsequent render execution.
|
|
61
|
+
* </p>
|
|
62
|
+
* @param aBuddyIconNode a node that can be rendered as a buddy icon.
|
|
63
|
+
*/
|
|
64
|
+
export function update(aBuddyIconNode: Node): void;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Whether or not this renderer contains a node that can be rendered.
|
|
68
|
+
* @return <code>true</code> if a renderable node is loaded, <code>false</code> if not.
|
|
69
|
+
*/
|
|
70
|
+
export function isLoaded(): boolean;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Helper method to check if a certain node can be rendered as a buddy icon.
|
|
74
|
+
*
|
|
75
|
+
* <p>
|
|
76
|
+
* Nodes with the following primary node types are potentially renderable:
|
|
77
|
+
* </p>
|
|
78
|
+
* <ul>
|
|
79
|
+
* <li><code>sv:userIdentity</code></li>
|
|
80
|
+
* <li><code>sv:user</code> <em>(non-anonymous)</em> » <em>will be renderable if a sv:userIdentity can be extracted</em></li>
|
|
81
|
+
* <li><code>sv:simpleUser</code> » <em>will be renderable if a sv:userIdentity can be extracted</em></li>
|
|
82
|
+
* <li style="margin-bottom:1em"><code>sv:systemUser</code> » <em>will be renderable if a sv:userIdentity can be extracted</em></li>
|
|
83
|
+
* <li><code>sv:collaborationGroup</code></li>
|
|
84
|
+
* <li><code>sv:collaborationGroupPage</code> » <em>will be renderable if a sv:collaborationGroup can be extracted</em></li>
|
|
85
|
+
* </ul>
|
|
86
|
+
* @param aNode the node to check
|
|
87
|
+
* @return <code>true</code> if <code>aNode</code> is supported by this renderer, <code>false</code> if not
|
|
88
|
+
*/
|
|
89
|
+
export function isRenderable(aNode: Node): boolean;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* BuddyIconInfo for current state.
|
|
93
|
+
*
|
|
94
|
+
* <p>
|
|
95
|
+
* <em>
|
|
96
|
+
* The data this method provides is used by the {@link #render()} method.
|
|
97
|
+
* The intent of this method is to facilitate custom buddy icon rendering solutions.
|
|
98
|
+
* See {@link BuddyIconInfo} for such example.
|
|
99
|
+
* </em>
|
|
100
|
+
* </p>
|
|
101
|
+
*
|
|
102
|
+
* <p>
|
|
103
|
+
* Note! Returned BuddyIconInfo object is never null but its <code>uri</code> will potentially be null and its
|
|
104
|
+
* <code>width</code>/<code>height</code> might be zero.
|
|
105
|
+
* Typically when this renderer has no valid/renderable node loaded, see {@link #isLoaded()}.
|
|
106
|
+
* </p>
|
|
107
|
+
* @return the BuddyIconInfo for current state, is never null.
|
|
108
|
+
* @since Sitevision 8.2
|
|
109
|
+
*/
|
|
110
|
+
export function getBuddyIconInfo(): BuddyIconInfo;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Builds a html string based on current state.
|
|
114
|
+
*
|
|
115
|
+
* <strong>Size note!</strong> Profile images will never be upscaled. If a buddy icon size is larger than the actual size of the profile image,
|
|
116
|
+
* the image will be rendered with the largest possible buddy icon size.
|
|
117
|
+
* @return a html string, ready to print out on a page. Might be empty but never <code>null</code>.
|
|
118
|
+
*/
|
|
119
|
+
export function render(): string;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* BuddyIconRenderer is a stateful utility interface for rendering of buddy icons for user identities and collaboration groups.
|
|
123
|
+
*
|
|
124
|
+
* <p>
|
|
125
|
+
* An instance of the Sitevision class implementing this interface can be obtained via {@link senselogic.sitevision.api.Utils#getBuddyIconRenderer()}.
|
|
126
|
+
* See {@link senselogic.sitevision.api.Utils} for how to obtain an instance of the <code>Utils</code> interface.
|
|
127
|
+
* </p>
|
|
128
|
+
*
|
|
129
|
+
* <p>
|
|
130
|
+
* BuddyIconRenderer has few attributes:
|
|
131
|
+
* </p>
|
|
132
|
+
* <ul>
|
|
133
|
+
* <li><em>buddyIconNode</em> - The node that should be rendered as a buddy icon. Default is <code>null</code>.
|
|
134
|
+
* </li>
|
|
135
|
+
* <li><em>buddyIconSize</em> - The size of the buddy icon that is rendered. Default is <code>BuddyIconSize.SMALL</code>. Note that image size
|
|
136
|
+
* settings are followed with best effort. Images will never be upscaled.
|
|
137
|
+
* </li>
|
|
138
|
+
* <li><em>linkBuddyIcon</em> - Whether or not rendered buddy icons should be linked. Default is <code>true</code>.
|
|
139
|
+
* </li>
|
|
140
|
+
* </ul>
|
|
141
|
+
*
|
|
142
|
+
* <p>
|
|
143
|
+
* Using the BuddyIconRenderer is pretty straightforward, if you remember that it is <strong>stateful</strong> and that the previously
|
|
144
|
+
* loaded buddy icon node will be cleared whenever you try to load a new one. Conceptually you would typically use it like this:
|
|
145
|
+
* </p>
|
|
146
|
+
* <ol>
|
|
147
|
+
* <li>Get the BuddyIconRenderer</li>
|
|
148
|
+
* <li>Possibly init the renderer with rendering settings (buddyIconSize, linkBuddyIcon)</li>
|
|
149
|
+
* <li>Set a buddy icon node</li>
|
|
150
|
+
* <li>Do render</li>
|
|
151
|
+
* </ol>
|
|
152
|
+
* <p>
|
|
153
|
+
* When you have rendered once, you can re-use the BuddyIconRenderer until you are done. Something like:
|
|
154
|
+
* </p>
|
|
155
|
+
* <ol>
|
|
156
|
+
* <li>Update the buddy icon node</li>
|
|
157
|
+
* <li>Do render.</li>
|
|
158
|
+
* </ol>
|
|
159
|
+
*
|
|
160
|
+
* <p>
|
|
161
|
+
* <strong>Example of how this strategy could be implemented in Velocity:</strong><br>
|
|
162
|
+
* (You want to do a simple listing of buddy icons for some collaboration groups, collaboration group pages, user identities or users)
|
|
163
|
+
* </p>
|
|
164
|
+
* <pre><code>
|
|
165
|
+
* <em>## Get BuddyIconRenderer</em>
|
|
166
|
+
* #set ($buddyIconRenderer = $sitevisionUtils.buddyIconRenderer)
|
|
167
|
+
*
|
|
168
|
+
* <em>## Iterate through the list of nodes and render a buddy icon for all supported nodes</em>
|
|
169
|
+
* <ul class="sv-no-list-style">
|
|
170
|
+
* #foreach ($item in $items)
|
|
171
|
+
* <em>## Check if this node can be rendered as a buddy icon</em>
|
|
172
|
+
* #if ($buddyIconRenderer.isRenderable($item))
|
|
173
|
+
* <em>## Update the renderer and render</em>
|
|
174
|
+
* $buddyIconRenderer.update($item)
|
|
175
|
+
* <li>
|
|
176
|
+
* $buddyIconRenderer.render()
|
|
177
|
+
* </li>
|
|
178
|
+
* #end
|
|
179
|
+
* #end
|
|
180
|
+
* </ul>
|
|
181
|
+
* </code></pre>Sets the size for rendered buddy icons.
|
|
182
|
+
*
|
|
183
|
+
* <p>Default is <code>BuddyIconSize.SMALL</code></p>Utility method for executing <code>setBuddyIconSize(BuddyIconSize.SMALL)</code>Utility method for executing <code>setBuddyIconSize(BuddyIconSize.LARGE)</code>Utility method for executing <code>setBuddyIconSize(BuddyIconSize.X_LARGE)</code>Whether or not rendered buddy icons should be linked.
|
|
184
|
+
*
|
|
185
|
+
* <p>Default is <code>true</code></p>Utility method for executing <code>setLinkBuddyIcon(false)</code>Utility method for executing <code>setLinkBuddyIcon(true)</code>Updates the renderer with a new buddy icon supported node.
|
|
186
|
+
*
|
|
187
|
+
* <p>
|
|
188
|
+
* If <code>aBuddyIconNode</code> is not a type that can be represented by a buddy icon, the argument will be considered as <code>null</code>,
|
|
189
|
+
* i.e. the renderer will not have any renderable node in subsequent render execution.
|
|
190
|
+
* </p>Whether or not this renderer contains a node that can be rendered.Helper method to check if a certain node can be rendered as a buddy icon.
|
|
191
|
+
*
|
|
192
|
+
* <p>
|
|
193
|
+
* Nodes with the following primary node types are potentially renderable:
|
|
194
|
+
* </p>
|
|
195
|
+
* <ul>
|
|
196
|
+
* <li><code>sv:userIdentity</code></li>
|
|
197
|
+
* <li><code>sv:user</code> <em>(non-anonymous)</em> » <em>will be renderable if a sv:userIdentity can be extracted</em></li>
|
|
198
|
+
* <li><code>sv:simpleUser</code> » <em>will be renderable if a sv:userIdentity can be extracted</em></li>
|
|
199
|
+
* <li style="margin-bottom:1em"><code>sv:systemUser</code> » <em>will be renderable if a sv:userIdentity can be extracted</em></li>
|
|
200
|
+
* <li><code>sv:collaborationGroup</code></li>
|
|
201
|
+
* <li><code>sv:collaborationGroupPage</code> » <em>will be renderable if a sv:collaborationGroup can be extracted</em></li>
|
|
202
|
+
* </ul>BuddyIconInfo for current state.
|
|
203
|
+
*
|
|
204
|
+
* <p>
|
|
205
|
+
* <em>
|
|
206
|
+
* The data this method provides is used by the {@link #render()} method.
|
|
207
|
+
* The intent of this method is to facilitate custom buddy icon rendering solutions.
|
|
208
|
+
* See {@link BuddyIconInfo} for such example.
|
|
209
|
+
* </em>
|
|
210
|
+
* </p>
|
|
211
|
+
*
|
|
212
|
+
* <p>
|
|
213
|
+
* Note! Returned BuddyIconInfo object is never null but its <code>uri</code> will potentially be null and its
|
|
214
|
+
* <code>width</code>/<code>height</code> might be zero.
|
|
215
|
+
* Typically when this renderer has no valid/renderable node loaded, see {@link #isLoaded()}.
|
|
216
|
+
* </p>Builds a html string based on current state.
|
|
217
|
+
*
|
|
218
|
+
* <strong>Size note!</strong> Profile images will never be upscaled. If a buddy icon size is larger than the actual size of the profile image,
|
|
219
|
+
* the image will be rendered with the largest possible buddy icon size.
|
|
220
|
+
* @author Magnus Lövgren
|
|
221
|
+
* @since Sitevision 3.5.3
|
|
222
|
+
*/
|
|
223
|
+
declare namespace BuddyIconRenderer {
|
|
224
|
+
export {
|
|
225
|
+
setBuddyIconSize,
|
|
226
|
+
forceUseSmallBuddyIconSize,
|
|
227
|
+
forceUseLargeBuddyIconSize,
|
|
228
|
+
forceUseXLargeBuddyIconSize,
|
|
229
|
+
setLinkBuddyIcon,
|
|
230
|
+
clearUseLinkBuddyIcon,
|
|
231
|
+
forceUseLinkBuddyIcon,
|
|
232
|
+
update,
|
|
233
|
+
isLoaded,
|
|
234
|
+
isRenderable,
|
|
235
|
+
getBuddyIconInfo,
|
|
236
|
+
render,
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export default BuddyIconRenderer;
|
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Gets the Internet Protocol (IP) address of the client (or last proxy) that initiated currently executing request.
|
|
3
|
-
*
|
|
4
|
-
* @return {string} a <code>String</code> containing the IP address of the client that sent the request, or <code>null</code> if indeterminable
|
|
3
|
+
* @return a <code>String</code> containing the IP address of the client that sent the request, or <code>null</code> if indeterminable
|
|
5
4
|
*/
|
|
6
5
|
export function getClientAddress(): string;
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Client utility interface.
|
|
9
|
+
*
|
|
10
|
+
* <p>
|
|
11
|
+
* An instance of the Sitevision class implementing this interface can be obtained via {@link senselogic.sitevision.api.Utils#getClientUtil()}.
|
|
12
|
+
* See {@link senselogic.sitevision.api.Utils} for how to obtain an instance of the <code>Utils</code> interface.
|
|
13
|
+
* </p>
|
|
14
|
+
*
|
|
15
|
+
* <p>
|
|
16
|
+
* <em>Tip!</em> If you want to check if current client is a mobile device, you would typically use
|
|
17
|
+
* {@link senselogic.sitevision.api.device.DeviceUtil}.
|
|
18
|
+
* </p>Gets the Internet Protocol (IP) address of the client (or last proxy) that initiated currently executing request.
|
|
19
|
+
* @author Magnus Lövgren
|
|
20
|
+
* @since Sitevision 2.6_02
|
|
21
|
+
*/
|
|
22
|
+
declare namespace ClientUtil {
|
|
9
23
|
export { getClientAddress };
|
|
10
24
|
}
|
|
11
25
|
|
|
12
|
-
export default
|
|
26
|
+
export default ClientUtil;
|
|
@@ -1,40 +1,57 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import Node from "../../hidden/javax/jcr/Node";
|
|
2
|
+
import CollaborationGroupWrapper from "../../hidden/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper";
|
|
3
|
+
import CollaborationGroupUtil from "../CollaborationGroupUtil";
|
|
4
|
+
import CollaborationGroupFolderUtil from "../CollaborationGroupFolderUtil";
|
|
5
|
+
import CollaborationGroupTemplateUtil from "../CollaborationGroupTemplateUtil";
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
|
-
* Gets
|
|
8
|
-
* @
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
* Gets a collaboration group wrapper for a specified collaboration group.
|
|
9
|
+
* @param aCollaborationGroup the collaboration group (or the collaboration group page)
|
|
10
|
+
* @return a collaboration group wrapper for <code>aCollaborationGroup</code>, or <code>null</code> if <code>aCollaborationGroup</code> isn't a collaboration group or if current user doesn't have {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ} on <code>aCollaborationGroup</code>.
|
|
11
|
+
*/
|
|
12
|
+
export function getCollaborationGroupWrapper(
|
|
13
|
+
aCollaborationGroup: Node
|
|
14
|
+
): CollaborationGroupWrapper;
|
|
11
15
|
|
|
12
16
|
/**
|
|
13
|
-
* Gets an instance of a collaboration group
|
|
14
|
-
* @
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
* Gets an instance of a collaboration group utility class
|
|
18
|
+
* @return An instance of a collaboration group utility class
|
|
19
|
+
* @since Sitevision 3.6.4
|
|
20
|
+
*/
|
|
21
|
+
export function getCollaborationGroupUtil(): CollaborationGroupUtil;
|
|
17
22
|
|
|
18
23
|
/**
|
|
19
|
-
* Gets an instance of a collaboration group utility class
|
|
20
|
-
* @
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
* Gets an instance of a collaboration group folder utility class
|
|
25
|
+
* @return An instance of a collaboration group folder utility class
|
|
26
|
+
* @since Sitevision 3.6.4
|
|
27
|
+
*/
|
|
28
|
+
export function getCollaborationGroupFolderUtil(): CollaborationGroupFolderUtil;
|
|
23
29
|
|
|
24
30
|
/**
|
|
25
|
-
* Gets a collaboration group
|
|
26
|
-
* @
|
|
27
|
-
* @
|
|
28
|
-
*/
|
|
29
|
-
export function
|
|
31
|
+
* Gets an instance of a collaboration group template utility class
|
|
32
|
+
* @return An instance of a collaboration group template utility class
|
|
33
|
+
* @since Sitevision 3.6.4
|
|
34
|
+
*/
|
|
35
|
+
export function getCollaborationGroupTemplateUtil(): CollaborationGroupTemplateUtil;
|
|
30
36
|
|
|
31
|
-
|
|
37
|
+
/**
|
|
38
|
+
* Factory for creating collaboration-related instances.
|
|
39
|
+
*
|
|
40
|
+
* <p>
|
|
41
|
+
* An instance of the Sitevision class implementing this interface can be obtained via
|
|
42
|
+
* {@link senselogic.sitevision.api.Utils#getCollaborationFactory()}.
|
|
43
|
+
* See {@link senselogic.sitevision.api.Utils} for how to obtain an instance of the <code>Utils</code> interface.
|
|
44
|
+
* </p>Gets a collaboration group wrapper for a specified collaboration group.Gets an instance of a collaboration group utility classGets an instance of a collaboration group folder utility classGets an instance of a collaboration group template utility class
|
|
45
|
+
* @author Magnus Lövgren
|
|
46
|
+
* @since Sitevision 3.6
|
|
47
|
+
*/
|
|
48
|
+
declare namespace CollaborationFactory {
|
|
32
49
|
export {
|
|
50
|
+
getCollaborationGroupWrapper,
|
|
51
|
+
getCollaborationGroupUtil,
|
|
33
52
|
getCollaborationGroupFolderUtil,
|
|
34
53
|
getCollaborationGroupTemplateUtil,
|
|
35
|
-
getCollaborationGroupUtil,
|
|
36
|
-
getCollaborationGroupWrapper,
|
|
37
54
|
};
|
|
38
55
|
}
|
|
39
56
|
|
|
40
|
-
export default
|
|
57
|
+
export default CollaborationFactory;
|
|
@@ -1,36 +1,47 @@
|
|
|
1
|
-
import Node from
|
|
1
|
+
import Node from "../../hidden/javax/jcr/Node";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
* Gets the default collaboration group folder.
|
|
13
|
-
* @returns {Node} the default collaboration group folder, or null if indeterminable
|
|
14
|
-
*/
|
|
4
|
+
* Gets the default collaboration group folder.
|
|
5
|
+
*
|
|
6
|
+
* <p>
|
|
7
|
+
* The <em>default collaboration group folder</em> is the folder where new collaboration groups
|
|
8
|
+
* (i.e. collaboration group pages) are created by default.
|
|
9
|
+
* </p>
|
|
10
|
+
* @return the default collaboration group folder, or <code>null</code> if indeterminable
|
|
11
|
+
*/
|
|
15
12
|
export function getDefaultCollaborationGroupFolder(): Node;
|
|
16
13
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
getDefaultCollaborationGroupFolder(): Node;
|
|
30
|
-
}
|
|
14
|
+
/**
|
|
15
|
+
* Whether or not a collaboration group folder already contains a named collaboration group.
|
|
16
|
+
* @param aCollaborationGroupFolder the collaboration group folder
|
|
17
|
+
* @param aGroupName the name of the collaboration group
|
|
18
|
+
* @return <code>true</code> if <code>aCollaborationGroupFolder</code> contains (case ignored) a group named <code>aGroupName</code>, <code>false</code> otherwise
|
|
19
|
+
* @throws java.lang.NullPointerException if <code>aCollaborationGroupFolder</code> or <code>aGroupName</code> is <code>null</code>
|
|
20
|
+
* @throws RepositoryException if <code>aCollaborationGroupFolder</code> is not a collaboration folder
|
|
21
|
+
*/
|
|
22
|
+
export function containsCollaborationGroup(
|
|
23
|
+
aCollaborationGroupFolder: Node,
|
|
24
|
+
aGroupName: string
|
|
25
|
+
): boolean;
|
|
31
26
|
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Collaboration group folder utility interface that handles nodes with primary node type <code>sv:collaborationGroupFolder</code>.
|
|
29
|
+
*
|
|
30
|
+
* <p>
|
|
31
|
+
* An instance of the Sitevision class implementing this interface can be obtained via
|
|
32
|
+
* {@link CollaborationFactory#getCollaborationGroupFolderUtil()}.
|
|
33
|
+
* See {@link CollaborationFactory} for how to obtain an instance of the <code>CollaborationFactory</code> interface.
|
|
34
|
+
* </p>Gets the default collaboration group folder.
|
|
35
|
+
*
|
|
36
|
+
* <p>
|
|
37
|
+
* The <em>default collaboration group folder</em> is the folder where new collaboration groups
|
|
38
|
+
* (i.e. collaboration group pages) are created by default.
|
|
39
|
+
* </p>Whether or not a collaboration group folder already contains a named collaboration group.
|
|
40
|
+
* @author Magnus Lövgren
|
|
41
|
+
* @since Sitevision 3.6.4
|
|
42
|
+
*/
|
|
43
|
+
declare namespace CollaborationGroupFolderUtil {
|
|
44
|
+
export { getDefaultCollaborationGroupFolder, containsCollaborationGroup };
|
|
34
45
|
}
|
|
35
46
|
|
|
36
|
-
export default
|
|
47
|
+
export default CollaborationGroupFolderUtil;
|