Uses of Class
org.dspace.core.Context

Packages that use Context
org.dspace.administer Provides classes and methods for administrative functions that fall outside the regular use of other subsystems. 
org.dspace.app.itemexport   
org.dspace.app.mediafilter   
org.dspace.app.mets   
org.dspace.app.statistics Defines usage event instrumentation points and provides implementations for testing. 
org.dspace.authenticate End-user authentication manager, interface and implementations. 
org.dspace.authorize Handles permissions for DSpace content. 
org.dspace.browse Provides classes and mehtods for browsing Items in DSpace by whatever is specified in the configuration. 
org.dspace.checker Provides content fixity checking (using checksums) for bitstreams stored in DSpace software. 
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.dao   
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.core Provides some basic functionality required throughout the DSpace system. 
org.dspace.eperson Provides classes representing e-people and groups of e-people. 
org.dspace.event   
org.dspace.handle Provides classes and methods to interface with the CNRI Handle System
org.dspace.license   
org.dspace.plugin   
org.dspace.search Interface to the Lucene search engine, and the 'harvest' API for retrieving items modified within a given date range. 
org.dspace.storage.bitstore Provides an API for storing, retrieving and deleting streams of bits in a transactionally safe fashion. 
org.dspace.storage.rdbms Provides an API for accessing a relational database management system. 
org.dspace.submit   
org.dspace.submit.step   
org.dspace.workflow DSpace's workflow system 
 

Uses of Context in org.dspace.administer
 

Methods in org.dspace.administer with parameters of type Context
static DCType DCType.create(Context context)
          Deprecated.  
 void CommunityFiliator.defiliate(Context c, Community parent, Community child)
           
 void CommunityFiliator.filiate(Context c, Community parent, Community child)
           
static DCType DCType.find(Context context, int id)
          Deprecated.  
static DCType[] DCType.findAll(Context context)
          Deprecated.  
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 String[] DCType.quickFind(Context context, int id)
          Deprecated.  
static void MetadataExporter.saveSchema(Context context, org.apache.xml.serialize.XMLSerializer xmlSerializer, String schema)
          Serialize the schema registry.
 

Constructors in org.dspace.administer with parameters of type Context
DCType(Context context)
          Deprecated.  
DCType(Context context, MetadataField field)
          Deprecated.  
 

Uses of Context in org.dspace.app.itemexport
 

Methods in org.dspace.app.itemexport with parameters of type Context
static boolean ItemExport.canDownload(Context context, String fileName)
          The file name of the export archive contains the eperson id of the person who created it When requested for download this method can check if the person requesting it is the same one that created it
static void ItemExport.createDownloadableExport(DSpaceObject dso, Context context, boolean migrate)
          Convenience methot to create export a single Community, Collection, or Item
static void ItemExport.createDownloadableExport(DSpaceObject dso, Context context, String additionalEmail, boolean migrate)
          Convenience methot to create export a single Community, Collection, or Item
static void ItemExport.createDownloadableExport(List<DSpaceObject> dsObjects, Context context, boolean migrate)
          Convenience method to export a List of dspace objects (Community, Collection or Item)
static void ItemExport.createDownloadableExport(List<DSpaceObject> dsObjects, Context context, String additionalEmail, boolean migrate)
          Convenience method to export a List of dspace objects (Community, Collection or Item)
static void ItemExport.emailSuccessMessage(Context context, EPerson eperson, String fileName)
          Since the archive is created in a new thread we are unable to communicate with calling method about success or failure.
 

Uses of Context in org.dspace.app.mediafilter
 

Methods in org.dspace.app.mediafilter with parameters of type Context
static void MediaFilterManager.applyFiltersAllItems(Context c)
           
static void MediaFilterManager.applyFiltersCollection(Context c, Collection collection)
           
static void MediaFilterManager.applyFiltersCommunity(Context c, Community community)
           
static void MediaFilterManager.applyFiltersItem(Context c, Item item)
           
static boolean MediaFilterManager.filterBitstream(Context c, Item myItem, Bitstream myBitstream)
          Attempt to filter a bitstream An exception will be thrown if the media filter class cannot be instantiated, exceptions from filtering will be logged to STDOUT and swallowed.
static boolean MediaFilterManager.filterItem(Context c, Item myItem)
          iterate through the item's bitstreams in the ORIGINAL bundle, applying filters if possible
 void MediaFilter.postProcessBitstream(Context c, Item item, Bitstream generatedBitstream)
          Perform any post-processing of the generated bitstream *after* this filter has already been run.
 void FormatFilter.postProcessBitstream(Context c, Item item, Bitstream generatedBitstream)
          Perform any post-processing of the generated bitstream *after* this filter has already been run.
 boolean MediaFilter.preProcessBitstream(Context c, Item item, Bitstream source)
          Perform any pre-processing of the source bitstream *before* the actual filtering takes place in MediaFilterManager.processBitstream().
 boolean FormatFilter.preProcessBitstream(Context c, Item item, Bitstream source)
          Perform any pre-processing of the source bitstream *before* the actual filtering takes place in MediaFilterManager.processBitstream().
