Uses of Class
org.dspace.content.packager.PackageException

Packages that use PackageException
org.dspace.app.packager Tools for exporting and importing DSpace objects (Community, Collection, Item, etc.) wrapped in various kinds of packaging. 
org.dspace.content.packager Provides an API and implementations of content packages, used in the context of ingest (SIP), or dissemination (DIP) 
 

Uses of PackageException in org.dspace.app.packager
 

Methods in org.dspace.app.packager that throw PackageException
protected  void Packager.disseminate(Context context, PackageDisseminator dip, DSpaceObject dso, PackageParameters pkgParams, String outputFile)
          Disseminate one or more DSpace objects into package(s) based on the options passed to the 'packager' script
protected  void Packager.ingest(Context context, PackageIngester sip, PackageParameters pkgParams, String sourceFile, DSpaceObject[] parentObjs)
          Ingest one or more DSpace objects from package(s) based on the options passed to the 'packager' script.
protected  void Packager.replace(Context context, PackageIngester sip, PackageParameters pkgParams, String sourceFile, DSpaceObject objToReplace)
          Replace an one or more existing DSpace objects with the contents of specified package(s) based on the options passed to the 'packager' script.
 

Uses of PackageException in org.dspace.content.packager
 

Subclasses of PackageException in org.dspace.content.packager
 class PackageValidationException
          This represents a failure when importing or exporting a package caused by invalid unacceptable package format or contents; for example, missing files that were mentioned in the manifest, or extra files not in manifest, or lack of a manifest.
 

Methods in org.dspace.content.packager that throw PackageException
 void RoleDisseminator.disseminate(Context context, DSpaceObject object, PackageParameters params, File pkgFile)
           
 void PackageDisseminator.disseminate(Context context, DSpaceObject object, PackageParameters params, File pkgFile)
          Export the object (Item, Collection, or Community) as a "package" on the indicated OutputStream.
 List<File> RoleDisseminator.disseminateAll(Context context, DSpaceObject dso, PackageParameters params, File pkgFile)
           
 List<File> PDFPackager.disseminateAll(Context context, DSpaceObject dso, PackageParameters params, File pkgFile)
          disseminateAll() cannot be implemented for a PDF disseminator, because there's only one PDF to disseminate
 List<File> PackageDisseminator.disseminateAll(Context context, DSpaceObject dso, PackageParameters params, File pkgFile)
          Recursively export one or more DSpace Objects as a series of packages.
 List<File> AbstractPackageDisseminator.disseminateAll(Context context, DSpaceObject dso, PackageParameters params, File pkgFile)
          Recursively export one or more DSpace Objects as a series of packages.
 DSpaceObject RoleIngester.ingest(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license)
           
 DSpaceObject PackageIngester.ingest(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license)
          Create new DSpaceObject out of the ingested package.
 List<DSpaceObject> RoleIngester.ingestAll(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license)
           
 List<DSpaceObject> PDFPackager.ingestAll(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license)
          IngestAll() cannot be implemented for a PDF ingester, because there's only one PDF to ingest
 List<DSpaceObject> PackageIngester.ingestAll(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license)
          Recursively create one or more DSpace Objects out of the contents of the ingested package (and all other referenced packages).
 List<DSpaceObject> AbstractPackageIngester.ingestAll(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license)
          Recursively create one or more DSpace Objects out of the contents of the ingested package (and all other referenced packages).
static void RoleIngester.ingestStream(Context context, DSpaceObject parent, PackageParameters params, InputStream stream)
          Ingest roles from an InputStream.
 DSpaceObject RoleIngester.replace(Context context, DSpaceObject dso, File pkgFile, PackageParameters params)
           
 DSpaceObject PDFPackager.replace(Context context, DSpaceObject dso, File pkgFile, PackageParameters params)
          Replace is not implemented.
 DSpaceObject PackageIngester.replace(Context context, DSpaceObject dso, File pkgFile, PackageParameters params)
          Replace an existing DSpace Object with contents of the ingested package.
 List<DSpaceObject> RoleIngester.replaceAll(Context context, DSpaceObject dso, File pkgFile, PackageParameters params)
           
 List<DSpaceObject> PDFPackager.replaceAll(Context context, DSpaceObject dso, File pkgFile, PackageParameters params)
          ReplaceAll() cannot be implemented for a PDF ingester, because there's only one PDF to ingest
 List<DSpaceObject> PackageIngester.replaceAll(Context context, DSpaceObject dso, File pkgFile, PackageParameters params)
          Recursively replace one or more DSpace Objects out of the contents of the ingested package (and all other referenced packages).
 List<DSpaceObject> AbstractPackageIngester.replaceAll(Context context, DSpaceObject dso, File pkgFile, PackageParameters params)
          Recursively replace one or more DSpace Objects out of the contents of the ingested package (and all other referenced packages).
static String PackageUtils.translateGroupNameForExport(Context context, String groupName)
          When DSpace creates Default Group Names they are of a very specific format, for example: COMMUNITY_[ID]_ADMIN COLLECTION_[ID]_ADMIN COLLECTION_[ID]_SUBMIT COLLECTION_[ID]_WORKFLOW_STEP_#
static String PackageUtils.translateGroupNameForImport(Context context, String groupName)
          This method does the exact opposite of the translateGroupNameForExport() method.
 



Copyright © 2010 DuraSpace. All Rights Reserved.