Uses of Class
org.dspace.authorize.AuthorizeException

Packages that use AuthorizeException
org.dspace.administer Provides classes and methods for administrative functions that fall outside the regular use of other subsystems. 
org.dspace.app.itemupdate   
org.dspace.app.mets   
org.dspace.app.util   
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.crosswalk Provides an API and implementations of metadata crosswalks, which are directional mappings from one schema to another, performed in the context of Item ingestion or dissemination. 
org.dspace.content.packager Provides an API and implementations of content packages, used in the context of ingest (SIP), or dissemination (DIP) 
org.dspace.embargo   
org.dspace.eperson Provides classes representing e-people and groups of e-people. 
org.dspace.harvest   
org.dspace.license   
org.dspace.plugin   
org.dspace.submit   
org.dspace.submit.step   
org.dspace.workflow DSpace's workflow system 
 

Uses of AuthorizeException in org.dspace.administer
 

Methods in org.dspace.administer that throw AuthorizeException
static DCType DCType.create(Context context)
          Deprecated.  
 void CommunityFiliator.defiliate(Context c, Community parent, Community child)
           
 void DCType.delete()
          Deprecated.  
 void CommunityFiliator.filiate(Context c, Community parent, Community child)
           
static DCType DCType.findByElement(Context context, String element, String qualifier)
          Deprecated.  
static void RegistryLoader.loadBitstreamFormats(Context context, String filename)
          Load Bitstream Format metadata
static void RegistryLoader.loadDublinCoreTypes(Context context, String filename)
          Load Dublin Core types
static void MetadataImporter.loadRegistry(String file, boolean forceUpdate)
          Load the data from the specified file path into the database
static void MetadataImporter.main(String[] args)
          main method for reading user input from the command line
 void DCType.update()
          Deprecated.  
 

Uses of AuthorizeException in org.dspace.app.itemupdate
 

Methods in org.dspace.app.itemupdate that throw AuthorizeException
 void AddBitstreamsAction.execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo)
          Adds bitstreams from the archive as listed in the contents file.
 void DeleteBitstreamsByFilterAction.execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo)
          Delete bitstream
 void AddMetadataAction.execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo)
          Adds metadata specified in the source archive
 void DeleteMetadataAction.execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo)
          Delete metadata from item
 void DeleteBitstreamsAction.execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo)
          Delete bitstream from item
static List<org.dspace.app.itemupdate.DtoMetadata> MetadataUtilities.loadDublinCore(DocumentBuilder docBuilder, InputStream is)
          Modification of method from ItemImporter.loadDublinCore as a Factory method
 

Uses of AuthorizeException in org.dspace.app.mets
 

Methods in org.dspace.app.mets that throw AuthorizeException
static void METSExport.writeAIP(Context context, Item item, String dest)
          Write out the AIP for the given item to the given directory.
static void METSExport.writeMETS(Context context, Item item, OutputStream os, boolean fullURL)
          Write METS metadata corresponding to the metadata for an item
 

Uses of AuthorizeException in org.dspace.app.util
 

Methods in org.dspace.app.util that throw AuthorizeException
static void AuthorizeUtil.authorizeManageAdminGroup(Context context, Collection collection)
          Can the current user create/edit the admins group of the collection? please note that the remove action need a separate check
static void AuthorizeUtil.authorizeManageAdminGroup(Context context, Community community)
          Can the current user create/edit the admins group of the community? please note that the remove action need a separate check
static void AuthorizeUtil.authorizeManageBitstreamPolicy(Context context, Bitstream bitstream)
          Is allowed manage (create, remove, edit) bitstream's policies in the current context?
static void AuthorizeUtil.authorizeManageBundlePolicy(Context context, Bundle bundle)
          Is allowed manage (create, remove, edit) bundle's policies in the current context?
static void AuthorizeUtil.authorizeManageCCLicense(Context context, Item item)
          Is the current user allowed to manage (add, remove, replace) the item's CC License
static void AuthorizeUtil.authorizeManageCollectionPolicy(Context context, Collection collection)
          Is allowed manage (create, remove, edit) collection's policies in the current context?
static void AuthorizeUtil.authorizeManageCommunityPolicy(Context context, Community community)
          Is allowed manage (create, remove, edit) community's policies in the current context?
