Uses of Class
org.dspace.content.Bundle
Packages that use Bundle
Package
Description
Miscellaneous utility classes.
Represents permissions for access to DSpace 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)
-
Uses of Bundle in org.dspace.app.util
Methods in org.dspace.app.util with parameters of type BundleModifier and TypeMethodDescriptionstatic voidAuthorizeUtil.authorizeManageBundlePolicy(Context context, Bundle bundle) Is allowed manage (create, remove, edit) bundle's policies in the current context? -
Uses of Bundle in org.dspace.authorize
Method parameters in org.dspace.authorize with type arguments of type BundleModifier and TypeMethodDescriptionprotected booleanAuthorizeServiceImpl.isAnyItemInstalled(Context ctx, List<Bundle> bundles) -
Uses of Bundle in org.dspace.content
Fields in org.dspace.content with type parameters of type BundleModifier and TypeFieldDescriptionBundle_.bitstreamsBitstream_.bundlesItem_.bundlesstatic jakarta.persistence.metamodel.EntityType<Bundle>Bundle_.class_Bundle_.itemsBundle_.legacyIdBundle_.primaryBitstreamMethods in org.dspace.content that return BundleModifier and TypeMethodDescriptionBundleServiceImpl.findByIdOrLegacyId(Context context, String id) BundleServiceImpl.findByLegacyId(Context context, int id) Methods in org.dspace.content that return types with arguments of type BundleModifier and TypeMethodDescriptionBitstream.getBundles()Get the bundles this bitstream appears inItem.getBundles()Get the bundles in this item.Item.getBundles(String name) Get the bundles matching a bundle name (name corresponds roughly to type)ItemServiceImpl.getBundles(Item item, String name) Methods in org.dspace.content with parameters of type BundleModifier and TypeMethodDescriptionvoidBundleServiceImpl.addBitstream(Context context, Bundle bundle, Bitstream bitstream) voidBitstreamServiceImpl.create(Context context, Bundle bundle, InputStream is) voidprotected voidItemServiceImpl.deleteBundle(Context context, Item item, Bundle b) BundleServiceImpl.getAdminObject(Context context, Bundle bundle, int action) BundleServiceImpl.getBitstreamByName(Bundle bundle, String name) BundleServiceImpl.getBitstreamPolicies(Context context, Bundle bundle) BundleServiceImpl.getBundlePolicies(Context context, Bundle bundle) BundleServiceImpl.getParentObject(Context context, Bundle bundle) voidBundleServiceImpl.inheritCollectionDefaultPolicies(Context context, Bundle bundle, Collection collection) voidBundleServiceImpl.moveBitstreamToBundle(Context context, Bundle targetBundle, Bitstream bitstream) voidBundleServiceImpl.removeBitstream(Context context, Bundle bundle, Bitstream bitstream) voidItemServiceImpl.removeBundle(Context context, Item item, Bundle bundle) voidBundleServiceImpl.replaceAllBitstreamPolicies(Context context, Bundle bundle, List<ResourcePolicy> newpolicies) voidvoidvoidBundleServiceImpl.updateBitstreamOrder(Context context, Bundle bundle, int from, int to) voidBundleServiceImpl.updateLastModified(Context context, Bundle dso) -
Uses of Bundle in org.dspace.content.packager
Methods in org.dspace.content.packager with parameters of type BundleModifier and TypeMethodDescriptionvoidMETSManifest.crosswalkBundle(Context context, PackageParameters params, Bundle bundle, String fileId, METSManifest.Mdref callback) abstract booleanAbstractMETSDisseminator.includeBundle(Bundle bundle) booleanDSpaceAIPDisseminator.includeBundle(Bundle bundle) By default, include all bundles in AIP as content.booleanDSpaceMETSDisseminator.includeBundle(Bundle bundle) static booleanPackageUtils.isMetaInfoBundle(Bundle bn) Predicate, does this bundle container meta-information. -
Uses of Bundle in org.dspace.content.service
Methods in org.dspace.content.service that return BundleModifier and TypeMethodDescriptionCreate a new bundle, with a new ID and link it to the provided itemMethods in org.dspace.content.service that return types with arguments of type BundleModifier and TypeMethodDescriptionItemService.getBundles(Item item, String name) Get the bundles matching a bundle name (name corresponds roughly to type)Methods in org.dspace.content.service with parameters of type BundleModifier and TypeMethodDescriptionvoidBundleService.addBitstream(Context context, Bundle bundle, Bitstream bitstream) Add an existing bitstream to this bundlevoidAdd an existing bundle to this item.BitstreamService.create(Context context, Bundle bundle, InputStream is) Create a new bitstream, with a new ID.BundleService.getBitstreamByName(Bundle bundle, String name) BundleService.getBitstreamPolicies(Context context, Bundle bundle) BundleService.getBundlePolicies(Context context, Bundle bundle) voidBundleService.inheritCollectionDefaultPolicies(Context context, Bundle bundle, Collection collection) remove all policies on the bundle and its contents, and replace them with the DEFAULT_BITSTREAM_READ policies belonging to the collection.voidBundleService.moveBitstreamToBundle(Context context, Bundle targetBundle, Bitstream bitstream) Moves a bitstream from its current bundle to a new target bundleRegister a new bitstream, with a new ID.voidBundleService.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 itvoidItemService.removeBundle(Context context, Item item, Bundle bundle) Remove a bundle.voidBundleService.replaceAllBitstreamPolicies(Context context, Bundle bundle, List<ResourcePolicy> newpolicies) remove all of the policies for the bundle and bitstream contents and replace them with a new list of policiesvoidChanges bitstream order according to the arrayvoidBundleService.updateBitstreamOrder(Context context, Bundle bundle, int from, int to) Moves a bitstream within a bundle from one place to another, shifting all other bitstreams in the process -
Uses of Bundle in org.dspace.ctask.general
Methods in org.dspace.ctask.general with parameters of type BundleModifier and TypeMethodDescriptionprotected voidCitationPage.addCitedPageToItem(InputStream citedDoc, Bundle bundle, Bundle pBundle, Bundle dBundle, Item item, Bitstream bitstream) A helper function forCitationPage.performItem(Item). -
Uses of Bundle in org.dspace.iiif.util
Methods in org.dspace.iiif.util that return types with arguments of type BundleModifier and TypeMethodDescriptionIIIFSharedUtils.getIIIFBundles(Item item) This method returns the bundles holding IIIF resources if any.Methods in org.dspace.iiif.util with parameters of type BundleModifier and TypeMethodDescriptionstatic booleanIIIFSharedUtils.isIIIFBundle(Bundle b) Utility method to check is a bundle can contain bitstreams to use as IIIF resources -
Uses of Bundle in org.dspace.license
Methods in org.dspace.license that return BundleModifier and TypeMethodDescriptionprotected BundleCreativeCommonsServiceImpl.getCcBundle(Context context, Item item) Methods in org.dspace.license with parameters of type BundleModifier and TypeMethodDescriptionprotected voidCreativeCommonsServiceImpl.setBitstreamFromBytes(Context context, Item item, Bundle bundle, String bitstream_name, BitstreamFormat format, byte[] bytes) This helper method takes some bytes and stores them as a bitstream for an item, under the CC bundle, with the given bitstream name Note: This helper method assumes that the CC bitstreams are short and easily expressed as byte arrays in RAM