Uses of Class
org.dspace.content.Bitstream
Packages that use Bitstream
Package
Description
Access status allows the users to view the bitstreams availability before
browsing into the item itself.
Feature for conveying a request that materials forbidden to the requester
by resource policy be made available by other means.
Miscellaneous utility classes.
Provides content fixity checking (using checksums)
for bitstreams stored in DSpace software.
Database access for the Checksum Checker tool, which looks for unexpected
changes in Bitstream content.
Provides an API for reading and manipulating content in the DSpace system.
Provides an API and implementations of content packages, used in the context of ingest (SIP), or dissemination (DIP)
Provides an API for storing, retrieving and deleting streams of bits in
a transactionally safe fashion.
Generally useful classes, not particularly tied to any other package.
-
Uses of Bitstream in org.dspace.access.status
Methods in org.dspace.access.status with parameters of type BitstreamModifier and TypeMethodDescriptionAccessStatusServiceImpl.getAccessStatus(Context context, Bitstream bitstream) AccessStatusHelper.getAccessStatusFromBitstream(Context context, Bitstream bitstream, LocalDate threshold, String type) Calculate the access status for the bitstream.DefaultAccessStatusHelper.getAccessStatusFromBitstream(Context context, Bitstream bitstream, LocalDate threshold, String type) Look at the bitstream policies to determine an access status value. -
Uses of Bitstream in org.dspace.access.status.service
Methods in org.dspace.access.status.service with parameters of type BitstreamModifier and TypeMethodDescriptionAccessStatusService.getAccessStatus(Context context, Bitstream bitstream) Calculate the access status for a bitstream while considering the forever embargo date threshold. -
Uses of Bitstream in org.dspace.app.itemimport
Methods in org.dspace.app.itemimport with parameters of type BitstreamModifier and TypeMethodDescriptionprotected voidItemImportServiceImpl.setPermission(Context c, Group g, String rpType, int actionID, Bitstream bs) Set the Permission on a Bitstream. -
Uses of Bitstream in org.dspace.app.itemupdate
Methods in org.dspace.app.itemupdate with parameters of type BitstreamModifier and TypeMethodDescriptionabstract booleanThe filter methodbooleanFilter bitstream based on bundle name found in properties filebooleanTests bitstream by matching the regular expression in the properties against the bitstream namebooleanTests bitstreams for containment in an ORIGINAL bundlebooleanTests bitstream for membership in specified bundles (ORIGINAL, TEXT, THUMBNAIL) -
Uses of Bitstream in org.dspace.app.mediafilter
Methods in org.dspace.app.mediafilter with parameters of type BitstreamModifier and TypeMethodDescriptionbooleanMediaFilterServiceImpl.filterBitstream(Context context, Item myItem, Bitstream myBitstream) voidFormatFilter.postProcessBitstream(Context c, Item item, Bitstream generatedBitstream) Perform any post-processing of the generated bitstream *after* this filter has already been run.voidMediaFilter.postProcessBitstream(Context c, Item item, Bitstream generatedBitstream) Perform any post-processing of the generated bitstream *after* this filter has already been run.booleanFormatFilter.preProcessBitstream(Context c, Item item, Bitstream source, boolean verbose) Perform any pre-processing of the source bitstream *before* the actual filtering takes place in MediaFilterManager.processBitstream().booleanImageMagickThumbnailFilter.preProcessBitstream(Context c, Item item, Bitstream source, boolean verbose) booleanMediaFilter.preProcessBitstream(Context c, Item item, Bitstream source, boolean verbose) Perform any pre-processing of the source bitstream *before* the actual filtering takes place in MediaFilterManager.processBitstream().booleanMediaFilterServiceImpl.processBitstream(Context context, Item item, Bitstream source, FormatFilter formatFilter) voidMediaFilterServiceImpl.updatePoliciesOfDerivativeBitstreams(Context context, Item item, Bitstream source) -
Uses of Bitstream in org.dspace.app.mediafilter.service
Methods in org.dspace.app.mediafilter.service with parameters of type BitstreamModifier and TypeMethodDescriptionbooleanMediaFilterService.filterBitstream(Context c, Item myItem, Bitstream myBitstream) Attempt to filter a bitstream.booleanMediaFilterService.processBitstream(Context context, Item item, Bitstream source, FormatFilter formatFilter) A utility class that calls the virtual methods from the current MediaFilter class.voidMediaFilterService.updatePoliciesOfDerivativeBitstreams(Context context, Item item, Bitstream source) update resource polices of derivative bitstreams related to source bitstream. -
Uses of Bitstream in org.dspace.app.requestitem
Fields in org.dspace.app.requestitem with type parameters of type BitstreamModifier and TypeFieldDescriptionstatic jakarta.persistence.metamodel.SingularAttribute<RequestItem,Bitstream> RequestItem_.bitstreamMethods in org.dspace.app.requestitem that return BitstreamMethods in org.dspace.app.requestitem with parameters of type BitstreamModifier and TypeMethodDescriptionvoidRequestItemServiceImpl.authorizeAccessByAccessToken(Context context, RequestItem requestItem, Bitstream bitstream, String accessToken) Taking into account 'accepted' flag, bitstream id or allfiles flag, decision date and access period, either return cleanly or throw an AuthorizeExceptionvoidRequestItemServiceImpl.authorizeAccessByAccessToken(Context context, Bitstream bitstream, String accessToken) Taking into account 'accepted' flag, bitstream id or allfiles flag, decision date and access period, either return cleanly or throw an AuthorizeExceptionRequestItemServiceImpl.createRequest(Context context, Bitstream bitstream, Item item, boolean allFiles, String reqEmail, String reqName, String reqMessage) Create a new request-a-copy item request. -
Uses of Bitstream in org.dspace.app.requestitem.service
Methods in org.dspace.app.requestitem.service with parameters of type BitstreamModifier and TypeMethodDescriptionvoidRequestItemService.authorizeAccessByAccessToken(Context context, RequestItem requestItem, Bitstream bitstream, String accessToken) Taking into account 'accepted' flag, bitstream id or allfiles flag, decision date and access period, either return cleanly or throw an AuthorizeExceptionvoidRequestItemService.authorizeAccessByAccessToken(Context context, Bitstream bitstream, String accessToken) Taking into account 'accepted' flag, bitstream id or allfiles flag, decision date and access period, either return cleanly or throw an AuthorizeExceptionRequestItemService.createRequest(Context context, Bitstream bitstream, Item item, boolean allFiles, String reqEmail, String reqName, String reqMessage) Generate a request item representing the request and put it into the DB -
Uses of Bitstream in org.dspace.app.util
Methods in org.dspace.app.util that return BitstreamModifier and TypeMethodDescriptionprotected BitstreamGoogleMetadata.findLinkableFulltext(Item item) A bitstream is considered linkable fulltext when it is either the item's only bitstream (in the ORIGINAL bundle); or the primary bitstream Additionally, this bitstream must be publicly viewable.Methods in org.dspace.app.util with parameters of type BitstreamModifier and TypeMethodDescriptionstatic voidAuthorizeUtil.authorizeManageBitstreamPolicy(Context context, Bitstream bitstream) Is allowed manage (create, remove, edit) bitstream's policies in the current context?intCompares two bitstreams based on their mimetypes, if mimetypes are the same,then the largest bitstream comes first See google-metadata.properties to define the orderprotected booleanFind out whether bitstream is readable by the public.protected StringSyndicationFeed.urlOfBitstream(jakarta.servlet.http.HttpServletRequest request, Bitstream logo) -
Uses of Bitstream in org.dspace.checker
Fields in org.dspace.checker with type parameters of type BitstreamModifier and TypeFieldDescriptionstatic jakarta.persistence.metamodel.SingularAttribute<ChecksumHistory,Bitstream> ChecksumHistory_.bitstreamstatic jakarta.persistence.metamodel.SingularAttribute<MostRecentChecksum,Bitstream> MostRecentChecksum_.bitstreamIteratorDispatcher.bitstreamsList of Integer ids.Methods in org.dspace.checker that return BitstreamModifier and TypeMethodDescriptionChecksumHistory.getBitstream()MostRecentChecksum.getBitstream()BitstreamDispatcher.next()Returns the next id for checking, or a sentinel value if there are no more to check.HandleDispatcher.next()Initializes this dispatcher on first execution.IteratorDispatcher.next()LimitedCountDispatcher.next()Retrieves the next bitstream to be checked.LimitedDurationDispatcher.next()SimpleDispatcher.next()Selects the next candidate bitstream.Methods in org.dspace.checker with parameters of type BitstreamModifier and TypeMethodDescriptionprotected MostRecentChecksumCheckerCommand.checkBitstream(Bitstream bitstream) Check a specified bitstream.voidChecksumHistoryServiceImpl.deleteByBitstream(Context context, Bitstream bitstream) voidMostRecentChecksumServiceImpl.deleteByBitstream(Context context, Bitstream bitstream) MostRecentChecksumServiceImpl.findByBitstream(Context context, Bitstream bitstream) voidChecksumHistory.setBitstream(Bitstream bitstream) Method parameters in org.dspace.checker with type arguments of type BitstreamModifier and TypeMethodDescriptionprotected voidSimpleReporterServiceImpl.printDSpaceInfoRecords(Context context, List<Bitstream> bitstreams, OutputStreamWriter osw) Create a list of the found history records.Constructor parameters in org.dspace.checker with type arguments of type BitstreamModifierConstructorDescriptionIteratorDispatcher(Iterator<Bitstream> bitstreams) Main constructor. -
Uses of Bitstream in org.dspace.checker.dao
Methods in org.dspace.checker.dao with parameters of type BitstreamModifier and TypeMethodDescriptionvoidChecksumHistoryDAO.deleteByBitstream(Context context, Bitstream bitstream) Delete all ChecksumHistory rows for the given Bitstream.voidMostRecentChecksumDAO.deleteByBitstream(Context context, Bitstream bitstream) MostRecentChecksumDAO.findByBitstream(Context context, Bitstream bitstream) -
Uses of Bitstream in org.dspace.checker.dao.impl
Methods in org.dspace.checker.dao.impl with parameters of type BitstreamModifier and TypeMethodDescriptionvoidChecksumHistoryDAOImpl.deleteByBitstream(Context context, Bitstream bitstream) voidMostRecentChecksumDAOImpl.deleteByBitstream(Context context, Bitstream bitstream) MostRecentChecksumDAOImpl.findByBitstream(Context context, Bitstream bitstream) -
Uses of Bitstream in org.dspace.checker.service
Methods in org.dspace.checker.service with parameters of type BitstreamModifier and TypeMethodDescriptionvoidChecksumHistoryService.deleteByBitstream(Context context, Bitstream bitstream) voidMostRecentChecksumService.deleteByBitstream(Context context, Bitstream bitstream) MostRecentChecksumService.findByBitstream(Context context, Bitstream bitstream) -
Uses of Bitstream in org.dspace.content
Fields in org.dspace.content with type parameters of type BitstreamModifier and TypeFieldDescriptionstatic jakarta.persistence.metamodel.SingularAttribute<Bitstream,BitstreamFormat> Bitstream_.bitstreamFormatBundle_.bitstreamsBitstream_.bundlesBitstream_.checksumBitstream_.checksumAlgorithmstatic jakarta.persistence.metamodel.EntityType<Bitstream>Bitstream_.class_static jakarta.persistence.metamodel.SingularAttribute<Bitstream,Collection> Bitstream_.collectionBitstream_.communityBitstream_.deletedBitstream_.internalIdBitstream_.legacyIdstatic jakarta.persistence.metamodel.SingularAttribute<Collection,Bitstream> Collection_.logoCommunity_.logoBundle_.primaryBitstreamBitstream_.sequenceIdBitstream_.sizeBytesBitstream_.storeNumberMethods in org.dspace.content that return BitstreamModifier and TypeMethodDescriptionBitstreamServiceImpl.create(Context context, InputStream is) BitstreamServiceImpl.create(Context context, Bundle bundle, InputStream is) ItemServiceImpl.createSingleBitstream(Context context, InputStream is, Item item) ItemServiceImpl.createSingleBitstream(Context context, InputStream is, Item item, String name) BitstreamServiceImpl.findByIdOrLegacyId(Context context, String id) BitstreamServiceImpl.findByLegacyId(Context context, int id) BitstreamServiceImpl.getBitstreamByName(Item item, String bundleName, String bitstreamName) BundleServiceImpl.getBitstreamByName(Bundle bundle, String name) BitstreamServiceImpl.getFirstBitstream(Item item, String bundleName) Collection.getLogo()Get the logo for the collection.Community.getLogo()Get the logo for the community.Thumbnail.getOriginal()Bundle.getPrimaryBitstream()Get the primary bitstream ID of the bundleThumbnail.getThumb()BitstreamServiceImpl.getThumbnail(Context context, Bitstream bitstream) Register a new bitstream, with a new ID.CollectionServiceImpl.setLogo(Context context, Collection collection, InputStream is) CommunityServiceImpl.setLogo(Context context, Community community, InputStream is) Methods in org.dspace.content that return types with arguments of type BitstreamModifier and TypeMethodDescriptionBitstreamServiceImpl.findBitstreamsWithNoRecentChecksum(Context context) BitstreamServiceImpl.findByStoreNumber(Context context, Integer storeNumber) BitstreamServiceImpl.findDeletedBitstreams(Context context, int limit, int offset) BitstreamServiceImpl.findDuplicateInternalIdentifier(Context context, Bitstream bitstream) Bundle.getBitstreams()Get a copy of the bitstream list of this bundle Note that this is a copy and if you wish to manipulate the bitstream list, you should use , orBitstreamServiceImpl.getCollectionBitstreams(Context context, Collection collection) BitstreamServiceImpl.getCommunityBitstreams(Context context, Community community) BitstreamServiceImpl.getItemBitstreams(Context context, Item item) ItemServiceImpl.getNonInternalBitstreams(Context context, Item item) BitstreamServiceImpl.getNotReferencedBitstreams(Context context) Methods in org.dspace.content with parameters of type BitstreamModifier and TypeMethodDescriptionvoidBundleServiceImpl.addBitstream(Context context, Bundle bundle, Bitstream bitstream) voidItemServiceImpl.adjustBitstreamPolicies(Context context, Item item, Collection collection, Bitstream bitstream) voidItemServiceImpl.adjustBitstreamPolicies(Context context, Item item, Collection collection, Bitstream bitstream, boolean replaceReadRPWithCollectionRP) voidvoidBitstreamServiceImpl.findDuplicateInternalIdentifier(Context context, Bitstream bitstream) protected PatternBitstreamServiceImpl.getBitstreamNamePattern(Bitstream bitstream) BitstreamServiceImpl.getFormatDescription(Context context, Bitstream bitstream) BitstreamServiceImpl.getLastModified(Bitstream bitstream) BitstreamServiceImpl.getParentObject(Context context, Bitstream bitstream) BitstreamServiceImpl.getThumbnail(Context context, Bitstream bitstream) BitstreamFormatServiceImpl.guessFormat(Context context, Bitstream bitstream) booleanBitstreamServiceImpl.isInBundle(Bitstream bitstream, Collection<String> bundleNames) booleanBitstreamServiceImpl.isRegisteredBitstream(Bitstream bitstream) voidBundleServiceImpl.moveBitstreamToBundle(Context context, Bundle targetBundle, Bitstream bitstream) voidBundle.removeBitstream(Bitstream bitstream) Remove the given bitstream from this bundles bitstream listvoidBundleServiceImpl.removeBitstream(Context context, Bundle bundle, Bitstream bitstream) voidBitstreamServiceImpl.setFormat(Context context, Bitstream bitstream, BitstreamFormat bitstreamFormat) protected voidvoidThumbnail.setOriginal(Bitstream original) voidBundle.setPrimaryBitstreamID(Bitstream bitstream) Set the primary bitstream ID of the bundlevoidvoidBitstreamServiceImpl.setUserFormatDescription(Context context, Bitstream bitstream, String desc) voidvoidBitstreamServiceImpl.updateLastModified(Context context, Bitstream bitstream) Constructors in org.dspace.content with parameters of type Bitstream -
Uses of Bitstream in org.dspace.content.dao
Methods in org.dspace.content.dao that return types with arguments of type BitstreamModifier and TypeMethodDescriptionBitstreamDAO.findBitstreamsWithNoRecentChecksum(Context context) BitstreamDAO.findByCollection(Context context, Collection collection) BitstreamDAO.findByCommunity(Context context, Community community) BitstreamDAO.findByItem(Context context, Item item) BitstreamDAO.findByStoreNumber(Context context, Integer storeNumber) BitstreamDAO.findDeletedBitstreams(Context context, int limit, int offset) BitstreamDAO.findDuplicateInternalIdentifier(Context context, Bitstream bitstream) BitstreamDAO.getNotReferencedBitstreams(Context context) Methods in org.dspace.content.dao with parameters of type BitstreamModifier and TypeMethodDescriptionBitstreamDAO.findDuplicateInternalIdentifier(Context context, Bitstream bitstream) -
Uses of Bitstream in org.dspace.content.dao.impl
Methods in org.dspace.content.dao.impl that return types with arguments of type BitstreamModifier and TypeMethodDescriptionBitstreamDAOImpl.findBitstreamsWithNoRecentChecksum(Context context) BitstreamDAOImpl.findByCollection(Context context, Collection collection) BitstreamDAOImpl.findByCommunity(Context context, Community community) BitstreamDAOImpl.findByItem(Context context, Item item) BitstreamDAOImpl.findByStoreNumber(Context context, Integer storeNumber) BitstreamDAOImpl.findDeletedBitstreams(Context context, int limit, int offset) BitstreamDAOImpl.findDuplicateInternalIdentifier(Context context, Bitstream bitstream) BitstreamDAOImpl.getNotReferencedBitstreams(Context context) Methods in org.dspace.content.dao.impl with parameters of type BitstreamModifier and TypeMethodDescriptionBitstreamDAOImpl.findDuplicateInternalIdentifier(Context context, Bitstream bitstream) -
Uses of Bitstream in org.dspace.content.packager
Methods in org.dspace.content.packager that return BitstreamModifier and TypeMethodDescriptionstatic BitstreamPackageUtils.findDepositLicense(Context context, Item item) Utility to find the license bitstream from an itemprotected BitstreamAbstractMETSDisseminator.findOriginalBitstream(Item item, Bitstream derived) For a bitstream that's a thumbnail or extracted text, find the corresponding bitstream it was derived from, in the ORIGINAL bundle.static BitstreamPackageUtils.getBitstreamByFormat(Context context, Item item, BitstreamFormat bsf, String bnName) Find bitstream by its format, looking in a specific bundle.static BitstreamPackageUtils.getBitstreamByName(Item item, String name) Find bitstream by its Name, looking in all bundles.static BitstreamPackageUtils.getBitstreamByName(Item item, String bsName, String bnName) Find bitstream by its Name, looking in specific named bundle.Methods in org.dspace.content.packager with parameters of type BitstreamModifier and TypeMethodDescriptionprotected voidAbstractMETSDisseminator.addLogoBitstream(Context context, Bitstream logoBs, edu.harvard.hul.ois.mets.FileSec fileSec, edu.harvard.hul.ois.mets.Div div0, PackageParameters params) voidMETSManifest.crosswalkBitstream(Context context, PackageParameters params, Bitstream bitstream, String fileId, METSManifest.Mdref callback) Crosswalk the metadata associated with a particularfileelement into the bitstream it corresponds to.protected BitstreamAbstractMETSDisseminator.findOriginalBitstream(Item item, Bitstream derived) For a bitstream that's a thumbnail or extracted text, find the corresponding bitstream it was derived from, in the ORIGINAL bundle.abstract voidAbstractMETSIngester.finishBitstream(Context context, Bitstream bs, org.jdom2.Element mfile, METSManifest manifest, PackageParameters params) Subclass-dependent final processing on a Bitstream; could include fixing up the name, bundle, other attributes.voidDSpaceAIPIngester.finishBitstream(Context context, Bitstream bs, org.jdom2.Element mfile, METSManifest manifest, PackageParameters params) Nothing extra to do to bitstream after ingestion.voidDSpaceMETSIngester.finishBitstream(Context context, Bitstream bs, org.jdom2.Element mfile, METSManifest manifest, PackageParameters params) Take a second pass over files to correct names of derived files (e.g. thumbnails, extracted text) to what DSpace expects:AbstractMETSDisseminator.makeBitstreamURL(Context context, Bitstream bitstream, PackageParameters params) Get the URL by which the METS manifest refers to a Bitstream member within the same package.protected voidPDFPackager.setFormatToMIMEType(Context context, Bitstream bs, String mimeType) -
Uses of Bitstream in org.dspace.content.service
Methods in org.dspace.content.service that return BitstreamModifier and TypeMethodDescriptionClone the given bitstream by firstly creating a new bitstream, with a new ID.BitstreamService.create(Context context, InputStream is) Create a new bitstream, with a new ID.BitstreamService.create(Context context, Bundle bundle, InputStream is) Create a new bitstream, with a new ID.ItemService.createSingleBitstream(Context context, InputStream is, Item item) Convenience method, calls createSingleBitstream() with name "ORIGINAL"ItemService.createSingleBitstream(Context context, InputStream is, Item item, String name) Create a single bitstream in a new bundle.BitstreamService.getBitstreamByName(Item item, String bundleName, String bitstreamName) BundleService.getBitstreamByName(Bundle bundle, String name) BitstreamService.getFirstBitstream(Item item, String bundleName) BitstreamService.getThumbnail(Context context, Bitstream bitstream) Register a new bitstream, with a new ID.Register a new bitstream, with a new ID.CollectionService.setLogo(Context context, Collection collection, InputStream is) Give the collection a logo.CommunityService.setLogo(Context context, Community community, InputStream is) Give the community a logo.Methods in org.dspace.content.service that return types with arguments of type BitstreamModifier and TypeMethodDescriptionBitstreamService.findBitstreamsWithNoRecentChecksum(Context context) BitstreamService.findByStoreNumber(Context context, Integer storeNumber) BitstreamService.findDeletedBitstreams(Context context, int limit, int offset) Retrieve all bitstreams with the deleted flag set to trueBitstreamService.findDuplicateInternalIdentifier(Context context, Bitstream bitstream) BitstreamService.getCollectionBitstreams(Context context, Collection collection) BitstreamService.getCommunityBitstreams(Context context, Community community) BitstreamService.getItemBitstreams(Context context, Item item) ItemService.getNonInternalBitstreams(Context context, Item item) Get all non-internal bitstreams in the item.BitstreamService.getNotReferencedBitstreams(Context context) Methods in org.dspace.content.service with parameters of type BitstreamModifier and TypeMethodDescriptionvoidBundleService.addBitstream(Context context, Bundle bundle, Bitstream bitstream) Add an existing bitstream to this bundlevoidItemService.adjustBitstreamPolicies(Context context, Item item, Collection collection, Bitstream bitstream) Adjust the Bitstream policies to reflect what have been defined during the submission/workflow.voidItemService.adjustBitstreamPolicies(Context context, Item item, Collection collection, Bitstream bitstream, boolean replaceReadRPWithCollectionRP) Adjust the Bitstream policies to reflect what have been defined during the submission/workflow.Clone the given bitstream by firstly creating a new bitstream, with a new ID.voidRemove a bitstream that has been set to "deleted" from the databaseBitstreamService.findDuplicateInternalIdentifier(Context context, Bitstream bitstream) BitstreamService.getFormatDescription(Context context, Bitstream bitstream) Get the description of the format - either the user's or the description of the format defined by the system.BitstreamService.getLastModified(Bitstream bitstream) Gets the last modified timestamp of the the given bitstream's content, if known.BitstreamService.getThumbnail(Context context, Bitstream bitstream) BitstreamFormatService.guessFormat(Context context, Bitstream bitstream) Attempt to identify the format of a particular bitstream.booleanBitstreamService.isInBundle(Bitstream bitstream, Collection<String> bundleNames) Checks if the given bitstream is inside one of the bundlebooleanBitstreamService.isRegisteredBitstream(Bitstream bitstream) Determine if this bitstream is registered (available elsewhere on filesystem than in assetstore).voidBundleService.moveBitstreamToBundle(Context context, Bundle targetBundle, Bitstream bitstream) Moves a bitstream from its current bundle to a new target bundlevoidBundleService.removeBitstream(Context context, Bundle bundle, Bitstream bitstream) Remove a bitstream from this bundle - the bitstream is only deleted if this was the last reference to itRetrieve the contents of the bitstreamvoidBitstreamService.setFormat(Context context, Bitstream bitstream, BitstreamFormat bitstreamFormat) Set the format of the bitstream.voidBitstreamService.setUserFormatDescription(Context context, Bitstream bitstream, String desc) Set the user's format description. -
Uses of Bitstream in org.dspace.ctask.general
Methods in org.dspace.ctask.general with parameters of type BitstreamModifier and TypeMethodDescriptionprotected voidCitationPage.addCitedPageToItem(InputStream citedDoc, Bundle bundle, Bundle pBundle, Bundle dBundle, Item item, Bitstream bitstream) A helper function forCitationPage.performItem(Item).protected voidBitstreamsIntoMetadata.addMetadata(Item item, Bitstream bitstream, String type) Add the bitstream metadata to the itemprotected intClamScan.scan(Bitstream bitstream, InputStream inputstream, String itemHandle) Issue the INSTREAM command and return the response to and from the clamav daemon. -
Uses of Bitstream in org.dspace.disseminate
Methods in org.dspace.disseminate with parameters of type BitstreamModifier and TypeMethodDescriptionbooleanCitationDocumentServiceImpl.canGenerateCitationVersion(Context context, Bitstream bitstream) CitationDocumentServiceImpl.isCitationEnabledForBitstream(Bitstream bitstream, Context context) protected booleanCitationDocumentServiceImpl.isCitationEnabledThroughCollection(Context context, Bitstream bitstream) org.apache.commons.lang3.tuple.Pair<byte[],Long> CitationDocumentServiceImpl.makeCitedDocument(Context context, Bitstream bitstream) -
Uses of Bitstream in org.dspace.disseminate.service
Methods in org.dspace.disseminate.service with parameters of type BitstreamModifier and TypeMethodDescriptionbooleanCitationDocumentService.canGenerateCitationVersion(Context context, Bitstream bitstream) CitationDocumentService.isCitationEnabledForBitstream(Bitstream bitstream, Context context) Repository policy can specify to have a custom citation cover/tail page to the document, which embeds metadata.org.apache.commons.lang3.tuple.Pair<byte[],Long> CitationDocumentService.makeCitedDocument(Context context, Bitstream bitstream) Creates a cited document from the given bitstream of the given item. -
Uses of Bitstream in org.dspace.iiif
Methods in org.dspace.iiif with parameters of type BitstreamModifier and TypeMethodDescriptionint[]IIIFApiQueryService.getImageDimensions(Bitstream bitstream) Returns array with canvas height and widthint[]IIIFApiQueryServiceImpl.getImageDimensions(Bitstream bitstream) -
Uses of Bitstream in org.dspace.iiif.util
Methods in org.dspace.iiif.util with parameters of type BitstreamModifier and TypeMethodDescriptionstatic StringIIIFSharedUtils.getInfoJsonPath(Bitstream bitstream) Returns url for retrieving info.json metadata from the image server. -
Uses of Bitstream in org.dspace.license
Methods in org.dspace.license that return BitstreamModifier and TypeMethodDescriptionprotected BitstreamCreativeCommonsServiceImpl.getBitstream(Item item, String bitstream_name) This helper method retrieves the bytes of a bitstream for an item under the CC bundle, with the given bitstream nameCreativeCommonsServiceImpl.getLicenseRdfBitstream(Item item) CreativeCommonsServiceImpl.getLicenseTextBitstream(Item item) Deprecated.Methods in org.dspace.license with parameters of type Bitstream -
Uses of Bitstream in org.dspace.license.service
Methods in org.dspace.license.service that return BitstreamModifier and TypeMethodDescriptionCreativeCommonsService.getLicenseRdfBitstream(Item item) Get Creative Commons license RDF, returning Bitstream object.CreativeCommonsService.getLicenseTextBitstream(Item item) Deprecated.the bitstream with the license in the textual format it is no longer stored (see https://jira.duraspace.org/browse/DS-2604) -
Uses of Bitstream in org.dspace.matomo
Methods in org.dspace.matomo with parameters of type BitstreamModifier and TypeMethodDescriptionprotected booleanMatomoEventListener.isInBundle(Bitstream bitstream, Set<String> allowedBundles) -
Uses of Bitstream in org.dspace.rdf.conversion
Methods in org.dspace.rdf.conversion with parameters of type BitstreamModifier and TypeMethodDescriptionSimpleDSORelationsConverterPlugin.bitstreamURI(Context context, Bitstream bitstream) This methods generates a link to the provided Bitstream. -
Uses of Bitstream in org.dspace.scripts
Fields in org.dspace.scripts with type parameters of type BitstreamMethods in org.dspace.scripts that return BitstreamModifier and TypeMethodDescriptionProcessServiceImpl.getBitstream(Context context, Process process, String type) ProcessServiceImpl.getBitstreamByName(Context context, Process process, String bitstreamName) Methods in org.dspace.scripts that return types with arguments of type BitstreamModifier and TypeMethodDescriptionProcess.getBitstreams()This method returns a list of Bitstreams that will be used or created by the Process.ProcessServiceImpl.getBitstreams(Context context, Process process) Methods in org.dspace.scripts with parameters of type BitstreamModifier and TypeMethodDescriptionvoidProcess.addBitstream(Bitstream bitstream) voidProcess.removeBitstream(Bitstream bitstream) Method parameters in org.dspace.scripts with type arguments of type Bitstream -
Uses of Bitstream in org.dspace.scripts.service
Methods in org.dspace.scripts.service that return BitstreamModifier and TypeMethodDescriptionProcessService.getBitstream(Context context, Process process, String type) This method will return the Bitstream for a given process with a given typeProcessService.getBitstreamByName(Context context, Process process, String bitstreamName) This method will return the Bitstream that matches the given name for the given ProcessMethods in org.dspace.scripts.service that return types with arguments of type BitstreamModifier and TypeMethodDescriptionProcessService.getBitstreams(Context context, Process process) This method will return all the Bitstreams for a given process -
Uses of Bitstream in org.dspace.statistics.export.processor
Methods in org.dspace.statistics.export.processor with parameters of type BitstreamModifier and TypeMethodDescriptionprotected StringBitstreamEventProcessor.addObjectSpecificData(String string, Bitstream bitstream) Adds additional item and bitstream data to the urlConstructors in org.dspace.statistics.export.processor with parameters of type BitstreamModifierConstructorDescriptionBitstreamEventProcessor(Context context, jakarta.servlet.http.HttpServletRequest request, Bitstream bitstream) Creates a new BitstreamEventProcessor that will set the params and obtain the parent item of the bitstream -
Uses of Bitstream in org.dspace.storage.bitstore
Methods in org.dspace.storage.bitstore that return BitstreamModifier and TypeMethodDescriptionBitstreamByteSource.getBitstream()Gets the underlying bitstream.Methods in org.dspace.storage.bitstore with parameters of type BitstreamModifier and TypeMethodDescriptionObtain technical metadata about an asset in the asset store.Obtain technical metadata about an asset in the asset store.Retrieves metadata about a bitstream.Obtain technical metadata about an asset in the asset store.BitstreamStorageServiceImpl.computeChecksum(Context context, Bitstream bitstream) Retrieve the bits for bitstreamRetrieve the bits for the asset with ID.Retrieves a bitstream as an InputStream.Retrieve the bits for the asset with ID.protected FileReturn the file corresponding to a bitstream.Gets the file corresponding to a bitstream.BitstreamStorageServiceImpl.getLastModified(Bitstream bitstream) static StringJCloudBitStoreService.getMIMEType(Bitstream bitstream) Gets the MIME type of a bitstream.voidBitStoreService.put(Bitstream bitstream, InputStream inputStream) Store a stream of bits.voidDSBitStoreService.put(Bitstream bitstream, InputStream in) Store a stream of bits.voidStores a byte source as a bitstream.voidJCloudBitStoreService.put(Bitstream bitstream, InputStream in) Stores a stream of bits.voidS3BitStoreService.put(Bitstream bitstream, InputStream in) Store a stream of bits.BitstreamStorageServiceImpl.register(Context context, Bitstream bitstream, int assetstore, String bitstreamPath) Register a bitstream already in storage.voidRemove an asset from the asset store.voidRemove an asset from the asset store.voidRemoves a bitstream from the cloud storage.voidRemove an asset from the asset store.BitstreamStorageServiceImpl.store(Context context, Bitstream bitstream, InputStream is) Constructors in org.dspace.storage.bitstore with parameters of type BitstreamModifierConstructorDescriptionBitstreamByteSource(Bitstream bitstream) Creates a new BitstreamByteSource for the given bitstream. -
Uses of Bitstream in org.dspace.storage.bitstore.service
Methods in org.dspace.storage.bitstore.service that return BitstreamModifier and TypeMethodDescriptionClone the given bitstream to a new bitstream with a new ID.Methods in org.dspace.storage.bitstore.service with parameters of type BitstreamModifier and TypeMethodDescriptionClone the given bitstream to a new bitstream with a new ID.BitstreamStorageService.computeChecksum(Context context, Bitstream bitstream) BitstreamStorageService.getLastModified(Bitstream bitstream) Gets the last modified timestamp of the the given bitstream's content, if known.BitstreamStorageService.register(Context context, Bitstream bitstream, int assetstore, String bitstreamPath) Register a bitstream already in storage.Retrieve the bits for the bitstream with ID.BitstreamStorageService.store(Context context, Bitstream bitstream, InputStream is) Store a stream of bits. -
Uses of Bitstream in org.dspace.util
Methods in org.dspace.util with parameters of type BitstreamModifier and TypeMethodDescriptionFrontendUrlService.generateUrl(Bitstream bitstream) Generates front-end url for specified bitstream.