static void AuthorizeUtil.authorizeManageItemPolicy(Context context, Item item)
          Is allowed manage (create, remove, edit) item's policies in the current context?
static void AuthorizeUtil.authorizeManagePolicy(Context c, ResourcePolicy rp)
          Can the current user remove or edit the supplied policy?
static void AuthorizeUtil.authorizeManageSubmittersGroup(Context context, Collection collection)
          Can the current user manage (create, remove, edit) the submitters group of the collection?
static void AuthorizeUtil.authorizeManageTemplateItem(Context context, Collection collection)
          Is the current user allowed to manage (create, remove, edit) the collection's template item?
static void AuthorizeUtil.authorizeManageWorkflowsGroup(Context context, Collection collection)
          Can the current user manage (create, remove, edit) the workflow groups of the collection?
static void AuthorizeUtil.authorizeReinstateItem(Context context, Item item)
          Can the current user reistate the item?
static void AuthorizeUtil.authorizeRemoveAdminGroup(Context context, Collection collection)
          Can the current user remove the admins group of the collection? please note that the create/edit actions need separate check
static void AuthorizeUtil.authorizeRemoveAdminGroup(Context context, Community community)
          Can the current user remove the admins group of the community? please note that the create/edit actions need separate check
static void AuthorizeUtil.authorizeWithdrawItem(Context context, Item item)
          Can the current user withdraw the item?
static void AuthorizeUtil.requireAdminRole(Context context)
          Throw an AuthorizeException if the current user is not a System Admin
 

Uses of AuthorizeException in org.dspace.authorize
 

Methods in org.dspace.authorize that throw AuthorizeException
static void AuthorizeManager.addPolicies(Context c, List<ResourcePolicy> policies, DSpaceObject dest)
          Copies policies from a list of resource policies to a given DSpaceObject
static void AuthorizeManager.addPolicy(Context c, DSpaceObject o, int actionID, EPerson e)
          Add a policy for an individual eperson
static void AuthorizeManager.addPolicy(Context c, DSpaceObject o, int actionID, Group g)
          Add a policy for a group
static void AuthorizeManager.authorizeAction(Context c, DSpaceObject o, int action)
          Checks that the context's current user can perform the given action on the given object.
static void AuthorizeManager.authorizeAction(Context c, DSpaceObject o, int action, boolean useInheritance)
          Checks that the context's current user can perform the given action on the given object.
static void AuthorizeManager.authorizeAnyOf(Context c, DSpaceObject o, int[] actions)
          Utility method, checks that the current user of the given context can perform all of the specified actions on the given object.
static ResourcePolicy ResourcePolicy.create(Context context)
          Create a new ResourcePolicy
static void AuthorizeManager.inheritPolicies(Context c, DSpaceObject src, DSpaceObject dest)
          Add policies to an object to match those from a previous object
static void PolicySet.setPolicies(Context c, int containerType, int containerID, int contentType, int actionID, int groupID, boolean isReplace, boolean clearOnly)
          Useful policy wildcard tool.
static void PolicySet.setPoliciesFilter(Context c, int containerType, int containerID, int contentType, int actionID, int groupID, boolean isReplace, boolean clearOnly, String filter)
          Useful policy wildcard tool.
 

Uses of AuthorizeException in org.dspace.content
 

Methods in org.dspace.content that throw AuthorizeException
 void Bundle.addBitstream(Bitstream b)
          Add an existing bitstream to this bundle
 void Item.addBundle(Bundle b)
          Add an existing bundle to this item.
 void Community.addCollection(Collection c)
          Add an exisiting collection to the community
 void Collection.addItem(Item item)
          Add an item to the collection.
 void Community.addSubcommunity(Community c)
          Add an exisiting community as a subcommunity to the community
 void Community.canEdit()
           
 void Collection.canEdit()
           
 void Collection.canEdit(boolean useInheritance)
           
static Community Community.create(Community parent, Context context)
          Create a new community, with a new ID.
 void MetadataField.create(Context context)
          Creates a new metadata field.
 void MetadataSchema.create(Context context)
          Creates a new metadata schema in the database, out of this object.
static BitstreamFormat BitstreamFormat.create(Context context)
          Create a new bitstream format
 void MetadataValue.create(Context context)
          Creates a new metadata value.
