@sitevision/api 1.0.19 → 1.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/router/index.d.ts +1 -1
- package/hidden/javax/jcr/Binary/index.d.ts +86 -0
- package/hidden/javax/jcr/Credentials/index.d.ts +11 -0
- package/hidden/javax/jcr/ImportUUIDBehavior/index.d.ts +11 -0
- package/hidden/javax/jcr/Item/index.d.ts +353 -0
- package/hidden/javax/jcr/ItemVisitor/index.d.ts +41 -0
- package/hidden/javax/jcr/NamespaceRegistry/index.d.ts +100 -0
- package/hidden/javax/jcr/Node/index.d.ts +2808 -0
- package/hidden/javax/jcr/NodeIterator/index.d.ts +18 -0
- package/hidden/javax/jcr/Property/index.d.ts +801 -0
- package/hidden/javax/jcr/PropertyIterator/index.d.ts +17 -0
- package/hidden/javax/jcr/RangeIterator/index.d.ts +75 -0
- package/hidden/javax/jcr/Repository/index.d.ts +318 -0
- package/hidden/javax/jcr/RepositoryFactory/index.d.ts +90 -0
- package/hidden/javax/jcr/Value/index.d.ts +190 -0
- package/hidden/javax/jcr/ValueFactory/index.d.ts +179 -0
- package/hidden/javax/jcr/Workspace/index.d.ts +1061 -0
- package/hidden/javax/jcr/lock/Lock/index.d.ts +142 -0
- package/hidden/javax/jcr/lock/LockManager/index.d.ts +217 -0
- package/hidden/javax/jcr/nodetype/ItemDefinition/index.d.ts +219 -0
- package/hidden/javax/jcr/nodetype/NodeDefinition/index.d.ts +158 -0
- package/hidden/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +74 -0
- package/hidden/javax/jcr/nodetype/NodeType/index.d.ts +349 -0
- package/hidden/javax/jcr/nodetype/NodeTypeDefinition/index.d.ts +248 -0
- package/hidden/javax/jcr/nodetype/NodeTypeIterator/index.d.ts +16 -0
- package/hidden/javax/jcr/nodetype/NodeTypeManager/index.d.ts +218 -0
- package/hidden/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +98 -0
- package/hidden/javax/jcr/nodetype/PropertyDefinition/index.d.ts +536 -0
- package/hidden/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +97 -0
- package/hidden/javax/jcr/observation/Event/index.d.ts +133 -0
- package/hidden/javax/jcr/observation/EventIterator/index.d.ts +20 -0
- package/hidden/javax/jcr/observation/EventJournal/index.d.ts +22 -0
- package/hidden/javax/jcr/observation/EventListener/index.d.ts +23 -0
- package/hidden/javax/jcr/observation/EventListenerIterator/index.d.ts +20 -0
- package/hidden/javax/jcr/observation/ObservationManager/index.d.ts +227 -0
- package/hidden/javax/jcr/query/Query/index.d.ts +201 -0
- package/hidden/javax/jcr/query/QueryManager/index.d.ts +73 -0
- package/hidden/javax/jcr/query/QueryResult/index.d.ts +51 -0
- package/hidden/javax/jcr/query/Row/index.d.ts +159 -0
- package/hidden/javax/jcr/query/RowIterator/index.d.ts +20 -0
- package/hidden/javax/jcr/query/qom/And/index.d.ts +26 -0
- package/hidden/javax/jcr/query/qom/BindVariableValue/index.d.ts +15 -0
- package/hidden/javax/jcr/query/qom/ChildNode/index.d.ts +27 -0
- package/hidden/javax/jcr/query/qom/ChildNodeJoinCondition/index.d.ts +27 -0
- package/hidden/javax/jcr/query/qom/Column/index.d.ts +39 -0
- package/hidden/javax/jcr/query/qom/Comparison/index.d.ts +82 -0
- package/hidden/javax/jcr/query/qom/Constraint/index.d.ts +13 -0
- package/hidden/javax/jcr/query/qom/DescendantNode/index.d.ts +31 -0
- package/hidden/javax/jcr/query/qom/DescendantNodeJoinCondition/index.d.ts +29 -0
- package/hidden/javax/jcr/query/qom/DynamicOperand/index.d.ts +9 -0
- package/hidden/javax/jcr/query/qom/EquiJoinCondition/index.d.ts +41 -0
- package/hidden/javax/jcr/query/qom/FullTextSearch/index.d.ts +89 -0
- package/hidden/javax/jcr/query/qom/FullTextSearchScore/index.d.ts +24 -0
- package/hidden/javax/jcr/query/qom/Join/index.d.ts +36 -0
- package/hidden/javax/jcr/query/qom/JoinCondition/index.d.ts +9 -0
- package/hidden/javax/jcr/query/qom/Length/index.d.ts +24 -0
- package/hidden/javax/jcr/query/qom/Literal/index.d.ts +18 -0
- package/hidden/javax/jcr/query/qom/LowerCase/index.d.ts +26 -0
- package/hidden/javax/jcr/query/qom/NodeLocalName/index.d.ts +16 -0
- package/hidden/javax/jcr/query/qom/NodeName/index.d.ts +16 -0
- package/hidden/javax/jcr/query/qom/Not/index.d.ts +20 -0
- package/hidden/javax/jcr/query/qom/Operand/index.d.ts +9 -0
- package/hidden/javax/jcr/query/qom/Or/index.d.ts +30 -0
- package/hidden/javax/jcr/query/qom/Ordering/index.d.ts +53 -0
- package/hidden/javax/jcr/query/qom/PropertyExistence/index.d.ts +24 -0
- package/hidden/javax/jcr/query/qom/PropertyValue/index.d.ts +25 -0
- package/hidden/javax/jcr/query/qom/QueryObjectModel/index.d.ts +64 -0
- package/hidden/javax/jcr/query/qom/QueryObjectModelConstants/index.d.ts +9 -0
- package/hidden/javax/jcr/query/qom/QueryObjectModelFactory/index.d.ts +638 -0
- package/hidden/javax/jcr/query/qom/SameNode/index.d.ts +27 -0
- package/hidden/javax/jcr/query/qom/SameNodeJoinCondition/index.d.ts +36 -0
- package/hidden/javax/jcr/query/qom/Selector/index.d.ts +35 -0
- package/hidden/javax/jcr/query/qom/Source/index.d.ts +9 -0
- package/hidden/javax/jcr/query/qom/StaticOperand/index.d.ts +10 -0
- package/hidden/javax/jcr/query/qom/UpperCase/index.d.ts +26 -0
- package/hidden/javax/jcr/retention/Hold/index.d.ts +34 -0
- package/hidden/javax/jcr/retention/RetentionManager/index.d.ts +189 -0
- package/hidden/javax/jcr/retention/RetentionPolicy/index.d.ts +21 -0
- package/hidden/javax/jcr/security/AccessControlEntry/index.d.ts +24 -0
- package/hidden/javax/jcr/security/AccessControlList/index.d.ts +91 -0
- package/hidden/javax/jcr/security/AccessControlManager/index.d.ts +297 -0
- package/hidden/javax/jcr/security/AccessControlPolicy/index.d.ts +11 -0
- package/hidden/javax/jcr/security/AccessControlPolicyIterator/index.d.ts +20 -0
- package/hidden/javax/jcr/security/NamedAccessControlPolicy/index.d.ts +22 -0
- package/hidden/javax/jcr/security/Privilege/index.d.ts +117 -0
- package/hidden/javax/jcr/version/Version/index.d.ts +121 -0
- package/hidden/javax/jcr/version/VersionHistory/index.d.ts +307 -0
- package/hidden/javax/jcr/version/VersionIterator/index.d.ts +20 -0
- package/hidden/javax/jcr/version/VersionManager/index.d.ts +1082 -0
- package/hidden/senselogic/sitevision/api/base/Builder/index.d.ts +102 -0
- package/hidden/senselogic/sitevision/api/base/Filter/index.d.ts +25 -0
- package/hidden/senselogic/sitevision/api/base/FilterSplit/index.d.ts +50 -0
- package/hidden/senselogic/sitevision/api/base/Loadable/index.d.ts +15 -0
- package/hidden/senselogic/sitevision/api/base/Resolver/index.d.ts +31 -0
- package/hidden/senselogic/sitevision/api/base/Wrapper/index.d.ts +24 -0
- package/hidden/senselogic/sitevision/api/collaboration/CollaborationGroupWrapper/index.d.ts +417 -0
- package/hidden/senselogic/sitevision/api/format/NumericFormatter/index.d.ts +80 -0
- package/hidden/senselogic/sitevision/api/format/NumericFormatterBuilder/index.d.ts +100 -0
- package/hidden/senselogic/sitevision/api/i18n/Currency/index.d.ts +120 -0
- package/hidden/senselogic/sitevision/api/link/CustomLinkProcessor/index.d.ts +45 -0
- package/hidden/senselogic/sitevision/api/link/CustomLinkRenderData/index.d.ts +65 -0
- package/hidden/senselogic/sitevision/api/mail/Mail/index.d.ts +32 -0
- package/hidden/senselogic/sitevision/api/message/MessageTextLinker/index.d.ts +15 -0
- package/hidden/senselogic/sitevision/api/metadata/value/LinkValue/index.d.ts +23 -0
- package/hidden/senselogic/sitevision/api/metadata/value/RelatedValue/index.d.ts +23 -0
- package/hidden/senselogic/sitevision/api/property/VersionedPropertyUtil/index.d.ts +642 -0
- package/hidden/senselogic/sitevision/api/render/BuddyIconRenderer/BuddyIconInfo/index.d.ts +51 -0
- package/hidden/senselogic/sitevision/api/render/ImageScaler/index.d.ts +58 -0
- package/hidden/senselogic/sitevision/api/render/TextModuleRenderer/index.d.ts +301 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ArticleUtilConstants/index.d.ts +85 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/ExceptionSuppressingProxyConstants/index.d.ts +31 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/IndexingUtilConstants/index.d.ts +31 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/LinkPageUtilConstants/index.d.ts +67 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MathInstanceConstants/index.d.ts +25 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/MimeTypeUtilConstants/index.d.ts +19 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/NodeTypeUtilConstants/index.d.ts +1243 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/OutputUtilConstants/index.d.ts +31 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PageUtilConstants/index.d.ts +91 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletContextUtilConstants/index.d.ts +27 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/PortletUtilConstants/index.d.ts +19 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/QueryStringUtilConstants/index.d.ts +19 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchHitConstants/index.d.ts +25 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/SearchResultConstants/index.d.ts +37 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/VersionUtilConstants/index.d.ts +25 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityAccess/index.d.ts +8 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityContext/index.d.ts +50 -0
- package/hidden/senselogic/sitevision/api/render/velocity/VelocityEvaluator/index.d.ts +89 -0
- package/hidden/senselogic/sitevision/api/script/RequesterChainable/index.d.ts +119 -0
- package/hidden/senselogic/sitevision/api/script/app/RestAppInvoker/index.d.ts +272 -0
- package/hidden/senselogic/sitevision/api/script/factory/TypedArgument/index.d.ts +43 -0
- package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingCollection/index.d.ts +94 -0
- package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingIterator/index.d.ts +117 -0
- package/hidden/senselogic/sitevision/api/script/proxy/ExceptionSuppressingProxy/index.d.ts +90 -0
- package/hidden/senselogic/sitevision/api/search/SearchFieldUtil/index.d.ts +89 -0
- package/hidden/senselogic/sitevision/api/search/SearchHighlighter/index.d.ts +45 -0
- package/hidden/senselogic/sitevision/api/search/SearchHit/index.d.ts +1176 -0
- package/hidden/senselogic/sitevision/api/search/SearchResult/index.d.ts +414 -0
- package/hidden/senselogic/sitevision/api/search/facet/SearchFacetField/index.d.ts +27 -0
- package/hidden/senselogic/sitevision/api/search/facet/SearchFacetValue/index.d.ts +61 -0
- package/hidden/senselogic/sitevision/api/search/searcher/Searcher/index.d.ts +277 -0
- package/hidden/senselogic/sitevision/api/search/searcher/component/Filter/index.d.ts +25 -0
- package/hidden/senselogic/sitevision/api/search/searcher/component/Highlight/index.d.ts +29 -0
- package/hidden/senselogic/sitevision/api/search/searcher/component/Monitor/index.d.ts +25 -0
- package/hidden/senselogic/sitevision/api/search/searcher/component/Parser/index.d.ts +35 -0
- package/hidden/senselogic/sitevision/api/search/searcher/component/Sort/index.d.ts +25 -0
- package/hidden/senselogic/sitevision/api/search/searcher/component/SpellCheck/index.d.ts +29 -0
- package/hidden/senselogic/sitevision/api/search/sort/CustomSort/index.d.ts +82 -0
- package/hidden/senselogic/sitevision/api/search/suggestion/SearchSuggestion/index.d.ts +21 -0
- package/hidden/senselogic/sitevision/api/security/DirectoryAttributes/index.d.ts +70 -0
- package/hidden/senselogic/sitevision/api/security/MessageDigester/index.d.ts +50 -0
- package/hidden/senselogic/sitevision/api/security/RoleAssignment/index.d.ts +72 -0
- package/hidden/senselogic/sitevision/api/security/RoleMatcher/index.d.ts +29 -0
- package/hidden/senselogic/sitevision/api/security/SecretStore/index.d.ts +55 -0
- package/hidden/senselogic/sitevision/api/security/UserUtil/index.d.ts +80 -0
- package/hidden/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilter/index.d.ts +36 -0
- package/hidden/senselogic/sitevision/api/security/jaas/filter/AuthenticationFilterChain/index.d.ts +32 -0
- package/hidden/senselogic/sitevision/api/user/UserIdentityWrapper/index.d.ts +599 -0
- package/hidden/senselogic/sitevision/api/webresource/LinkTarget/index.d.ts +20 -0
- package/hidden/senselogic/sitevision/api/xml/XmlElement/index.d.ts +55 -0
- package/hidden/senselogic/sitevision/api/xml/XmlElementHandler/index.d.ts +17 -0
- package/package.json +2 -4
- package/server/AliasUtil/index.d.ts +25 -0
- package/server/AliasUtil/index.js +10 -0
- package/server/ArchiveUtil/index.d.ts +65 -11
- package/server/ArraysInstance/index.d.ts +1846 -0
- package/server/ArticleUtil/index.d.ts +381 -69
- package/server/AuthenticationUtil/index.d.ts +106 -0
- package/server/BookmarkUtil/index.d.ts +36 -28
- package/server/BuddyIconRenderer/index.d.ts +240 -0
- package/server/ClientUtil/index.d.ts +18 -4
- package/server/CollaborationFactory/index.d.ts +42 -25
- package/server/CollaborationGroupFolderUtil/index.d.ts +40 -29
- package/server/CollaborationGroupTemplateUtil/index.d.ts +71 -39
- package/server/CollaborationGroupUtil/index.d.ts +128 -55
- package/server/CollectionsInstance/index.d.ts +738 -0
- package/server/ColorUtil/index.d.ts +22 -17
- package/server/CompoundAndFilterBuilder/index.d.ts +60 -0
- package/server/CompoundComparatorBuilder/index.d.ts +63 -0
- package/server/CompoundOrFilterBuilder/index.d.ts +59 -0
- package/server/ContentNodeUtil/index.d.ts +76 -0
- package/server/CurrencyFactory/index.d.ts +135 -0
- package/server/DateUtil/index.d.ts +154 -77
- package/server/DecorationUtil/index.d.ts +23 -0
- package/server/DeviceUtil/index.d.ts +36 -0
- package/server/DirectoryUtil/index.d.ts +107 -47
- package/server/DocTypeUtil/index.d.ts +149 -0
- package/server/EndecUtil/index.d.ts +537 -91
- package/server/ExtendedDismaxParserBuilder/index.d.ts +311 -0
- package/server/FileIconRenderer/index.d.ts +346 -0
- package/server/FileUtil/index.d.ts +462 -0
- package/server/FilterBuilder/index.d.ts +120 -0
- package/server/FolderUtil/index.d.ts +161 -0
- package/server/FontUtil/index.d.ts +49 -0
- package/server/FormatterBuilderFactory/index.d.ts +129 -0
- package/server/HighlightBuilder/index.d.ts +194 -0
- package/server/IconUtil/index.d.ts +37 -0
- package/server/ImageLinkRenderer/index.d.ts +134 -0
- package/server/ImageRenderer/index.d.ts +613 -231
- package/server/ImageUtil/index.d.ts +430 -0
- package/server/IndexUtil/index.d.ts +71 -0
- package/server/IndexingUtil/index.d.ts +92 -0
- package/server/InstanceCreatorUtil/index.d.ts +661 -0
- package/server/InstanceTypeUtil/index.d.ts +202 -0
- package/server/JwtUtil/index.d.ts +217 -0
- package/server/LandingPageUtil/index.d.ts +67 -50
- package/server/LinkPageUtil/index.d.ts +468 -0
- package/server/LinkRenderer/index.d.ts +1157 -0
- package/server/LinkTargetBuilder/index.d.ts +146 -0
- package/server/LinkValueBuilder/index.d.ts +129 -52
- package/server/ListWrapper/index.d.ts +172 -0
- package/server/LocaleUtil/index.d.ts +695 -61
- package/server/LogUtil/index.d.ts +118 -77
- package/server/MailBuilder/index.d.ts +238 -0
- package/server/MailUtil/index.d.ts +98 -0
- package/server/MathInstance/index.d.ts +681 -0
- package/server/MessageDigesterFactory/index.d.ts +49 -0
- package/server/MetadataDefinitionUtil/index.d.ts +118 -0
- package/server/MetadataUtil/index.d.ts +524 -79
- package/server/MimeTypeUtil/index.d.ts +316 -0
- package/server/MonitorBuilder/index.d.ts +51 -0
- package/server/NodeComparatorUtil/index.d.ts +397 -0
- package/server/NodeFactoryUtil/index.d.ts +32 -0
- package/server/NodeFilterUtil/index.d.ts +924 -0
- package/server/NodeIteratorUtil/index.d.ts +322 -72
- package/server/NodeResolverUtil/index.d.ts +767 -0
- package/server/NodeTreeUtil/index.d.ts +339 -63
- package/server/NodeTypeUtil/index.d.ts +391 -197
- package/server/OfflineVersionPropertyUtil/index.d.ts +30 -0
- package/server/OnlineVersionPropertyUtil/index.d.ts +30 -0
- package/server/OutputUtil/index.d.ts +641 -0
- package/server/PageUtil/index.d.ts +330 -0
- package/server/PermissionUtil/index.d.ts +650 -0
- package/server/PortletContextUtil/index.d.ts +118 -37
- package/server/PortletContextUtil/index.js +1 -0
- package/server/PortletUtil/index.d.ts +40 -0
- package/server/PrincipalUtil/index.d.ts +51 -0
- package/server/Properties/index.d.ts +185 -38
- package/server/PropertyUtil/index.d.ts +2330 -406
- package/server/PublishingUtil/index.d.ts +385 -49
- package/server/QueryStringUtil/index.d.ts +737 -0
- package/server/RedirectUtil/index.d.ts +98 -0
- package/server/RelatedValueBuilder/index.d.ts +81 -39
- package/server/Requester/index.d.ts +441 -65
- package/server/ResourceLocatorUtil/index.d.ts +483 -227
- package/server/RestApi/index.d.ts +208 -23
- package/server/RestAppInvokerFactory/index.d.ts +73 -0
- package/server/RoleAssignmentBuilder/index.d.ts +60 -0
- package/server/RoleMatcherBuilder/index.d.ts +59 -0
- package/server/RoleUtil/index.d.ts +57 -0
- package/server/ScriptUtil/index.d.ts +625 -143
- package/server/SearchFactory/index.d.ts +133 -0
- package/server/SearchUtil/index.d.ts +164 -0
- package/server/SearcherBuilder/index.d.ts +260 -0
- package/server/Session/index.d.ts +1758 -0
- package/server/SimpleUserUtil/index.d.ts +39 -30
- package/server/SiteCookieUtil/index.d.ts +78 -53
- package/server/SortBuilder/index.d.ts +111 -0
- package/server/SpellCheckBuilder/index.d.ts +68 -0
- package/server/StandardParserBuilder/index.d.ts +112 -0
- package/server/StructureUtil/index.d.ts +167 -0
- package/server/SubscriberUtil/index.d.ts +122 -0
- package/server/SubscriptionUtil/index.d.ts +197 -0
- package/server/SystemUserUtil/index.d.ts +201 -98
- package/server/TagUtil/index.d.ts +193 -0
- package/server/TemplateUtil/index.d.ts +217 -0
- package/server/TemporaryFileNodeBuilder/index.d.ts +63 -0
- package/server/TemporaryNodeBuilder/index.d.ts +241 -0
- package/server/TextModuleRendererBuilder/index.d.ts +68 -0
- package/server/TimestampUtil/index.d.ts +98 -82
- package/server/TranslationUtil/index.d.ts +175 -0
- package/server/TrashcanUtil/index.d.ts +193 -24
- package/server/UserDataUtil/index.d.ts +167 -85
- package/server/UserFactory/index.d.ts +45 -30
- package/server/UserFieldRenderer/index.d.ts +258 -0
- package/server/UserIdentityUtil/index.d.ts +61 -29
- package/server/UserUtil/index.d.ts +69 -28
- package/server/Utils/index.d.ts +870 -12
- package/server/VelocityRenderer/index.d.ts +248 -0
- package/server/VersionUtil/index.d.ts +15 -12
- package/server/WebContentUtil/index.d.ts +644 -0
- package/server/WebResourceFactory/index.d.ts +66 -0
- package/server/XSLTUtil/index.d.ts +49 -10
- package/server/XmlParserUtil/index.d.ts +82 -81
- package/builtins/Binary/index.d.ts +0 -3
- package/builtins/Calendar/index.d.ts +0 -3
- package/builtins/Collection/index.d.ts +0 -3
- package/builtins/Date/index.d.ts +0 -3
- package/builtins/InputStream/index.d.ts +0 -3
- package/builtins/Instant/index.d.ts +0 -3
- package/builtins/List/index.d.ts +0 -3
- package/builtins/LocalDateTime/index.d.ts +0 -3
- package/builtins/Locale/index.d.ts +0 -3
- package/builtins/Node/index.d.ts +0 -3
- package/builtins/NodeIterator/index.d.ts +0 -27
- package/builtins/Property/index.d.ts +0 -3
- package/builtins/Serializable/index.d.ts +0 -3
- package/builtins/Set/index.d.ts +0 -3
- package/builtins/Throwable/index.d.ts +0 -3
- package/builtins/byte/index.d.ts +0 -3
|
@@ -0,0 +1,642 @@
|
|
|
1
|
+
import Binary from "../../../../../javax/jcr/Binary";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Utility interface for getting Node property values in a specific version.
|
|
5
|
+
*
|
|
6
|
+
* <p>
|
|
7
|
+
* This is an exotic sibling interface to {@link senselogic.sitevision.api.property.PropertyUtil} that can be used to extract property
|
|
8
|
+
* values from another version than the one you are currently executing in. If you don't know what a version is or haven't
|
|
9
|
+
* thought much about it, you would typically use the "normal" property extraction interface - {@link PropertyUtil}.
|
|
10
|
+
* </p>
|
|
11
|
+
*
|
|
12
|
+
* <p>
|
|
13
|
+
* <strong>Performance note!</strong> {@link PropertyUtil} will always outperform <code>VersionedPropertyUtil</code> when executing
|
|
14
|
+
* in the same version! <em>(Tip! Use {@link senselogic.sitevision.api.versioning.VersionUtil#getCurrentVersion()} to check what
|
|
15
|
+
* version you are currently executing in to decide if you should use <code>PropertyUtil</code> or <code>VersionedPropertyUtil</code>)</em>.
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* <p>
|
|
19
|
+
* <strong>Note!</strong> Ensure to take the necessary precautions when using this interface. Even if a node exists in the
|
|
20
|
+
* version you are currently executing in, it might not exist in another version.
|
|
21
|
+
* </p>
|
|
22
|
+
*
|
|
23
|
+
* <p>
|
|
24
|
+
* <strong>An example</strong> of a usecase where you actually might need to use this interface instead of <code>PropertyUtil</code>:
|
|
25
|
+
* <em>You have a function that depends on "Friendly URL" values. Since Friendly URLs only exist in the ONLINE ("published")
|
|
26
|
+
* version, you might need this interface to ensure that your function will work properly in the OFFLINE version ("editing mode") as well.
|
|
27
|
+
* Velocity excerpt below:</em>
|
|
28
|
+
* </p>
|
|
29
|
+
* <pre><code>
|
|
30
|
+
* <em>## Extract display name</em>
|
|
31
|
+
* #set ($propertyUtil = ...)
|
|
32
|
+
* #set ($theName = $propertyUtil.getString($myNode, 'displayName'))
|
|
33
|
+
*
|
|
34
|
+
* <em>## Extract online URL when possible</em>
|
|
35
|
+
* #set ($theURL = '')
|
|
36
|
+
* #set ($versionUtil = ...)
|
|
37
|
+
* #if ($versionUtil.currentVersion != $versionUtil.ONLINE_VERSION)
|
|
38
|
+
* #set ($versionedPropertyUtil = $sitevisionUtils.getVersionedPropertyUtil($versionUtil.ONLINE_VERSION))
|
|
39
|
+
* #set ($theURL = $versionedPropertyUtil.getString($myNode.identifier, 'URL', ''))
|
|
40
|
+
* #end
|
|
41
|
+
* #if ($theURL == '')
|
|
42
|
+
* #set ($theURL = $propertyUtil.getString($myNode, 'URL'))
|
|
43
|
+
* #end</code></pre>
|
|
44
|
+
*
|
|
45
|
+
* <p>
|
|
46
|
+
* An instance of the Sitevision class implementing this interface can be obtained via
|
|
47
|
+
* {@link senselogic.sitevision.api.Utils#getVersionedPropertyUtil(int)}.
|
|
48
|
+
* See {@link senselogic.sitevision.api.Utils} for how to obtain an instance of the <code>Utils</code> interface.
|
|
49
|
+
* </p>Gets a String property from a potential Node in a specific version.
|
|
50
|
+
*
|
|
51
|
+
* <p>
|
|
52
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
53
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
54
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
55
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
56
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
57
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
58
|
+
* </p>Gets a String property from a potential Node in a specific version - with a fallback value if the property doesn't exist.
|
|
59
|
+
*
|
|
60
|
+
* <p>
|
|
61
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
62
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
63
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
64
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
65
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
66
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
67
|
+
* </p>Gets a String property from a potential "nested" Node's property in a specific version.
|
|
68
|
+
* (i.e. the base <code>Node</code> has a property that is a <code>Node</code>,
|
|
69
|
+
* and that "inner/nested" <code>Node</code> has a <code>String</code> property).
|
|
70
|
+
*
|
|
71
|
+
* <p>
|
|
72
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aNodePropertyName</code> and <code>aPropertyName</code>).
|
|
73
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
74
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
75
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
76
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
77
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
78
|
+
* </p>Gets a String property from a potential "nested" Node's property in a specific version - with a fallback value if the property doesn't exist.
|
|
79
|
+
* (i.e. the base <code>Node</code> has a property that is a <code>Node</code>,
|
|
80
|
+
* and that "inner/nested" <code>Node</code> has a <code>String</code> property).
|
|
81
|
+
*
|
|
82
|
+
* <p>
|
|
83
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aNodePropertyName</code> and <code>aPropertyName</code>).
|
|
84
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
85
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
86
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
87
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
88
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
89
|
+
* </p>Gets a <code>List</code> of property values from a potential Node in a specific version.
|
|
90
|
+
*
|
|
91
|
+
* <p>
|
|
92
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
93
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
94
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
95
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
96
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
97
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
98
|
+
* </p>Gets a <code>List</code> of property values from a potential Node in a specific version - with a fallback value if the property doesn't exist.
|
|
99
|
+
*
|
|
100
|
+
* <p>
|
|
101
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
102
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
103
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
104
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
105
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
106
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
107
|
+
* </p>Gets a <code>List</code> of property values from a potential "nested" Node's property in a specific version.
|
|
108
|
+
* (i.e. the base <code>Node</code> has a property that is a <code>Node</code>,
|
|
109
|
+
* and that "inner/nested" <code>Node</code> has a <code>String</code> property).
|
|
110
|
+
*
|
|
111
|
+
* <p>
|
|
112
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aNodePropertyName</code> and <code>aPropertyName</code>).
|
|
113
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
114
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
115
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
116
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
117
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
118
|
+
* </p>Gets a <code>List</code> of property values from a potential "nested" Node's property in a specific version
|
|
119
|
+
* - with a fallback value if the property doesn't exist.
|
|
120
|
+
* (i.e. the base <code>Node</code> has a property that is a <code>Node</code>,
|
|
121
|
+
* and that "inner/nested" <code>Node</code> has a <code>String</code> property).
|
|
122
|
+
*
|
|
123
|
+
* <p>
|
|
124
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aNodePropertyName</code> and <code>aPropertyName</code>).
|
|
125
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
126
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
127
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
128
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
129
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
130
|
+
* </p>Gets an int property from a potential Node in a specific version.
|
|
131
|
+
*
|
|
132
|
+
* <p>
|
|
133
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
134
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
135
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
136
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
137
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
138
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
139
|
+
* </p>Gets an int property from a potential node in a specific version - with a fallback value if the property doesn't exist.
|
|
140
|
+
*
|
|
141
|
+
* <p>
|
|
142
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
143
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
144
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
145
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
146
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
147
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
148
|
+
* </p>Gets a boolean property from a potential Node in a specific version.
|
|
149
|
+
*
|
|
150
|
+
* <p>
|
|
151
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
152
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
153
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
154
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
155
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
156
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
157
|
+
* </p>Gets a boolean property from a potential Node in a specific version - with a fallback value if the property doesn't exist.
|
|
158
|
+
*
|
|
159
|
+
* <p>
|
|
160
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
161
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
162
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
163
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
164
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
165
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
166
|
+
* </p>Gets a Calendar property from a potential Node in a specific version.
|
|
167
|
+
*
|
|
168
|
+
* <p>
|
|
169
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
170
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
171
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
172
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
173
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
174
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
175
|
+
* </p>Gets a Calendar property from a potential Node in a specific version - with a fallback value if the property doesn't exist.
|
|
176
|
+
*
|
|
177
|
+
* <p>
|
|
178
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
179
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
180
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
181
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
182
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
183
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
184
|
+
* </p>Gets a double property from a potential Node in a specific version.
|
|
185
|
+
*
|
|
186
|
+
* <p>
|
|
187
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
188
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
189
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
190
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
191
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
192
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
193
|
+
* </p>Gets a double property from a potential Node in a specific version - with a fallback value if the property doesn't exist.
|
|
194
|
+
*
|
|
195
|
+
* <p>
|
|
196
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
197
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
198
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
199
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
200
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
201
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
202
|
+
* </p>Gets a Binary property from a potential Node in a specific version.
|
|
203
|
+
*
|
|
204
|
+
* <p>
|
|
205
|
+
* Ensure to always handle resources appropriately when working with Binary! If you get a stream via {@link javax.jcr.Binary#getStream()},
|
|
206
|
+
* you must also <code>close</code> the stream when you are done.
|
|
207
|
+
* </p>
|
|
208
|
+
*
|
|
209
|
+
* <p>
|
|
210
|
+
* <strong>Note!</strong> The <code>Binary</code> support is limited, see {@link javax.jcr.Property#getBinary()} for more information!
|
|
211
|
+
* </p>
|
|
212
|
+
*
|
|
213
|
+
* <p>
|
|
214
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
215
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
216
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
217
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
218
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
219
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
220
|
+
* </p>Gets a Binary property from a potential Node in a specific version - with a fallback value if the property doesn't exist.
|
|
221
|
+
*
|
|
222
|
+
* <p>
|
|
223
|
+
* Ensure to always handle resources appropriately when working with Binary! If you get a stream via {@link javax.jcr.Binary#getStream()},
|
|
224
|
+
* you must also <code>close</code> the stream when you are done.
|
|
225
|
+
* </p>
|
|
226
|
+
*
|
|
227
|
+
* <p>
|
|
228
|
+
* <strong>Note!</strong> The <code>Binary</code> support is limited, see {@link javax.jcr.Property#getBinary()} for more information!
|
|
229
|
+
* </p>
|
|
230
|
+
*
|
|
231
|
+
* <p>
|
|
232
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
233
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
234
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
235
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
236
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
237
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
238
|
+
* </p>
|
|
239
|
+
* @author Magnus Lövgren
|
|
240
|
+
* @since Sitevision 3.0
|
|
241
|
+
* @see OfflineVersionPropertyUtil
|
|
242
|
+
* @see OnlineVersionPropertyUtil
|
|
243
|
+
*/
|
|
244
|
+
interface VersionedPropertyUtil {
|
|
245
|
+
/**
|
|
246
|
+
* Gets a String property from a potential Node in a specific version.
|
|
247
|
+
*
|
|
248
|
+
* <p>
|
|
249
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
250
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
251
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
252
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
253
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
254
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
255
|
+
* </p>
|
|
256
|
+
* @param aNodeIdentifier the identifier (see {@link javax.jcr.Node#getIdentifier()}) of a potential <code>Node</code> that has a property
|
|
257
|
+
* @param aPropertyName the name of the property
|
|
258
|
+
* @return the value for <code>aPropertyName</code> as <code>String</code>. If no node or property exists, <code>null</code> is returned.
|
|
259
|
+
*/
|
|
260
|
+
getString(aNodeIdentifier: string, aPropertyName: string): string;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Gets a String property from a potential Node in a specific version - with a fallback value if the property doesn't exist.
|
|
264
|
+
*
|
|
265
|
+
* <p>
|
|
266
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
267
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
268
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
269
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
270
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
271
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
272
|
+
* </p>
|
|
273
|
+
* @param aNodeIdentifier the identifier (see {@link javax.jcr.Node#getIdentifier()}) of a potential <code>Node</code> that has a property
|
|
274
|
+
* @param aPropertyName the name of the property
|
|
275
|
+
* @param aDefaultValue fallback value if no value exists
|
|
276
|
+
* @return the value for <code>aPropertyName</code> as <code>String</code>. If no node or property exists, <code>aDefaultValue</code> is returned.
|
|
277
|
+
*/
|
|
278
|
+
getString(
|
|
279
|
+
aNodeIdentifier: string,
|
|
280
|
+
aPropertyName: string,
|
|
281
|
+
aDefaultValue: string
|
|
282
|
+
): string;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Gets a String property from a potential "nested" Node's property in a specific version.
|
|
286
|
+
* (i.e. the base <code>Node</code> has a property that is a <code>Node</code>,
|
|
287
|
+
* and that "inner/nested" <code>Node</code> has a <code>String</code> property).
|
|
288
|
+
*
|
|
289
|
+
* <p>
|
|
290
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aNodePropertyName</code> and <code>aPropertyName</code>).
|
|
291
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
292
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
293
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
294
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
295
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
296
|
+
* </p>
|
|
297
|
+
* @param aNodeIdentifier the identifier (see {@link javax.jcr.Node#getIdentifier()}) of a potential <code>Node</code> that has a property
|
|
298
|
+
* @param aNodePropertyName the name of the "inner/nested" <code>Node</code> that is a property on aNode
|
|
299
|
+
* @param aPropertyName the name of the property for the "inner/nested" <code>Node</code>
|
|
300
|
+
* @return the value for <code>aPropertyName</code> as <code>String</code>. If no node or property exists, <code>null</code> is returned.
|
|
301
|
+
*/
|
|
302
|
+
getNestedString(
|
|
303
|
+
aNodeIdentifier: string,
|
|
304
|
+
aNodePropertyName: string,
|
|
305
|
+
aPropertyName: string
|
|
306
|
+
): string;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Gets a String property from a potential "nested" Node's property in a specific version - with a fallback value if the property doesn't exist.
|
|
310
|
+
* (i.e. the base <code>Node</code> has a property that is a <code>Node</code>,
|
|
311
|
+
* and that "inner/nested" <code>Node</code> has a <code>String</code> property).
|
|
312
|
+
*
|
|
313
|
+
* <p>
|
|
314
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aNodePropertyName</code> and <code>aPropertyName</code>).
|
|
315
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
316
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
317
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
318
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
319
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
320
|
+
* </p>
|
|
321
|
+
* @param aNodeIdentifier the identifier (see {@link javax.jcr.Node#getIdentifier()}) of a potential <code>Node</code> that has a property
|
|
322
|
+
* @param aNodePropertyName the name of the "inner/nested" <code>Node</code> that is a property on aNode
|
|
323
|
+
* @param aPropertyName the name of the property for the "inner/nested" <code>Node</code>
|
|
324
|
+
* @param aDefaultValue fallback value if no value exists
|
|
325
|
+
* @return the value for <code>aPropertyName</code> as <code>String</code>. If no node or property exists, <code>aDefaultValue</code> is returned.
|
|
326
|
+
*/
|
|
327
|
+
getNestedString(
|
|
328
|
+
aNodeIdentifier: string,
|
|
329
|
+
aNodePropertyName: string,
|
|
330
|
+
aPropertyName: string,
|
|
331
|
+
aDefaultValue: string
|
|
332
|
+
): string;
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Gets a <code>List</code> of property values from a potential Node in a specific version.
|
|
336
|
+
*
|
|
337
|
+
* <p>
|
|
338
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
339
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
340
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
341
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
342
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
343
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
344
|
+
* </p>
|
|
345
|
+
* @param aNodeIdentifier the identifier (see {@link javax.jcr.Node#getIdentifier()}) of a potential <code>Node</code> that has a property
|
|
346
|
+
* @param aPropertyName the name of the property
|
|
347
|
+
* @return the value for <code>aPropertyName</code> as <code>String</code>. If the property is single valued a list with one element is returned. If no node or property exists, <code>null</code> is returned.
|
|
348
|
+
*/
|
|
349
|
+
getStrings(aNodeIdentifier: string, aPropertyName: string): unknown[];
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Gets a <code>List</code> of property values from a potential Node in a specific version - with a fallback value if the property doesn't exist.
|
|
353
|
+
*
|
|
354
|
+
* <p>
|
|
355
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
356
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
357
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
358
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
359
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
360
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
361
|
+
* </p>
|
|
362
|
+
* @param aNodeIdentifier the identifier (see {@link javax.jcr.Node#getIdentifier()}) of a potential <code>Node</code> that has a property
|
|
363
|
+
* @param aPropertyName the name of the property
|
|
364
|
+
* @param aDefaultValue fallback value if no value exists
|
|
365
|
+
* @return the value for <code>aPropertyName</code> as <code>String</code>. If the property is single valued a list with one element is returned. If no node or property exists, <code>aDefaultValue</code> is returned.
|
|
366
|
+
*/
|
|
367
|
+
getStrings(
|
|
368
|
+
aNodeIdentifier: string,
|
|
369
|
+
aPropertyName: string,
|
|
370
|
+
aDefaultValue: unknown[]
|
|
371
|
+
): unknown[];
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Gets a <code>List</code> of property values from a potential "nested" Node's property in a specific version.
|
|
375
|
+
* (i.e. the base <code>Node</code> has a property that is a <code>Node</code>,
|
|
376
|
+
* and that "inner/nested" <code>Node</code> has a <code>String</code> property).
|
|
377
|
+
*
|
|
378
|
+
* <p>
|
|
379
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aNodePropertyName</code> and <code>aPropertyName</code>).
|
|
380
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
381
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
382
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
383
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
384
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
385
|
+
* </p>
|
|
386
|
+
* @param aNodeIdentifier the identifier (see {@link javax.jcr.Node#getIdentifier()}) of a potential <code>Node</code> that has a property
|
|
387
|
+
* @param aNodePropertyName the name of the "inner/nested" <code>Node</code> that is a property on aNode
|
|
388
|
+
* @param aPropertyName the name of the property for the "inner/nested" <code>Node</code>
|
|
389
|
+
* @return the value for <code>aPropertyName</code> as <code>String</code>. If the property is single valued a list with one element is returned. If no node or property exists, <code>null</code> is returned.
|
|
390
|
+
*/
|
|
391
|
+
getNestedStrings(
|
|
392
|
+
aNodeIdentifier: string,
|
|
393
|
+
aNodePropertyName: string,
|
|
394
|
+
aPropertyName: string
|
|
395
|
+
): unknown[];
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Gets a <code>List</code> of property values from a potential "nested" Node's property in a specific version
|
|
399
|
+
* - with a fallback value if the property doesn't exist.
|
|
400
|
+
* (i.e. the base <code>Node</code> has a property that is a <code>Node</code>,
|
|
401
|
+
* and that "inner/nested" <code>Node</code> has a <code>String</code> property).
|
|
402
|
+
*
|
|
403
|
+
* <p>
|
|
404
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aNodePropertyName</code> and <code>aPropertyName</code>).
|
|
405
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
406
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
407
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
408
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
409
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
410
|
+
* </p>
|
|
411
|
+
* @param aNodeIdentifier the identifier (see {@link javax.jcr.Node#getIdentifier()}) of a potential <code>Node</code> that has a property
|
|
412
|
+
* @param aNodePropertyName the name of the "inner/nested" <code>Node</code> that is a property on aNode
|
|
413
|
+
* @param aPropertyName the name of the property for the "inner/nested" <code>Node</code>
|
|
414
|
+
* @param aDefaultValue fallback value if no value exists
|
|
415
|
+
* @return the value for <code>aPropertyName</code> as <code>String</code>. If the property is single valued a list with one element is returned. If no node or property exists, <code>aDefaultValue</code> is returned.
|
|
416
|
+
*/
|
|
417
|
+
getNestedStrings(
|
|
418
|
+
aNodeIdentifier: string,
|
|
419
|
+
aNodePropertyName: string,
|
|
420
|
+
aPropertyName: string,
|
|
421
|
+
aDefaultValue: unknown[]
|
|
422
|
+
): unknown[];
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* Gets an int property from a potential Node in a specific version.
|
|
426
|
+
*
|
|
427
|
+
* <p>
|
|
428
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
429
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
430
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
431
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
432
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
433
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
434
|
+
* </p>
|
|
435
|
+
* @param aNodeIdentifier the identifier (see {@link javax.jcr.Node#getIdentifier()}) of a potential <code>Node</code> that has a property
|
|
436
|
+
* @param aPropertyName the name of the property
|
|
437
|
+
* @return the <code>int</code> value for aPropertyName. If no node or property exists or it isn't compatible with an <code>int</code>, 0 is returned.
|
|
438
|
+
*/
|
|
439
|
+
getInt(aNodeIdentifier: string, aPropertyName: string): number;
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Gets an int property from a potential node in a specific version - with a fallback value if the property doesn't exist.
|
|
443
|
+
*
|
|
444
|
+
* <p>
|
|
445
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
446
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
447
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
448
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
449
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
450
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
451
|
+
* </p>
|
|
452
|
+
* @param aNodeIdentifier the identifier (see {@link javax.jcr.Node#getIdentifier()}) of a potential <code>Node</code> that has a property
|
|
453
|
+
* @param aPropertyName the name of the property
|
|
454
|
+
* @param aDefaultValue fallback value if no value exists
|
|
455
|
+
* @return the <code>int</code> value for <code>aPropertyName</code>. If no node or property exists or it isn't compatible with an <code>int</code>, <code>aDefaultValue</code> is returned.
|
|
456
|
+
*/
|
|
457
|
+
getInt(
|
|
458
|
+
aNodeIdentifier: string,
|
|
459
|
+
aPropertyName: string,
|
|
460
|
+
aDefaultValue: number
|
|
461
|
+
): number;
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Gets a boolean property from a potential Node in a specific version.
|
|
465
|
+
*
|
|
466
|
+
* <p>
|
|
467
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
468
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
469
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
470
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
471
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
472
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
473
|
+
* </p>
|
|
474
|
+
* @param aNodeIdentifier the identifier (see {@link javax.jcr.Node#getIdentifier()}) of a potential <code>Node</code> that has a property
|
|
475
|
+
* @param aPropertyName the name of the property
|
|
476
|
+
* @return the value for <code>aPropertyName</code> as <code>boolean</code>. If no node or property exists or it isn't compatible with a <code>boolean</code>, <code>false</code> is returned.
|
|
477
|
+
*/
|
|
478
|
+
getBoolean(aNodeIdentifier: string, aPropertyName: string): boolean;
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* Gets a boolean property from a potential Node in a specific version - with a fallback value if the property doesn't exist.
|
|
482
|
+
*
|
|
483
|
+
* <p>
|
|
484
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
485
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
486
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
487
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
488
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
489
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
490
|
+
* </p>
|
|
491
|
+
* @param aNodeIdentifier the identifier (see {@link javax.jcr.Node#getIdentifier()}) of a potential <code>Node</code> that has a property
|
|
492
|
+
* @param aPropertyName the name of the property
|
|
493
|
+
* @param aDefaultValue fallback value if no value exists
|
|
494
|
+
* @return the value for <code>aPropertyName</code> as <code>boolean</code>. If no node or property exists or it isn't compatible with a <code>boolean</code>, <code>aDefaultValue</code> is returned.
|
|
495
|
+
*/
|
|
496
|
+
getBoolean(
|
|
497
|
+
aNodeIdentifier: string,
|
|
498
|
+
aPropertyName: string,
|
|
499
|
+
aDefaultValue: boolean
|
|
500
|
+
): boolean;
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* Gets a Calendar property from a potential Node in a specific version.
|
|
504
|
+
*
|
|
505
|
+
* <p>
|
|
506
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
507
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
508
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
509
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
510
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
511
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
512
|
+
* </p>
|
|
513
|
+
* @param aNodeIdentifier the identifier (see {@link javax.jcr.Node#getIdentifier()}) of a potential <code>Node</code> that has a property
|
|
514
|
+
* @param aPropertyName the name of the property
|
|
515
|
+
* @return the value for <code>aPropertyName</code> as <code>Calendar</code>. If no node or property exists or it isn't a <code>Calendar</code>, <code>null</code> is returned.
|
|
516
|
+
*/
|
|
517
|
+
getCalendar(aNodeIdentifier: string, aPropertyName: string): unknown;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* Gets a Calendar property from a potential Node in a specific version - with a fallback value if the property doesn't exist.
|
|
521
|
+
*
|
|
522
|
+
* <p>
|
|
523
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
524
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
525
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
526
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
527
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
528
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
529
|
+
* </p>
|
|
530
|
+
* @param aNodeIdentifier the identifier (see {@link javax.jcr.Node#getIdentifier()}) of a potential <code>Node</code> that has a property
|
|
531
|
+
* @param aPropertyName the name of the property
|
|
532
|
+
* @param aDefaultValue fallback value if no value exists
|
|
533
|
+
* @return the value for <code>aPropertyName</code> as <code>Calendar</code>. If no node or property exists or it isn't compatible with a <code>Calendar</code>, <code>aDefaultValue</code> is returned.
|
|
534
|
+
*/
|
|
535
|
+
getCalendar(
|
|
536
|
+
aNodeIdentifier: string,
|
|
537
|
+
aPropertyName: string,
|
|
538
|
+
aDefaultValue: unknown
|
|
539
|
+
): unknown;
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* Gets a double property from a potential Node in a specific version.
|
|
543
|
+
*
|
|
544
|
+
* <p>
|
|
545
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
546
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
547
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
548
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
549
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
550
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
551
|
+
* </p>
|
|
552
|
+
* @param aNodeIdentifier the identifier (see {@link javax.jcr.Node#getIdentifier()}) of a potential <code>Node</code> that has a property
|
|
553
|
+
* @param aPropertyName the name of the property
|
|
554
|
+
* @return the value for <code>aPropertyName</code> as <code>double</code>. If no node or property exists or it isn't a <code>double</code>, <code>0.0</code> is returned.
|
|
555
|
+
* @since Sitevision 3.5
|
|
556
|
+
*/
|
|
557
|
+
getDouble(aNodeIdentifier: string, aPropertyName: string): number;
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* Gets a double property from a potential Node in a specific version - with a fallback value if the property doesn't exist.
|
|
561
|
+
*
|
|
562
|
+
* <p>
|
|
563
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
564
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
565
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
566
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
567
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
568
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
569
|
+
* </p>
|
|
570
|
+
* @param aNodeIdentifier the identifier (see {@link javax.jcr.Node#getIdentifier()}) of a potential <code>Node</code> that has a property
|
|
571
|
+
* @param aPropertyName the name of the property
|
|
572
|
+
* @param aDefaultValue fallback value if no value exists
|
|
573
|
+
* @return the value for <code>aPropertyName</code> as <code>double</code>. If no node or property exists or it isn't compatible with a <code>double</code>, <code>aDefaultValue</code> is returned.
|
|
574
|
+
* @since Sitevision 3.5
|
|
575
|
+
*/
|
|
576
|
+
getDouble(
|
|
577
|
+
aNodeIdentifier: string,
|
|
578
|
+
aPropertyName: string,
|
|
579
|
+
aDefaultValue: number
|
|
580
|
+
): number;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* Gets a Binary property from a potential Node in a specific version.
|
|
584
|
+
*
|
|
585
|
+
* <p>
|
|
586
|
+
* Ensure to always handle resources appropriately when working with Binary! If you get a stream via {@link javax.jcr.Binary#getStream()},
|
|
587
|
+
* you must also <code>close</code> the stream when you are done.
|
|
588
|
+
* </p>
|
|
589
|
+
*
|
|
590
|
+
* <p>
|
|
591
|
+
* <strong>Note!</strong> The <code>Binary</code> support is limited, see {@link javax.jcr.Property#getBinary()} for more information!
|
|
592
|
+
* </p>
|
|
593
|
+
*
|
|
594
|
+
* <p>
|
|
595
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
596
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
597
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
598
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
599
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
600
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
601
|
+
* </p>
|
|
602
|
+
* @param aNodeIdentifier the identifier (see {@link javax.jcr.Node#getIdentifier()}) of a potential <code>Node</code> that has a property
|
|
603
|
+
* @param aPropertyName the name of the property
|
|
604
|
+
* @return the value for <code>aPropertyName</code> as <code>Binary</code>. If no node or property exists or it isn't a <code>Binary</code>, <code>null</code> is returned.
|
|
605
|
+
* @since Sitevision 3.5
|
|
606
|
+
*/
|
|
607
|
+
getBinary(aNodeIdentifier: string, aPropertyName: string): Binary;
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Gets a Binary property from a potential Node in a specific version - with a fallback value if the property doesn't exist.
|
|
611
|
+
*
|
|
612
|
+
* <p>
|
|
613
|
+
* Ensure to always handle resources appropriately when working with Binary! If you get a stream via {@link javax.jcr.Binary#getStream()},
|
|
614
|
+
* you must also <code>close</code> the stream when you are done.
|
|
615
|
+
* </p>
|
|
616
|
+
*
|
|
617
|
+
* <p>
|
|
618
|
+
* <strong>Note!</strong> The <code>Binary</code> support is limited, see {@link javax.jcr.Property#getBinary()} for more information!
|
|
619
|
+
* </p>
|
|
620
|
+
*
|
|
621
|
+
* <p>
|
|
622
|
+
* <strong>Note!</strong> This method does <em>not</em> escape names (i.e. <code>aPropertyName</code>).
|
|
623
|
+
* Illegal characters in node names and property names must always be escaped,
|
|
624
|
+
* typically via {@link senselogic.sitevision.api.text.EndecUtil#escapeJcrName(String)}.
|
|
625
|
+
* For best performance - never escape a name if you are certain that it doesn't contain any illegal characters.
|
|
626
|
+
* Sitevision model properties never contain illegal characters. Though, depending on configuration "dynamic" ones
|
|
627
|
+
* (e.g. metadata properties) might contain illegal characters.
|
|
628
|
+
* </p>
|
|
629
|
+
* @param aNodeIdentifier the identifier (see {@link javax.jcr.Node#getIdentifier()}) of a potential <code>Node</code> that has a property
|
|
630
|
+
* @param aPropertyName the name of the property
|
|
631
|
+
* @param aDefaultValue fallback value if no value exists
|
|
632
|
+
* @return the value for <code>aPropertyName</code> as <code>Binary</code>. f no node or property exists or it isn't compatible with a <code>Binary</code>, <code>aDefaultValue</code> is returned.
|
|
633
|
+
* @since Sitevision 3.5
|
|
634
|
+
*/
|
|
635
|
+
getBinary(
|
|
636
|
+
aNodeIdentifier: string,
|
|
637
|
+
aPropertyName: string,
|
|
638
|
+
aDefaultValue: Binary
|
|
639
|
+
): Binary;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
export default VersionedPropertyUtil;
|