Uses of Class
org.dspace.content.Bitstream
-
Packages that use Bitstream Package Description org.dspace.app.itemimport org.dspace.app.itemupdate org.dspace.app.mediafilter org.dspace.app.mediafilter.service org.dspace.app.requestitem Feature for conveying a request that materials forbidden to the requester by resource policy be made available by other means.org.dspace.app.requestitem.service org.dspace.app.util Miscellaneous utility classes.org.dspace.checker Provides content fixity checking (using checksums) for bitstreams stored in DSpace software.org.dspace.checker.dao org.dspace.checker.dao.impl Database access for the Checksum Checker tool, which looks for unexpected changes in Bitstream content.org.dspace.checker.service org.dspace.content Provides an API for reading and manipulating content in the DSpace system.org.dspace.content.dao org.dspace.content.dao.impl org.dspace.content.packager Provides an API and implementations of content packages, used in the context of ingest (SIP), or dissemination (DIP)org.dspace.content.service org.dspace.ctask.general org.dspace.curate In DSpace, "curation" refers to the application of one or more "tasks" to one or more model objects.org.dspace.disseminate org.dspace.disseminate.service org.dspace.license org.dspace.license.service org.dspace.rdf.conversion org.dspace.scripts org.dspace.scripts.service org.dspace.statistics.export.processor org.dspace.storage.bitstore Provides an API for storing, retrieving and deleting streams of bits in a transactionally safe fashion.org.dspace.storage.bitstore.service org.dspace.submit.model -
-
Uses of Bitstream in org.dspace.app.itemimport
Methods in org.dspace.app.itemimport with parameters of type Bitstream Modifier and Type Method Description protected voidItemImportServiceImpl. setPermission(Context c, Group g, 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 Bitstream Modifier and Type Method Description abstract booleanBitstreamFilter. accept(Bitstream bitstream)The filter methodbooleanBitstreamFilterByBundleName. accept(Bitstream bitstream)Filter bitstream based on bundle name found in properties filebooleanBitstreamFilterByFilename. accept(Bitstream bitstream)Tests bitstream by matching the regular expression in the properties against the bitstream namebooleanOriginalBitstreamFilter. accept(Bitstream bitstream)Tests bitstreams for containment in an ORIGINAL bundlebooleanOriginalWithDerivativesBitstreamFilter. accept(Bitstream bitstream)Tests 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 Bitstream Modifier and Type Method Description booleanMediaFilterServiceImpl. 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) -
Uses of Bitstream in org.dspace.app.mediafilter.service
Methods in org.dspace.app.mediafilter.service with parameters of type Bitstream Modifier and Type Method Description booleanMediaFilterService. 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. -
Uses of Bitstream in org.dspace.app.requestitem
Fields in org.dspace.app.requestitem with type parameters of type Bitstream Modifier and Type Field Description static javax.persistence.metamodel.SingularAttribute<RequestItem,Bitstream>RequestItem_. bitstreamMethods in org.dspace.app.requestitem that return Bitstream Modifier and Type Method Description BitstreamRequestItem. getBitstream()Methods in org.dspace.app.requestitem with parameters of type Bitstream Modifier and Type Method Description StringRequestItemServiceImpl. createRequest(Context context, Bitstream bitstream, Item item, boolean allFiles, String reqEmail, String reqName, String reqMessage) -
Uses of Bitstream in org.dspace.app.requestitem.service
Methods in org.dspace.app.requestitem.service with parameters of type Bitstream Modifier and Type Method Description StringRequestItemService. 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 Bitstream Modifier and Type Method Description protected 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 Bitstream Modifier and Type Method Description static voidAuthorizeUtil. authorizeManageBitstreamPolicy(Context context, Bitstream bitstream)Is allowed manage (create, remove, edit) bitstream's policies in the current context?intGoogleBitstreamComparator. compare(Bitstream b1, Bitstream b2)Compares 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 booleanGoogleMetadata. isPublic(Bitstream bitstream)Find out whether bitstream is readable by the public.protected StringSyndicationFeed. urlOfBitstream(javax.servlet.http.HttpServletRequest request, Bitstream logo) -
Uses of Bitstream in org.dspace.checker
Fields in org.dspace.checker with type parameters of type Bitstream Modifier and Type Field Description static javax.persistence.metamodel.SingularAttribute<ChecksumHistory,Bitstream>ChecksumHistory_. bitstreamstatic javax.persistence.metamodel.SingularAttribute<MostRecentChecksum,Bitstream>MostRecentChecksum_. bitstreamprotected Iterator<Bitstream>IteratorDispatcher. bitstreamsList of Integer ids.Methods in org.dspace.checker that return Bitstream Modifier and Type Method Description BitstreamChecksumHistory. getBitstream()BitstreamMostRecentChecksum. getBitstream()BitstreamBitstreamDispatcher. next()Returns the next id for checking, or a sentinel value if there are no more to check.BitstreamHandleDispatcher. next()Initializes this dispatcher on first execution.BitstreamIteratorDispatcher. next()BitstreamLimitedCountDispatcher. next()Retreives the next bitstream to be checked.BitstreamLimitedDurationDispatcher. next()BitstreamSimpleDispatcher. next()Selects the next candidate bitstream.Methods in org.dspace.checker with parameters of type Bitstream Modifier and Type Method Description protected MostRecentChecksumCheckerCommand. checkBitstream(Bitstream bitstream)Check a specified bitstream.voidChecksumHistoryServiceImpl. deleteByBitstream(Context context, Bitstream bitstream)voidMostRecentChecksumServiceImpl. deleteByBitstream(Context context, Bitstream bitstream)MostRecentChecksumMostRecentChecksumServiceImpl. findByBitstream(Context context, Bitstream bitstream)voidChecksumHistory. setBitstream(Bitstream bitstream)Method parameters in org.dspace.checker with type arguments of type Bitstream Modifier and Type Method Description protected 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 Bitstream Constructor Description IteratorDispatcher(Iterator<Bitstream> bitstreams)Main constructor. -
Uses of Bitstream in org.dspace.checker.dao
Methods in org.dspace.checker.dao with parameters of type Bitstream Modifier and Type Method Description voidChecksumHistoryDAO. deleteByBitstream(Context context, Bitstream bitstream)Delete all ChecksumHistory rows for the given Bitstream.voidMostRecentChecksumDAO. deleteByBitstream(Context context, Bitstream bitstream)MostRecentChecksumMostRecentChecksumDAO. 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 Bitstream Modifier and Type Method Description voidChecksumHistoryDAOImpl. deleteByBitstream(Context context, Bitstream bitstream)voidMostRecentChecksumDAOImpl. deleteByBitstream(Context context, Bitstream bitstream)MostRecentChecksumMostRecentChecksumDAOImpl. findByBitstream(Context context, Bitstream bitstream) -
Uses of Bitstream in org.dspace.checker.service
Methods in org.dspace.checker.service with parameters of type Bitstream Modifier and Type Method Description voidChecksumHistoryService. deleteByBitstream(Context context, Bitstream bitstream)voidMostRecentChecksumService. deleteByBitstream(Context context, Bitstream bitstream)MostRecentChecksumMostRecentChecksumService. findByBitstream(Context context, Bitstream bitstream) -
Uses of Bitstream in org.dspace.content
Fields in org.dspace.content with type parameters of type Bitstream Modifier and Type Field Description static javax.persistence.metamodel.SingularAttribute<Bitstream,BitstreamFormat>Bitstream_. bitstreamFormatstatic javax.persistence.metamodel.ListAttribute<Bundle,Bitstream>Bundle_. bitstreamsstatic javax.persistence.metamodel.ListAttribute<Bitstream,Bundle>Bitstream_. bundlesstatic javax.persistence.metamodel.SingularAttribute<Bitstream,String>Bitstream_. checksumstatic javax.persistence.metamodel.SingularAttribute<Bitstream,String>Bitstream_. checksumAlgorithmstatic javax.persistence.metamodel.SingularAttribute<Bitstream,Collection>Bitstream_. collectionstatic javax.persistence.metamodel.SingularAttribute<Bitstream,Community>Bitstream_. communitystatic javax.persistence.metamodel.SingularAttribute<Bitstream,Boolean>Bitstream_. deletedstatic javax.persistence.metamodel.SingularAttribute<Bitstream,String>Bitstream_. internalIdstatic javax.persistence.metamodel.SingularAttribute<Bitstream,Integer>Bitstream_. legacyIdstatic javax.persistence.metamodel.SingularAttribute<Collection,Bitstream>Collection_. logostatic javax.persistence.metamodel.SingularAttribute<Community,Bitstream>Community_. logostatic javax.persistence.metamodel.SingularAttribute<Bundle,Bitstream>Bundle_. primaryBitstreamstatic javax.persistence.metamodel.SingularAttribute<Bitstream,Integer>Bitstream_. sequenceIdstatic javax.persistence.metamodel.SingularAttribute<Bitstream,Long>Bitstream_. sizeBytesstatic javax.persistence.metamodel.SingularAttribute<Bitstream,Integer>Bitstream_. storeNumberMethods in org.dspace.content that return Bitstream Modifier and Type Method Description BitstreamBitstreamServiceImpl. clone(Context context, Bitstream bitstream)BitstreamBitstreamServiceImpl. create(Context context, InputStream is)BitstreamBitstreamServiceImpl. create(Context context, Bundle bundle, InputStream is)BitstreamItemServiceImpl. createSingleBitstream(Context context, InputStream is, Item item)BitstreamItemServiceImpl. createSingleBitstream(Context context, InputStream is, Item item, String name)BitstreamBitstreamServiceImpl. find(Context context, UUID id)BitstreamBitstreamServiceImpl. findByIdOrLegacyId(Context context, String id)BitstreamBitstreamServiceImpl. findByLegacyId(Context context, int id)BitstreamBitstreamServiceImpl. getBitstreamByName(Item item, String bundleName, String bitstreamName)BitstreamBundleServiceImpl. getBitstreamByName(Bundle bundle, String name)BitstreamBitstreamServiceImpl. getFirstBitstream(Item item, String bundleName)BitstreamCollection. getLogo()Get the logo for the collection.BitstreamCommunity. getLogo()Get the logo for the community.BitstreamThumbnail. getOriginal()BitstreamBundle. getPrimaryBitstream()Get the primary bitstream ID of the bundleBitstreamThumbnail. getThumb()BitstreamBitstreamServiceImpl. getThumbnail(Context context, Bitstream bitstream)BitstreamBitstreamServiceImpl. register(Context context, int assetstore, String bitstreamPath)Register a new bitstream, with a new ID.BitstreamBitstreamServiceImpl. register(Context context, Bundle bundle, int assetstore, String bitstreamPath)BitstreamCollectionServiceImpl. setLogo(Context context, Collection collection, InputStream is)BitstreamCommunityServiceImpl. setLogo(Context context, Community community, InputStream is)Methods in org.dspace.content that return types with arguments of type Bitstream Modifier and Type Method Description List<Bitstream>BitstreamServiceImpl. findAll(Context context)Iterator<Bitstream>BitstreamServiceImpl. findAll(Context context, int limit, int offset)List<Bitstream>BitstreamServiceImpl. findBitstreamsWithNoRecentChecksum(Context context)Iterator<Bitstream>BitstreamServiceImpl. findByStoreNumber(Context context, Integer storeNumber)List<Bitstream>BitstreamServiceImpl. findDeletedBitstreams(Context context)List<Bitstream>BitstreamServiceImpl. findDuplicateInternalIdentifier(Context context, Bitstream bitstream)List<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 bistream list, you should use , orIterator<Bitstream>BitstreamServiceImpl. getCollectionBitstreams(Context context, Collection collection)Iterator<Bitstream>BitstreamServiceImpl. getCommunityBitstreams(Context context, Community community)Iterator<Bitstream>BitstreamServiceImpl. getItemBitstreams(Context context, Item item)List<Bitstream>ItemServiceImpl. getNonInternalBitstreams(Context context, Item item)List<Bitstream>BitstreamServiceImpl. getNotReferencedBitstreams(Context context)Methods in org.dspace.content with parameters of type Bitstream Modifier and Type Method Description voidBundleServiceImpl. addBitstream(Context context, Bundle bundle, Bitstream bitstream)BitstreamBitstreamServiceImpl. clone(Context context, Bitstream bitstream)voidBitstreamServiceImpl. delete(Context context, Bitstream bitstream)voidBitstreamServiceImpl. expunge(Context context, Bitstream bitstream)List<Bitstream>BitstreamServiceImpl. findDuplicateInternalIdentifier(Context context, Bitstream bitstream)BitstreamFormatBitstreamServiceImpl. getFormat(Context context, Bitstream bitstream)StringBitstreamServiceImpl. getFormatDescription(Context context, Bitstream bitstream)LongBitstreamServiceImpl. getLastModified(Bitstream bitstream)DSpaceObjectBitstreamServiceImpl. getParentObject(Context context, Bitstream bitstream)BitstreamBitstreamServiceImpl. getThumbnail(Context context, Bitstream bitstream)BitstreamFormatBitstreamFormatServiceImpl. guessFormat(Context context, Bitstream bitstream)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)InputStreamBitstreamServiceImpl. retrieve(Context context, Bitstream bitstream)voidBitstreamServiceImpl. setFormat(Context context, Bitstream bitstream, BitstreamFormat bitstreamFormat)protected voidCollection. setLogo(Bitstream logo)voidThumbnail. setOriginal(Bitstream original)voidBundle. setPrimaryBitstreamID(Bitstream bitstream)Set the primary bitstream ID of the bundlevoidThumbnail. setThumb(Bitstream thumb)voidBitstreamServiceImpl. setUserFormatDescription(Context context, Bitstream bitstream, String desc)voidBitstreamServiceImpl. update(Context context, Bitstream bitstream)voidBitstreamServiceImpl. updateLastModified(Context context, Bitstream bitstream)Constructors in org.dspace.content with parameters of type Bitstream Constructor Description Thumbnail(Bitstream thumb, Bitstream original)Construct a new thumbnail using the two bitstreams -
Uses of Bitstream in org.dspace.content.dao
Methods in org.dspace.content.dao that return types with arguments of type Bitstream Modifier and Type Method Description Iterator<Bitstream>BitstreamDAO. findAll(Context context, int limit, int offset)List<Bitstream>BitstreamDAO. findBitstreamsWithNoRecentChecksum(Context context)Iterator<Bitstream>BitstreamDAO. findByCollection(Context context, Collection collection)Iterator<Bitstream>BitstreamDAO. findByCommunity(Context context, Community community)Iterator<Bitstream>BitstreamDAO. findByItem(Context context, Item item)Iterator<Bitstream>BitstreamDAO. findByStoreNumber(Context context, Integer storeNumber)List<Bitstream>BitstreamDAO. findDeletedBitstreams(Context context)List<Bitstream>BitstreamDAO. findDuplicateInternalIdentifier(Context context, Bitstream bitstream)List<Bitstream>BitstreamDAO. getNotReferencedBitstreams(Context context)Methods in org.dspace.content.dao with parameters of type Bitstream Modifier and Type Method Description List<Bitstream>BitstreamDAO. 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 Bitstream Modifier and Type Method Description Iterator<Bitstream>BitstreamDAOImpl. findAll(Context context, int limit, int offset)List<Bitstream>BitstreamDAOImpl. findBitstreamsWithNoRecentChecksum(Context context)Iterator<Bitstream>BitstreamDAOImpl. findByCollection(Context context, Collection collection)Iterator<Bitstream>BitstreamDAOImpl. findByCommunity(Context context, Community community)Iterator<Bitstream>BitstreamDAOImpl. findByItem(Context context, Item item)Iterator<Bitstream>BitstreamDAOImpl. findByStoreNumber(Context context, Integer storeNumber)List<Bitstream>BitstreamDAOImpl. findDeletedBitstreams(Context context)List<Bitstream>BitstreamDAOImpl. findDuplicateInternalIdentifier(Context context, Bitstream bitstream)List<Bitstream>BitstreamDAOImpl. getNotReferencedBitstreams(Context context)Methods in org.dspace.content.dao.impl with parameters of type Bitstream Modifier and Type Method Description List<Bitstream>BitstreamDAOImpl. findDuplicateInternalIdentifier(Context context, Bitstream bitstream) -
Uses of Bitstream in org.dspace.content.packager
Methods in org.dspace.content.packager that return Bitstream Modifier and Type Method Description static 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 Bitstream Modifier and Type Method Description protected 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.jdom.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.jdom.Element mfile, METSManifest manifest, PackageParameters params)Nothing extra to do to bitstream after ingestion.voidDSpaceMETSIngester. finishBitstream(Context context, Bitstream bs, org.jdom.Element mfile, METSManifest manifest, PackageParameters params)Take a second pass over files to correct names of derived files (e.g.StringAbstractMETSDisseminator. 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 Bitstream Modifier and Type Method Description BitstreamBitstreamService. clone(Context context, Bitstream bitstream)Clone the given bitstream by firstly creating a new bitstream, with a new ID.BitstreamBitstreamService. create(Context context, InputStream is)Create a new bitstream, with a new ID.BitstreamBitstreamService. create(Context context, Bundle bundle, InputStream is)Create a new bitstream, with a new ID.BitstreamItemService. createSingleBitstream(Context context, InputStream is, Item item)Convenience method, calls createSingleBitstream() with name "ORIGINAL"BitstreamItemService. createSingleBitstream(Context context, InputStream is, Item item, String name)Create a single bitstream in a new bundle.BitstreamBitstreamService. find(Context context, UUID id)BitstreamBitstreamService. getBitstreamByName(Item item, String bundleName, String bitstreamName)BitstreamBundleService. getBitstreamByName(Bundle bundle, String name)BitstreamBitstreamService. getFirstBitstream(Item item, String bundleName)BitstreamBitstreamService. getThumbnail(Context context, Bitstream bitstream)BitstreamBitstreamService. register(Context context, int assetstore, String bitstreamPath)Register a new bitstream, with a new ID.BitstreamBitstreamService. register(Context context, Bundle bundle, int assetstore, String bitstreamPath)Register a new bitstream, with a new ID.BitstreamCollectionService. setLogo(Context context, Collection collection, InputStream is)Give the collection a logo.BitstreamCommunityService. 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 Bitstream Modifier and Type Method Description List<Bitstream>BitstreamService. findAll(Context context)Iterator<Bitstream>BitstreamService. findAll(Context context, int limit, int offset)List<Bitstream>BitstreamService. findBitstreamsWithNoRecentChecksum(Context context)Iterator<Bitstream>BitstreamService. findByStoreNumber(Context context, Integer storeNumber)List<Bitstream>BitstreamService. findDeletedBitstreams(Context context)Retrieve all bitstreams with the deleted flag set to trueList<Bitstream>BitstreamService. findDuplicateInternalIdentifier(Context context, Bitstream bitstream)Iterator<Bitstream>BitstreamService. getCollectionBitstreams(Context context, Collection collection)Iterator<Bitstream>BitstreamService. getCommunityBitstreams(Context context, Community community)Iterator<Bitstream>BitstreamService. getItemBitstreams(Context context, Item item)List<Bitstream>ItemService. getNonInternalBitstreams(Context context, Item item)Get all non-internal bitstreams in the item.List<Bitstream>BitstreamService. getNotReferencedBitstreams(Context context)Methods in org.dspace.content.service with parameters of type Bitstream Modifier and Type Method Description voidBundleService. addBitstream(Context context, Bundle bundle, Bitstream bitstream)Add an existing bitstream to this bundleBitstreamBitstreamService. clone(Context context, Bitstream bitstream)Clone the given bitstream by firstly creating a new bitstream, with a new ID.voidBitstreamService. expunge(Context context, Bitstream bitstream)Remove a bitstream that has been set to "deleted" from the databaseList<Bitstream>BitstreamService. findDuplicateInternalIdentifier(Context context, Bitstream bitstream)BitstreamFormatBitstreamService. getFormat(Context context, Bitstream bitstream)StringBitstreamService. 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.LongBitstreamService. getLastModified(Bitstream bitstream)Gets the last modified timestamp of the the given bitstream's content, if known.BitstreamBitstreamService. getThumbnail(Context context, Bitstream bitstream)BitstreamFormatBitstreamFormatService. guessFormat(Context context, Bitstream bitstream)Attempt to identify the format of a particular bitstream.booleanBitstreamService. 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 itInputStreamBitstreamService. retrieve(Context context, Bitstream bitstream)Retrieve 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 Bitstream Modifier and Type Method Description 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.curate
Methods in org.dspace.curate with parameters of type Bitstream Modifier and Type Method Description protected voidCitationPage. addCitedPageToItem(InputStream citedDoc, Bundle bundle, Bundle pBundle, Bundle dBundle, Map<String,Bitstream> displayMap, Item item, Bitstream bitstream)A helper function forCitationPage.performItem(Item).Method parameters in org.dspace.curate with type arguments of type Bitstream Modifier and Type Method Description protected voidCitationPage. addCitedPageToItem(InputStream citedDoc, Bundle bundle, Bundle pBundle, Bundle dBundle, Map<String,Bitstream> displayMap, Item item, Bitstream bitstream)A helper function forCitationPage.performItem(Item). -
Uses of Bitstream in org.dspace.disseminate
Methods in org.dspace.disseminate with parameters of type Bitstream Modifier and Type Method Description booleanCitationDocumentServiceImpl. canGenerateCitationVersion(Context context, Bitstream bitstream)BooleanCitationDocumentServiceImpl. isCitationEnabledForBitstream(Bitstream bitstream, Context context)protected booleanCitationDocumentServiceImpl. isCitationEnabledThroughCollection(Context context, Bitstream bitstream)org.apache.commons.lang3.tuple.Pair<InputStream,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 Bitstream Modifier and Type Method Description booleanCitationDocumentService. canGenerateCitationVersion(Context context, Bitstream bitstream)BooleanCitationDocumentService. 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<InputStream,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.license
Methods in org.dspace.license that return Bitstream Modifier and Type Method Description protected 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 nameBitstreamCreativeCommonsServiceImpl. getLicenseRdfBitstream(Item item)BitstreamCreativeCommonsServiceImpl. getLicenseTextBitstream(Item item)Deprecated.Methods in org.dspace.license with parameters of type Bitstream Modifier and Type Method Description static byte[]LicenseCleanup. copy(Context context, Bitstream b)Fast stream copy routine -
Uses of Bitstream in org.dspace.license.service
Methods in org.dspace.license.service that return Bitstream Modifier and Type Method Description BitstreamCreativeCommonsService. getLicenseRdfBitstream(Item item)Get Creative Commons license RDF, returning Bitstream object.BitstreamCreativeCommonsService. 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.rdf.conversion
Methods in org.dspace.rdf.conversion with parameters of type Bitstream Modifier and Type Method Description StringSimpleDSORelationsConverterPlugin. 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 Bitstream Modifier and Type Field Description static javax.persistence.metamodel.ListAttribute<Process,Bitstream>Process_. bitstreamsMethods in org.dspace.scripts that return Bitstream Modifier and Type Method Description BitstreamProcessServiceImpl. getBitstream(Context context, Process process, String type)BitstreamProcessServiceImpl. getBitstreamByName(Context context, Process process, String bitstreamName)Methods in org.dspace.scripts that return types with arguments of type Bitstream Modifier and Type Method Description List<Bitstream>Process. getBitstreams()This method returns a list of Bitstreams that will be used or created by the Process.List<Bitstream>ProcessServiceImpl. getBitstreams(Context context, Process process)Methods in org.dspace.scripts with parameters of type Bitstream Modifier and Type Method Description voidProcess. addBitstream(Bitstream bitstream)voidProcess. removeBitstream(Bitstream bitstream)Method parameters in org.dspace.scripts with type arguments of type Bitstream Modifier and Type Method Description voidProcess. setBitstreams(List<Bitstream> bitstreams) -
Uses of Bitstream in org.dspace.scripts.service
Methods in org.dspace.scripts.service that return Bitstream Modifier and Type Method Description BitstreamProcessService. getBitstream(Context context, Process process, String type)This method will return the Bitstream for a given process with a given typeBitstreamProcessService. 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 Bitstream Modifier and Type Method Description List<Bitstream>ProcessService. 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 Bitstream Modifier and Type Method Description protected 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 Bitstream Constructor Description BitstreamEventProcessor(Context context, javax.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 Bitstream Modifier and Type Method Description BitstreamBitstreamStorageServiceImpl. clone(Context context, Bitstream bitstream)Methods in org.dspace.storage.bitstore with parameters of type Bitstream Modifier and Type Method Description MapBitStoreService. about(Bitstream bitstream, Map attrs)Obtain technical metadata about an asset in the asset store.MapDSBitStoreService. about(Bitstream bitstream, Map attrs)Obtain technical metadata about an asset in the asset store.MapS3BitStoreService. about(Bitstream bitstream, Map attrs)Obtain technical metadata about an asset in the asset store.BitstreamBitstreamStorageServiceImpl. clone(Context context, Bitstream bitstream)MapBitstreamStorageServiceImpl. computeChecksum(Context context, Bitstream bitstream)InputStreamBitStoreService. get(Bitstream bitstream)Retrieve the bits for bitstreamInputStreamDSBitStoreService. get(Bitstream bitstream)Retrieve the bits for the asset with ID.InputStreamS3BitStoreService. get(Bitstream bitstream)Retrieve the bits for the asset with ID.protected FileDSBitStoreService. getFile(Bitstream bitstream)Return the file corresponding to a bitstream.LongBitstreamStorageServiceImpl. getLastModified(Bitstream bitstream)voidBitStoreService. put(Bitstream bitstream, InputStream inputStream)Store a stream of bits.voidDSBitStoreService. put(Bitstream bitstream, InputStream in)Store a stream of bits.voidS3BitStoreService. put(Bitstream bitstream, InputStream in)Store a stream of bits.UUIDBitstreamStorageServiceImpl. register(Context context, Bitstream bitstream, int assetstore, String bitstreamPath)Register a bitstream already in storage.voidBitStoreService. remove(Bitstream bitstream)Remove an asset from the asset store.voidDSBitStoreService. remove(Bitstream bitstream)Remove an asset from the asset store.voidS3BitStoreService. remove(Bitstream bitstream)Remove an asset from the asset store.InputStreamBitstreamStorageServiceImpl. retrieve(Context context, Bitstream bitstream)UUIDBitstreamStorageServiceImpl. store(Context context, Bitstream bitstream, InputStream is) -
Uses of Bitstream in org.dspace.storage.bitstore.service
Methods in org.dspace.storage.bitstore.service that return Bitstream Modifier and Type Method Description BitstreamBitstreamStorageService. clone(Context context, Bitstream bitstream)Clone the given bitstream to a new bitstream with a new ID.Methods in org.dspace.storage.bitstore.service with parameters of type Bitstream Modifier and Type Method Description BitstreamBitstreamStorageService. clone(Context context, Bitstream bitstream)Clone the given bitstream to a new bitstream with a new ID.MapBitstreamStorageService. computeChecksum(Context context, Bitstream bitstream)LongBitstreamStorageService. getLastModified(Bitstream bitstream)Gets the last modified timestamp of the the given bitstream's content, if known.UUIDBitstreamStorageService. register(Context context, Bitstream bitstream, int assetstore, String bitstreamPath)Register a bitstream already in storage.InputStreamBitstreamStorageService. retrieve(Context context, Bitstream bitstream)Retrieve the bits for the bitstream with ID.UUIDBitstreamStorageService. store(Context context, Bitstream bitstream, InputStream is)Store a stream of bits. -
Uses of Bitstream in org.dspace.submit.model
Methods in org.dspace.submit.model with parameters of type Bitstream Modifier and Type Method Description voidAccessConditionOption. createResourcePolicy(Context context, Bitstream b, String name, String description, Date startDate, Date endDate)Create a new resource policy for a bitstream
-