| Package | Description |
|---|---|
| org.dspace.app.util |
Miscellaneous utility classes.
|
| org.dspace.authorize |
Handles permissions for 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.curate | |
| org.dspace.license |
| Modifier and Type | Method and Description |
|---|---|
Bundle |
SubmissionInfo.getBundle()
Return the current bundle we're working with (This is used during upload
processes, or user interfaces that are dealing with bundles/bitstreams)
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AuthorizeUtil.authorizeManageBundlePolicy(Context context,
Bundle bundle)
Is allowed manage (create, remove, edit) bundle's policies in the
current context?
|
void |
SubmissionInfo.setBundle(Bundle bund)
Sets the current bundle we're working with (This is used during upload
processes, or user interfaces that are dealing with bundles/bitstreams)
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AuthorizeServiceImpl.isAnyItemInstalled(Context ctx,
List<Bundle> bundles) |
| Modifier and Type | Method and Description |
|---|---|
Bundle |
BundleServiceImpl.create(Context context,
Item item,
String name) |
Bundle |
BundleServiceImpl.find(Context context,
UUID id) |
Bundle |
BundleServiceImpl.findByIdOrLegacyId(Context context,
String id) |
Bundle |
BundleServiceImpl.findByLegacyId(Context context,
int id) |
| Modifier and Type | Method and Description |
|---|---|
List<Bundle> |
Bitstream.getBundles()
Get the bundles this bitstream appears in
|
List<Bundle> |
Item.getBundles()
Get the bundles in this item.
|
List<Bundle> |
ItemServiceImpl.getBundles(Item item,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
BundleServiceImpl.addBitstream(Context context,
Bundle bundle,
Bitstream bitstream) |
void |
ItemServiceImpl.addBundle(Context context,
Item item,
Bundle bundle) |
Bitstream |
BitstreamServiceImpl.create(Context context,
Bundle bundle,
InputStream is) |
void |
BundleServiceImpl.delete(Context context,
Bundle bundle) |
protected void |
ItemServiceImpl.deleteBundle(Context context,
Item item,
Bundle b) |
DSpaceObject |
BundleServiceImpl.getAdminObject(Context context,
Bundle bundle,
int action) |
Bitstream |
BundleServiceImpl.getBitstreamByName(Bundle bundle,
String name) |
List<ResourcePolicy> |
BundleServiceImpl.getBitstreamPolicies(Context context,
Bundle bundle) |
List<ResourcePolicy> |
BundleServiceImpl.getBundlePolicies(Context context,
Bundle bundle) |
DSpaceObject |
BundleServiceImpl.getParentObject(Context context,
Bundle bundle) |
void |
BundleServiceImpl.inheritCollectionDefaultPolicies(Context context,
Bundle bundle,
Collection collection) |
Bitstream |
BitstreamServiceImpl.register(Context context,
Bundle bundle,
int assetstore,
String bitstreamPath) |
void |
BundleServiceImpl.removeBitstream(Context context,
Bundle bundle,
Bitstream bitstream) |
void |
ItemServiceImpl.removeBundle(Context context,
Item item,
Bundle bundle) |
void |
BundleServiceImpl.replaceAllBitstreamPolicies(Context context,
Bundle bundle,
List<ResourcePolicy> newpolicies) |
void |
BundleServiceImpl.setOrder(Context context,
Bundle bundle,
UUID[] bitstreamIds) |
void |
BundleServiceImpl.update(Context context,
Bundle bundle) |
void |
BundleServiceImpl.updateLastModified(Context context,
Bundle dso) |
| Modifier and Type | Method and Description |
|---|---|
void |
METSManifest.crosswalkBundle(Context context,
PackageParameters params,
Bundle bundle,
String fileId,
METSManifest.Mdref callback) |
abstract boolean |
AbstractMETSDisseminator.includeBundle(Bundle bundle) |
boolean |
DSpaceMETSDisseminator.includeBundle(Bundle bundle) |
boolean |
DSpaceAIPDisseminator.includeBundle(Bundle bundle)
By default, include all bundles in AIP as content.
|
static boolean |
PackageUtils.isMetaInfoBundle(Bundle bn)
Predicate, does this bundle container meta-information.
|
| Modifier and Type | Method and Description |
|---|---|
Bundle |
BundleService.create(Context context,
Item item,
String name)
Create a new bundle, with a new ID and link it to the provided item
|
| Modifier and Type | Method and Description |
|---|---|
List<Bundle> |
ItemService.getBundles(Item item,
String name)
Get the bundles matching a bundle name (name corresponds roughly to type)
|
| Modifier and Type | Method and Description |
|---|---|
void |
BundleService.addBitstream(Context context,
Bundle bundle,
Bitstream bitstream)
Add an existing bitstream to this bundle
|
void |
ItemService.addBundle(Context context,
Item item,
Bundle bundle)
Add an existing bundle to this item.
|
Bitstream |
BitstreamService.create(Context context,
Bundle bundle,
InputStream is)
Create a new bitstream, with a new ID.
|
Bitstream |
BundleService.getBitstreamByName(Bundle bundle,
String name) |
List<ResourcePolicy> |
BundleService.getBitstreamPolicies(Context context,
Bundle bundle) |
List<ResourcePolicy> |
BundleService.getBundlePolicies(Context context,
Bundle bundle) |
void |
BundleService.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.
|
Bitstream |
BitstreamService.register(Context context,
Bundle bundle,
int assetstore,
String bitstreamPath)
Register a new bitstream, with a new ID.
|
void |
BundleService.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 it
|
void |
ItemService.removeBundle(Context context,
Item item,
Bundle bundle)
Remove a bundle.
|
void |
BundleService.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 policies
|
void |
BundleService.setOrder(Context context,
Bundle bundle,
UUID[] bitstreamIds)
Changes bitstream order according to the array
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
CitationPage.addCitedPageToItem(File citedTemp,
Bundle bundle,
Bundle pBundle,
Bundle dBundle,
Map<String,Bitstream> displayMap,
Item item,
Bitstream bitstream)
A helper function for
CitationPage.performItem(Item). |
| Modifier and Type | Method and Description |
|---|---|
protected Bundle |
CreativeCommonsServiceImpl.getCcBundle(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CreativeCommonsServiceImpl.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
|
Copyright © 2016 DuraSpace. All rights reserved.