static WorkspaceItem WorkspaceItem.create(Context c, Collection coll, boolean template)
          Create a new workspace item, with a new ID.
 Group Community.createAdministrators()
          Create a default administrators group if one does not already exist.
 Group Collection.createAdministrators()
          Create a default administrators group if one does not already exist.
 Bitstream Bundle.createBitstream(InputStream is)
          Create a new bitstream in this bundle.
 Bundle Item.createBundle(String name)
          Create a bundle in this item, with immediate effect
 Collection Community.createCollection()
          Create a new collection within this community.
 Bitstream Item.createSingleBitstream(InputStream is)
          Convenience method, calls createSingleBitstream() with name "ORIGINAL"
 Bitstream Item.createSingleBitstream(InputStream is, String name)
          Create a single bitstream in a new bundle.
 Community Community.createSubcommunity()
          Create a new sub-community within this community.
 Group Collection.createSubmitters()
          Create a default submitters group if one does not already exist.
 void Collection.createTemplateItem()
          Create an empty template item for this collection.
 Group Collection.createWorkflowGroup(int step)
          Create a workflow group for the given step if one does not already exist.
 void BitstreamFormat.delete()
          Delete this bitstream format.
 void Community.delete()
          Delete the community, including the metadata and logo.
 void MetadataField.delete(Context context)
          Delete the metadata field.
 void MetadataSchema.delete(Context context)
          Delete the metadata schema.
 void MetadataValue.delete(Context context)
          Delete the metadata field.
 void WorkspaceItem.deleteAll()
          Delete the workspace item.
 void InProgressSubmission.deleteWrapper()
          Deletes submission wrapper, doesn't delete item contents
 void WorkspaceItem.deleteWrapper()
           
static MetadataValue MetadataValue.find(Context context, int valueId)
          Retrieves the metadata value from the database.
static ItemIterator Item.findByAuthorityValue(Context context, String schema, String element, String qualifier, String value)
          Find all the items in the archive with a given authority key value in the indicated metadata field.
static MetadataField MetadataField.findByElement(Context context, int schemaID, String element, String qualifier)
          Retrieves the metadata field from the database.
static Collection MetadataValue.findByField(Context context, int fieldId)
          Retrieves the metadata values for a given field from the database.
static ItemIterator Item.findByMetadataField(Context context, String schema, String element, String qualifier, String value)
          Returns an iterator of Items possessing the passed metadata field, or only those matching the passed value, if value is not Item.ANY
static void LicenseUtils.grantLicense(Context context, Item item, String licenseText)
          Store a copy of the license a user granted in the item.
 void Bundle.inheritCollectionDefaultPolicies(Collection c)
          remove all policies on the bundle and its contents, and replace them with the DEFAULT_BITSTREAM_READ policies belonging to the collection.
 void Item.inheritCollectionDefaultPolicies(Collection c)
          remove all policies on an item and its contents, and replace them with the DEFAULT_ITEM_READ and DEFAULT_BITSTREAM_READ policies belonging to the collection.
static Item InstallItem.installItem(Context c, InProgressSubmission is)
          Take an InProgressSubmission and turn it into a fully-archived Item, creating a new Handle
