Uses of Class
org.dspace.content.Bundle
-
Packages that use Bundle Package Description org.dspace.app.util Miscellaneous utility classes.org.dspace.authorize Represents permissions for access to DSpace content.org.dspace.content Provides an API for reading and manipulating content in the DSpace system.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.iiif.util org.dspace.license -
-
Uses of Bundle in org.dspace.app.util
Methods in org.dspace.app.util with parameters of type Bundle Modifier and Type Method Description static 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 Bundle Modifier and Type Method Description protected booleanAuthorizeServiceImpl. isAnyItemInstalled(Context ctx, List<Bundle> bundles) -
Uses of Bundle in org.dspace.content
Fields in org.dspace.content with type parameters of type Bundle Modifier and Type Field Description static javax.persistence.metamodel.ListAttribute<Bundle,Bitstream>Bundle_. bitstreamsstatic javax.persistence.metamodel.ListAttribute<Bitstream,Bundle>Bitstream_. bundlesstatic javax.persistence.metamodel.ListAttribute<Item,Bundle>Item_. bundlesstatic javax.persistence.metamodel.ListAttribute<Bundle,Item>Bundle_. itemsstatic javax.persistence.metamodel.SingularAttribute<Bundle,Integer>Bundle_. legacyIdstatic javax.persistence.metamodel.SingularAttribute<Bundle,Bitstream>Bundle_. primaryBitstreamMethods in org.dspace.content that return Bundle Modifier and Type Method Description BundleBundleServiceImpl. create(Context context, Item item, String name)BundleBundleServiceImpl. find(Context context, UUID id)BundleBundleServiceImpl. findByIdOrLegacyId(Context context, String id)BundleBundleServiceImpl. findByLegacyId(Context context, int id)Methods in org.dspace.content that return types with arguments of type Bundle Modifier and Type Method Description List<Bundle>Bitstream. getBundles()Get the bundles this bitstream appears inList<Bundle>Item. getBundles()Get the bundles in this item.List<Bundle>Item. getBundles(String name)Get the bundles matching a bundle name (name corresponds roughly to type)List<Bundle>ItemServiceImpl. getBundles(Item item, String name)Methods in org.dspace.content with parameters of type Bundle Modifier and Type Method Description voidBundleServiceImpl. addBitstream(Context context, Bundle bundle, Bitstream bitstream)voidItemServiceImpl. addBundle(Context context, Item item, Bundle bundle)BitstreamBitstreamServiceImpl. create(Context context, Bundle bundle, InputStream is)voidBundleServiceImpl. delete(Context context, Bundle bundle)protected voidItemServiceImpl. deleteBundle(Context context, Item item, Bundle b)DSpaceObjectBundleServiceImpl. getAdminObject(Context context, Bundle bundle, int action)BitstreamBundleServiceImpl. getBitstreamByName(Bundle bundle, String name)List<ResourcePolicy>BundleServiceImpl. getBitstreamPolicies(Context context, Bundle bundle)List<ResourcePolicy>BundleServiceImpl. getBundlePolicies(Context context, Bundle bundle)DSpaceObjectBundleServiceImpl. getParentObject(Context context, Bundle bundle)voidBundleServiceImpl. inheritCollectionDefaultPolicies(Context context, Bundle bundle, Collection collection)voidBundleServiceImpl. moveBitstreamToBundle(Context context, Bundle targetBundle, Bitstream bitstream)BitstreamBitstreamServiceImpl. register(Context context, Bundle bundle, int assetstore, String bitstreamPath)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)voidBundleServiceImpl. setOrder(Context context, Bundle bundle, UUID[] bitstreamIds)voidBundleServiceImpl. update(Context context, Bundle bundle)voidBundleServiceImpl. 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 Bundle Modifier and Type Method Description voidMETSManifest. 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 Bundle Modifier and Type Method Description BundleBundleService. create(Context context, Item item, String name)Create 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 Bundle Modifier and Type Method Description List<Bundle>ItemService. 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 Bundle Modifier and Type Method Description voidBundleService. addBitstream(Context context, Bundle bundle, Bitstream bitstream)Add an existing bitstream to this bundlevoidItemService. addBundle(Context context, Item item, Bundle bundle)Add an existing bundle to this item.BitstreamBitstreamService. create(Context context, Bundle bundle, InputStream is)Create a new bitstream, with a new ID.BitstreamBundleService. getBitstreamByName(Bundle bundle, String name)List<ResourcePolicy>BundleService. getBitstreamPolicies(Context context, Bundle bundle)List<ResourcePolicy>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 bundleBitstreamBitstreamService. register(Context context, Bundle bundle, int assetstore, String bitstreamPath)Register 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 policiesvoidBundleService. setOrder(Context context, Bundle bundle, UUID[] bitstreamIds)Changes 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 Bundle Modifier and Type Method Description protected 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 Bundle Modifier and Type Method Description static List<Bundle>IIIFSharedUtils. getIIIFBundles(Item item)This method returns the bundles holding IIIF resources if any.Methods in org.dspace.iiif.util with parameters of type Bundle Modifier and Type Method Description static 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 Bundle Modifier and Type Method Description protected BundleCreativeCommonsServiceImpl. getCcBundle(Context context, Item item)Methods in org.dspace.license with parameters of type Bundle Modifier and Type Method Description protected 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
-