Uses of Interface
com.atlassian.confluence.content.datasource.DataSource
Packages that use DataSource
Package
Description
-
Uses of DataSource in com.atlassian.confluence.content.datasource
Methods in com.atlassian.confluence.content.datasource that return DataSourceModifier and TypeMethodDescriptionstatic DataSourceDataSource.from(jakarta.activation.DataSource ds) DataSourceFactory.getAvatar(ConfluenceUser user) Construct a DataSource for a user's profile picture.DataSourceFactory.getDatasource(Attachment attachment, boolean useThumbnail) DataSourceFactory.getDataSource(byte[] bytes, String mimeType) DataSourceFactory.getDataSource(InputStream inputStream, String mimeType) DataSourceFactory.getServletContainerResource(String path, String name) DataSourceFactory.getSpaceLogo(Space space) Encapsulates the logo for the givenSpacein aDataSource.DataSourceFactory.getURLResource(URL url, String name) Methods in com.atlassian.confluence.content.datasource that return types with arguments of type DataSourceModifier and TypeMethodDescriptionDataSourceFactory.getResourceFromModuleByName(com.atlassian.plugin.ModuleCompleteKey moduleKey, String resourceName) Extract a resource identified by name from a module and expose it asDataSource.default Iterable<DataSource> DataSourceFactory.getResourcesFromModules(com.atlassian.plugin.ModuleCompleteKey moduleKey) Extract all resources from a module and expose them asDataSources.DataSourceFactory.getResourcesFromModules(com.atlassian.plugin.ModuleCompleteKey moduleKey, @Nullable Predicate<ResourceModuleDescriptor> filter) Extract resources from a module and expose them asDataSources. -
Uses of DataSource in com.atlassian.confluence.content.render.xhtml.storage
Methods in com.atlassian.confluence.content.render.xhtml.storage that return types with arguments of type DataSourceModifier and TypeMethodDescriptionstatic List<DataSource> InlineTasksUtils.getRequiredResources(DataSourceFactory dataSourceFactory, String htmlContent) Returns the inline task DataSource resources required for the specified content. -
Uses of DataSource in com.atlassian.confluence.content.render.xhtml.view.excerpt
Methods in com.atlassian.confluence.content.render.xhtml.view.excerpt that return types with arguments of type DataSourceModifier and TypeMethodDescriptionDefaultExcerpter.extractImageSrc(ContentEntityObject ceo, int maxImages) DefaultExcerpter.extractImageSrc(ContentEntityObject ceo, int maxImages, boolean alwaysUseThumbnails) Excerpter.extractImageSrc(ContentEntityObject ceo, int numImages) Excerpter.extractImageSrc(ContentEntityObject ceo, int numImages, boolean useThumbnails) -
Uses of DataSource in com.atlassian.confluence.mail
Methods in com.atlassian.confluence.mail with parameters of type DataSourceMethod parameters in com.atlassian.confluence.mail with type arguments of type DataSource -
Uses of DataSource in com.atlassian.confluence.mail.embed
Classes in com.atlassian.confluence.mail.embed that implement DataSourceModifier and TypeClassDescriptionclassDataSource decorator that custom-URL-encodes the name for use with a MimeBodyPart.Methods in com.atlassian.confluence.mail.embed that return DataSourceModifier and TypeMethodDescriptionMimeBodyPartReference.getDataSource()MimeBodyPartDataSource.getWrappedSource()Methods in com.atlassian.confluence.mail.embed with parameters of type DataSourceModifier and TypeMethodDescriptionMimeBodyPartRecorder.trackSource(DataSource source) Track the given image source.ThreadLocalMimeBodyPartRecorder.trackSource(DataSource source) Constructors in com.atlassian.confluence.mail.embed with parameters of type DataSourceModifierConstructorDescriptionMimeBodyPartDataSource(DataSource source) MimeBodyPartReference(DataSource source) -
Uses of DataSource in com.atlassian.confluence.mail.notification.listeners
Methods in com.atlassian.confluence.mail.notification.listeners with parameters of type DataSourceModifier and TypeMethodDescriptionvoidNotificationData.addTemplateImage(DataSource dataSource) Adds a datasource to the current set of datasources for all emails.Constructor parameters in com.atlassian.confluence.mail.notification.listeners with type arguments of type DataSourceModifierConstructorDescriptionNotificationData(com.atlassian.user.User modifier, boolean shouldNotifyOnOwnActions, ConfluenceEntityObject permissionEntity, String subject, String templateName, Collection<DataSource> templateImageDataSources) -
Uses of DataSource in com.atlassian.confluence.mail.template
Methods in com.atlassian.confluence.mail.template with parameters of type DataSourceModifier and TypeMethodDescriptionPreRenderedMailNotificationQueueItem.Builder.andRelatedBodyPart(DataSource relatedBodyPart) Method parameters in com.atlassian.confluence.mail.template with type arguments of type DataSourceModifier and TypeMethodDescriptionPreRenderedMailNotificationQueueItem.Builder.andRelatedBodyParts(Iterable<? extends DataSource> relatedBodyParts) -
Uses of DataSource in com.atlassian.confluence.plugin.descriptor.mail
Methods in com.atlassian.confluence.plugin.descriptor.mail that return types with arguments of type DataSourceMethods in com.atlassian.confluence.plugin.descriptor.mail with parameters of type DataSourceModifier and TypeMethodDescriptionvoidNotificationContext.addTemplateImage(DataSource dataSource) Adds a datasource to the current set of datasources for 1 instance of notification.Constructor parameters in com.atlassian.confluence.plugin.descriptor.mail with type arguments of type DataSourceModifierConstructorDescriptionNotificationContext(NotificationContext context, Set<DataSource> dataSources)