static Item InstallItem.installItem(Context c, InProgressSubmission is, String suppliedHandle)
          Take an InProgressSubmission and turn it into a fully-archived Item.
 void Item.move(Collection from, Collection to)
          Moves the item from one collection to another one
 Bitstream Bundle.registerBitstream(int assetstore, String bitstreamPath)
          Create a new bitstream in this bundle.
 void Item.reinstate()
          Reinstate a withdrawn item
 void Community.removeAdministrators()
          Remove the administrators group, if no group has already been created then return without error.
 void Collection.removeAdministrators()
          Remove the administrators group, if no group has already been created then return without error.
 void Bundle.removeBitstream(Bitstream b)
          Remove a bitstream from this bundle - the bitstream is only deleted if this was the last reference to it
 void Item.removeBundle(Bundle b)
          Remove a bundle.
 void Community.removeCollection(Collection c)
          Remove a collection.
 void Item.removeDSpaceLicense()
          Remove just the DSpace license from an item This is useful to update the current DSpace license, in case the user must accept the DSpace license again (either the item was rejected, or resumed after saving)
 void Collection.removeItem(Item item)
          Remove an item.
 void Item.removeLicenses()
          Remove all licenses from an item - it was rejected
 void Community.removeSubcommunity(Community c)
          Remove a subcommunity.
 void Collection.removeSubmitters()
          Remove the submitters group, if no group has already been created then return without error.
 void Collection.removeTemplateItem()
          Remove the template item for this collection, if there is one.
 void Item.replaceAllBitstreamPolicies(List newpolicies)
          remove all of the policies for item's bitstreams and bundles and replace them with a new list of policies
 void Bundle.replaceAllBitstreamPolicies(List<ResourcePolicy> newpolicies)
          remove all of the policies for the bundle and bitstream contents and replace them with a new list of policies
 void Item.replaceAllItemPolicies(List newpolicies)
          remove all of the policies for item and replace them with a new list of policies
 InputStream Bitstream.retrieve()
          Retrieve the contents of the bitstream
 Bitstream Community.setLogo(InputStream is)
          Give the community a logo.
 Bitstream Collection.setLogo(InputStream is)
          Give the collection a logo.
 void Site.update()
           
 void BitstreamFormat.update()
          Update the bitstream format metadata
 void Bitstream.update()
          Update the bitstream metadata.
 void Bundle.update()
          Update the bundle metadata
 void Item.update()
          Update the item "in archive" flag and Dublin Core metadata in the database
 void InProgressSubmission.update()
          Update the submission, including the unarchived item.
 void Community.update()
          Update the community metadata (including logo) to the database.
 void Collection.update()
          Update the collection metadata (including logo, and workflow groups) to the database.
 void WorkspaceItem.update()
          Update the workspace item, including the unarchived item.
 void MetadataField.update(Context context)
          Update the metadata field in the database.
 void MetadataSchema.update(Context context)
          Update the metadata schema in the database.
 void MetadataValue.update(Context context)
          Update the metadata value in the database.
 void Item.withdraw()
          Withdraw the item from the archive.
 

Uses of AuthorizeException in org.dspace.content.crosswalk
 

Methods in org.dspace.content.crosswalk that throw AuthorizeException
 void StreamDisseminationCrosswalk.disseminate(Context context, DSpaceObject dso, OutputStream out)
          Execute crosswalk on the given object, sending output to the stream.
 org.jdom.Element OREDisseminationCrosswalk.disseminateElement(DSpaceObject dso)
           
 org.jdom.Element QDCCrosswalk.disseminateElement(DSpaceObject dso)
           
 org.jdom.Element DisseminationCrosswalk.disseminateElement(DSpaceObject dso)
          Execute crosswalk, returning one XML root element as a JDOM Element object.
 org.jdom.Element SimpleDCDisseminationCrosswalk.disseminateElement(DSpaceObject dso)
           
 org.jdom.Element XHTMLHeadDisseminationCrosswalk.disseminateElement(DSpaceObject dso)
          This generates a <head> element around the metadata; in general this will probably not be used
 org.jdom.Element XSLTDisseminationCrosswalk.disseminateElement(DSpaceObject dso)
           
 org.jdom.Element DIMDisseminationCrosswalk.disseminateElement(DSpaceObject dso)
           
 org.jdom.Element PREMISCrosswalk.disseminateElement(DSpaceObject dso)
           
 org.jdom.Element MODSDisseminationCrosswalk.disseminateElement(DSpaceObject dso)
           
 org.jdom.Element METSDisseminationCrosswalk.disseminateElement(DSpaceObject dso)
           
 List OREDisseminationCrosswalk.disseminateList(DSpaceObject dso)
           
 List QDCCrosswalk.disseminateList(DSpaceObject dso)
          Returns object's metadata in MODS format, as XML structure node.
 List DisseminationCrosswalk.disseminateList(DSpaceObject dso)
          Execute crosswalk, returning List of XML elements.
 List SimpleDCDisseminationCrosswalk.disseminateList(DSpaceObject dso)
          Returns object's metadata as XML elements.
 List XHTMLHeadDisseminationCrosswalk.disseminateList(DSpaceObject dso)
          Return <meta> elements that can be put in the <head> element of an XHTML document.
 List XSLTDisseminationCrosswalk.disseminateList(DSpaceObject dso)
           
 List DIMDisseminationCrosswalk.disseminateList(DSpaceObject dso)
           
 List PREMISCrosswalk.disseminateList(DSpaceObject dso)
           
 List MODSDisseminationCrosswalk.disseminateList(DSpaceObject dso)
          Returns object's metadata in MODS format, as List of XML structure nodes.
 List METSDisseminationCrosswalk.disseminateList(DSpaceObject dso)
           
 List SimpleDCDisseminationCrosswalk.disseminateListInternal(DSpaceObject dso, boolean addSchema)
           
 void XSLTIngestionCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom.Element root)
          Ingest a whole document.
 void QDCCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom.Element root)
           
 void IngestionCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom.Element root)
          Crosswalk metadata from external XML representation to DSpace internal representations.
 void NullIngestionCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom.Element root)
           
 void OAIDCIngestionCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom.Element root)
           
 void PREMISCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom.Element root)
           
 void OREIngestionCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom.Element root)
           
 void DIMIngestionCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom.Element root)
           
 void StreamIngestionCrosswalk.ingest(Context context, DSpaceObject dso, InputStream in, String MIMEType)
          Execute crosswalk on the given object, taking input from the stream.
 void XSLTIngestionCrosswalk.ingest(Context context, DSpaceObject dso, List metadata)
          Translate metadata with XSL stylesheet and ingest it.
 void QDCCrosswalk.ingest(Context context, DSpaceObject dso, List ml)
           
 void IngestionCrosswalk.ingest(Context context, DSpaceObject dso, List metadata)
          Crosswalk metadata from external XML representation to DSpace internal representations.
 void NullIngestionCrosswalk.ingest(Context context, DSpaceObject dso, List ml)
           
 void OAIDCIngestionCrosswalk.ingest(Context context, DSpaceObject dso, List metadata)
           
 void PREMISCrosswalk.ingest(Context context, DSpaceObject dso, List ml)
           
 void OREIngestionCrosswalk.ingest(Context context, DSpaceObject dso, List metadata)
           
 void DIMIngestionCrosswalk.ingest(Context context, DSpaceObject dso, List metadata)
           
 

