@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
|
@@ -1,70 +1,406 @@
|
|
|
1
|
-
import Node from
|
|
2
|
-
import Date from '../../builtins/Date';
|
|
1
|
+
import Node from "../../hidden/javax/jcr/Node";
|
|
3
2
|
|
|
4
3
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
|
|
4
|
+
* <p>
|
|
5
|
+
* Publishes a node.
|
|
6
|
+
* </p>
|
|
7
|
+
* <p>
|
|
8
|
+
* Valid nodes are <code>sv:sitePage</code>, <code>sv:page</code>, <code>sv:article</code>, <code>sv:collaborationGroupPage</code>,
|
|
9
|
+
* <code>sv:template</code> and <code>sv:link</code> <em>(must be a "page link", a stand-alone link in the page tree)</em>.
|
|
10
|
+
* If another node is specified an <code>IllegalArgumentException</code> is thrown.
|
|
11
|
+
* </p>
|
|
12
|
+
*
|
|
13
|
+
* <p>
|
|
14
|
+
* If no node is specified a <code>NullPointerException</code> is thrown.
|
|
15
|
+
* </p>
|
|
16
|
+
*
|
|
17
|
+
* <p>
|
|
18
|
+
* The current user must be authorized to publish nodes or a <code>ConstraintViolationException</code> will be thrown.
|
|
19
|
+
* </p>
|
|
20
|
+
* @param aNode the node that should be published. May not be <code>null</code>
|
|
21
|
+
* @throws ConstraintViolationException if current user is not authorized to publish nodes
|
|
22
|
+
* @throws RepositoryException if something else goes wrong
|
|
23
|
+
* @see senselogic.sitevision.api.security.PermissionUtil#hasEffectivePublishPermission(Node, Node)
|
|
24
|
+
*/
|
|
8
25
|
export function publishNode(aNode: Node): void;
|
|
9
26
|
|
|
10
27
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
|
|
15
|
-
|
|
28
|
+
* <p>
|
|
29
|
+
* Schedules a node publish job for execution at a specified date.
|
|
30
|
+
* </p>
|
|
31
|
+
* <p>
|
|
32
|
+
* Valid nodes are <code>sv:sitePage</code>, <code>sv:page</code>, <code>sv:article</code>, <code>sv:collaborationGroupPage</code>,
|
|
33
|
+
* <code>sv:template</code> and <code>sv:link</code> <em>(must be a "page link", a stand-alone link in the page tree)</em>.
|
|
34
|
+
* If another node is specified an <code>IllegalArgumentException</code> is thrown.
|
|
35
|
+
* </p>
|
|
36
|
+
*
|
|
37
|
+
* <p>
|
|
38
|
+
* If no node is specified a <code>NullPointerException</code> is thrown.
|
|
39
|
+
* </p>
|
|
40
|
+
*
|
|
41
|
+
* <p>
|
|
42
|
+
* The current user must be authorized to publish nodes or a <code>ConstraintViolationException</code> will be thrown.
|
|
43
|
+
* </p>
|
|
44
|
+
* @param aNode the node that should be published
|
|
45
|
+
* @param aDate the publish date
|
|
46
|
+
* @throws ConstraintViolationException if current user is not authorized to publish nodes
|
|
47
|
+
* @throws RepositoryException if something else goes wrong
|
|
48
|
+
* @see senselogic.sitevision.api.security.PermissionUtil#hasEffectivePublishPermission(Node, Node)
|
|
49
|
+
*/
|
|
50
|
+
export function publishNode(aNode: Node, aDate: unknown): void;
|
|
16
51
|
|
|
17
52
|
/**
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
|
|
23
|
-
|
|
53
|
+
* <p>
|
|
54
|
+
* Schedules a node publish job for execution at a specified date and a node unpublish job for execution at another date.
|
|
55
|
+
* </p>
|
|
56
|
+
* <p>
|
|
57
|
+
* Valid nodes are <code>sv:sitePage</code>, <code>sv:page</code>, <code>sv:article</code>, <code>sv:collaborationGroupPage</code>,
|
|
58
|
+
* <code>sv:template</code> and <code>sv:link</code> <em>(must be a "page link", a stand-alone link in the page tree)</em>.
|
|
59
|
+
* If another node is specified an <code>IllegalArgumentException</code> is thrown.
|
|
60
|
+
* </p>
|
|
61
|
+
*
|
|
62
|
+
* <p>
|
|
63
|
+
* If no node is specified a <code>NullPointerException</code> is thrown.
|
|
64
|
+
* </p>
|
|
65
|
+
*
|
|
66
|
+
* <p>
|
|
67
|
+
* The current user must be authorized to publish nodes or a <code>ConstraintViolationException</code> will be thrown.
|
|
68
|
+
* </p>
|
|
69
|
+
* @param aNode the node that should be published
|
|
70
|
+
* @param aPublishDate the publish date
|
|
71
|
+
* @param anUnpublishDate the unpublish date
|
|
72
|
+
* @throws ConstraintViolationException if current user is not authorized to publish nodes
|
|
73
|
+
* @throws RepositoryException if something else goes wrong
|
|
74
|
+
* @see senselogic.sitevision.api.security.PermissionUtil#hasEffectivePublishPermission(Node, Node)
|
|
75
|
+
*/
|
|
76
|
+
export function publishNode(
|
|
77
|
+
aNode: Node,
|
|
78
|
+
aPublishDate: unknown,
|
|
79
|
+
anUnpublishDate: unknown
|
|
80
|
+
): void;
|
|
24
81
|
|
|
25
82
|
/**
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
|
|
30
|
-
|
|
83
|
+
* <p>
|
|
84
|
+
* Publishes a node instantly with a best before notification date.
|
|
85
|
+
* </p>
|
|
86
|
+
* <p>
|
|
87
|
+
* Valid nodes are <code>sv:sitePage</code>, <code>sv:page</code>, <code>sv:article</code>, <code>sv:collaborationGroupPage</code>,
|
|
88
|
+
* <code>sv:template</code> and <code>sv:link</code> <em>(must be a "page link", a stand-alone link in the page tree)</em>.
|
|
89
|
+
* If another node is specified an <code>IllegalArgumentException</code> is thrown.
|
|
90
|
+
* </p>
|
|
91
|
+
*
|
|
92
|
+
* <p>
|
|
93
|
+
* If a <code>aNotificationDate</code> is before current date a notification will be sent instantly.
|
|
94
|
+
* If <code>aNotificationDate</code> is null, no notification will be sent.
|
|
95
|
+
* </p>
|
|
96
|
+
*
|
|
97
|
+
* <p>
|
|
98
|
+
* The current user must be authorized to publish nodes or a <code>ConstraintViolationException</code> will be thrown.
|
|
99
|
+
* </p>
|
|
100
|
+
* @param aNode the node that should be published. Valid nodes are sv:sitePage, sv:page, sv:article and sv:template.
|
|
101
|
+
* @param aNotificationDate best-before notification date.
|
|
102
|
+
* @throws NullPointerException if <code>aNode</code> is null.
|
|
103
|
+
* @throws IllegalArgumentException if <code>aNode</code> is of invalid type.
|
|
104
|
+
* @throws ConstraintViolationException if current user is not authorized to publish nodes.
|
|
105
|
+
* @throws RepositoryException on unexpected failures.
|
|
106
|
+
* @see senselogic.sitevision.api.security.PermissionUtil#hasEffectivePublishPermission(Node, Node)
|
|
107
|
+
* @since Sitevision 2.6.2_05
|
|
108
|
+
*/
|
|
109
|
+
export function publishNodeWithNotification(
|
|
110
|
+
aNode: Node,
|
|
111
|
+
aNotificationDate: unknown
|
|
112
|
+
): void;
|
|
31
113
|
|
|
32
114
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
|
|
38
|
-
|
|
115
|
+
* <p>
|
|
116
|
+
* Schedules a node publish job for execution at a specified date with a best before notification date.
|
|
117
|
+
* </p>
|
|
118
|
+
* <p>
|
|
119
|
+
* Valid nodes are <code>sv:sitePage</code>, <code>sv:page</code>, <code>sv:article</code>, <code>sv:collaborationGroupPage</code>,
|
|
120
|
+
* <code>sv:template</code> and <code>sv:link</code> <em>(must be a "page link", a stand-alone link in the page tree)</em>.
|
|
121
|
+
* If another node is specified an <code>IllegalArgumentException</code> is thrown.
|
|
122
|
+
* </p>
|
|
123
|
+
* <p>
|
|
124
|
+
* If <code>aNotificationDate</code> is null no notification will be sent. If <code>aNotificationDate</code>
|
|
125
|
+
* is before <code>aPublishDate</code> no notification will be sent since node hasn't been published yet.
|
|
126
|
+
* If a <code>aNotificationDate</code> is before current date, a notification will be sent instantly.
|
|
127
|
+
* </p>
|
|
128
|
+
*
|
|
129
|
+
* <p>
|
|
130
|
+
* If <code>aPublishDate</code> is <code>null</code> or before current time, the node will be published instantly.
|
|
131
|
+
* </p>
|
|
132
|
+
*
|
|
133
|
+
* <p>
|
|
134
|
+
* The current user must be authorized to publish nodes or a <code>ConstraintViolationException</code> will be thrown.
|
|
135
|
+
* </p>
|
|
136
|
+
* @param aNode the node that should be published. Valid nodes are sv:sitePage, sv:page, sv:article and sv:template.
|
|
137
|
+
* @param aPublishDate the publish date for the node.
|
|
138
|
+
* @param aNotificationDate best-before notification date.
|
|
139
|
+
* @throws NullPointerException if <code>aNode</code> is null.
|
|
140
|
+
* @throws IllegalArgumentException if <code>aNode</code> is of invalid type.
|
|
141
|
+
* @throws ConstraintViolationException if current user is not authorized to publish nodes.
|
|
142
|
+
* @throws RepositoryException on unexpected failures.
|
|
143
|
+
* @see senselogic.sitevision.api.security.PermissionUtil#hasEffectivePublishPermission(Node, Node)
|
|
144
|
+
* @since Sitevision 2.6.2_05
|
|
145
|
+
*/
|
|
146
|
+
export function publishNodeWithNotification(
|
|
147
|
+
aNode: Node,
|
|
148
|
+
aPublishDate: unknown,
|
|
149
|
+
aNotificationDate: unknown
|
|
150
|
+
): void;
|
|
39
151
|
|
|
40
152
|
/**
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
|
|
47
|
-
|
|
153
|
+
* <p>
|
|
154
|
+
* Schedules a node publish job for execution at a specified date and a node unpublish job for execution at a later
|
|
155
|
+
* date and a best before notification date.
|
|
156
|
+
* </p>
|
|
157
|
+
* <p>
|
|
158
|
+
* Valid nodes are <code>sv:sitePage</code>, <code>sv:page</code>, <code>sv:article</code>, <code>sv:collaborationGroupPage</code>,
|
|
159
|
+
* <code>sv:template</code> and <code>sv:link</code> <em>(must be a "page link", a stand-alone link in the page tree)</em>.
|
|
160
|
+
* If another node is specified an <code>IllegalArgumentException</code> is thrown.
|
|
161
|
+
* </p>
|
|
162
|
+
*
|
|
163
|
+
* <p>
|
|
164
|
+
* If <code>aNotificationDate</code> is null, no notification will be sent. If <code>aNotificationDate</code> is
|
|
165
|
+
* before <code>aPublishDate</code> no notification will be sent since node hasn't been published yet. If a
|
|
166
|
+
* <code>aNotificationDate</code> is before current date, a notification will be sent instantly.
|
|
167
|
+
* </p>
|
|
168
|
+
*
|
|
169
|
+
* <p>
|
|
170
|
+
* If <code>aPublishDate</code> is <code>null</code> or before current time, the node will be published instantly.
|
|
171
|
+
* </p>
|
|
172
|
+
*
|
|
173
|
+
* <p>
|
|
174
|
+
* If <code>aUnpublishDate</code> is before <code>aPublishDate</code> the unpublish job will run but won't affect
|
|
175
|
+
* the publishing, i.e. the node will be published at the given publish date.
|
|
176
|
+
* </p>
|
|
177
|
+
*
|
|
178
|
+
* <p>
|
|
179
|
+
* The current user must be authorized to publish nodes or a <code>ConstraintViolationException</code> will be thrown.
|
|
180
|
+
* </p>
|
|
181
|
+
* @param aNode the node that should be published. Valid nodes are sv:sitePage, sv:page, sv:article and sv:template.
|
|
182
|
+
* @param aPublishDate the publish date for the node.
|
|
183
|
+
* @param aUnpublishDate the unpublish date for the node.
|
|
184
|
+
* @param aNotificationDate best-before notification date.
|
|
185
|
+
* @throws NullPointerException if <code>aNode</code> or <code>aUnpublishDate</code> is null.
|
|
186
|
+
* @throws IllegalArgumentException if <code>aNode</code> is of invalid type.
|
|
187
|
+
* @throws ConstraintViolationException if current user is not authorized to publish nodes.
|
|
188
|
+
* @throws RepositoryException on unexpected failures.
|
|
189
|
+
* @see senselogic.sitevision.api.security.PermissionUtil#hasEffectivePublishPermission(Node, Node)
|
|
190
|
+
* @since Sitevision 2.6.2_05
|
|
191
|
+
*/
|
|
192
|
+
export function publishNodeWithNotification(
|
|
193
|
+
aNode: Node,
|
|
194
|
+
aPublishDate: unknown,
|
|
195
|
+
aUnpublishDate: unknown,
|
|
196
|
+
aNotificationDate: unknown
|
|
197
|
+
): void;
|
|
48
198
|
|
|
49
199
|
/**
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
|
|
200
|
+
* <p>
|
|
201
|
+
* Unpublishes a node.
|
|
202
|
+
* </p>
|
|
203
|
+
* <p>
|
|
204
|
+
* Valid nodes are <code>sv:sitePage</code>, <code>sv:page</code>, <code>sv:article</code>, <code>sv:collaborationGroupPage</code>,
|
|
205
|
+
* <code>sv:template</code> and <code>sv:link</code> <em>(must be a "page link", a stand-alone link in the page tree)</em>.
|
|
206
|
+
* If another node is specified an <code>IllegalArgumentException</code> is thrown.
|
|
207
|
+
* </p>
|
|
208
|
+
*
|
|
209
|
+
* <p>
|
|
210
|
+
* If no node is specified a <code>NullPointerException</code> is thrown.
|
|
211
|
+
* </p>
|
|
212
|
+
*
|
|
213
|
+
* <p>
|
|
214
|
+
* The current user must be authorized to publish nodes or a <code>ConstraintViolationException</code> will be thrown.
|
|
215
|
+
* </p>
|
|
216
|
+
* @param aNode the node that should be unpublished
|
|
217
|
+
* @throws ConstraintViolationException if current user is not authorized to unpublish nodes
|
|
218
|
+
* @throws RepositoryException if something else goes wrong
|
|
219
|
+
* @see senselogic.sitevision.api.security.PermissionUtil#hasEffectivePublishPermission(Node, Node)
|
|
220
|
+
*/
|
|
53
221
|
export function unpublishNode(aNode: Node): void;
|
|
54
222
|
|
|
55
223
|
/**
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
|
|
60
|
-
|
|
224
|
+
* <p>
|
|
225
|
+
* Schedules a node unpublish job for execution at a specified date.
|
|
226
|
+
* </p>
|
|
227
|
+
* <p>
|
|
228
|
+
* Valid nodes are <code>sv:sitePage</code>, <code>sv:page</code>, <code>sv:article</code>, <code>sv:collaborationGroupPage</code>,
|
|
229
|
+
* <code>sv:template</code> and <code>sv:link</code> <em>(must be a "page link", a stand-alone link in the page tree)</em>.
|
|
230
|
+
* If another node is specified an <code>IllegalArgumentException</code> is thrown.
|
|
231
|
+
* </p>
|
|
232
|
+
*
|
|
233
|
+
* <p>
|
|
234
|
+
* If no node is specified a <code>NullPointerException</code> is thrown.
|
|
235
|
+
* </p>
|
|
236
|
+
*
|
|
237
|
+
* <p>
|
|
238
|
+
* The current user must be authorized to publish nodes or a <code>ConstraintViolationException</code> will be thrown.
|
|
239
|
+
* </p>
|
|
240
|
+
* @param aNode the node that should be unpublished
|
|
241
|
+
* @param aDate the unpublish date
|
|
242
|
+
* @throws ConstraintViolationException if current user is not authorized to unpublish nodes
|
|
243
|
+
* @throws RepositoryException if something else goes wrong
|
|
244
|
+
* @see senselogic.sitevision.api.security.PermissionUtil#hasEffectivePublishPermission(Node, Node)
|
|
245
|
+
*/
|
|
246
|
+
export function unpublishNode(aNode: Node, aDate: unknown): void;
|
|
61
247
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
248
|
+
/**
|
|
249
|
+
* Publishing/unpublishing utility interface.
|
|
250
|
+
*
|
|
251
|
+
* <p>
|
|
252
|
+
* Note that when publishing a child node and the parent node hasn't been published, the child node publishing
|
|
253
|
+
* will be put on hold (marked with a pause sign in editor) until the parent is published.
|
|
254
|
+
* </p>
|
|
255
|
+
*
|
|
256
|
+
* <p>
|
|
257
|
+
* An instance of the Sitevision class implementing this interface can be obtained via
|
|
258
|
+
* {@link senselogic.sitevision.api.Utils#getPublishingUtil()}.
|
|
259
|
+
* See {@link senselogic.sitevision.api.Utils} for how to obtain an instance of the <code>Utils</code> interface.
|
|
260
|
+
* </p><p>
|
|
261
|
+
* Publishes a node.
|
|
262
|
+
* </p>
|
|
263
|
+
* <p>
|
|
264
|
+
* Valid nodes are <code>sv:sitePage</code>, <code>sv:page</code>, <code>sv:article</code>, <code>sv:collaborationGroupPage</code>,
|
|
265
|
+
* <code>sv:template</code> and <code>sv:link</code> <em>(must be a "page link", a stand-alone link in the page tree)</em>.
|
|
266
|
+
* If another node is specified an <code>IllegalArgumentException</code> is thrown.
|
|
267
|
+
* </p>
|
|
268
|
+
*
|
|
269
|
+
* <p>
|
|
270
|
+
* If no node is specified a <code>NullPointerException</code> is thrown.
|
|
271
|
+
* </p>
|
|
272
|
+
*
|
|
273
|
+
* <p>
|
|
274
|
+
* The current user must be authorized to publish nodes or a <code>ConstraintViolationException</code> will be thrown.
|
|
275
|
+
* </p><p>
|
|
276
|
+
* Schedules a node publish job for execution at a specified date.
|
|
277
|
+
* </p>
|
|
278
|
+
* <p>
|
|
279
|
+
* Valid nodes are <code>sv:sitePage</code>, <code>sv:page</code>, <code>sv:article</code>, <code>sv:collaborationGroupPage</code>,
|
|
280
|
+
* <code>sv:template</code> and <code>sv:link</code> <em>(must be a "page link", a stand-alone link in the page tree)</em>.
|
|
281
|
+
* If another node is specified an <code>IllegalArgumentException</code> is thrown.
|
|
282
|
+
* </p>
|
|
283
|
+
*
|
|
284
|
+
* <p>
|
|
285
|
+
* If no node is specified a <code>NullPointerException</code> is thrown.
|
|
286
|
+
* </p>
|
|
287
|
+
*
|
|
288
|
+
* <p>
|
|
289
|
+
* The current user must be authorized to publish nodes or a <code>ConstraintViolationException</code> will be thrown.
|
|
290
|
+
* </p><p>
|
|
291
|
+
* Schedules a node publish job for execution at a specified date and a node unpublish job for execution at another date.
|
|
292
|
+
* </p>
|
|
293
|
+
* <p>
|
|
294
|
+
* Valid nodes are <code>sv:sitePage</code>, <code>sv:page</code>, <code>sv:article</code>, <code>sv:collaborationGroupPage</code>,
|
|
295
|
+
* <code>sv:template</code> and <code>sv:link</code> <em>(must be a "page link", a stand-alone link in the page tree)</em>.
|
|
296
|
+
* If another node is specified an <code>IllegalArgumentException</code> is thrown.
|
|
297
|
+
* </p>
|
|
298
|
+
*
|
|
299
|
+
* <p>
|
|
300
|
+
* If no node is specified a <code>NullPointerException</code> is thrown.
|
|
301
|
+
* </p>
|
|
302
|
+
*
|
|
303
|
+
* <p>
|
|
304
|
+
* The current user must be authorized to publish nodes or a <code>ConstraintViolationException</code> will be thrown.
|
|
305
|
+
* </p><p>
|
|
306
|
+
* Publishes a node instantly with a best before notification date.
|
|
307
|
+
* </p>
|
|
308
|
+
* <p>
|
|
309
|
+
* Valid nodes are <code>sv:sitePage</code>, <code>sv:page</code>, <code>sv:article</code>, <code>sv:collaborationGroupPage</code>,
|
|
310
|
+
* <code>sv:template</code> and <code>sv:link</code> <em>(must be a "page link", a stand-alone link in the page tree)</em>.
|
|
311
|
+
* If another node is specified an <code>IllegalArgumentException</code> is thrown.
|
|
312
|
+
* </p>
|
|
313
|
+
*
|
|
314
|
+
* <p>
|
|
315
|
+
* If a <code>aNotificationDate</code> is before current date a notification will be sent instantly.
|
|
316
|
+
* If <code>aNotificationDate</code> is null, no notification will be sent.
|
|
317
|
+
* </p>
|
|
318
|
+
*
|
|
319
|
+
* <p>
|
|
320
|
+
* The current user must be authorized to publish nodes or a <code>ConstraintViolationException</code> will be thrown.
|
|
321
|
+
* </p><p>
|
|
322
|
+
* Schedules a node publish job for execution at a specified date with a best before notification date.
|
|
323
|
+
* </p>
|
|
324
|
+
* <p>
|
|
325
|
+
* Valid nodes are <code>sv:sitePage</code>, <code>sv:page</code>, <code>sv:article</code>, <code>sv:collaborationGroupPage</code>,
|
|
326
|
+
* <code>sv:template</code> and <code>sv:link</code> <em>(must be a "page link", a stand-alone link in the page tree)</em>.
|
|
327
|
+
* If another node is specified an <code>IllegalArgumentException</code> is thrown.
|
|
328
|
+
* </p>
|
|
329
|
+
* <p>
|
|
330
|
+
* If <code>aNotificationDate</code> is null no notification will be sent. If <code>aNotificationDate</code>
|
|
331
|
+
* is before <code>aPublishDate</code> no notification will be sent since node hasn't been published yet.
|
|
332
|
+
* If a <code>aNotificationDate</code> is before current date, a notification will be sent instantly.
|
|
333
|
+
* </p>
|
|
334
|
+
*
|
|
335
|
+
* <p>
|
|
336
|
+
* If <code>aPublishDate</code> is <code>null</code> or before current time, the node will be published instantly.
|
|
337
|
+
* </p>
|
|
338
|
+
*
|
|
339
|
+
* <p>
|
|
340
|
+
* The current user must be authorized to publish nodes or a <code>ConstraintViolationException</code> will be thrown.
|
|
341
|
+
* </p><p>
|
|
342
|
+
* Schedules a node publish job for execution at a specified date and a node unpublish job for execution at a later
|
|
343
|
+
* date and a best before notification date.
|
|
344
|
+
* </p>
|
|
345
|
+
* <p>
|
|
346
|
+
* Valid nodes are <code>sv:sitePage</code>, <code>sv:page</code>, <code>sv:article</code>, <code>sv:collaborationGroupPage</code>,
|
|
347
|
+
* <code>sv:template</code> and <code>sv:link</code> <em>(must be a "page link", a stand-alone link in the page tree)</em>.
|
|
348
|
+
* If another node is specified an <code>IllegalArgumentException</code> is thrown.
|
|
349
|
+
* </p>
|
|
350
|
+
*
|
|
351
|
+
* <p>
|
|
352
|
+
* If <code>aNotificationDate</code> is null, no notification will be sent. If <code>aNotificationDate</code> is
|
|
353
|
+
* before <code>aPublishDate</code> no notification will be sent since node hasn't been published yet. If a
|
|
354
|
+
* <code>aNotificationDate</code> is before current date, a notification will be sent instantly.
|
|
355
|
+
* </p>
|
|
356
|
+
*
|
|
357
|
+
* <p>
|
|
358
|
+
* If <code>aPublishDate</code> is <code>null</code> or before current time, the node will be published instantly.
|
|
359
|
+
* </p>
|
|
360
|
+
*
|
|
361
|
+
* <p>
|
|
362
|
+
* If <code>aUnpublishDate</code> is before <code>aPublishDate</code> the unpublish job will run but won't affect
|
|
363
|
+
* the publishing, i.e. the node will be published at the given publish date.
|
|
364
|
+
* </p>
|
|
365
|
+
*
|
|
366
|
+
* <p>
|
|
367
|
+
* The current user must be authorized to publish nodes or a <code>ConstraintViolationException</code> will be thrown.
|
|
368
|
+
* </p><p>
|
|
369
|
+
* Unpublishes a node.
|
|
370
|
+
* </p>
|
|
371
|
+
* <p>
|
|
372
|
+
* Valid nodes are <code>sv:sitePage</code>, <code>sv:page</code>, <code>sv:article</code>, <code>sv:collaborationGroupPage</code>,
|
|
373
|
+
* <code>sv:template</code> and <code>sv:link</code> <em>(must be a "page link", a stand-alone link in the page tree)</em>.
|
|
374
|
+
* If another node is specified an <code>IllegalArgumentException</code> is thrown.
|
|
375
|
+
* </p>
|
|
376
|
+
*
|
|
377
|
+
* <p>
|
|
378
|
+
* If no node is specified a <code>NullPointerException</code> is thrown.
|
|
379
|
+
* </p>
|
|
380
|
+
*
|
|
381
|
+
* <p>
|
|
382
|
+
* The current user must be authorized to publish nodes or a <code>ConstraintViolationException</code> will be thrown.
|
|
383
|
+
* </p><p>
|
|
384
|
+
* Schedules a node unpublish job for execution at a specified date.
|
|
385
|
+
* </p>
|
|
386
|
+
* <p>
|
|
387
|
+
* Valid nodes are <code>sv:sitePage</code>, <code>sv:page</code>, <code>sv:article</code>, <code>sv:collaborationGroupPage</code>,
|
|
388
|
+
* <code>sv:template</code> and <code>sv:link</code> <em>(must be a "page link", a stand-alone link in the page tree)</em>.
|
|
389
|
+
* If another node is specified an <code>IllegalArgumentException</code> is thrown.
|
|
390
|
+
* </p>
|
|
391
|
+
*
|
|
392
|
+
* <p>
|
|
393
|
+
* If no node is specified a <code>NullPointerException</code> is thrown.
|
|
394
|
+
* </p>
|
|
395
|
+
*
|
|
396
|
+
* <p>
|
|
397
|
+
* The current user must be authorized to publish nodes or a <code>ConstraintViolationException</code> will be thrown.
|
|
398
|
+
* </p>
|
|
399
|
+
* @author Mikael Wikblom
|
|
400
|
+
* @since Sitevision 2.6.1_04
|
|
401
|
+
*/
|
|
402
|
+
declare namespace PublishingUtil {
|
|
403
|
+
export { publishNode, publishNodeWithNotification, unpublishNode };
|
|
68
404
|
}
|
|
69
405
|
|
|
70
|
-
export default
|
|
406
|
+
export default PublishingUtil;
|