Uses of Class
org.dspace.sword.DSpaceSWORDException

Packages that use DSpaceSWORDException
org.dspace.sword   
 

Uses of DSpaceSWORDException in org.dspace.sword
 

Methods in org.dspace.sword that throw DSpaceSWORDException
protected  void ItemEntryGenerator.addContentElement()
          Set the content type that DSpace received.
protected  void BitstreamEntryGenerator.addContentElement()
          Set the content type that DSpace received.
protected  void BitstreamEntryGenerator.addIdentifier()
          Add the identifier for the item.
protected  void ItemEntryGenerator.addLinks()
          Add links associated with this item.
protected  void BitstreamEntryGenerator.addLinks()
          Add links associated with this item.
protected  void ItemEntryGenerator.addRights()
          Add rights information.
protected  void BitstreamEntryGenerator.addRights()
          Add rights information.
 Collection CollectionCollectionGenerator.buildCollection(DSpaceObject dso)
          Build the collection for the given DSpaceObject.
abstract  Collection ATOMCollectionGenerator.buildCollection(DSpaceObject dso)
          Build the ATOM Collection which represents the given DSpace Object
 Collection ItemCollectionGenerator.buildCollection(DSpaceObject dso)
          Build the collection around the give DSpaceObject.
 Collection CommunityCollectionGenerator.buildCollection(DSpaceObject dso)
           
 boolean SWORDAuthenticator.canSubmit(SWORDService swordService, Deposit deposit, DSpaceObject dso)
          Can the users contained in this object's member SWORDContext make a successful submission to the selected collection.
 boolean SWORDAuthenticator.canSubmitTo(SWORDContext swordContext, Collection collection)
          Can the current SWORD Context permit deposit into the given collection in the given DSpace Context IF: the authenticated user is an administrator AND: (the on-behalf-of user is an administrator OR the on-behalf-of user is authorised to ADD OR the on-behalf-of user is null) OR IF: the authenticated user is authorised to ADD AND: (the on-behalf-of user is an administrator OR the on-behalf-of user is authorised to ADD OR the on-behalf-of user is null)
 boolean SWORDAuthenticator.canSubmitTo(SWORDContext context, DSpaceObject dso)
          Can the given context submit to the specified dspace object.
 boolean SWORDAuthenticator.canSubmitTo(SWORDContext swordContext, Item item)
          Does the given context have the authority to submit to the given item.
 void SWORDContext.commit()
          Commit the primary context held by this class, and abort the authenticated user's context if it is different.
protected  void DSpaceATOMEntry.constructEntry()
          Construct the entry
 String SWORDUrlManager.constructSubServiceUrl(Collection collection)
          Construct the service document url for the given object, which will be supplied in the sword:service element of other service document entries
 String SWORDUrlManager.constructSubServiceUrl(Community community)
          Construct the service document url for the given object, which will be supplied in the sword:service element of other service document entries
 DepositResponse DepositManager.deposit(Deposit deposit)
          Once this object is fully prepared, this method will execute the deposit process.
abstract  DepositResult Depositor.doDeposit(Deposit deposit)
          Execute the deposit process with the given sword deposit
 DepositResult CollectionDepositor.doDeposit(Deposit deposit)
          Perform a deposit, using the supplied SWORD Deposit object
 DepositResult ItemDepositor.doDeposit(Deposit deposit)
           
 DSpaceObject SWORDUrlManager.extractDSpaceObject(String url)
          Extract a DSpaceObject from the given url.
 List<String> SWORDConfiguration.getAccepts(Context context, DSpaceObject dso)
          Get the list of mime types that the given dspace object will accept as packages
 List<Collection> SWORDAuthenticator.getAllowedCollections(SWORDContext swordContext)
          Get an array of all the collections that the current SWORD context will allow deposit onto in the given DSpace context Forwards to: getAllowedCollections(swordContext, null) See that method for details of the conditions applied
 List<Collection> SWORDAuthenticator.getAllowedCollections(SWORDContext swordContext, Community community)
          Get an array of all the collections that the current SWORD context will allow deposit onto in the given DSpace context IF: the authenticated user is an administrator AND: (the on-behalf-of user is an administrator OR the on-behalf-of user is authorised to ADD OR the on-behalf-of user is null) OR IF: the authenticated user is authorised to ADD AND: (the on-behalf-of user is an administrator OR the on-behalf-of user is authorised to ADD OR the on-behalf-of user is null)
 List<Community> SWORDAuthenticator.getAllowedCommunities(SWORDContext swordContext)
          Get an array of all the communities that the current SWORD context will allow deposit onto in the given DSpace context The user may submit to a community if the following conditions are met: IF: the authenticated user is an administrator AND: (the on-behalf-of user is an administrator OR the on-behalf-of user is authorised to READ OR the on-behalf-of user is null) OR IF: the authenticated user is authorised to READ AND: (the on-behalf-of user is an administrator OR the on-behalf-of user is authorised to READ OR the on-behalf-of user is null)
 List<Item> SWORDAuthenticator.getAllowedItems(SWORDContext swordContext, Collection collection)
          Get a list of all the items that the current SWORD context will allow deposit onto in the given DSpace context IF: the authenticated user is an administrator AND: (the on-behalf-of user is an administrator OR the on-behalf-of user is authorised to WRITE on the item and ADD on the ORIGINAL bundle OR the on-behalf-of user is null) OR IF: the authenticated user is authorised to WRITE on the item and ADD on the ORIGINAL bundle AND: (the on-behalf-of user is an administrator OR the on-behalf-of user is authorised to WRITE on the item and ADD on the ORIGINAL bundle OR the on-behalf-of user is null)
 String SWORDUrlManager.getBaseDepositUrl()
          Get the base deposit URL for the DSpace SWORD implementation.
 String SWORDUrlManager.getBaseMediaLinkUrl()
          get the base media link url
 String SWORDUrlManager.getBaseServiceDocumentUrl()
          get the base url for service document requests
 String SWORDUrlManager.getBitstreamUrl(Bitstream bitstream)
          Central location for constructing usable urls for dspace bitstreams.
 Collection CollectionLocation.getCollection(Context context, String location)
          Obtain the collection which is represented by the given URL
 Collection SWORDUrlManager.getCollection(Context context, String location)
          Obtain the collection which is represented by the given URL
 List<String> SWORDConfiguration.getCollectionAccepts()
          Get the list of mime types that a Collection will accept as packages
 List<Community> SWORDAuthenticator.getCommunities(SWORDContext swordContext, Community community)
          Get an array of all the collections that the current SWORD context will allow deposit onto in the given DSpace context The user may submit to a community if the following conditions are met: IF: the authenticated user is an administrator AND: (the on-behalf-of user is an administrator OR the on-behalf-of user is authorised to READ OR the on-behalf-of user is null) OR IF: the authenticated user is authorised to READ AND: (the on-behalf-of user is an administrator OR the on-behalf-of user is authorised to READ OR the on-behalf-of user is null)
 String SWORDUrlManager.getDepositLocation(Collection collection)
          Obtain the deposit URL for the given collection.
 String SWORDUrlManager.getDepositLocation(Community community)
          Obtain the deposit URL for the given community.
 String SWORDUrlManager.getDepositLocation(Item item)
          Obtain the deposit URL for the given item.
 DSpaceObject DepositManager.getDepositTarget(Deposit deposit)
           
 DSpaceObject SWORDUrlManager.getDSpaceObject(Context context, String location)
          Obtain the collection which is represented by the given URL
 String SWORDService.getFilename(Context context, Deposit deposit, boolean original)
          Construct the most appropriate filename for the incoming deposit