Uses of AuthorizeException in org.dspace.content.packager
 

Methods in org.dspace.content.packager that throw AuthorizeException
static void PackageUtils.addDepositLicense(Context context, String license, Item item, Collection collection)
          Add DSpace Deposit License to an Item.
 void DSpaceMETSIngester.addLicense(Context context, Collection collection, Item item, METSManifest manifest, AbstractMETSIngester.MdrefManager callback, String license)
          Policy: For DSpace deposit license, take deposit license supplied by explicit argument first, else use collection's default deposit license.
abstract  void AbstractMETSIngester.addLicense(Context context, Collection collection, Item item, METSManifest manifest, AbstractMETSIngester.MdrefManager callback, String license)
          Add license(s) to Item based on contents of METS and other policies.
 void DSpaceMETSDisseminator.addRightsMd(Context context, Item item, edu.harvard.hul.ois.mets.AmdSec amdSec)
          Add rights MD (licenses) for DSpace item.
abstract  void AbstractMETSDisseminator.addRightsMd(Context context, Item item, edu.harvard.hul.ois.mets.AmdSec amdSec)
          Add Rights metadata for the Item, in the form of (rightsMd elements) to the given metadata section.
 void DSpaceMETSDisseminator.addStructMap(Context context, Item item, PackageParameters params, edu.harvard.hul.ois.mets.Mets mets)
           
abstract  void AbstractMETSDisseminator.addStructMap(Context context, Item item, PackageParameters params, edu.harvard.hul.ois.mets.Mets mets)
          Add any additional structMap elements to the METS document, as required by this subclass.
 void DSpaceMETSIngester.chooseItemDmd(Context context, Item item, METSManifest manifest, AbstractMETSIngester.MdrefManager callback, org.jdom.Element[] dmds, PackageParameters params)
          Choose DMD section(s) to crosswalk.
abstract  void AbstractMETSIngester.chooseItemDmd(Context context, Item item, METSManifest manifest, AbstractMETSIngester.MdrefManager callback, org.jdom.Element[] dmds, PackageParameters params)
          Select the dmdSec element(s) to apply to the Item.
 void METSManifest.crosswalkBitstream(Context context, Bitstream bitstream, String fileId, METSManifest.Mdref callback)
          Crosswalk the metadata associated with a particular file element into the bitstream it corresponds to.
 void METSManifest.crosswalkItem(Context context, Item item, org.jdom.Element dmd, METSManifest.Mdref callback)
          Invokes appropriate crosswalks on Item-wide descriptive metadata.
 void PDFPackager.disseminate(Context context, DSpaceObject dso, PackageParameters params, OutputStream out)
          VERY crude dissemination: just look for the first bitstream with the PDF package type, and toss it out.
 void AbstractMETSDisseminator.disseminate(Context context, DSpaceObject dso, PackageParameters params, OutputStream pkg)
          Export the object (Item, Collection, or Community) to a package file on the indicated OutputStream.
 void PackageDisseminator.disseminate(Context context, DSpaceObject object, PackageParameters params, OutputStream out)
          Export the object (Item, Collection, or Community) as a "package" on the indicated OutputStream.