static boolean MediaFilterManager.processBitstream(Context c, Item item, Bitstream source, FormatFilter formatFilter)
          processBitstream is a utility class that calls the virtual methods from the current MediaFilter class.
 

Uses of Context in org.dspace.app.mets
 

Methods in org.dspace.app.mets with parameters of type Context
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 Context in org.dspace.app.statistics
 

Methods in org.dspace.app.statistics with parameters of type Context
static String ReportGenerator.getItemInfo(Context context, String handle)
          get the information for the item with the given handle
static Integer LogAnalyser.getNumItems(Context context)
          get the total number of items in the archive at time of execution, ignoring all other constraints
static Integer LogAnalyser.getNumItems(Context context, String type)
          get the number of items in the archive which were accessioned between the provided start and end dates, with the given value for the DC field 'type' (unqualified)
static void LogAnalyser.processLogs(Context context, String myLogDir, String myFileTemplate, String myConfigFile, String myOutFile, Date myStartDate, Date myEndDate, boolean myLookUp)
          using the pre-configuration information passed here, analyse the logs and produce the aggregation file
static void ReportGenerator.processReport(Context context, Report report, String myInput)
          using the pre-configuration information passed here, read in the aggregation data and output a file containing the report in the requested format
static void ReportGenerator.processReport(Context context, String myFormat, String myInput, String myOutput, String myMap)
          using the pre-configuration information passed here, read in the aggregation data and output a file containing the report in the requested format this method is retained for backwards compatibility, but delegates the actual wprk to a new method
 

Uses of Context in org.dspace.authenticate
 

Methods in org.dspace.authenticate with parameters of type Context
 boolean X509Authentication.allowSetPassword(Context context, javax.servlet.http.HttpServletRequest request, String username)
          We don't use EPerson password so there is no reason to change it.
 boolean ShibAuthentication.allowSetPassword(Context context, javax.servlet.http.HttpServletRequest request, String email)
          Indicate whether or not a particular self-registering user can set themselves a password in the profile info form.
 boolean PasswordAuthentication.allowSetPassword(Context context, javax.servlet.http.HttpServletRequest request, String username)
          We always allow the user to change their password.
 boolean LDAPHierarchicalAuthentication.allowSetPassword(Context context, javax.servlet.http.HttpServletRequest request, String username)
          Cannot change LDAP password through dspace, right?
 boolean LDAPAuthentication.allowSetPassword(Context context, javax.servlet.http.HttpServletRequest request, String username)
          Cannot change LDAP password through dspace, right?
 boolean IPAuthentication.allowSetPassword(Context context, javax.servlet.http.HttpServletRequest request, String username)
           
 boolean AuthenticationMethod.allowSetPassword(Context context, javax.servlet.http.HttpServletRequest request, String username)
          Should (or can) we allow the user to change their password.
static boolean AuthenticationManager.allowSetPassword(Context context, javax.servlet.http.HttpServletRequest request, String username)
          Predicate, can user set EPerson password.
 int X509Authentication.authenticate(Context context, String username, String password, String realm, javax.servlet.http.HttpServletRequest request)
          X509 certificate authentication.
 int ShibAuthentication.authenticate(Context context, String username, String password, String realm, javax.servlet.http.HttpServletRequest request)
           
 int PasswordAuthentication.authenticate(Context context, String username, String password, String realm, javax.servlet.http.HttpServletRequest request)
          Check credentials: username must match the email address of an EPerson record, and that EPerson must be allowed to login.
 int LDAPHierarchicalAuthentication.authenticate(Context context, String netid, String password, String realm, javax.servlet.http.HttpServletRequest request)
           
 int LDAPAuthentication.authenticate(Context context, String netid, String password, String realm, javax.servlet.http.HttpServletRequest request)
           
 int IPAuthentication.authenticate(Context context, String username, String password, String realm, javax.servlet.http.HttpServletRequest request)
           
 int AuthenticationMethod.authenticate(Context context, String username, String password, String realm, javax.servlet.http.HttpServletRequest request)
          Authenticate the given or implicit credentials.
static int AuthenticationManager.authenticate(Context context, String username, String password, String realm, javax.servlet.http.HttpServletRequest request)
          Test credentials for authenticity.
static int AuthenticationManager.authenticateImplicit(Context context, String username, String password, String realm, javax.servlet.http.HttpServletRequest request)
          Test credentials for authenticity, using only Implicit methods.
 boolean X509Authentication.canSelfRegister(Context context, javax.servlet.http.HttpServletRequest request, String username)
          Predicate, can new user automatically create EPerson.
 boolean ShibAuthentication.canSelfRegister(Context context, javax.servlet.http.HttpServletRequest request, String username)
          Indicate whether or not a particular user can self-register, based on e-mail address.
 boolean PasswordAuthentication.canSelfRegister(Context context, javax.servlet.http.HttpServletRequest request, String email)
          Look to see if this email address is allowed to register.
 boolean LDAPHierarchicalAuthentication.canSelfRegister(Context context, javax.servlet.http.HttpServletRequest request, String username)
          Let a real auth method return true if it wants.
 boolean LDAPAuthentication.canSelfRegister(Context context, javax.servlet.http.HttpServletRequest request, String username)
          Let a real auth method return true if it wants.
 boolean IPAuthentication.canSelfRegister(Context context, javax.servlet.http.HttpServletRequest request, String username)
           
 boolean AuthenticationMethod.canSelfRegister(Context context, javax.servlet.http.HttpServletRequest request, String username)
          Predicate, whether to allow new EPerson to be created.