static SWORDIngester SWORDIngesterFactory.getInstance(Context context, Deposit deposit, DSpaceObject dso)
          Generate an object which conforms to the SWORDIngester interface.
 String CollectionLocation.getLocation(Collection collection)
          Obtain the deposit URL for the given collection.
 AtomDocumentResponse MediaEntryManager.getMediaEntry(String url)
          Get the media entry for the given URL request.
 String SWORDUrlManager.getMediaLink(Bitstream bitstream)
          get the media link url for the given bitstream
 ServiceDocument ServiceDocumentManager.getServiceDocument()
          Obtain the service document for the repository based on the DSpace context and the SWORD context which must be set for this object prior to calling this method.
 ServiceDocument ServiceDocumentManager.getServiceDocument(String url)
           
 SWORDEntry DSpaceATOMEntry.getSWORDEntry(DepositResult result, Deposit deposit)
          Construct the SWORDEntry object which represents the given item with the given handle.
 SWORDEntry DSpaceATOMEntry.getSWORDEntry(DSpaceObject dso)
          get the sword entry for the given dspace object.
 String SWORDConfiguration.getTempDir()
          Get the temp directory for storing files during deposit
 DepositResult SimpleFileIngester.ingest(SWORDService service, Deposit deposit, DSpaceObject target)
          perform the ingest using the given deposit object onto the specified target dspace object, using the sword service implementation
 DepositResult SWORDIngester.ingest(SWORDService service, Deposit deposit, DSpaceObject target)
          Ingest the package as described in the given Deposit object within the given DSpace Context
 DepositResult SWORDMETSIngester.ingest(SWORDService service, Deposit deposit, DSpaceObject dso)
           
 boolean SWORDConfiguration.isAcceptableContentType(Context context, String type, DSpaceObject dso)
          is the given content mimetype acceptable to the given dspace object
 boolean SWORDUrlManager.isBaseMediaLinkUrl(String url)
          is the given url the base media link url
 boolean SWORDUrlManager.isBaseServiceDocumentUrl(String url)
          is the given url the base service document url
 boolean SWORDAuthenticator.isOnBehalfOfAdmin(SWORDContext swordContext)
          Is the given onBehalfOf user DSpace administrator? This translates as asking the question of whether the given eperson is a member of the special DSpace group Administrator, with id 1
 boolean SWORDConfiguration.isSupportedMediaType(String mediaType, DSpaceObject dso)
          is the given packaging/media type supported by the given dspace object
 boolean SWORDAuthenticator.isUserAdmin(SWORDContext swordContext)
          Is the authenticated user a DSpace administrator? This translates as asking the question of whether the given eperson is a member of the special DSpace group Administrator, with id 1
abstract  void Depositor.undoDeposit(DepositResult result)
          Undo any changes to the archive effected by the deposit
 void CollectionDepositor.undoDeposit(DepositResult result)
          Reverse any changes which may have resulted as the consequence of a deposit.
 void ItemDepositor.undoDeposit(DepositResult result)
           
 

Constructors in org.dspace.sword that throw DSpaceSWORDException
CollectionDepositor(SWORDService swordService, DSpaceObject dso)
          Construct a depositor for the given service instance on the given DSpaceObject.
ItemDepositor(SWORDService swordService, DSpaceObject dso)
           
 



Copyright © 2011 DuraSpace. All Rights Reserved.