static BitstreamFormat PackageUtils.findOrCreateBitstreamFormat(Context context, String shortDesc, String MIMEType, String desc)
          Find or create a bitstream format to match the given short description.
 void DSpaceMETSIngester.finishItem(Context context, Item item)
           
abstract  void AbstractMETSIngester.finishItem(Context context, Item item)
          Hook for final "finishing" operations on the new Item.
 Bitstream AbstractMETSIngester.MdrefManager.getBitstreamForMdRef(org.jdom.Element mdref)
          Find the local Bitstream referenced in an mdRef element.
 String[] DSpaceMETSDisseminator.getDmdTypes(PackageParameters params)
          Get DMD choice for Item.
abstract  String[] AbstractMETSDisseminator.getDmdTypes(PackageParameters params)
          Get the types of Item-wide DMD to include in package.
 InputStream METSManifest.Mdref.getInputStream(org.jdom.Element mdRef)
          Make the contents of an external resource mentioned in an mdRef element available as an InputStream.
 InputStream AbstractMETSIngester.MdrefManager.getInputStream(org.jdom.Element mdref)
          Make the contents of an external resource mentioned in an mdRef element available as an InputStream.
 InputStream METSManifest.getMdContentAsStream(org.jdom.Element mdSec, METSManifest.Mdref callback)
          Return contents of *md element as stream.
 List METSManifest.getMdContentAsXml(org.jdom.Element mdSec, METSManifest.Mdref callback)
          Return contents of *md element as List of XML Element objects.
 String DSpaceMETSDisseminator.getTechMdType(PackageParameters params)
          Get name of technical metadata crosswalk for Bitstreams.
abstract  String AbstractMETSDisseminator.getTechMdType(PackageParameters params)
          Get the type string of the technical metadata to create for each Bitstream in the Item.
 WorkspaceItem PDFPackager.ingest(Context context, Collection collection, InputStream pkg, PackageParameters params, String license)
          Create new Item out of the ingested package, in the indicated collection.
 WorkspaceItem PackageIngester.ingest(Context context, Collection collection, InputStream in, PackageParameters params, String license)
          Create new Item out of the ingested package.
 WorkspaceItem AbstractMETSIngester.ingest(Context context, Collection collection, InputStream pkg, PackageParameters params, String license)
          Create a new DSpace item out of a METS content package.
 Item PDFPackager.replace(Context ctx, Item item, InputStream pckage, PackageParameters params)
          Replace is not implemented.
 Item PackageIngester.replace(Context context, Item item, InputStream in, PackageParameters params)
          Replace an existing Item with contents of the ingested package.
 Item AbstractMETSIngester.replace(Context ctx, Item item, InputStream pckage, PackageParameters params)
          XXX FIXME Replace is not implemented yet.
 

Uses of AuthorizeException in org.dspace.embargo
 

Methods in org.dspace.embargo that throw AuthorizeException
 void EmbargoSetter.checkEmbargo(Context context, Item item)
          Check that embargo is properly set on Item, e.g.
 void DefaultEmbargoSetter.checkEmbargo(Context context, Item item)
          Check that embargo is properly set on Item, e.g.
static DCDate EmbargoManager.getEmbargoDate(Context context, Item item)
          Get the embargo lift date for an Item, if any.
 void DefaultEmbargoLifter.liftEmbargo(Context context, Item item)
          Enforce lifting of embargo by turning read access to bitstreams in this Item back on.