static boolean AuthenticationManager.canSelfRegister(Context context, javax.servlet.http.HttpServletRequest request, String username)
          Predicate, can a new EPerson be created.
protected  String LDAPHierarchicalAuthentication.SpeakerToLDAP.getDNOfUser(String adminUser, String adminPassword, Context context, String netid)
           
 int[] X509Authentication.getSpecialGroups(Context context, javax.servlet.http.HttpServletRequest request)
          Return special groups configured in dspace.cfg for X509 certificate authentication.
 int[] ShibAuthentication.getSpecialGroups(Context context, javax.servlet.http.HttpServletRequest request)
          Grab the special groups to be automatically provisioned for the current user.
 int[] PasswordAuthentication.getSpecialGroups(Context context, javax.servlet.http.HttpServletRequest request)
          Add authenticated users to the group defined in dspace.cfg by the password.login.specialgroup key.
 int[] LDAPHierarchicalAuthentication.getSpecialGroups(Context context, javax.servlet.http.HttpServletRequest request)
           
 int[] LDAPAuthentication.getSpecialGroups(Context context, javax.servlet.http.HttpServletRequest request)
           
 int[] IPAuthentication.getSpecialGroups(Context context, javax.servlet.http.HttpServletRequest request)
           
 int[] AuthenticationMethod.getSpecialGroups(Context context, javax.servlet.http.HttpServletRequest request)
          Get list of extra groups that user implicitly belongs to.
static int[] AuthenticationManager.getSpecialGroups(Context context, javax.servlet.http.HttpServletRequest request)
          Get list of extra groups that user implicitly belongs to.
 void X509Authentication.initEPerson(Context context, javax.servlet.http.HttpServletRequest request, EPerson eperson)
          Nothing extra to initialize.
 void ShibAuthentication.initEPerson(Context context, javax.servlet.http.HttpServletRequest request, EPerson eperson)
          Initialise a new e-person record for a self-registered new user.
 void PasswordAuthentication.initEPerson(Context context, javax.servlet.http.HttpServletRequest request, EPerson eperson)
          Nothing extra to initialize.
 void LDAPHierarchicalAuthentication.initEPerson(Context context, javax.servlet.http.HttpServletRequest request, EPerson eperson)
          Nothing here, initialization is done when auto-registering.
 void LDAPAuthentication.initEPerson(Context context, javax.servlet.http.HttpServletRequest request, EPerson eperson)
          Nothing here, initialization is done when auto-registering.
 void IPAuthentication.initEPerson(Context context, javax.servlet.http.HttpServletRequest request, EPerson eperson)
           
 void AuthenticationMethod.initEPerson(Context context, javax.servlet.http.HttpServletRequest request, EPerson eperson)
          Initialize a new EPerson record for a self-registered new user.
static void AuthenticationManager.initEPerson(Context context, javax.servlet.http.HttpServletRequest request, EPerson eperson)
          Initialize a new e-person record for a self-registered new user.
protected  boolean LDAPHierarchicalAuthentication.SpeakerToLDAP.ldapAuthenticate(String netid, String password, Context context)
          contact the ldap server and attempt to authenticate
