@sitevision/api 2.0.0-alpha.1 → 2.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +8 -0
- package/package.json +1 -1
- package/server/AliasUtil/index.d.ts +13 -11
- package/server/ArchiveUtil/index.d.ts +45 -43
- package/server/ArraysInstance/index.d.ts +1667 -1808
- package/server/ArticleUtil/index.d.ts +294 -226
- package/server/AuthenticationUtil/index.d.ts +73 -85
- package/server/BookmarkUtil/index.d.ts +76 -81
- package/server/BuddyIconRenderer/index.d.ts +124 -132
- package/server/BuddyIconRenderer.BuddyIconSize/index.d.ts +41 -0
- package/server/BuddyIconRenderer.BuddyIconSize/index.js +25 -0
- package/server/ClientUtil/index.d.ts +11 -9
- package/server/CollaborationFactory/index.d.ts +37 -40
- package/server/CollaborationGroupFolderUtil/index.d.ts +30 -28
- package/server/CollaborationGroupState/index.d.ts +27 -0
- package/server/CollaborationGroupState/index.js +11 -0
- package/server/CollaborationGroupTemplateUtil/index.d.ts +48 -50
- package/server/CollaborationGroupType/index.d.ts +28 -0
- package/server/CollaborationGroupType/index.js +12 -0
- package/server/CollaborationGroupUtil/index.d.ts +86 -82
- package/server/CollectionsInstance/index.d.ts +642 -705
- package/server/ColorUtil/index.d.ts +36 -37
- package/server/CompoundAndFilterBuilder/index.d.ts +31 -29
- package/server/CompoundComparatorBuilder/index.d.ts +35 -33
- package/server/CompoundOrFilterBuilder/index.d.ts +31 -29
- package/server/ContentNodeUtil/index.d.ts +36 -34
- package/server/CurrencyFactory/index.d.ts +72 -70
- package/server/DateUtil/index.d.ts +132 -142
- package/server/DecorationUtil/index.d.ts +13 -11
- package/server/DeviceUtil/index.d.ts +21 -19
- package/server/DimensionMode/index.d.ts +17 -0
- package/server/DimensionMode/index.js +12 -0
- package/server/DirectoryUtil/index.d.ts +90 -88
- package/server/DocType/index.d.ts +30 -0
- package/server/DocType/index.js +14 -0
- package/server/DocTypeUtil/index.d.ts +129 -135
- package/server/EndecUtil/index.d.ts +330 -347
- package/server/ExtendedDismaxParserBuilder/index.d.ts +156 -170
- package/server/FileIconRenderer/index.d.ts +153 -172
- package/server/FileUtil/index.d.ts +274 -300
- package/server/FilterBuilder/index.d.ts +42 -40
- package/server/FolderUtil/index.d.ts +93 -94
- package/server/FontUtil/index.d.ts +36 -37
- package/server/FormatterBuilderFactory/index.d.ts +76 -84
- package/server/HighlightBuilder/index.d.ts +79 -86
- package/server/IconUtil/index.d.ts +27 -25
- package/server/ImageLinkRenderer/index.d.ts +34 -32
- package/server/ImageRenderer/index.d.ts +343 -379
- package/server/ImageUtil/index.d.ts +247 -265
- package/server/IndexUtil/index.d.ts +40 -37
- package/server/IndexUtil.IndexType/index.d.ts +29 -0
- package/server/IndexUtil.IndexType/index.js +13 -0
- package/server/IndexingUtil/index.d.ts +69 -47
- package/server/InstanceCreatorUtil/index.d.ts +421 -457
- package/server/InstanceTypeUtil/index.d.ts +168 -189
- package/server/JwtUtil/index.d.ts +131 -129
- package/server/LandingPageUtil/index.d.ts +84 -87
- package/server/LandingPageUtil/index.js +1 -0
- package/server/LinkPageUtil/index.d.ts +297 -251
- package/server/LinkRenderer/index.d.ts +651 -715
- package/server/LinkTargetBuilder/index.d.ts +69 -77
- package/server/LinkValueBuilder/index.d.ts +70 -77
- package/server/ListWrapper/index.d.ts +82 -91
- package/server/LocaleUtil/index.d.ts +382 -394
- package/server/LogUtil/index.d.ts +119 -128
- package/server/MailBuilder/index.d.ts +109 -124
- package/server/MailUtil/index.d.ts +58 -63
- package/server/MathInstance/index.d.ts +625 -657
- package/server/MessageDigesterFactory/index.d.ts +30 -28
- package/server/MetadataDefinitionUtil/index.d.ts +79 -83
- package/server/MetadataUtil/index.d.ts +322 -346
- package/server/MimeTypeUtil/index.d.ts +209 -215
- package/server/MonitorBuilder/index.d.ts +20 -20
- package/server/NodeComparatorUtil/index.d.ts +215 -225
- package/server/NodeFactoryUtil/index.d.ts +18 -16
- package/server/NodeFilterUtil/index.d.ts +652 -739
- package/server/NodeIteratorUtil/index.d.ts +214 -229
- package/server/NodeResolverUtil/index.d.ts +400 -406
- package/server/NodeTreeUtil/index.d.ts +214 -229
- package/server/NodeTypeUtil/index.d.ts +1432 -548
- package/server/OfflineVersionPropertyUtil/index.d.ts +8 -6
- package/server/OnlineVersionPropertyUtil/index.d.ts +8 -6
- package/server/OutputUtil/index.d.ts +385 -380
- package/server/PageUtil/index.d.ts +266 -188
- package/server/PermissionUtil/index.d.ts +393 -430
- package/server/PermissionUtil.Permission/index.d.ts +54 -0
- package/server/PermissionUtil.Permission/index.js +38 -0
- package/server/PortletContextUtil/index.d.ts +112 -107
- package/server/PortletUtil/index.d.ts +32 -22
- package/server/PrincipalUtil/index.d.ts +35 -33
- package/server/Properties/index.d.ts +69 -76
- package/server/PropertyUtil/index.d.ts +1422 -1464
- package/server/PublishingUtil/index.d.ts +248 -249
- package/server/QueryStringUtil/index.d.ts +404 -415
- package/server/RedirectUtil/index.d.ts +64 -68
- package/server/RelatedValueBuilder/index.d.ts +45 -43
- package/server/Requester/index.d.ts +125 -125
- package/server/ResourceLocatorUtil/index.d.ts +436 -476
- package/server/RestApi/index.d.ts +158 -138
- package/server/RestAppInvokerFactory/index.d.ts +28 -26
- package/server/RoleAssignmentBuilder/index.d.ts +39 -37
- package/server/RoleMatcherBuilder/index.d.ts +39 -37
- package/server/RoleUtil/index.d.ts +35 -37
- package/server/ScriptUtil/index.d.ts +458 -495
- package/server/SearchFactory/index.d.ts +90 -105
- package/server/SearchUtil/index.d.ts +75 -73
- package/server/SearcherBuilder/index.d.ts +117 -124
- package/server/Session/index.d.ts +261 -1103
- package/server/Session/index.js +1 -20
- package/server/SimpleUserUtil/index.d.ts +28 -29
- package/server/SiteCookieUtil/index.d.ts +152 -175
- package/server/SortBuilder/index.d.ts +27 -25
- package/server/SourceSetMode/index.d.ts +12 -0
- package/server/SourceSetMode/index.js +12 -0
- package/server/SpellCheckBuilder/index.d.ts +30 -30
- package/server/StandardParserBuilder/index.d.ts +36 -34
- package/server/StructureUtil/index.d.ts +85 -83
- package/server/SubscriberUtil/index.d.ts +60 -67
- package/server/SubscriptionUtil/index.d.ts +123 -130
- package/server/SystemUserUtil/index.d.ts +148 -146
- package/server/TagUtil/index.d.ts +115 -120
- package/server/TemplateUtil/index.d.ts +115 -120
- package/server/TemporaryFileNodeBuilder/index.d.ts +32 -30
- package/server/TemporaryNodeBuilder/index.d.ts +139 -177
- package/server/TextModuleRendererBuilder/index.d.ts +22 -20
- package/server/TimestampUtil/index.d.ts +103 -117
- package/server/TranslationUtil/index.d.ts +98 -104
- package/server/TrashcanUtil/index.d.ts +114 -117
- package/server/UserDataUtil/index.d.ts +110 -111
- package/server/UserFactory/index.d.ts +47 -54
- package/server/UserFieldRenderer/index.d.ts +120 -128
- package/server/UserIdentityUtil/index.d.ts +38 -36
- package/server/UserUtil/index.d.ts +32 -30
- package/server/Utils/index.d.ts +634 -723
- package/server/VelocityRenderer/index.d.ts +96 -94
- package/server/VersionUtil/index.d.ts +25 -9
- package/server/WebContentUtil/index.d.ts +277 -284
- package/server/WebResourceFactory/index.d.ts +41 -46
- package/server/XSLTUtil/index.d.ts +34 -32
- package/server/XmlParserUtil/index.d.ts +50 -48
- package/types/javax/jcr/Binary/index.d.ts +3 -21
- package/types/javax/jcr/Binary/index.js +0 -1
- package/types/javax/jcr/Credentials/index.d.ts +3 -1
- package/types/javax/jcr/ImportUUIDBehavior/index.d.ts +27 -1
- package/types/javax/jcr/Item/index.d.ts +6 -119
- package/types/javax/jcr/Item/index.js +0 -6
- package/types/javax/jcr/ItemVisitor/index.d.ts +5 -3
- package/types/javax/jcr/NamespaceRegistry/index.d.ts +69 -43
- package/types/javax/jcr/NamespaceRegistry/index.js +0 -2
- package/types/javax/jcr/Node/index.d.ts +37 -1506
- package/types/javax/jcr/Node/index.js +1 -34
- package/types/javax/jcr/NodeIterator/index.d.ts +5 -3
- package/types/javax/jcr/Property/index.d.ts +494 -494
- package/types/javax/jcr/Property/index.js +0 -5
- package/types/javax/jcr/PropertyIterator/index.d.ts +5 -3
- package/types/javax/jcr/RangeIterator/index.d.ts +2 -42
- package/types/javax/jcr/RangeIterator/index.js +1 -5
- package/types/javax/jcr/Repository/index.d.ts +465 -263
- package/types/javax/jcr/Repository/index.js +0 -4
- package/types/javax/jcr/RepositoryFactory/index.d.ts +4 -2
- package/types/javax/jcr/Value/index.d.ts +4 -31
- package/types/javax/jcr/Value/index.js +0 -2
- package/types/javax/jcr/ValueFactory/index.d.ts +6 -74
- package/types/javax/jcr/ValueFactory/index.js +1 -2
- package/types/javax/jcr/Workspace/index.d.ts +103 -577
- package/types/javax/jcr/Workspace/index.js +1 -12
- package/types/javax/jcr/lock/Lock/index.d.ts +4 -2
- package/types/javax/jcr/lock/LockManager/index.d.ts +4 -2
- package/types/javax/jcr/nodetype/ItemDefinition/index.d.ts +4 -105
- package/types/javax/jcr/nodetype/ItemDefinition/index.js +0 -5
- package/types/javax/jcr/nodetype/NodeDefinition/index.d.ts +5 -3
- package/types/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +4 -2
- package/types/javax/jcr/nodetype/NodeType/index.d.ts +262 -269
- package/types/javax/jcr/nodetype/NodeType/index.js +1 -12
- package/types/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +5 -107
- package/types/javax/jcr/nodetype/NodeTypeDefinition/index.js +1 -7
- package/types/javax/jcr/nodetype/NodeTypeIterator/index.d.ts +5 -3
- package/types/javax/jcr/nodetype/NodeTypeManager/index.d.ts +9 -130
- package/types/javax/jcr/nodetype/NodeTypeManager/index.js +1 -8
- package/types/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +4 -2
- package/types/javax/jcr/nodetype/PropertyDefinition/index.d.ts +5 -272
- package/types/javax/jcr/nodetype/PropertyDefinition/index.js +1 -7
- package/types/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +5 -3
- package/types/javax/jcr/observation/Event/index.d.ts +85 -42
- package/types/javax/jcr/observation/EventIterator/index.d.ts +5 -3
- package/types/javax/jcr/observation/EventJournal/index.d.ts +4 -2
- package/types/javax/jcr/observation/EventListener/index.d.ts +4 -2
- package/types/javax/jcr/observation/EventListenerIterator/index.d.ts +5 -3
- package/types/javax/jcr/observation/ObservationManager/index.d.ts +6 -4
- package/types/javax/jcr/query/Query/index.d.ts +35 -12
- package/types/javax/jcr/query/QueryManager/index.d.ts +6 -4
- package/types/javax/jcr/query/QueryResult/index.d.ts +5 -3
- package/types/javax/jcr/query/Row/index.d.ts +5 -3
- package/types/javax/jcr/query/RowIterator/index.d.ts +5 -3
- package/types/javax/jcr/query/qom/And/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/BindVariableValue/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/ChildNode/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/ChildNodeJoinCondition/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/Column/index.d.ts +3 -1
- package/types/javax/jcr/query/qom/Comparison/index.d.ts +6 -4
- package/types/javax/jcr/query/qom/Constraint/index.d.ts +3 -1
- package/types/javax/jcr/query/qom/DescendantNode/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/DescendantNodeJoinCondition/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/DynamicOperand/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/EquiJoinCondition/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/FullTextSearch/index.d.ts +5 -3
- package/types/javax/jcr/query/qom/FullTextSearchScore/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/Join/index.d.ts +5 -3
- package/types/javax/jcr/query/qom/JoinCondition/index.d.ts +3 -1
- package/types/javax/jcr/query/qom/Length/index.d.ts +5 -3
- package/types/javax/jcr/query/qom/Literal/index.d.ts +5 -3
- package/types/javax/jcr/query/qom/LowerCase/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/NodeLocalName/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/NodeName/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/Not/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/Operand/index.d.ts +3 -1
- package/types/javax/jcr/query/qom/Or/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/Ordering/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/PropertyExistence/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/PropertyValue/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/QueryObjectModel/index.d.ts +8 -6
- package/types/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +76 -2
- package/types/javax/jcr/query/qom/QueryObjectModelFactory/index.d.ts +37 -35
- package/types/javax/jcr/query/qom/SameNode/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/SameNodeJoinCondition/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/Selector/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/Source/index.d.ts +3 -1
- package/types/javax/jcr/query/qom/StaticOperand/index.d.ts +4 -2
- package/types/javax/jcr/query/qom/UpperCase/index.d.ts +4 -2
- package/types/javax/jcr/retention/Hold/index.d.ts +3 -1
- package/types/javax/jcr/retention/RetentionManager/index.d.ts +5 -3
- package/types/javax/jcr/retention/RetentionPolicy/index.d.ts +3 -1
- package/types/javax/jcr/security/AccessControlEntry/index.d.ts +4 -2
- package/types/javax/jcr/security/AccessControlList/index.d.ts +6 -4
- package/types/javax/jcr/security/AccessControlManager/index.d.ts +6 -4
- package/types/javax/jcr/security/AccessControlPolicy/index.d.ts +3 -1
- package/types/javax/jcr/security/AccessControlPolicyIterator/index.d.ts +5 -3
- package/types/javax/jcr/security/NamedAccessControlPolicy/index.d.ts +4 -2
- package/types/javax/jcr/security/Privilege/index.d.ts +130 -44
- package/types/javax/jcr/version/Version/index.d.ts +5 -3
- package/types/javax/jcr/version/VersionHistory/index.d.ts +7 -5
- package/types/javax/jcr/version/VersionIterator/index.d.ts +5 -3
- package/types/javax/jcr/version/VersionManager/index.d.ts +7 -5
- package/types/senselogic/sitevision/api/base/Builder/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/base/Filter/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/base/FilterSplit/index.d.ts +4 -2
- package/types/senselogic/sitevision/api/base/Loadable/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/base/Requireable/ScriptEngine/index.d.ts +9 -0
- package/types/senselogic/sitevision/api/base/Requireable/ScriptEngine/index.js +11 -0
- package/types/senselogic/sitevision/api/base/Resolver/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/base/Wrapper/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.d.ts +13 -7
- package/types/senselogic/sitevision/api/format/NumericFormatter/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/format/NumericFormatterBuilder/index.d.ts +5 -3
- package/types/senselogic/sitevision/api/i18n/Currency/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/link/CustomLinkProcessor/index.d.ts +5 -3
- package/types/senselogic/sitevision/api/link/CustomLinkRenderData/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/mail/Mail/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/message/MessageTextLinker/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/metadata/value/LinkValue/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/metadata/value/RelatedValue/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/property/VersionedPropertyUtil/index.d.ts +4 -2
- package/types/senselogic/sitevision/api/render/BuddyIconRenderer.BuddyIconInfo/index.d.ts +51 -0
- package/types/senselogic/sitevision/api/render/BuddyIconRenderer.BuddyIconInfo/index.js +12 -0
- package/types/senselogic/sitevision/api/render/ImageScaler/index.d.ts +4 -2
- package/types/senselogic/sitevision/api/render/TextModuleRenderer/index.d.ts +4 -2
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ArticleUtilConstants/index.d.ts +85 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ArticleUtilConstants/index.js +21 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ExceptionSuppressingProxyConstants/index.d.ts +31 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.ExceptionSuppressingProxyConstants/index.js +12 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.IndexingUtilConstants/index.d.ts +31 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.IndexingUtilConstants/index.js +12 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.LinkPageUtilConstants/index.d.ts +67 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.LinkPageUtilConstants/index.js +18 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MathInstanceConstants/index.d.ts +25 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MathInstanceConstants/index.js +11 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MimeTypeUtilConstants/index.d.ts +19 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.MimeTypeUtilConstants/index.js +10 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.NodeTypeUtilConstants/index.d.ts +1243 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.NodeTypeUtilConstants/index.js +189 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.OutputUtilConstants/index.d.ts +31 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.OutputUtilConstants/index.js +12 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PageUtilConstants/index.d.ts +91 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PageUtilConstants/index.js +22 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletContextUtilConstants/index.d.ts +27 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletContextUtilConstants/index.js +11 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletUtilConstants/index.d.ts +19 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.PortletUtilConstants/index.js +10 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.QueryStringUtilConstants/index.d.ts +19 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.QueryStringUtilConstants/index.js +10 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchHitConstants/index.d.ts +25 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchHitConstants/index.js +11 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchResultConstants/index.d.ts +37 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.SearchResultConstants/index.js +13 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.VersionUtilConstants/index.d.ts +25 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityAccess.VersionUtilConstants/index.js +11 -0
- package/types/senselogic/sitevision/api/render/velocity/VelocityContext/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/script/RequesterChainable/index.d.ts +4 -2
- package/types/senselogic/sitevision/api/script/app/RestAppInvoker/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/script/factory/TypedArgument/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts +4 -2
- package/types/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.d.ts +24 -2
- package/types/senselogic/sitevision/api/search/SearchFieldUtil/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/search/SearchHighlighter/index.d.ts +4 -2
- package/types/senselogic/sitevision/api/search/SearchHit/index.d.ts +19 -3
- package/types/senselogic/sitevision/api/search/SearchResult/index.d.ts +31 -7
- package/types/senselogic/sitevision/api/search/facet/SearchFacetField/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/search/facet/SearchFacetValue/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/search/searcher/Searcher/index.d.ts +4 -2
- package/types/senselogic/sitevision/api/search/searcher/component/Filter/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/search/searcher/component/Highlight/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/search/searcher/component/Monitor/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/search/searcher/component/Parser/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/search/searcher/component/Sort/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/search/sort/CustomSort/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/security/DirectoryAttributes/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/security/MessageDigester/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/security/RoleAssignment/index.d.ts +4 -2
- package/types/senselogic/sitevision/api/security/RoleMatcher/index.d.ts +4 -2
- package/types/senselogic/sitevision/api/security/SecretStore/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/security/UserUtil/index.d.ts +4 -2
- package/types/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.d.ts +35 -3
- package/types/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/user/UserIdentityWrapper/index.d.ts +5 -3
- package/types/senselogic/sitevision/api/webresource/LinkTarget/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/xml/XmlElement/index.d.ts +3 -1
- package/types/senselogic/sitevision/api/xml/XmlElementHandler/index.d.ts +4 -2
|
@@ -1,117 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Checks if trace logging is enabled.
|
|
3
|
-
*
|
|
4
|
-
* <p>
|
|
5
|
-
* Appropriate to check first if you are about to do extensive/expensive trace logging.
|
|
6
|
-
* </p>
|
|
7
|
-
* @return <code>true</code> if trace logging is enabled, <code>false</code> otherwise
|
|
8
|
-
* @since Sitevision 4.1
|
|
9
|
-
*/
|
|
10
|
-
export function isTraceEnabled(): boolean;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Logs a trace message to the Sitevision server log.
|
|
14
|
-
* @param aMessage a message.
|
|
15
|
-
* @since Sitevision 4.1
|
|
16
|
-
*/
|
|
17
|
-
export function trace(aMessage: string): void;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Logs a trace message to the Sitevision server log.
|
|
21
|
-
* @param aMessage a message.
|
|
22
|
-
* @param aThrowable a throwable.
|
|
23
|
-
* @since Sitevision 4.1
|
|
24
|
-
*/
|
|
25
|
-
export function trace(aMessage: string, aThrowable: unknown): void;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Checks if debug logging is enabled.
|
|
29
|
-
*
|
|
30
|
-
* <p>
|
|
31
|
-
* Appropriate to check first if you are about to do extensive/expensive debug logging.
|
|
32
|
-
* </p>
|
|
33
|
-
* @return <code>true</code> if debug logging is enabled, <code>false</code> otherwise
|
|
34
|
-
* @since Sitevision 3.0
|
|
35
|
-
*/
|
|
36
|
-
export function isDebugEnabled(): boolean;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Logs a debug message to the Sitevision server log.
|
|
40
|
-
* @param aMessage a message.
|
|
41
|
-
*/
|
|
42
|
-
export function debug(aMessage: string): void;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Logs a debug message to the Sitevision server log.
|
|
46
|
-
* @param aMessage a message.
|
|
47
|
-
* @param aThrowable a throwable.
|
|
48
|
-
*/
|
|
49
|
-
export function debug(aMessage: string, aThrowable: unknown): void;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Checks if info logging is enabled.
|
|
53
|
-
*
|
|
54
|
-
* <p>
|
|
55
|
-
* Appropriate to check first if you are about to do extensive/expensive info logging.
|
|
56
|
-
* </p>
|
|
57
|
-
* @return <code>true</code> if info logging is enabled, <code>false</code> otherwise
|
|
58
|
-
* @since Sitevision 4.1
|
|
59
|
-
*/
|
|
60
|
-
export function isInfoEnabled(): boolean;
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Logs an info message to the Sitevision server log.
|
|
64
|
-
* @param aMessage a message.
|
|
65
|
-
*/
|
|
66
|
-
export function info(aMessage: string): void;
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Logs an info message to the Sitevision server log.
|
|
70
|
-
* @param aMessage a message.
|
|
71
|
-
* @param aThrowable a throwable.
|
|
72
|
-
*/
|
|
73
|
-
export function info(aMessage: string, aThrowable: unknown): void;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Checks if warn logging is enabled.
|
|
77
|
-
* @return <code>true</code> if warn logging is enabled, <code>false</code> otherwise
|
|
78
|
-
* @since Sitevision 4.1
|
|
79
|
-
*/
|
|
80
|
-
export function isWarnEnabled(): boolean;
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Logs a warn message to the Sitevision server log.
|
|
84
|
-
* @param aMessage a message.
|
|
85
|
-
*/
|
|
86
|
-
export function warn(aMessage: string): void;
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Logs a warn message to the Sitevision server log.
|
|
90
|
-
* @param aMessage a message.
|
|
91
|
-
* @param aThrowable a throwable.
|
|
92
|
-
*/
|
|
93
|
-
export function warn(aMessage: string, aThrowable: unknown): void;
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* Checks if error logging is enabled.
|
|
97
|
-
* @return <code>true</code> if error logging is enabled, <code>false</code> otherwise
|
|
98
|
-
* @since Sitevision 4.1
|
|
99
|
-
*/
|
|
100
|
-
export function isErrorEnabled(): boolean;
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Logs an error message to the Sitevision server log.
|
|
104
|
-
* @param aMessage a message.
|
|
105
|
-
*/
|
|
106
|
-
export function error(aMessage: string): void;
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Logs an error message to the Sitevision server log.
|
|
110
|
-
* @param aMessage a message.
|
|
111
|
-
* @param aThrowable a throwable.
|
|
112
|
-
*/
|
|
113
|
-
export function error(aMessage: string, aThrowable: unknown): void;
|
|
114
|
-
|
|
115
1
|
/**
|
|
116
2
|
* Logging utility class for simple logging to the Sitevision server log.
|
|
117
3
|
* <p>
|
|
@@ -124,19 +10,124 @@ export function error(aMessage: string, aThrowable: unknown): void;
|
|
|
124
10
|
* </p>
|
|
125
11
|
* @author Magnus Lövgren
|
|
126
12
|
*/
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
13
|
+
export interface LogUtil {
|
|
14
|
+
/**
|
|
15
|
+
* Checks if trace logging is enabled.
|
|
16
|
+
*
|
|
17
|
+
* <p>
|
|
18
|
+
* Appropriate to check first if you are about to do extensive/expensive trace logging.
|
|
19
|
+
* </p>
|
|
20
|
+
* @return <code>true</code> if trace logging is enabled, <code>false</code> otherwise
|
|
21
|
+
* @since Sitevision 4.1
|
|
22
|
+
*/
|
|
23
|
+
isTraceEnabled(): boolean;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Logs a trace message to the Sitevision server log.
|
|
27
|
+
* @param aMessage a message.
|
|
28
|
+
* @since Sitevision 4.1
|
|
29
|
+
*/
|
|
30
|
+
trace(aMessage: string): void;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Logs a trace message to the Sitevision server log.
|
|
34
|
+
* @param aMessage a message.
|
|
35
|
+
* @param aThrowable a throwable.
|
|
36
|
+
* @since Sitevision 4.1
|
|
37
|
+
*/
|
|
38
|
+
trace(aMessage: string, aThrowable: unknown): void;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Checks if debug logging is enabled.
|
|
42
|
+
*
|
|
43
|
+
* <p>
|
|
44
|
+
* Appropriate to check first if you are about to do extensive/expensive debug logging.
|
|
45
|
+
* </p>
|
|
46
|
+
* @return <code>true</code> if debug logging is enabled, <code>false</code> otherwise
|
|
47
|
+
* @since Sitevision 3.0
|
|
48
|
+
*/
|
|
49
|
+
isDebugEnabled(): boolean;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Logs a debug message to the Sitevision server log.
|
|
53
|
+
* @param aMessage a message.
|
|
54
|
+
*/
|
|
55
|
+
debug(aMessage: string): void;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Logs a debug message to the Sitevision server log.
|
|
59
|
+
* @param aMessage a message.
|
|
60
|
+
* @param aThrowable a throwable.
|
|
61
|
+
*/
|
|
62
|
+
debug(aMessage: string, aThrowable: unknown): void;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Checks if info logging is enabled.
|
|
66
|
+
*
|
|
67
|
+
* <p>
|
|
68
|
+
* Appropriate to check first if you are about to do extensive/expensive info logging.
|
|
69
|
+
* </p>
|
|
70
|
+
* @return <code>true</code> if info logging is enabled, <code>false</code> otherwise
|
|
71
|
+
* @since Sitevision 4.1
|
|
72
|
+
*/
|
|
73
|
+
isInfoEnabled(): boolean;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Logs an info message to the Sitevision server log.
|
|
77
|
+
* @param aMessage a message.
|
|
78
|
+
*/
|
|
79
|
+
info(aMessage: string): void;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Logs an info message to the Sitevision server log.
|
|
83
|
+
* @param aMessage a message.
|
|
84
|
+
* @param aThrowable a throwable.
|
|
85
|
+
*/
|
|
86
|
+
info(aMessage: string, aThrowable: unknown): void;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Checks if warn logging is enabled.
|
|
90
|
+
* @return <code>true</code> if warn logging is enabled, <code>false</code> otherwise
|
|
91
|
+
* @since Sitevision 4.1
|
|
92
|
+
*/
|
|
93
|
+
isWarnEnabled(): boolean;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Logs a warn message to the Sitevision server log.
|
|
97
|
+
* @param aMessage a message.
|
|
98
|
+
*/
|
|
99
|
+
warn(aMessage: string): void;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Logs a warn message to the Sitevision server log.
|
|
103
|
+
* @param aMessage a message.
|
|
104
|
+
* @param aThrowable a throwable.
|
|
105
|
+
*/
|
|
106
|
+
warn(aMessage: string, aThrowable: unknown): void;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Checks if error logging is enabled.
|
|
110
|
+
* @return <code>true</code> if error logging is enabled, <code>false</code> otherwise
|
|
111
|
+
* @since Sitevision 4.1
|
|
112
|
+
*/
|
|
113
|
+
isErrorEnabled(): boolean;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Logs an error message to the Sitevision server log.
|
|
117
|
+
* @param aMessage a message.
|
|
118
|
+
*/
|
|
119
|
+
error(aMessage: string): void;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Logs an error message to the Sitevision server log.
|
|
123
|
+
* @param aMessage a message.
|
|
124
|
+
* @param aThrowable a throwable.
|
|
125
|
+
*/
|
|
126
|
+
error(aMessage: string, aThrowable: unknown): void;
|
|
140
127
|
}
|
|
141
128
|
|
|
142
|
-
|
|
129
|
+
declare namespace LogUtil {}
|
|
130
|
+
|
|
131
|
+
declare var logUtil: LogUtil;
|
|
132
|
+
|
|
133
|
+
export = logUtil;
|
|
@@ -1,109 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Sets the from address.
|
|
6
|
-
* @param aFromAddress the from address. A whitespace-only address will be ignored, default (null) will be set instead.
|
|
7
|
-
* @return this builder
|
|
8
|
-
*/
|
|
9
|
-
export function setFrom(aFromAddress: string): MailBuilder;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Adds a reply-to address.
|
|
13
|
-
* @param aReplyToAddress a reply-to address. A null or whitespace-only address will be ignored.
|
|
14
|
-
* @return this builder
|
|
15
|
-
*/
|
|
16
|
-
export function addReplyTo(aReplyToAddress: string): MailBuilder;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Removes all previously added reply-to addresses.
|
|
20
|
-
* @return this builder
|
|
21
|
-
*/
|
|
22
|
-
export function clearReplyTos(): MailBuilder;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Sets the subject.
|
|
26
|
-
* @param aSubject a subject
|
|
27
|
-
* @return this builder
|
|
28
|
-
*/
|
|
29
|
-
export function setSubject(aSubject: string): MailBuilder;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Sets the text message.
|
|
33
|
-
* @param aTextMessage a text message
|
|
34
|
-
* @return this builder
|
|
35
|
-
*/
|
|
36
|
-
export function setTextMessage(aTextMessage: string): MailBuilder;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Sets the html message.
|
|
40
|
-
* @param aHtmlMessage a html message
|
|
41
|
-
* @return this builder
|
|
42
|
-
* @since Sitevision 4.3
|
|
43
|
-
*/
|
|
44
|
-
export function setHtmlMessage(aHtmlMessage: string): MailBuilder;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Adds a recipient address (TO).
|
|
48
|
-
* @param aRecipientAddress a recipient address. A null or whitespace-only address will be ignored.
|
|
49
|
-
* @return this builder
|
|
50
|
-
*/
|
|
51
|
-
export function addRecipient(aRecipientAddress: string): MailBuilder;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Removes all previously added recipient addresses (TO).
|
|
55
|
-
* @return this builder
|
|
56
|
-
*/
|
|
57
|
-
export function clearRecipients(): MailBuilder;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Convenience method for removing all addresses for all recipient types (TO/CC/BCC).
|
|
61
|
-
* @return this builder
|
|
62
|
-
* @since Sitevision 3.6.3
|
|
63
|
-
* @see #clearRecipients()
|
|
64
|
-
* @see #clearCopyRecipients()
|
|
65
|
-
* @see #clearBlindCopyRecipients()
|
|
66
|
-
*/
|
|
67
|
-
export function clearAllRecipients(): MailBuilder;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Adds a carbon copy recipient address (CC).
|
|
71
|
-
* @param aCopyRecipientAddress a carbon copy recipient address. A null or whitespace-only address will be ignored.
|
|
72
|
-
* @return this builder
|
|
73
|
-
* @since Sitevision 3.6.3
|
|
74
|
-
*/
|
|
75
|
-
export function addCopyRecipient(aCopyRecipientAddress: string): MailBuilder;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Removes all previously added carbon copy recipient addresses (CC).
|
|
79
|
-
* @return this builder
|
|
80
|
-
* @since Sitevision 3.6.3
|
|
81
|
-
*/
|
|
82
|
-
export function clearCopyRecipients(): MailBuilder;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Adds a blind carbon copy recipient address (BCC).
|
|
86
|
-
* @param aBlindCopyRecipientAddress a blind carbon copy recipient address. A null or whitespace-only address will be ignored.
|
|
87
|
-
* @return this builder
|
|
88
|
-
* @since Sitevision 3.6.3
|
|
89
|
-
*/
|
|
90
|
-
export function addBlindCopyRecipient(
|
|
91
|
-
aBlindCopyRecipientAddress: string
|
|
92
|
-
): MailBuilder;
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Removes all previously added blind carbon copy recipient addresses (BCC).
|
|
96
|
-
* @return this builder
|
|
97
|
-
* @since Sitevision 3.6.3
|
|
98
|
-
*/
|
|
99
|
-
export function clearBlindCopyRecipients(): MailBuilder;
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Creates a Mail instance using current state of this builder.
|
|
103
|
-
* @return a mail that can be sent
|
|
104
|
-
* @throws IllegalStateException will be thrown if subject is null, if there are no recipients or if a recipient address is invalid, if the from address, a copy address, blind copy address or reply-to address is invalid.
|
|
105
|
-
*/
|
|
106
|
-
export function build(): Mail;
|
|
1
|
+
import type Mail from "../../types/senselogic/sitevision/api/mail/Mail";
|
|
2
|
+
import type Builder from "../../types/senselogic/sitevision/api/base/Builder";
|
|
107
3
|
|
|
108
4
|
/**
|
|
109
5
|
* Builder to create a Mail instances that can be sent.
|
|
@@ -217,23 +113,112 @@ export function build(): Mail;
|
|
|
217
113
|
* @author Magnus Lövgren
|
|
218
114
|
* @since Sitevision 3.6
|
|
219
115
|
*/
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
116
|
+
export interface MailBuilder extends Builder {
|
|
117
|
+
/**
|
|
118
|
+
* Sets the from address.
|
|
119
|
+
* @param aFromAddress the from address. A whitespace-only address will be ignored, default (null) will be set instead.
|
|
120
|
+
* @return this builder
|
|
121
|
+
*/
|
|
122
|
+
setFrom(aFromAddress: string): MailBuilder;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Adds a reply-to address.
|
|
126
|
+
* @param aReplyToAddress a reply-to address. A null or whitespace-only address will be ignored.
|
|
127
|
+
* @return this builder
|
|
128
|
+
*/
|
|
129
|
+
addReplyTo(aReplyToAddress: string): MailBuilder;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Removes all previously added reply-to addresses.
|
|
133
|
+
* @return this builder
|
|
134
|
+
*/
|
|
135
|
+
clearReplyTos(): MailBuilder;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Sets the subject.
|
|
139
|
+
* @param aSubject a subject
|
|
140
|
+
* @return this builder
|
|
141
|
+
*/
|
|
142
|
+
setSubject(aSubject: string): MailBuilder;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Sets the text message.
|
|
146
|
+
* @param aTextMessage a text message
|
|
147
|
+
* @return this builder
|
|
148
|
+
*/
|
|
149
|
+
setTextMessage(aTextMessage: string): MailBuilder;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Sets the html message.
|
|
153
|
+
* @param aHtmlMessage a html message
|
|
154
|
+
* @return this builder
|
|
155
|
+
* @since Sitevision 4.3
|
|
156
|
+
*/
|
|
157
|
+
setHtmlMessage(aHtmlMessage: string): MailBuilder;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Adds a recipient address (TO).
|
|
161
|
+
* @param aRecipientAddress a recipient address. A null or whitespace-only address will be ignored.
|
|
162
|
+
* @return this builder
|
|
163
|
+
*/
|
|
164
|
+
addRecipient(aRecipientAddress: string): MailBuilder;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Removes all previously added recipient addresses (TO).
|
|
168
|
+
* @return this builder
|
|
169
|
+
*/
|
|
170
|
+
clearRecipients(): MailBuilder;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Convenience method for removing all addresses for all recipient types (TO/CC/BCC).
|
|
174
|
+
* @return this builder
|
|
175
|
+
* @since Sitevision 3.6.3
|
|
176
|
+
* @see #clearRecipients()
|
|
177
|
+
* @see #clearCopyRecipients()
|
|
178
|
+
* @see #clearBlindCopyRecipients()
|
|
179
|
+
*/
|
|
180
|
+
clearAllRecipients(): MailBuilder;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Adds a carbon copy recipient address (CC).
|
|
184
|
+
* @param aCopyRecipientAddress a carbon copy recipient address. A null or whitespace-only address will be ignored.
|
|
185
|
+
* @return this builder
|
|
186
|
+
* @since Sitevision 3.6.3
|
|
187
|
+
*/
|
|
188
|
+
addCopyRecipient(aCopyRecipientAddress: string): MailBuilder;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Removes all previously added carbon copy recipient addresses (CC).
|
|
192
|
+
* @return this builder
|
|
193
|
+
* @since Sitevision 3.6.3
|
|
194
|
+
*/
|
|
195
|
+
clearCopyRecipients(): MailBuilder;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Adds a blind carbon copy recipient address (BCC).
|
|
199
|
+
* @param aBlindCopyRecipientAddress a blind carbon copy recipient address. A null or whitespace-only address will be ignored.
|
|
200
|
+
* @return this builder
|
|
201
|
+
* @since Sitevision 3.6.3
|
|
202
|
+
*/
|
|
203
|
+
addBlindCopyRecipient(aBlindCopyRecipientAddress: string): MailBuilder;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Removes all previously added blind carbon copy recipient addresses (BCC).
|
|
207
|
+
* @return this builder
|
|
208
|
+
* @since Sitevision 3.6.3
|
|
209
|
+
*/
|
|
210
|
+
clearBlindCopyRecipients(): MailBuilder;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Creates a Mail instance using current state of this builder.
|
|
214
|
+
* @return a mail that can be sent
|
|
215
|
+
* @throws IllegalStateException will be thrown if subject is null, if there are no recipients or if a recipient address is invalid, if the from address, a copy address, blind copy address or reply-to address is invalid.
|
|
216
|
+
*/
|
|
217
|
+
build(): Mail;
|
|
237
218
|
}
|
|
238
219
|
|
|
239
|
-
|
|
220
|
+
declare namespace MailBuilder {}
|
|
221
|
+
|
|
222
|
+
declare var mailBuilder: MailBuilder;
|
|
223
|
+
|
|
224
|
+
export = mailBuilder;
|
|
@@ -1,58 +1,5 @@
|
|
|
1
1
|
import MailBuilder from "../MailBuilder";
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* Returns a mail builder for creating mails.
|
|
5
|
-
* @return a mail builder
|
|
6
|
-
*/
|
|
7
|
-
export function getMailBuilder(): MailBuilder;
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Checks if a mail address has a valid format.
|
|
11
|
-
* @param aMailAddress the address to check
|
|
12
|
-
* @return <code>true</code> if <code>aMailAddress</code> has a valid format and can be used to create a <code>javax.mail.internet.InternetAddress</code>, <code>false</code> otherwise.
|
|
13
|
-
*/
|
|
14
|
-
export function isValidAddress(aMailAddress: string): boolean;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Gets the mail address of the site responsible.
|
|
18
|
-
*
|
|
19
|
-
* <p>
|
|
20
|
-
* <strong>Note!</strong> The returned address is <em>not</em> validated, i.e. it might be an invalid mail address.
|
|
21
|
-
* </p>
|
|
22
|
-
* @return the mail address of the site responsible, or <code>null</code> if there are no address or if it's whitespace only
|
|
23
|
-
*/
|
|
24
|
-
export function getSiteResponsibleAddress(): string;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Gets the from mail address of current site.
|
|
28
|
-
*
|
|
29
|
-
* <p>
|
|
30
|
-
* <strong>Note!</strong> The returned address is <em>not</em> validated, i.e. it might be an invalid mail address.
|
|
31
|
-
* </p>
|
|
32
|
-
* @return the from mail address of current site, or <code>null</code> if there are no address or if it's whitespace only
|
|
33
|
-
*/
|
|
34
|
-
export function getSiteFromAddress(): string;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Gets the mail address of the server responsible.
|
|
38
|
-
*
|
|
39
|
-
* <p>
|
|
40
|
-
* <strong>Note!</strong> The returned address is <em>not</em> validated, i.e. it might be an invalid mail address.
|
|
41
|
-
* </p>
|
|
42
|
-
* @return the mail address of the server responsible, or <code>null</code> if there are no address or if it's whitespace only
|
|
43
|
-
*/
|
|
44
|
-
export function getServerResponsibleAddress(): string;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Gets the server from mail address.
|
|
48
|
-
*
|
|
49
|
-
* <p>
|
|
50
|
-
* <strong>Note!</strong> The returned address is <em>not</em> validated, i.e. it might be an invalid mail address.
|
|
51
|
-
* </p>
|
|
52
|
-
* @return the server from mail address, or <code>null</code> if there are no address or if it's whitespace only
|
|
53
|
-
*/
|
|
54
|
-
export function getServerFromAddress(): string;
|
|
55
|
-
|
|
56
3
|
/**
|
|
57
4
|
* Mail utility interface.
|
|
58
5
|
*
|
|
@@ -68,15 +15,63 @@ export function getServerFromAddress(): string;
|
|
|
68
15
|
* @author Magnus Lövgren
|
|
69
16
|
* @since Sitevision 3.6
|
|
70
17
|
*/
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
18
|
+
export interface MailUtil {
|
|
19
|
+
/**
|
|
20
|
+
* Returns a mail builder for creating mails.
|
|
21
|
+
* @return a mail builder
|
|
22
|
+
*/
|
|
23
|
+
getMailBuilder(): MailBuilder;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Checks if a mail address has a valid format.
|
|
27
|
+
* @param aMailAddress the address to check
|
|
28
|
+
* @return <code>true</code> if <code>aMailAddress</code> has a valid format and can be used to create a <code>javax.mail.internet.InternetAddress</code>, <code>false</code> otherwise.
|
|
29
|
+
*/
|
|
30
|
+
isValidAddress(aMailAddress: string): boolean;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Gets the mail address of the site responsible.
|
|
34
|
+
*
|
|
35
|
+
* <p>
|
|
36
|
+
* <strong>Note!</strong> The returned address is <em>not</em> validated, i.e. it might be an invalid mail address.
|
|
37
|
+
* </p>
|
|
38
|
+
* @return the mail address of the site responsible, or <code>null</code> if there are no address or if it's whitespace only
|
|
39
|
+
*/
|
|
40
|
+
getSiteResponsibleAddress(): string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Gets the from mail address of current site.
|
|
44
|
+
*
|
|
45
|
+
* <p>
|
|
46
|
+
* <strong>Note!</strong> The returned address is <em>not</em> validated, i.e. it might be an invalid mail address.
|
|
47
|
+
* </p>
|
|
48
|
+
* @return the from mail address of current site, or <code>null</code> if there are no address or if it's whitespace only
|
|
49
|
+
*/
|
|
50
|
+
getSiteFromAddress(): string;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Gets the mail address of the server responsible.
|
|
54
|
+
*
|
|
55
|
+
* <p>
|
|
56
|
+
* <strong>Note!</strong> The returned address is <em>not</em> validated, i.e. it might be an invalid mail address.
|
|
57
|
+
* </p>
|
|
58
|
+
* @return the mail address of the server responsible, or <code>null</code> if there are no address or if it's whitespace only
|
|
59
|
+
*/
|
|
60
|
+
getServerResponsibleAddress(): string;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Gets the server from mail address.
|
|
64
|
+
*
|
|
65
|
+
* <p>
|
|
66
|
+
* <strong>Note!</strong> The returned address is <em>not</em> validated, i.e. it might be an invalid mail address.
|
|
67
|
+
* </p>
|
|
68
|
+
* @return the server from mail address, or <code>null</code> if there are no address or if it's whitespace only
|
|
69
|
+
*/
|
|
70
|
+
getServerFromAddress(): string;
|
|
80
71
|
}
|
|
81
72
|
|
|
82
|
-
|
|
73
|
+
declare namespace MailUtil {}
|
|
74
|
+
|
|
75
|
+
declare var mailUtil: MailUtil;
|
|
76
|
+
|
|
77
|
+
export = mailUtil;
|