static void EmbargoManager.liftEmbargo(Context context, Item item)
          Lift the embargo on an item which is assumed to be under embargo.
 void EmbargoLifter.liftEmbargo(Context context, Item item)
          Implement the lifting of embargo in the "resource policies" (access control) by e.g.
 DCDate EmbargoSetter.parseTerms(Context context, Item item, String terms)
          Get lift date of embargo from the "terms" supplied in the metadata (or other available state) of this Item.
 DCDate DefaultEmbargoSetter.parseTerms(Context context, Item item, String terms)
          Parse the terms into a definite date.
 void EmbargoSetter.setEmbargo(Context context, Item item)
          Enforce embargo by e.g.
 void DefaultEmbargoSetter.setEmbargo(Context context, Item item)
          Enforce embargo by turning off all read access to bitstreams in this Item.
static void EmbargoManager.setEmbargo(Context context, Item item, DCDate lift)
          Put an Item under embargo until the specified lift date.
 

Uses of AuthorizeException in org.dspace.eperson
 

Methods in org.dspace.eperson that throw AuthorizeException
static void Supervisor.add(Context context, int groupID, int wsItemID, int policy)
          adds a supervision order to the database
static Group Group.create(Context context)
          Create a new group
static EPerson EPerson.create(Context context)
          Create a new eperson
 void EPerson.delete()
          Delete an eperson
static EPerson EPerson.findByEmail(Context context, String email)
          Find the eperson by their email address
static EPerson AccountManager.getEPerson(Context context, String token)
           Return the EPerson corresponding to token, where token was emailed to the person by either the sendRegistrationInfo or sendForgotPasswordInfo methods.
static void Supervisor.remove(Context context, int wsItemID, int groupID)
          removes the requested group from the requested workspace item in terms of supervision.
static void AccountManager.sendForgotPasswordInfo(Context context, String email)
          Email forgot password info to the given email address.
protected static TableRow AccountManager.sendInfo(Context context, String email, boolean isRegister, boolean send)
           
static void AccountManager.sendRegistrationInfo(Context context, String email)
          Email registration info to the given email address.
static void Subscribe.subscribe(Context context, EPerson eperson, Collection collection)
          Subscribe an e-person to a collection.
static void Subscribe.unsubscribe(Context context, EPerson eperson, Collection collection)
          Unsubscribe an e-person to a collection.
 void Group.update()
          Update the group - writing out group object and EPerson list if necessary
 void EPerson.update()
          Update the EPerson
 

Uses of AuthorizeException in org.dspace.harvest
 

Methods in org.dspace.harvest that throw AuthorizeException
static void OAIHarvester.HarvestScheduler.addThread(int collecionID)
          Adds a thread to the ready stack.
static void OAIHarvester.pauseScheduler()
          Pause an active harvest scheduler.
static void OAIHarvester.resetScheduler()
           
static void OAIHarvester.resumeScheduler()
          Resume a paused harvest scheduler.
 void OAIHarvester.runHarvest()
          Performs a harvest cycle on this collection.
static void OAIHarvester.startNewScheduler()
          Start harvest scheduler.
static void OAIHarvester.stopScheduler()
          Stop an active harvest scheduler.
 void HarvestedItem.update()
           
 void HarvestedCollection.update()
           
 

Constructors in org.dspace.harvest that throw AuthorizeException
OAIHarvester.HarvestScheduler()
           
 

Uses of AuthorizeException in org.dspace.license
 

Methods in org.dspace.license that throw AuthorizeException
static byte[] LicenseCleanup.copy(Bitstream b)
          Fast stream copy routine
static String CreativeCommons.getLicenseRDF(Item item)
           
static Bitstream CreativeCommons.getLicenseRdfBitstream(Item item)
          Get Creative Commons license RDF, returning Bitstream object.
static String CreativeCommons.getLicenseText(Item item)
           
static Bitstream CreativeCommons.getLicenseTextBitstream(Item item)
          Get Creative Commons license Text, returning Bitstream object.
static String CreativeCommons.getLicenseURL(Item item)
           
protected static void LicenseCleanup.handleItem(Item item)
          Process Item, correcting CC-License if encountered.
static void LicenseCleanup.main(String[] args)
           
static void CreativeCommons.removeLicense(Context context, Item item)
           
static void CreativeCommons.setLicense(Context context, Item item, InputStream licenseStm, String mimeType)
           
static void CreativeCommons.setLicense(Context context, Item item, String cc_license_url)
          This is a bit of the "do-the-right-thing" method for CC stuff in an item
 

Uses of AuthorizeException in org.dspace.plugin
 

Methods in org.dspace.plugin that throw AuthorizeException
 void CollectionHomeProcessor.process(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Collection collection)
          execute the process
 void CommunityHomeProcessor.process(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Community community)
          execute the process
 

