@sitevision/api 1.0.20 → 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/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,599 @@
|
|
|
1
|
+
import Node from "../../../../../javax/jcr/Node";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* User identity wrapper interface.
|
|
5
|
+
*
|
|
6
|
+
* <p>
|
|
7
|
+
* This wrapper provides methods to check and update the social network (i.e. contacts and collaboration groups)
|
|
8
|
+
* of a (wrapped) user identity.
|
|
9
|
+
* </p>
|
|
10
|
+
*
|
|
11
|
+
* <p>
|
|
12
|
+
* <em>Note that a disabled user identity is prohibited to execute some of the mutating/write operations.</em>
|
|
13
|
+
* </p>
|
|
14
|
+
*
|
|
15
|
+
* <p>
|
|
16
|
+
* An instance of the Sitevision class implementing this interface can be obtained via
|
|
17
|
+
* {@link UserFactory#getUserIdentityWrapper(javax.jcr.Node)}.
|
|
18
|
+
* See {@link senselogic.sitevision.api.user.UserFactory} for how to obtain an instance of the <code>UserFactory</code> interface.
|
|
19
|
+
* </p>Gets the contacts of the wrapped user identity.Checks if the wrapped user identity is contact with a specified user identity.Adds a contact for the wrapped user identity.
|
|
20
|
+
*
|
|
21
|
+
* <p>
|
|
22
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
23
|
+
* To be allowed to add a contact for the wrapped user identity, current user must match the wrapped user identity
|
|
24
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
25
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_USER_IDENTITIES}
|
|
26
|
+
* on current page.
|
|
27
|
+
* </p>Removes a contact of the wrapped user identity.
|
|
28
|
+
*
|
|
29
|
+
* <p>
|
|
30
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
31
|
+
* To be allowed to remove a contact for the wrapped user identity, current user must match the wrapped user identity
|
|
32
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
33
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_USER_IDENTITIES}
|
|
34
|
+
* on current page.
|
|
35
|
+
* </p>Gets the collaboration groups of the wrapped user identity.
|
|
36
|
+
*
|
|
37
|
+
* <p>
|
|
38
|
+
* <strong>Permission note!</strong> The returned set will only contain the collaboration groups that
|
|
39
|
+
* that current user is allowed to read (i.e. {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}).
|
|
40
|
+
* </p>Checks if wrapped user identity is admin of a collaboration group.Checks if wrapped user identity is member of a collaboration group.The wrapped user identity leaves a collaboration group.
|
|
41
|
+
*
|
|
42
|
+
* <p>
|
|
43
|
+
* <em>Only members can leave a collaboration group</em>, i.e. the leave attempt will be ignored if wrapped user
|
|
44
|
+
* identity isn't a member of specified collaboration group. Note that a group <em>admin</em>
|
|
45
|
+
* is also a group <em>member</em> so leaving a collaboration group might in fact also remove an <em>admin</em>,
|
|
46
|
+
* but <em>last admin</em> will never be removed. Collaboration groups that are <em>inactive</em> can not be leaved.
|
|
47
|
+
* </p>
|
|
48
|
+
*
|
|
49
|
+
* <p>
|
|
50
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
51
|
+
* To remove group membership for the wrapped user identity, current user must match the wrapped user identity
|
|
52
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
53
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_COLLABORATION_GROUP}
|
|
54
|
+
* and {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}
|
|
55
|
+
* on the collaboration group.
|
|
56
|
+
* </p>The wrapped user identity joins a collaboration group.
|
|
57
|
+
*
|
|
58
|
+
* <p>
|
|
59
|
+
* <em>Only non-members can join a collaboration group</em>, i.e. the join attempt will be ignored if wrapped user
|
|
60
|
+
* identity already are a member of specified collaboration group. Collaboration groups that are <em>inactive</em> can not be joined.
|
|
61
|
+
* </p>
|
|
62
|
+
*
|
|
63
|
+
* <p>
|
|
64
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
65
|
+
* To join a collaboration group for the wrapped user identity, current user must match the wrapped user identity
|
|
66
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
67
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_COLLABORATION_GROUP}
|
|
68
|
+
* and {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}
|
|
69
|
+
* on the collaboration group.
|
|
70
|
+
* </p>The wrapped user identity follows/eavesdrops a collaboration group.
|
|
71
|
+
*
|
|
72
|
+
* <p>
|
|
73
|
+
* <em>Only non-members can follow a collaboration group</em>, i.e. the follow attempt will be ignored if wrapped user
|
|
74
|
+
* identity already are a member of specified collaboration group. Collaboration groups that are <em>inactive</em>
|
|
75
|
+
* or <em>closed</em> can not be followed.
|
|
76
|
+
* </p>
|
|
77
|
+
*
|
|
78
|
+
* <p>
|
|
79
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
80
|
+
* To follow a collaboration group for the wrapped user identity, current user must match the wrapped user identity
|
|
81
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
82
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_COLLABORATION_GROUP}
|
|
83
|
+
* and {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}
|
|
84
|
+
* on the collaboration group.
|
|
85
|
+
* </p>Gets the collaboration groups the wrapped user identity follows/eavesdrops.
|
|
86
|
+
*
|
|
87
|
+
* <p>
|
|
88
|
+
* <strong>Permission note!</strong> The returned set will only contain active collaboration groups that
|
|
89
|
+
* that current user is allowed to read (i.e. {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}).
|
|
90
|
+
* </p>Checks if wrapped user identity is following/eavesdropping a collaboration group.The wrapped user identity stops following/eavesdropping a collaboration group.
|
|
91
|
+
*
|
|
92
|
+
* <p>
|
|
93
|
+
* <em>Only followers can stop following a collaboration group</em>, i.e. the unfollow attempt will be ignored if wrapped user
|
|
94
|
+
* identity isn't a follower of specified collaboration group. Collaboration groups that are <em>inactive</em> can not be unfollowed.
|
|
95
|
+
* </p>
|
|
96
|
+
*
|
|
97
|
+
* <p>
|
|
98
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
99
|
+
* To unfollow a group for the wrapped user identity, current user must match the wrapped user identity
|
|
100
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
101
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_COLLABORATION_GROUP}
|
|
102
|
+
* and {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}
|
|
103
|
+
* on the collaboration group.
|
|
104
|
+
* </p>The wrapped user identity mutes a collaboration group (entries will not show up user's in compound timeline).
|
|
105
|
+
*
|
|
106
|
+
* <p>
|
|
107
|
+
* <em>Only members can mute a collaboration group</em>, i.e. the mute attempt will be ignored if wrapped user
|
|
108
|
+
* identity is not a member of the specified collaboration group.
|
|
109
|
+
* </p>
|
|
110
|
+
*
|
|
111
|
+
* <p>
|
|
112
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
113
|
+
* To mute a collaboration group for the wrapped user identity, current user must match the wrapped user identity
|
|
114
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
115
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_COLLABORATION_GROUP}
|
|
116
|
+
* and {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}
|
|
117
|
+
* on the collaboration group.
|
|
118
|
+
* </p>The wrapped user identity unmutes a collaboration group.
|
|
119
|
+
*
|
|
120
|
+
* <p>
|
|
121
|
+
* <em>Only members can unmute a collaboration group</em>, i.e. the unmute attempt will be ignored if wrapped user
|
|
122
|
+
* identity is not a member of the specified collaboration group.
|
|
123
|
+
* </p>
|
|
124
|
+
*
|
|
125
|
+
* <p>
|
|
126
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
127
|
+
* To unmute a group for the wrapped user identity, current user must match the wrapped user identity
|
|
128
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
129
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_COLLABORATION_GROUP}
|
|
130
|
+
* and {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}
|
|
131
|
+
* on the collaboration group.
|
|
132
|
+
* </p>Checks if wrapped user identity has muted the collaboration group.The wrapped user identity mutes notifications from a collaboration group (entries will show up but not notifications).
|
|
133
|
+
*
|
|
134
|
+
* <p>
|
|
135
|
+
* <em>Only members can mute notifications from a collaboration group</em>, i.e. the mute attempt will be ignored if wrapped user
|
|
136
|
+
* identity is not a member of the specified collaboration group.
|
|
137
|
+
* </p>
|
|
138
|
+
*
|
|
139
|
+
* <p>
|
|
140
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
141
|
+
* To mute notifications from a collaboration group for the wrapped user identity, current user must match the wrapped user identity
|
|
142
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
143
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_COLLABORATION_GROUP}
|
|
144
|
+
* and {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}
|
|
145
|
+
* on the collaboration group.
|
|
146
|
+
* </p>The wrapped user identity unmutes notifications from a collaboration group.
|
|
147
|
+
*
|
|
148
|
+
* <p>
|
|
149
|
+
* <em>Only members can unmute notifications from a collaboration group</em>, i.e. the unmute attempt will be ignored if wrapped user
|
|
150
|
+
* identity is not a member of the specified collaboration group.
|
|
151
|
+
* </p>
|
|
152
|
+
*
|
|
153
|
+
* <p>
|
|
154
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
155
|
+
* To unmute notifications from a group for the wrapped user identity, current user must match the wrapped user identity
|
|
156
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
157
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_COLLABORATION_GROUP}
|
|
158
|
+
* and {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}
|
|
159
|
+
* on the collaboration group.
|
|
160
|
+
* </p>Checks if wrapped user identity mutes notifications from the collaboration group.Gets the profile image of the wrapped user identity.
|
|
161
|
+
*
|
|
162
|
+
* <p>
|
|
163
|
+
* <em>Note!</em> This method returns the 'raw' profile image (i.e. a node of type <code>sv:image</code>)
|
|
164
|
+
* that the user has uploaded. For buddy icons, see {@link senselogic.sitevision.api.render.BuddyIconRenderer}.
|
|
165
|
+
* </p>Gets the profile images folder of the wrapped user identity.Sets the profile image of the wrapped user identity.
|
|
166
|
+
*
|
|
167
|
+
* <p>
|
|
168
|
+
* This method <em>sets</em> the active profile image, i.e. determines which profile image that should be used.
|
|
169
|
+
* To <em>create a new</em> profile image (i.e. new binary data), you would typically use
|
|
170
|
+
* a method in {@link senselogic.sitevision.api.webresource.ImageUtil} first.
|
|
171
|
+
* </p>
|
|
172
|
+
*
|
|
173
|
+
* <p>
|
|
174
|
+
* <strong>Model note!</strong> A profile image must be a node of type <code>sv:image</code>
|
|
175
|
+
* and a child of the <em>profile images folder</em> of the wrapped user identity.
|
|
176
|
+
* The profile images folder is available via {@link #getProfileImagesFolder()}.
|
|
177
|
+
* </p>
|
|
178
|
+
*
|
|
179
|
+
* <p>
|
|
180
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
181
|
+
* To set the profile image for the wrapped user identity, current user must match the wrapped user identity
|
|
182
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
183
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_USER_IDENTITIES}
|
|
184
|
+
* on current page.
|
|
185
|
+
* </p>Sets the visibility of the wrapped user identity in search results.
|
|
186
|
+
*
|
|
187
|
+
* <p>
|
|
188
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
189
|
+
* To update the hidden property for the wrapped user identity, current user must match the wrapped user identity
|
|
190
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
191
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_USER_IDENTITIES}
|
|
192
|
+
* on current page.
|
|
193
|
+
* </p>Sets the availability of the wrapped user identity.
|
|
194
|
+
*
|
|
195
|
+
* <p>
|
|
196
|
+
* <strong>Permission note!</strong> To update the disabled property for the wrapped user identity,
|
|
197
|
+
* current user must match the wrapped user identity (i.e. <em>"is yourself"</em>) - or have
|
|
198
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_USER_IDENTITIES}
|
|
199
|
+
* on current page.
|
|
200
|
+
* </p>Checks if the wrapped user identity is disabled or not.
|
|
201
|
+
*
|
|
202
|
+
* <p>
|
|
203
|
+
* This is a convenience method the check the boolean value of the <code>disabled</code> property of the wrapped user identity.
|
|
204
|
+
* <em>Note that a disabled user identity is not allowed to perform any mutating/write operations except {@link #setDisabled(boolean)}</em>.
|
|
205
|
+
* </p>Gets the wrapped user identity.
|
|
206
|
+
*
|
|
207
|
+
* <p>
|
|
208
|
+
* <em>Note! This method is equivalent with {@link #unwrap()} if this wrapper is created with a <code>sv:userIdentity</code> node.</em>
|
|
209
|
+
* </p>
|
|
210
|
+
* @author Magnus Lövgren
|
|
211
|
+
* @since Sitevision 3.6
|
|
212
|
+
*/
|
|
213
|
+
interface UserIdentityWrapper {
|
|
214
|
+
/**
|
|
215
|
+
* Gets the contacts of the wrapped user identity.
|
|
216
|
+
* @return the contacts of the wrapped user identity. Never null.
|
|
217
|
+
*/
|
|
218
|
+
getContacts(): Set<unknown>;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Checks if the wrapped user identity is contact with a specified user identity.
|
|
222
|
+
* @param aUserIdentity the user identity to check
|
|
223
|
+
* @return <code>true</code> if <code>aUserIdentity</code> is a contact of the wrapped user identity, <code>false</code> otherwise
|
|
224
|
+
*/
|
|
225
|
+
isContact(aUserIdentity: Node): boolean;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Adds a contact for the wrapped user identity.
|
|
229
|
+
*
|
|
230
|
+
* <p>
|
|
231
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
232
|
+
* To be allowed to add a contact for the wrapped user identity, current user must match the wrapped user identity
|
|
233
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
234
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_USER_IDENTITIES}
|
|
235
|
+
* on current page.
|
|
236
|
+
* </p>
|
|
237
|
+
* @param aUserIdentity the user identity (or user) that should be added as contact for the wrapped user identity
|
|
238
|
+
* @return <code>true</code> if <code>aUserIdentity</code> was added as contact for the wrapped user identity, <code>false</code> otherwise
|
|
239
|
+
*/
|
|
240
|
+
addContact(aUserIdentity: Node): boolean;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Removes a contact of the wrapped user identity.
|
|
244
|
+
*
|
|
245
|
+
* <p>
|
|
246
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
247
|
+
* To be allowed to remove a contact for the wrapped user identity, current user must match the wrapped user identity
|
|
248
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
249
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_USER_IDENTITIES}
|
|
250
|
+
* on current page.
|
|
251
|
+
* </p>
|
|
252
|
+
* @param aUserIdentity the user identity (or user) that should be added as contact for the wrapped user identity
|
|
253
|
+
* @return <code>true</code> if <code>aUserIdentity</code> was added as contact for the wrapped user identity, <code>false</code> otherwise
|
|
254
|
+
*/
|
|
255
|
+
removeContact(aUserIdentity: Node): boolean;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Gets the collaboration groups of the wrapped user identity.
|
|
259
|
+
*
|
|
260
|
+
* <p>
|
|
261
|
+
* <strong>Permission note!</strong> The returned set will only contain the collaboration groups that
|
|
262
|
+
* that current user is allowed to read (i.e. {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}).
|
|
263
|
+
* </p>
|
|
264
|
+
* @return the accessible collaboration groups of the wrapped user identity. Never null.
|
|
265
|
+
*/
|
|
266
|
+
getCollaborationGroups(): Set<unknown>;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Checks if wrapped user identity is admin of a collaboration group.
|
|
270
|
+
* @param aCollaborationGroup the collaboration group (or collaboration group page) to check
|
|
271
|
+
* @return <code>true</code> if the wrapped user identity is admin of <code>aCollaborationGroup</code>, <code>false</code> otherwise
|
|
272
|
+
*/
|
|
273
|
+
isAdminOf(aCollaborationGroup: Node): boolean;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Checks if wrapped user identity is member of a collaboration group.
|
|
277
|
+
* @param aCollaborationGroup the collaboration group (or collaboration group page) to check
|
|
278
|
+
* @return <code>true</code> if the wrapped user identity is member of <code>aCollaborationGroup</code>, <code>false</code> otherwise
|
|
279
|
+
*/
|
|
280
|
+
isMemberOf(aCollaborationGroup: Node): boolean;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* The wrapped user identity leaves a collaboration group.
|
|
284
|
+
*
|
|
285
|
+
* <p>
|
|
286
|
+
* <em>Only members can leave a collaboration group</em>, i.e. the leave attempt will be ignored if wrapped user
|
|
287
|
+
* identity isn't a member of specified collaboration group. Note that a group <em>admin</em>
|
|
288
|
+
* is also a group <em>member</em> so leaving a collaboration group might in fact also remove an <em>admin</em>,
|
|
289
|
+
* but <em>last admin</em> will never be removed. Collaboration groups that are <em>inactive</em> can not be leaved.
|
|
290
|
+
* </p>
|
|
291
|
+
*
|
|
292
|
+
* <p>
|
|
293
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
294
|
+
* To remove group membership for the wrapped user identity, current user must match the wrapped user identity
|
|
295
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
296
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_COLLABORATION_GROUP}
|
|
297
|
+
* and {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}
|
|
298
|
+
* on the collaboration group.
|
|
299
|
+
* </p>
|
|
300
|
+
* @param aCollaborationGroup the collaboration group (or collaboration group page) to leave
|
|
301
|
+
* @return <code>true</code> if the leave operation succeeded, <code>false</code> otherwise
|
|
302
|
+
*/
|
|
303
|
+
leaveGroup(aCollaborationGroup: Node): boolean;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* The wrapped user identity joins a collaboration group.
|
|
307
|
+
*
|
|
308
|
+
* <p>
|
|
309
|
+
* <em>Only non-members can join a collaboration group</em>, i.e. the join attempt will be ignored if wrapped user
|
|
310
|
+
* identity already are a member of specified collaboration group. Collaboration groups that are <em>inactive</em> can not be joined.
|
|
311
|
+
* </p>
|
|
312
|
+
*
|
|
313
|
+
* <p>
|
|
314
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
315
|
+
* To join a collaboration group for the wrapped user identity, current user must match the wrapped user identity
|
|
316
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
317
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_COLLABORATION_GROUP}
|
|
318
|
+
* and {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}
|
|
319
|
+
* on the collaboration group.
|
|
320
|
+
* </p>
|
|
321
|
+
* @param aCollaborationGroup the collaboration group (or collaboration group page) to join
|
|
322
|
+
* @return <code>true</code> if the join operation succeeded, <code>false</code> otherwise
|
|
323
|
+
*/
|
|
324
|
+
joinGroup(aCollaborationGroup: Node): boolean;
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* The wrapped user identity follows/eavesdrops a collaboration group.
|
|
328
|
+
*
|
|
329
|
+
* <p>
|
|
330
|
+
* <em>Only non-members can follow a collaboration group</em>, i.e. the follow attempt will be ignored if wrapped user
|
|
331
|
+
* identity already are a member of specified collaboration group. Collaboration groups that are <em>inactive</em>
|
|
332
|
+
* or <em>closed</em> can not be followed.
|
|
333
|
+
* </p>
|
|
334
|
+
*
|
|
335
|
+
* <p>
|
|
336
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
337
|
+
* To follow a collaboration group for the wrapped user identity, current user must match the wrapped user identity
|
|
338
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
339
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_COLLABORATION_GROUP}
|
|
340
|
+
* and {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}
|
|
341
|
+
* on the collaboration group.
|
|
342
|
+
* </p>
|
|
343
|
+
* @param aCollaborationGroup the collaboration group (or collaboration group page) to follow
|
|
344
|
+
* @return <code>true</code> if the follow operation succeeded, <code>false</code> otherwise
|
|
345
|
+
* @since Sitevision 4.1
|
|
346
|
+
*/
|
|
347
|
+
followGroup(aCollaborationGroup: Node): boolean;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Gets the collaboration groups the wrapped user identity follows/eavesdrops.
|
|
351
|
+
*
|
|
352
|
+
* <p>
|
|
353
|
+
* <strong>Permission note!</strong> The returned set will only contain active collaboration groups that
|
|
354
|
+
* that current user is allowed to read (i.e. {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}).
|
|
355
|
+
* </p>
|
|
356
|
+
* @return the accessible collaboration groups the wrapped user identity follows. Never null.
|
|
357
|
+
* @since Sitevision 4.1
|
|
358
|
+
*/
|
|
359
|
+
getFollowedGroups(): Set<unknown>;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Checks if wrapped user identity is following/eavesdropping a collaboration group.
|
|
363
|
+
* @param aCollaborationGroup the collaboration group (or collaboration group page) to check
|
|
364
|
+
* @return <code>true</code> if the wrapped user identity is following <code>aCollaborationGroup</code>, <code>false</code> otherwise
|
|
365
|
+
* @since Sitevision 4.1
|
|
366
|
+
*/
|
|
367
|
+
isFollowing(aCollaborationGroup: Node): boolean;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* The wrapped user identity stops following/eavesdropping a collaboration group.
|
|
371
|
+
*
|
|
372
|
+
* <p>
|
|
373
|
+
* <em>Only followers can stop following a collaboration group</em>, i.e. the unfollow attempt will be ignored if wrapped user
|
|
374
|
+
* identity isn't a follower of specified collaboration group. Collaboration groups that are <em>inactive</em> can not be unfollowed.
|
|
375
|
+
* </p>
|
|
376
|
+
*
|
|
377
|
+
* <p>
|
|
378
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
379
|
+
* To unfollow a group for the wrapped user identity, current user must match the wrapped user identity
|
|
380
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
381
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_COLLABORATION_GROUP}
|
|
382
|
+
* and {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}
|
|
383
|
+
* on the collaboration group.
|
|
384
|
+
* </p>
|
|
385
|
+
* @param aCollaborationGroup the collaboration group (or collaboration group page) to stop following
|
|
386
|
+
* @return <code>true</code> if the unfollow operation succeeded, <code>false</code> otherwise
|
|
387
|
+
* @since Sitevision 4.1
|
|
388
|
+
*/
|
|
389
|
+
unfollowGroup(aCollaborationGroup: Node): boolean;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* The wrapped user identity mutes a collaboration group (entries will not show up user's in compound timeline).
|
|
393
|
+
*
|
|
394
|
+
* <p>
|
|
395
|
+
* <em>Only members can mute a collaboration group</em>, i.e. the mute attempt will be ignored if wrapped user
|
|
396
|
+
* identity is not a member of the specified collaboration group.
|
|
397
|
+
* </p>
|
|
398
|
+
*
|
|
399
|
+
* <p>
|
|
400
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
401
|
+
* To mute a collaboration group for the wrapped user identity, current user must match the wrapped user identity
|
|
402
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
403
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_COLLABORATION_GROUP}
|
|
404
|
+
* and {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}
|
|
405
|
+
* on the collaboration group.
|
|
406
|
+
* </p>
|
|
407
|
+
* @param aCollaborationGroup the collaboration group (or collaboration group page) to mute
|
|
408
|
+
* @return <code>true</code> if the mute operation succeeded, <code>false</code> otherwise
|
|
409
|
+
* @see #muteNotifications(Node)
|
|
410
|
+
* @since Sitevision 9.1
|
|
411
|
+
*/
|
|
412
|
+
muteGroup(aCollaborationGroup: Node): boolean;
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* The wrapped user identity unmutes a collaboration group.
|
|
416
|
+
*
|
|
417
|
+
* <p>
|
|
418
|
+
* <em>Only members can unmute a collaboration group</em>, i.e. the unmute attempt will be ignored if wrapped user
|
|
419
|
+
* identity is not a member of the specified collaboration group.
|
|
420
|
+
* </p>
|
|
421
|
+
*
|
|
422
|
+
* <p>
|
|
423
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
424
|
+
* To unmute a group for the wrapped user identity, current user must match the wrapped user identity
|
|
425
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
426
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_COLLABORATION_GROUP}
|
|
427
|
+
* and {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}
|
|
428
|
+
* on the collaboration group.
|
|
429
|
+
* </p>
|
|
430
|
+
* @param aCollaborationGroup the collaboration group (or collaboration group page) to unmute
|
|
431
|
+
* @return <code>true</code> if the unmute operation succeeded, <code>false</code> otherwise
|
|
432
|
+
* @since Sitevision 9.1
|
|
433
|
+
*/
|
|
434
|
+
unmuteGroup(aCollaborationGroup: Node): boolean;
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* Checks if wrapped user identity has muted the collaboration group.
|
|
438
|
+
* @param aCollaborationGroup the collaboration group (or collaboration group page) to check
|
|
439
|
+
* @return <code>true</code> if the wrapped user identity has muted <code>aCollaborationGroup</code>, <code>false</code> otherwise
|
|
440
|
+
* @since Sitevision 9.1
|
|
441
|
+
*/
|
|
442
|
+
isGroupMuted(aCollaborationGroup: Node): boolean;
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* The wrapped user identity mutes notifications from a collaboration group (entries will show up but not notifications).
|
|
446
|
+
*
|
|
447
|
+
* <p>
|
|
448
|
+
* <em>Only members can mute notifications from a collaboration group</em>, i.e. the mute attempt will be ignored if wrapped user
|
|
449
|
+
* identity is not a member of the specified collaboration group.
|
|
450
|
+
* </p>
|
|
451
|
+
*
|
|
452
|
+
* <p>
|
|
453
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
454
|
+
* To mute notifications from a collaboration group for the wrapped user identity, current user must match the wrapped user identity
|
|
455
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
456
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_COLLABORATION_GROUP}
|
|
457
|
+
* and {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}
|
|
458
|
+
* on the collaboration group.
|
|
459
|
+
* </p>
|
|
460
|
+
* @param aCollaborationGroup the collaboration group (or collaboration group page) to mute notifications from
|
|
461
|
+
* @return <code>true</code> if the mute notifications operation succeeded, <code>false</code> otherwise
|
|
462
|
+
* @see #muteGroup(Node)
|
|
463
|
+
* @since Sitevision 9.1
|
|
464
|
+
*/
|
|
465
|
+
muteNotifications(aCollaborationGroup: Node): boolean;
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* The wrapped user identity unmutes notifications from a collaboration group.
|
|
469
|
+
*
|
|
470
|
+
* <p>
|
|
471
|
+
* <em>Only members can unmute notifications from a collaboration group</em>, i.e. the unmute attempt will be ignored if wrapped user
|
|
472
|
+
* identity is not a member of the specified collaboration group.
|
|
473
|
+
* </p>
|
|
474
|
+
*
|
|
475
|
+
* <p>
|
|
476
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
477
|
+
* To unmute notifications from a group for the wrapped user identity, current user must match the wrapped user identity
|
|
478
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
479
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_COLLABORATION_GROUP}
|
|
480
|
+
* and {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ}
|
|
481
|
+
* on the collaboration group.
|
|
482
|
+
* </p>
|
|
483
|
+
* @param aCollaborationGroup the collaboration group (or collaboration group page) to unmute notifications from
|
|
484
|
+
* @return <code>true</code> if the unmute notifications operation succeeded, <code>false</code> otherwise
|
|
485
|
+
* @since Sitevision 9.1
|
|
486
|
+
*/
|
|
487
|
+
unmuteNotifications(aCollaborationGroup: Node): boolean;
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Checks if wrapped user identity mutes notifications from the collaboration group.
|
|
491
|
+
* @param aCollaborationGroup the collaboration group (or collaboration group page) to check
|
|
492
|
+
* @return <code>true</code> if the wrapped user identity mutes notifications from <code>aCollaborationGroup</code>, <code>false</code> otherwise
|
|
493
|
+
* @since Sitevision 9.1
|
|
494
|
+
*/
|
|
495
|
+
isNotificationsMuted(aCollaborationGroup: Node): boolean;
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Gets the profile image of the wrapped user identity.
|
|
499
|
+
*
|
|
500
|
+
* <p>
|
|
501
|
+
* <em>Note!</em> This method returns the 'raw' profile image (i.e. a node of type <code>sv:image</code>)
|
|
502
|
+
* that the user has uploaded. For buddy icons, see {@link senselogic.sitevision.api.render.BuddyIconRenderer}.
|
|
503
|
+
* </p>
|
|
504
|
+
* @return the profile image or null
|
|
505
|
+
* @since Sitevision 4.0
|
|
506
|
+
*/
|
|
507
|
+
getProfileImage(): Node;
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* Gets the profile images folder of the wrapped user identity.
|
|
511
|
+
* @return the profile images folder or null
|
|
512
|
+
* @since Sitevision 4.2
|
|
513
|
+
*/
|
|
514
|
+
getProfileImagesFolder(): Node;
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Sets the profile image of the wrapped user identity.
|
|
518
|
+
*
|
|
519
|
+
* <p>
|
|
520
|
+
* This method <em>sets</em> the active profile image, i.e. determines which profile image that should be used.
|
|
521
|
+
* To <em>create a new</em> profile image (i.e. new binary data), you would typically use
|
|
522
|
+
* a method in {@link senselogic.sitevision.api.webresource.ImageUtil} first.
|
|
523
|
+
* </p>
|
|
524
|
+
*
|
|
525
|
+
* <p>
|
|
526
|
+
* <strong>Model note!</strong> A profile image must be a node of type <code>sv:image</code>
|
|
527
|
+
* and a child of the <em>profile images folder</em> of the wrapped user identity.
|
|
528
|
+
* The profile images folder is available via {@link #getProfileImagesFolder()}.
|
|
529
|
+
* </p>
|
|
530
|
+
*
|
|
531
|
+
* <p>
|
|
532
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
533
|
+
* To set the profile image for the wrapped user identity, current user must match the wrapped user identity
|
|
534
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
535
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_USER_IDENTITIES}
|
|
536
|
+
* on current page.
|
|
537
|
+
* </p>
|
|
538
|
+
* @param aProfileImage the profile image
|
|
539
|
+
* @return <code>true</code> if the set operation succeeded, <code>false</code> otherwise
|
|
540
|
+
* @since Sitevision 4.2
|
|
541
|
+
*/
|
|
542
|
+
setProfileImage(aProfileImage: Node): boolean;
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Sets the visibility of the wrapped user identity in search results.
|
|
546
|
+
*
|
|
547
|
+
* <p>
|
|
548
|
+
* <strong>Permission note!</strong> This mutating operation is not allowed for a wrapped user identity that is {@link #isDisabled() disabled}.
|
|
549
|
+
* To update the hidden property for the wrapped user identity, current user must match the wrapped user identity
|
|
550
|
+
* (i.e. <em>"is yourself"</em>) - or have
|
|
551
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_USER_IDENTITIES}
|
|
552
|
+
* on current page.
|
|
553
|
+
* </p>
|
|
554
|
+
* @param aHidden <code>true</code> if the wrapped user identity should be hidden, <code>false</code> otherwise
|
|
555
|
+
* @return <code>true</code> if the set operation succeeded, <code>false</code> otherwise
|
|
556
|
+
* @since Sitevision 4.2
|
|
557
|
+
*/
|
|
558
|
+
setHidden(aHidden: boolean): boolean;
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* Sets the availability of the wrapped user identity.
|
|
562
|
+
*
|
|
563
|
+
* <p>
|
|
564
|
+
* <strong>Permission note!</strong> To update the disabled property for the wrapped user identity,
|
|
565
|
+
* current user must match the wrapped user identity (i.e. <em>"is yourself"</em>) - or have
|
|
566
|
+
* {@link senselogic.sitevision.api.security.PermissionUtil.Permission#MANAGE_USER_IDENTITIES}
|
|
567
|
+
* on current page.
|
|
568
|
+
* </p>
|
|
569
|
+
* @param aDisabled <code>true</code> if the wrapped user identity should be disabled, <code>false</code> otherwise
|
|
570
|
+
* @return <code>true</code> if the set operation succeeded, <code>false</code> otherwise
|
|
571
|
+
* @since Sitevision 4.3
|
|
572
|
+
*/
|
|
573
|
+
setDisabled(aDisabled: boolean): boolean;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Checks if the wrapped user identity is disabled or not.
|
|
577
|
+
*
|
|
578
|
+
* <p>
|
|
579
|
+
* This is a convenience method the check the boolean value of the <code>disabled</code> property of the wrapped user identity.
|
|
580
|
+
* <em>Note that a disabled user identity is not allowed to perform any mutating/write operations except {@link #setDisabled(boolean)}</em>.
|
|
581
|
+
* </p>
|
|
582
|
+
* @return true if the wrapped user identity is disabled, false if not
|
|
583
|
+
* @since Sitevision 4.3
|
|
584
|
+
*/
|
|
585
|
+
isDisabled(): boolean;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* Gets the wrapped user identity.
|
|
589
|
+
*
|
|
590
|
+
* <p>
|
|
591
|
+
* <em>Note! This method is equivalent with {@link #unwrap()} if this wrapper is created with a <code>sv:userIdentity</code> node.</em>
|
|
592
|
+
* </p>
|
|
593
|
+
* @return the wrapped user identity
|
|
594
|
+
* @since Sitevision 4.3
|
|
595
|
+
*/
|
|
596
|
+
getUserIdentity(): Node;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
export default UserIdentityWrapper;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A temporary representation of a link target.
|
|
3
|
+
*
|
|
4
|
+
* <p>
|
|
5
|
+
* An instance of this interface is typically used in {@link LinkPageUtil} when setting the target of a LinkPage.
|
|
6
|
+
* </p>
|
|
7
|
+
*
|
|
8
|
+
* <p>
|
|
9
|
+
* An instance of the Sitevision class implementing this interface can be obtained via
|
|
10
|
+
* {@link senselogic.sitevision.api.webresource.builder.LinkTargetBuilder#build()}.
|
|
11
|
+
* See {@link senselogic.sitevision.api.webresource.builder.LinkTargetBuilder} for how to obtain an instance of the
|
|
12
|
+
* <code>LinkTargetBuilder</code> interface.
|
|
13
|
+
* </p>
|
|
14
|
+
* @author Magnus Lövgren
|
|
15
|
+
* @since Sitevision 4.2
|
|
16
|
+
* @see senselogic.sitevision.api.webresource.builder.LinkTargetBuilder
|
|
17
|
+
*/
|
|
18
|
+
interface LinkTarget {}
|
|
19
|
+
|
|
20
|
+
export default LinkTarget;
|