protected  boolean LDAPAuthentication.SpeakerToLDAP.ldapAuthenticate(String netid, String password, Context context)
          contact the ldap server and attempt to authenticate
 String X509Authentication.loginPageTitle(Context context)
          Returns message key for title of the "login" page, to use in a menu showing the choice of multiple login methods.
 String ShibAuthentication.loginPageTitle(Context context)
          Get title of login page to which to redirect.
 String PasswordAuthentication.loginPageTitle(Context context)
          Returns message key for title of the "login" page, to use in a menu showing the choice of multiple login methods.
 String LDAPHierarchicalAuthentication.loginPageTitle(Context context)
          Returns message key for title of the "login" page, to use in a menu showing the choice of multiple login methods.
 String LDAPAuthentication.loginPageTitle(Context context)
          Returns message key for title of the "login" page, to use in a menu showing the choice of multiple login methods.
 String IPAuthentication.loginPageTitle(Context context)
           
 String AuthenticationMethod.loginPageTitle(Context context)
          Get title of login page to which to redirect.
 String X509Authentication.loginPageURL(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Returns URL of password-login servlet.
 String ShibAuthentication.loginPageURL(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Get login page to which to redirect.
 String PasswordAuthentication.loginPageURL(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Returns URL of password-login servlet.
 String LDAPHierarchicalAuthentication.loginPageURL(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 String LDAPAuthentication.loginPageURL(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 String IPAuthentication.loginPageURL(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 String AuthenticationMethod.loginPageURL(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Get login page to which to redirect.
 

Uses of Context in org.dspace.authorize
 

Methods in org.dspace.authorize with parameters of type Context
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 boolean AuthorizeManager.authorizeActionBoolean(Context c, DSpaceObject o, int a)
          same authorize, returns boolean for those who don't want to deal with catching exceptions.
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 ResourcePolicy ResourcePolicy.find(Context context, int id)
          Get an ResourcePolicy from the database.
static Group[] AuthorizeManager.getAuthorizedGroups(Context c, DSpaceObject o, int actionID)
          Returns all groups authorized to perform an action on an object.
static List<ResourcePolicy> AuthorizeManager.getPolicies(Context c, DSpaceObject o)
          Return a List of the policies for an object
static List<ResourcePolicy> AuthorizeManager.getPoliciesActionFilter(Context c, DSpaceObject o, int actionID)
          Return a list of policies for an object that match the action
static List<ResourcePolicy> AuthorizeManager.getPoliciesForGroup(Context c, Group g)
          Return a List of the policies for a group
static void AuthorizeManager.inheritPolicies(Context c, DSpaceObject src, DSpaceObject dest)
          Add policies to an object to match those from a previous object
static boolean AuthorizeManager.isAdmin(Context c)
          Check to see if the current user is an admin.
static void AuthorizeManager.removeAllPolicies(Context c, DSpaceObject o)
          removes ALL policies for an object.
static void AuthorizeManager.removeGroupPolicies(Context c, DSpaceObject o, Group g)
          Removes all policies from a group for a particular object that belong to a Group.
static void AuthorizeManager.removeGroupPolicies(Context c, int groupID)
          Removes all policies relating to a particular group.
static void AuthorizeManager.removePoliciesActionFilter(Context context, DSpaceObject dso, int actionID)
          Remove all policies from an object that match a given action.
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 Context in org.dspace.browse
 

Methods in org.dspace.browse that return Context
 Context BrowserScope.getContext()
           
 

Methods in org.dspace.browse with parameters of type Context
 void BrowseConsumer.consume(Context ctx, Event event)
           
 void BrowseConsumer.end(Context ctx)
           
 void BrowseConsumer.finish(Context ctx)
           
static BrowseCreateDAO BrowseDAOFactory.getCreateInstance(Context context)
          Get an instance of the relevant Write Only DAO class, which will conform to the BrowseCreateDAO interface
static ItemCountDAO ItemCountDAOFactory.getInstance(Context context)
          Get an instance of ItemCountDAO which supports the correct database for the specific DSpace instance.
static BrowseDAO BrowseDAOFactory.getInstance(Context context)
          Get an instance of the relevant Read Only DAO class, which will conform to the BrowseDAO interface
static BrowseItemDAO BrowseDAOFactory.getItemInstance(Context context)
          Get an instance of the relevant Read Only DAO class, which will conform to the BrowseItemDAO interface
 Item[] BrowseInfo.getItemResults(Context context)
          Return the results of the Browse as an Item array.
static BrowseDAOUtils BrowseDAOFactory.getUtils(Context context)
          Get an instance of the relevant DAO Utilities class, which will conform to the BrowseDAOUtils interface
 void ItemCountDAOPostgres.setContext(Context context)
          Set the dspace context to use
 void ItemCountDAOOracle.setContext(Context context)
          Set the dspace context to use
 void ItemCountDAO.setContext(Context context)
          Set the DSpace Context to use during data access
 void BrowserScope.setContext(Context context)
           
 

Constructors in org.dspace.browse with parameters of type Context
BrowseCreateDAOOracle(Context context)
          Required constructor for classes implementing the BrowseCreateDAO interface.
BrowseCreateDAOPostgres(Context context)
          Required constructor for classes implementing the BrowseCreateDAO interface.
BrowseDAOOracle(Context context)
           
BrowseDAOPostgres(Context context)
          Required constructor for use by BrowseDAOFactory
BrowseEngine(Context context)
          Create a new instance of the Browse engine, using the given DSpace Context object.
BrowseItem(Context context, int id, boolean in_archive, boolean withdrawn)
          Construct a new browse item with the given context and the database id
BrowseItemDAOOracle(Context context)
           
BrowseItemDAOPostgres(Context context)
           
BrowserScope(Context context)
          Construct a new BrowserScope using the given Context
IndexBrowse(Context context)
          Create a new IndexBrowse object.
ItemCounter(Context context)
          Construct a new item counter which will use the give DSpace Context
 

Uses of Context in org.dspace.checker
 

Methods in org.dspace.checker with parameters of type Context
 void CheckerConsumer.consume(Context ctx, Event event)
          Consume an event
 void CheckerConsumer.end(Context ctx)
          Signal that there are no more events queued in this event stream.
 void CheckerConsumer.finish(Context ctx)
          Finish - free any allocated resources.
 

Uses of Context in org.dspace.content
 

Methods in org.dspace.content with parameters of type Context
static Community Community.create(Community parent, Context context)
          Create a new community, with a new ID.
 void MetadataValue.create(Context context)
          Creates a new metadata value.
 void MetadataSchema.create(Context context)
          Creates a new metadata schema in the database, out of this object.
 void MetadataField.create(Context context)
          Creates a new metadata field.
static BitstreamFormat BitstreamFormat.create(Context context)
          Create a new bitstream format
static WorkspaceItem WorkspaceItem.create(Context c, Collection coll, boolean template)
          Create a new workspace item, with a new ID.
 void MetadataValue.delete(Context context)
          Delete the metadata field.
 void MetadataSchema.delete(Context context)
          Delete the metadata schema.
 void MetadataField.delete(Context context)
          Delete the metadata field.
static WorkspaceItem WorkspaceItem.find(Context context, int id)
          Get a workspace item from the database.
static DSpaceObject Site.find(Context context, int id)
          Get Site object corresponding to db id (which is ignroed).
static MetadataValue MetadataValue.find(Context context, int valueId)
          Retrieves the metadata value from the database.
static MetadataSchema MetadataSchema.find(Context context, int id)
          Get the schema corresponding with this numeric ID.
static MetadataField MetadataField.find(Context context, int id)
          Find the field corresponding to the given numeric ID.
static Item Item.find(Context context, int id)
          Get an item from the database.
static Community Community.find(Context context, int id)
          Get a community from the database.
static Collection Collection.find(Context context, int id)
          Get a collection from the database.
static Bundle Bundle.find(Context context, int id)
          Get a bundle from the database.
static BitstreamFormat BitstreamFormat.find(Context context, int id)
          Get a bitstream format from the database.
static Bitstream Bitstream.find(Context context, int id)
          Get a bitstream from the database.
static DSpaceObject DSpaceObject.find(Context context, int type, int id)
          Generic find for when the precise type of a DSO is not known, just the a pair of type number and database ID.
static MetadataSchema MetadataSchema.find(Context context, String shortName)
          Get the schema corresponding with this short name.
static WorkspaceItem[] WorkspaceItem.findAll(Context context)
          Get all workspace items in the whole system
static MetadataSchema[] MetadataSchema.findAll(Context context)
          Return all metadata schemas.
static MetadataField[] MetadataField.findAll(Context context)
          Retrieve all Dublin Core types from the registry
static ItemIterator Item.findAll(Context context)
          Get all the items in the archive.
static Community[] Community.findAll(Context context)
          Get a list of all communities in the system.
static Collection[] Collection.findAll(Context context)
          Get all collections in the system.
static BitstreamFormat[] BitstreamFormat.findAll(Context context)
          Retrieve all bitstream formats from the registry, ordered by ID
static MetadataField[] MetadataField.findAllInSchema(Context context, int schemaID)
          Return all metadata fields that are found in a given schema.
static Community[] Community.findAllTop(Context context)
          Get a list of all top-level communities in the system.
static Collection[] Collection.findAuthorized(Context context, Community comm, int actionID)
          return an array of collections that user has a given permission on (useful for trimming 'select to collection' list) or figuring out which collections a person is an editor for.
static WorkspaceItem[] WorkspaceItem.findByCollection(Context context, Collection c)
          Get all workspace items for a particular collection.
static MetadataField MetadataField.findByElement(Context context, int schemaID, String element, String qualifier)
          Retrieves the metadata field from the database.
static SupervisedItem[] SupervisedItem.findbyEPerson(Context context, EPerson ep)
          Get items being supervised by given EPerson
static WorkspaceItem[] WorkspaceItem.findByEPerson(Context context, EPerson ep)
          Get all workspace items for a particular e-person.
static Collection MetadataValue.findByField(Context context, int fieldId)
          Retrieves the metadata values for a given field from the database.
static BitstreamFormat BitstreamFormat.findByMIMEType(Context context, String mimeType)
          Find a bitstream format by its (unique) MIME type.
static MetadataSchema MetadataSchema.findByNamespace(Context context, String namespace)
          Get the schema object corresponding to this namespace URI.
static BitstreamFormat BitstreamFormat.findByShortDescription(Context context, String desc)
          Find a bitstream format by its (unique) short description
static ItemIterator Item.findBySubmitter(Context context, EPerson eperson)
          Find all the items in the archive by a given submitter.
static BitstreamFormat[] BitstreamFormat.findNonInternal(Context context)
          Retrieve all non-internal bitstream formats from the registry.
static BitstreamFormat BitstreamFormat.findUnknown(Context context)
          Get the generic "unknown" bitstream format.
static SupervisedItem[] SupervisedItem.getAll(Context context)
          Get all workspace items which are being supervised
 Group[] SupervisedItem.getSupervisorGroups(Context c, int wi)
          Gets all the groups that are supervising a particular workspace item
static BitstreamFormat FormatIdentifier.guessFormat(Context context, Bitstream bitstream)
          Attempt to identify the format of a particular bitstream.
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 MetadataValue.update(Context context)
          Update the metadata value in the database.
 void MetadataSchema.update(Context context)
          Update the metadata schema in the database.
 void MetadataField.update(Context context)
          Update the metadata field in the database.
 

Constructors in org.dspace.content with parameters of type Context
ItemIterator(Context context, ArrayList iids)
          Construct an item iterator using an array list of item ids
ItemIterator(Context context, TableRowIterator rows)
          Construct an item iterator using a set of TableRow objects from the item table
 

Uses of Context in org.dspace.content.crosswalk
 

Methods in org.dspace.content.crosswalk with parameters of type Context
 boolean StreamDisseminationCrosswalk.canDisseminate(Context context, DSpaceObject dso)
          Predicate: Can this disseminator crosswalk the given object.
 void StreamDisseminationCrosswalk.disseminate(Context context, DSpaceObject dso, OutputStream out)
          Execute crosswalk on the given object, sending output to the stream.
 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 PREMISCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom.Element root)
           
 void NullIngestionCrosswalk.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 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 PREMISCrosswalk.ingest(Context context, DSpaceObject dso, List ml)
           
 void NullIngestionCrosswalk.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.
 

Uses of Context in org.dspace.content.dao
 

Fields in org.dspace.content.dao declared as Context
protected  Context ItemDAO.context
           
 

Methods in org.dspace.content.dao with parameters of type Context
static ItemDAO ItemDAOFactory.getInstance(Context context)
           
 

Constructors in org.dspace.content.dao with parameters of type Context
ItemDAO(Context ctx)
           
 

Uses of Context in org.dspace.content.packager
 

Methods in org.dspace.content.packager with parameters of type Context
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)
          Choose DMD section(s) to crosswalk.
abstract  void AbstractMETSIngester.chooseItemDmd(Context context, Item item, METSManifest manifest, AbstractMETSIngester.MdrefManager cb, org.jdom.Element[] dmds)
          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 PackageDisseminator.disseminate(Context context, DSpaceObject object, PackageParameters params, OutputStream out)
          Export the object (Item, Collection, or Community) as a "package" on the indicated OutputStream.
 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.
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.
 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 Context in org.dspace.content.service
 

Methods in org.dspace.content.service with parameters of type Context
static Thumbnail ItemService.getThumbnail(Context context, int itemId, boolean requireOriginal)
           
 

Uses of Context in org.dspace.core
 

Methods in org.dspace.core with parameters of type Context
static String I18nUtil.getDefaultLicense(Context context)
          Get the appropriate localized version of the default.license according to language settings
static String LogManager.getHeader(Context context, String action, String extrainfo)
          Generate the log header
static String I18nUtil.getMessage(String key, Context c)
          Get the i18n message string for a given key and locale
 

Uses of Context in org.dspace.eperson
 

Methods in org.dspace.eperson with parameters of type Context
static void Supervisor.add(Context context, int groupID, int wsItemID, int policy)
          adds a supervision order to the database
static Set<Integer> Group.allMemberGroupIDs(Context c, EPerson e)
          get Set of Integers all of the group memberships for an eperson
static Group[] Group.allMemberGroups(Context c, EPerson e)
          Get all of the groups that an eperson is a member of
static Set<Integer> Group.allMemberIDs(Context c, Group g)
          Get Set of all Integers all of the epeople members for a group
static EPerson[] Group.allMembers(Context c, Group g)
          Get all of the epeople who are a member of the specified group, or a member of a sub-group of the specified group, etc.
 void EPersonConsumer.consume(Context context, Event event)
          Consume the event
static Group Group.create(Context context)
          Create a new group
static EPerson EPerson.create(Context context)
          Create a new eperson
static void AccountManager.deleteToken(Context context, String token)
          Delete token.
 void EPersonConsumer.end(Context ctx)
          Handle the end of the event
static Group Group.find(Context context, int id)
          find the group by its ID
static EPerson EPerson.find(Context context, int id)
          Get an EPerson from the database.
static Group[] Group.findAll(Context context, int sortField)
          Finds all groups in the site
static EPerson[] EPerson.findAll(Context context, int sortField)
          Find all the epeople that match a particular query ID LASTNAME EMAIL NETID
static EPerson EPerson.findByEmail(Context context, String email)
          Find the eperson by their email address
static Group Group.findByName(Context context, String name)
          Find the group by its name - assumes name is unique
static EPerson EPerson.findByNetid(Context context, String netid)
          Find the eperson by their netid
 void EPersonConsumer.finish(Context ctx)
          Finish the event
static String AccountManager.getEmail(Context context, String token)
          Return the e-mail address referred to by a token, or null if email address can't be found ignores expiration of token
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 Collection[] Subscribe.getSubscriptions(Context context, EPerson eperson)
          Find out which collections an e-person is subscribed to
static boolean Group.isMember(Context c, int groupid)
          fast check to see if an eperson is a member called with eperson id, does database lookup without instantiating all of the epeople objects and is thus a static method
static boolean Supervisor.isOrder(Context context, int wsItemID, int groupID)
          finds out if there is a supervision order that matches this set of values
static boolean Subscribe.isSubscribed(Context context, EPerson eperson, Collection collection)
          Is that e-person subscribed to that collection?
static void Subscribe.processDaily(Context context, boolean test)
          Process subscriptions.
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 Supervisor.removeRedundant(Context context)
          removes redundant entries in the supervision orders database
static Group[] Group.search(Context context, String query)
          Find the groups that match the search query across eperson_group_id or name
static EPerson[] EPerson.search(Context context, String query)
          Find the epeople that match the search query across firstname, lastname or email
static Group[] Group.search(Context context, String query, int offset, int limit)
          Find the groups that match the search query across eperson_group_id or name
static EPerson[] EPerson.search(Context context, String query, int offset, int limit)
          Find the epeople that match the search query across firstname, lastname or email.
static int Group.searchResultCount(Context context, String query)
          Returns the total number of groups returned by a specific query, without the overhead of creating the Group objects to store the results.
static int EPerson.searchResultCount(Context context, String query)
          Returns the total number of epeople returned by a specific query, without the overhead of creating the EPerson objects to store the results.
static void Subscribe.sendEmail(Context context, EPerson eperson, List collections, boolean test)
          Sends an email to the given e-person with details of new items in the given collections, items that appeared yesterday.
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.
 

Uses of Context in org.dspace.event
 

Methods in org.dspace.event with parameters of type Context
 void TestConsumer.consume(Context ctx, Event event)
          Consume a content event - display it in detail.
 void Consumer.consume(Context ctx, Event event)
          Consume an event; events may get filtered at the dispatcher level, hiding it from the consumer.
abstract  void Dispatcher.dispatch(Context ctx)
          Dispatch all events added to this Context according to configured consumers.
 void BasicDispatcher.dispatch(Context ctx)
          Dispatch all events added to this Context according to configured consumers.
 void TestConsumer.end(Context ctx)
           
 void Consumer.end(Context ctx)
          Signal that there are no more events queued in this event stream and event processing for the preceding consume calls should be finished up.
 void TestConsumer.finish(Context ctx)
           
 void Consumer.finish(Context ctx)
          Finish - free any allocated resources.
 DSpaceObject Event.getObject(Context context)
          Get the DSpace object which is the "object" of an event.
 DSpaceObject Event.getSubject(Context context)
          Syntactic sugar to get the DSpace object which is the "subject" of an event.
 

Uses of Context in org.dspace.handle
 

Methods in org.dspace.handle with parameters of type Context
static String HandleManager.createHandle(Context context, DSpaceObject dso)
          Creates a new handle in the database.
static String HandleManager.createHandle(Context context, DSpaceObject dso, String suppliedHandle)
          Creates a handle entry, but with a handle supplied by the caller (new Handle not generated)
static String HandleManager.findHandle(Context context, DSpaceObject dso)
          Return the handle for an Object, or null if the Object has no handle.
static DSpaceObject HandleManager.resolveToObject(Context context, String handle)
          Return the object which handle maps to, or null.
static String HandleManager.resolveToURL(Context context, String handle)
          Return the local URL for handle, or null if handle cannot be found.
 

Uses of Context in org.dspace.license
 

Methods in org.dspace.license with parameters of type Context
static boolean CreativeCommons.hasLicense(Context context, Item item)
           
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 Context in org.dspace.plugin
 

Methods in org.dspace.plugin with parameters of type Context
 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 Context in org.dspace.search
 

Fields in org.dspace.search declared as Context
 Context HarvestedItemInfo.context
          Context used when creating this object
 

Methods in org.dspace.search with parameters of type Context
static void DSIndexer.cleanIndex(Context context)
          Iterates over all documents in the Lucene index and verifies they are in database, if not, they are removed.
 void SearchConsumer.consume(Context ctx, Event event)
          Consume a content event -- just build the sets of objects to add (new) to the index, update, and delete.
static void DSIndexer.createIndex(Context c)
          create full index - wiping old index
static QueryResults DSQuery.doQuery(Context c, QueryArgs args)
          Do a query, returning a QueryResults object
static QueryResults DSQuery.doQuery(Context c, QueryArgs args, Collection coll)
          Do a query, restricted to a collection
static QueryResults DSQuery.doQuery(Context c, QueryArgs args, Community comm)
          Do a query, restricted to a community
 void SearchConsumer.end(Context ctx)
          Process sets of objects to add, update, and delete in index.
 void SearchConsumer.finish(Context ctx)
           
protected static org.apache.lucene.search.IndexSearcher DSQuery.getSearcher(Context c)
          get an IndexSearcher, hopefully a cached one (gives much better performance.) checks to see if the index has been modified - if so, it creates a new IndexSearcher
static HarvestedItemInfo Harvest.getSingle(Context context, String handle, boolean collections)
          Get harvested item info for a single item.
static List Harvest.harvest(Context context, DSpaceObject scope, String startDate, String endDate, int offset, int limit, boolean items, boolean collections, boolean withdrawn, boolean nonAnon)
          Obtain information about items that have been created, modified or withdrawn within a given date range.
static void DSIndexer.indexContent(Context context, DSpaceObject dso)
          If the handle for the "dso" already exists in the index, and the "dso" has a lastModified timestamp that is newer than the document in the index then it is updated, otherwise a new document is added.
static void DSIndexer.indexContent(Context context, DSpaceObject dso, boolean force)
          If the handle for the "dso" already exists in the index, and the "dso" has a lastModified timestamp that is newer than the document in the index then it is updated, otherwise a new document is added.
static void DSIndexer.optimizeIndex(Context c)
          Optimize the existing index.
static void DSIndexer.reIndexContent(Context context, DSpaceObject dso)
          reIndexContent removes something from the index, then re-indexes it
static void DSIndexer.unIndexContent(Context context, DSpaceObject dso)
          unIndex removes an Item, Collection, or Community only works if the DSpaceObject has a handle (uses the handle for its unique ID)
static void DSIndexer.unIndexContent(Context context, String handle)
          Unindex a Docment in the Lucene Index.
static void DSIndexer.updateIndex(Context context)
          Iterates over all Items, Collections and Communities.
static void DSIndexer.updateIndex(Context context, boolean force)
          Iterates over all Items, Collections and Communities.
 

Uses of Context in org.dspace.storage.bitstore
 

Methods in org.dspace.storage.bitstore with parameters of type Context
static void BitstreamStorageManager.delete(Context context, int id)
           Remove a bitstream from the asset store.
static int BitstreamStorageManager.register(Context context, int assetstore, String bitstreamPath)
          Register a bitstream already in storage.
static InputStream BitstreamStorageManager.retrieve(Context context, int id)
          Retrieve the bits for the bitstream with ID.
static int BitstreamStorageManager.store(Context context, InputStream is)
          Store a stream of bits.
 

Uses of Context in org.dspace.storage.rdbms
 

Methods in org.dspace.storage.rdbms with parameters of type Context
static TableRow DatabaseManager.create(Context context, String table)
          Create a new row in the given table, and assigns a unique id.
static int DatabaseManager.delete(Context context, String table, int id)
          Delete a table row via its primary key.
static int DatabaseManager.delete(Context context, TableRow row)
          Delete row from the RDBMS.
static int DatabaseManager.deleteByValue(Context context, String table, String column, Object value)
          Delete all table rows with the given value.
static TableRow DatabaseManager.find(Context context, String table, int id)
          Find a table row by its primary key.
static TableRow DatabaseManager.findByUnique(Context context, String table, String column, Object value)
          Find a table row by a unique value.
static void DatabaseManager.insert(Context context, TableRow row)
          Insert a table row into the RDBMS.
static TableRowIterator DatabaseManager.query(Context context, String query, Object... parameters)
          Return an iterator with the results of the query.
static TableRow DatabaseManager.querySingle(Context context, String query, Object... parameters)
          Return the single row result to this query, or null if no result.
static TableRow DatabaseManager.querySingleTable(Context context, String table, String query, Object... parameters)
          Return the single row result to this query, or null if no result.
static TableRowIterator DatabaseManager.queryTable(Context context, String table, String query, Object... parameters)
          Return an iterator with the results of the query.
static int DatabaseManager.update(Context context, TableRow row)
          Update changes to the RDBMS.
static int DatabaseManager.updateQuery(Context context, String query, Object... parameters)
          Execute an update, insert or delete query.
 

Uses of Context in org.dspace.submit
 

Methods in org.dspace.submit with parameters of type Context
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 Context in org.dspace.submit.step
 

Methods in org.dspace.submit.step with parameters of type Context
 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)
 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 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 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 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 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 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 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)
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 Context in org.dspace.workflow
 

Methods in org.dspace.workflow with parameters of type Context
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
static WorkflowItem WorkflowItem.find(Context context, int id)
          Get a workflow item from the database.
static WorkflowItem[] WorkflowItem.findAll(Context c)
          return all workflowitems
static WorkflowItem[] WorkflowItem.findByCollection(Context context, Collection c)
          Get all workflow items for a particular collection.
static WorkflowItem[] WorkflowItem.findByEPerson(Context context, EPerson ep)
          Get all workflow items that were original submissions by a particular e-person.
static List WorkflowManager.getOwnedTasks(Context c, EPerson e)
          getOwnedTasks() returns a List of WorkflowItems containing the tasks claimed and owned by an EPerson.
static List WorkflowManager.getPooledTasks(Context c, EPerson e)
          getPooledTasks() returns a List of WorkflowItems an EPerson could claim (as a reviewer, etc.) for display on a user's MyDSpace page.
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
 



Copyright © 2009 The DSpace Foundation. All Rights Reserved.