Uses of AuthorizeException in org.dspace.submit
 

Methods in org.dspace.submit that throw AuthorizeException
abstract  int AbstractProcessingStep.doProcessing(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo)
          Do any processing of the information input by the user, and/or perform step processing (if no user interaction required)
 

Uses of AuthorizeException in org.dspace.submit.step
 

Methods in org.dspace.submit.step that throw AuthorizeException
 int UploadStep.doProcessing(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo)
          Do any processing of the information input by the user, and/or perform step processing (if no user interaction required)
 int SampleStep.doProcessing(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo)
          Do any processing of the information input by the user, and/or perform step processing (if no user interaction required)
 int InitialQuestionsStep.doProcessing(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo)
          Do any processing of the information input by the user, and/or perform step processing (if no user interaction required)
 int CompleteStep.doProcessing(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo)
          Do any processing of the information input by the user, and/or perform step processing (if no user interaction required)
 int DescribeStep.doProcessing(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo)
          Do any processing of the information input by the user, and/or perform step processing (if no user interaction required)
 int SkipInitialQuestionsStep.doProcessing(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo)
          Simply we flags the submission as the user had checked both multi-title, multi-files and published before so that the input-form configuration will be used as is
 int SelectCollectionStep.doProcessing(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo)
          Do any processing of the information input by the user, and/or perform step processing (if no user interaction required)
 int LicenseStep.doProcessing(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo)
          Do any processing of the information input by the user, and/or perform step processing (if no user interaction required)
 int VerifyStep.doProcessing(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo)
          Do any processing of the information input by the user, and/or perform step processing (if no user interaction required)
protected  int LicenseStep.processCC(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo)
          Process the input from the CC license page
protected  int LicenseStep.processLicense(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo)
          Process the input from the license page
protected  int UploadStep.processRemoveFile(Context context, Item item, int bitstreamID)
          Remove a file from an item
protected  int UploadStep.processSaveFileDescription(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo)
          Process input from the "change file description" page
protected  int UploadStep.processSaveFileFormat(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo)
          Process input from get file type page
protected  int UploadStep.processUploadFile(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo)
          Process the upload of a new file!
protected  void InitialQuestionsStep.processVerifyPrune(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo, boolean multipleTitles, boolean publishedBefore, boolean multipleFiles)
          Process input from "verify prune" page
 

Uses of AuthorizeException in org.dspace.workflow
 

Methods in org.dspace.workflow that throw AuthorizeException
static void WorkflowManager.abort(Context c, WorkflowItem wi, EPerson e)
          abort() aborts a workflow, completely deleting it (administrator do this) (it will basically do a reject from any state - the item ends up back in the user's PersonalWorkspace
static void WorkflowManager.advance(Context c, WorkflowItem wi, EPerson e)
          approveAction() sends an item forward in the workflow (reviewers, approvers, and editors all do an 'approve' to move the item forward) if the item arrives at the submit state, then remove the WorkflowItem and call the archive() method to put it in the archive, and email notify the submitter of a successful submission
static void WorkflowManager.claim(Context c, WorkflowItem wi, EPerson e)
          claim() claims a workflow task for an EPerson
 void WorkflowItem.deleteWrapper()
          delete the WorkflowItem, retaining the Item
static WorkspaceItem WorkflowManager.reject(Context c, WorkflowItem wi, EPerson e, String rejection_message)
          rejects an item - rejection means undoing a submit - WorkspaceItem is created, and the WorkflowItem is removed, user is emailed rejection_message.
static WorkflowItem WorkflowManager.start(Context c, WorkspaceItem wsi)
          startWorkflow() begins a workflow - in a single transaction do away with the PersonalWorkspace entry and turn it into a WorkflowItem.
static WorkflowItem WorkflowManager.startWithoutNotify(Context c, WorkspaceItem wsi)
          startWithoutNotify() starts the workflow normally, but disables notifications (useful for large imports,) for the first workflow step - subsequent notifications happen normally
static void WorkflowManager.unclaim(Context c, WorkflowItem wi, EPerson e)
          unclaim() returns an owned task/item to the pool
 void WorkflowItem.update()
          Update the workflow item, including the unarchived item.
 



Copyright © 2010 The DSpace Foundation. All Rights Reserved.