|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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.bulkedit | |
| org.dspace.app.itemexport | |
| org.dspace.app.itemupdate | |
| org.dspace.app.mediafilter | |
| org.dspace.app.packager | Tools for exporting and importing DSpace objects (Community, Collection, Item, etc.) wrapped in various kinds of packaging. |
| org.dspace.app.statistics | Defines usage event instrumentation points and provides implementations for testing. |
| org.dspace.app.util | |
| org.dspace.authenticate | End-user authentication manager, interface and implementations. |
| org.dspace.authorize | Handles permissions for DSpace content. |
| org.dspace.browse | Provides classes and methods 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.curate | |
| org.dspace.discovery | |
| org.dspace.embargo | Embargo allows the deposit of Items whose content should not be made visible until later. |
| 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.harvest | |
| org.dspace.identifier | |
| 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.statistics | |
| org.dspace.statistics.content | |
| org.dspace.statistics.util | |
| 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.usage | |
| org.dspace.versioning | |
| org.dspace.workflow | DSpace's workflow system |
| org.dspace.xmlworkflow | |
| org.dspace.xmlworkflow.state | |
| org.dspace.xmlworkflow.state.actions | |
| org.dspace.xmlworkflow.state.actions.processingaction | |
| org.dspace.xmlworkflow.state.actions.userassignment | |
| org.dspace.xmlworkflow.storedcomponents | |
| 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.bulkedit |
|---|
| Constructors in org.dspace.app.bulkedit with parameters of type Context | |
|---|---|
DSpaceCSV(File f,
Context c)
Create a new instance, reading the lines in from file |
|
MetadataExport(Context c,
Community toExport,
boolean exportAll)
Method to export a community (and sub-communities and collections) |
|
MetadataExport(Context c,
ItemIterator toExport,
boolean exportAll)
Set up a new metadata export |
|
MetadataImport(Context c,
DSpaceCSV toImport)
Create an instance of the metadata importer. |
|
| 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. |
static void |
ItemExport.exportAsZip(Context context,
ItemIterator items,
String destDirName,
String zipFileName,
int seqStart,
boolean migrate)
Method to perform an export and save it as a zip file. |
| Uses of Context in org.dspace.app.itemupdate |
|---|
| Methods in org.dspace.app.itemupdate with parameters of type Context | |
|---|---|
static ItemArchive |
ItemArchive.create(Context context,
File dir,
String itemField)
factory method Minimal requirements for dublin_core.xml for this application is the presence of dc.identifier.uri which must contain the handle for the item |
void |
UpdateAction.execute(Context context,
ItemArchive itarch,
boolean isTest,
boolean suppressUndo)
Action to update item |
void |
DeleteMetadataAction.execute(Context context,
ItemArchive itarch,
boolean isTest,
boolean suppressUndo)
Delete metadata from item |
void |
DeleteBitstreamsByFilterAction.execute(Context context,
ItemArchive itarch,
boolean isTest,
boolean suppressUndo)
Delete bitstream |
void |
DeleteBitstreamsAction.execute(Context context,
ItemArchive itarch,
boolean isTest,
boolean suppressUndo)
Delete bitstream from item |
void |
AddMetadataAction.execute(Context context,
ItemArchive itarch,
boolean isTest,
boolean suppressUndo)
Adds metadata specified in the source archive |
void |
AddBitstreamsAction.execute(Context context,
ItemArchive itarch,
boolean isTest,
boolean suppressUndo)
Adds bitstreams from the archive as listed in the contents file. |
| 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. |
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)
A utility class that calls the virtual methods from the current MediaFilter class. |
| Uses of Context in org.dspace.app.packager |
|---|
| Methods in org.dspace.app.packager with parameters of type Context | |
|---|---|
protected void |
Packager.disseminate(Context context,
PackageDisseminator dip,
DSpaceObject dso,
PackageParameters pkgParams,
String outputFile)
Disseminate one or more DSpace objects into package(s) based on the options passed to the 'packager' script |
protected void |
Packager.ingest(Context context,
PackageIngester sip,
PackageParameters pkgParams,
String sourceFile,
DSpaceObject[] parentObjs)
Ingest one or more DSpace objects from package(s) based on the options passed to the 'packager' script. |
protected void |
Packager.replace(Context context,
PackageIngester sip,
PackageParameters pkgParams,
String sourceFile,
DSpaceObject objToReplace)
Replace an one or more existing DSpace objects with the contents of specified package(s) based on the options passed to the 'packager' script. |
| Uses of 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.app.util |
|---|
| Methods in org.dspace.app.util with parameters of type Context | |
|---|---|
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 reinstate 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 boolean |
MetadataExposure.isHidden(Context context,
String schema,
String element,
String qualifier)
|
static void |
AuthorizeUtil.requireAdminRole(Context context)
Throw an AuthorizeException if the current user is not a System Admin |
static DSpaceObject |
OpenSearch.resolveScope(Context context,
String scope)
|
| Constructors in org.dspace.app.util with parameters of type Context | |
|---|---|
GoogleMetadata(Context context,
Item item)
Wrap the item, parse all configured fields and generate metadata field values. |
|
| 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 |
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)
Authenticate the given or implicit credentials. |
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 |
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 |
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. |
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)
Get list of extra groups that user implicitly belongs to. |
int[] |
PasswordAuthentication.getSpecialGroups(Context context,
javax.servlet.http.HttpServletRequest request)
Add authenticated users to the group defined in authentication-password.cfg by the login.specialgroup key. |
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)
Initialize 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 |
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. |
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 |
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 |
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. |
protected int |
ShibAuthentication.swordCompatibility(Context context,
String username,
String password,
javax.servlet.http.HttpServletRequest request)
Provide password-based authentication to enable sword compatibility. |
| 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,
EPerson e,
String type)
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.addPolicy(Context c,
DSpaceObject o,
int actionID,
Group g,
String type)
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 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 boolean |
AuthorizeManager.authorizeActionBoolean(Context c,
DSpaceObject o,
int a,
boolean useInheritance)
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 |
AuthorizeManager.createOrModifyPolicy(ResourcePolicy policy,
Context context,
String name,
int idGroup,
EPerson ePerson,
Date embargoDate,
int action,
String reason,
DSpaceObject dso)
|
static ResourcePolicy |
ResourcePolicy.find(Context context,
int id)
Get an ResourcePolicy from the database. |
static ResourcePolicy |
AuthorizeManager.findByTypeIdGroupAction(Context c,
int dsoType,
int dsoID,
int groupID,
int action,
int policyID)
|
static List<ResourcePolicy> |
AuthorizeManager.findPoliciesByDSOAndType(Context c,
DSpaceObject o,
String type)
Return a List of the policies for an object |
static void |
AuthorizeManager.generateAutomaticPolicies(Context context,
Date embargoDate,
String reason,
DSpaceObject dso,
Collection owningCollection)
Generate Policies policies READ for the date in input adding reason. |
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 a System Admin. |
static boolean |
AuthorizeManager.isAdmin(Context c,
DSpaceObject o)
Check to see if the current user is an Administrator of a given object within DSpace. |
static boolean |
AuthorizeManager.isAnIdenticalPolicyAlreadyInPlace(Context c,
DSpaceObject o,
int groupID,
int action,
int policyID)
|
static boolean |
AuthorizeManager.isAnIdenticalPolicyAlreadyInPlace(Context c,
DSpaceObject o,
ResourcePolicy rp)
|
static boolean |
AuthorizeManager.isAnIdenticalPolicyAlreadyInPlace(Context c,
int dsoType,
int dsoID,
int groupID,
int action,
int policyID)
|
static void |
AuthorizeManager.removeAllPolicies(Context c,
DSpaceObject o)
removes ALL policies for an object. |
static void |
AuthorizeManager.removeAllPoliciesByDSOAndType(Context c,
DSpaceObject o,
String type)
removes policies |
static void |
AuthorizeManager.removeAllPoliciesByDSOAndTypeNotEqualsTo(Context c,
DSpaceObject o,
String type)
removes ALL policies for an object that are not of the input type. |
static void |
AuthorizeManager.removeEPersonPolicies(Context c,
DSpaceObject o,
EPerson e)
Removes all policies from an eperson for a particular object that belong to an EPerson. |
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.setPolicies(Context c,
int containerType,
int containerID,
int contentType,
int actionID,
int groupID,
boolean isReplace,
boolean clearOnly,
String name,
String description,
Date startDate,
Date endDate)
|
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. |
static void |
PolicySet.setPoliciesFilter(Context c,
int containerType,
int containerID,
int contentType,
int actionID,
int groupID,
boolean isReplace,
boolean clearOnly,
String filter,
String name,
String description,
Date startDate,
Date endDate)
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 |
SolrBrowseCreateDAO.additionalIndex(Context context,
DSpaceObject dso,
org.apache.solr.common.SolrInputDocument doc)
|
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 |
|
SolrBrowseCreateDAO(Context context)
|
|
SolrBrowseDAO(Context 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 top-level community, with a new ID. |
static Community |
Community.create(Community parent,
Context context,
String handle)
Create a new top-level 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 ignored). |
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 Bitstream[] |
Bitstream.findAll(Context context)
|
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 ItemIterator |
Item.findAllUnfiltered(Context context)
Get all "final" items in the archive, both archived ("in archive" flag) or withdrawn items are included. |
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 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 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 List<MetadataValue> |
MetadataValue.findByField(Context context,
int fieldId)
Retrieves the metadata values for a given field from the database. |
static WorkspaceItem |
WorkspaceItem.findByItem(Context context,
Item i)
Check to see if a particular item is currently still in a user's Workspace. |
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 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 void |
LicenseUtils.grantLicense(Context context,
Item item,
String licenseText)
Store a copy of the license a user granted in the 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. |
static Item |
InstallItem.restoreItem(Context c,
InProgressSubmission is,
String suppliedHandle)
Turn an InProgressSubmission into a fully-archived Item, for a "restore" operation such as ingestion of an AIP to recreate an archive. |
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,
List<Integer> 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. |
boolean |
LicenseStreamDisseminationCrosswalk.canDisseminate(Context context,
DSpaceObject dso)
|
boolean |
CreativeCommonsTextStreamDisseminationCrosswalk.canDisseminate(Context context,
DSpaceObject dso)
|
boolean |
CreativeCommonsRDFStreamDisseminationCrosswalk.canDisseminate(Context context,
DSpaceObject dso)
|
void |
StreamDisseminationCrosswalk.disseminate(Context context,
DSpaceObject dso,
OutputStream out)
Execute crosswalk on the given object, sending output to the stream. |
void |
LicenseStreamDisseminationCrosswalk.disseminate(Context context,
DSpaceObject dso,
OutputStream out)
|
void |
CreativeCommonsTextStreamDisseminationCrosswalk.disseminate(Context context,
DSpaceObject dso,
OutputStream out)
|
void |
CreativeCommonsRDFStreamDisseminationCrosswalk.disseminate(Context context,
DSpaceObject dso,
OutputStream out)
|
void |
XSLTIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root)
Ingest a whole document. |
void |
RoleCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root)
Ingest a whole XML document, starting at specified root. |
void |
QDCCrosswalk.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 |
OAIDCIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root)
|
void |
NullIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root)
|
void |
METSRightsCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root)
Ingest a whole XML document, starting at specified root. |
void |
IngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root)
Crosswalk metadata from external XML representation to DSpace internal representations. |
void |
DIMIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root)
|
void |
AIPTechMDCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root)
Ingest a whole document. |
void |
AIPDIMCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root)
Ingest a whole document. |
void |
StreamIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
InputStream in,
String MIMEType)
Execute crosswalk on the given object, taking input from the stream. |
void |
NullStreamIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
InputStream in,
String MIMEType)
|
void |
LicenseStreamIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
InputStream in,
String MIMEType)
|
void |
CreativeCommonsRDFStreamIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
InputStream in,
String MIMEType)
|
void |
XSLTIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> metadata)
Translate metadata with XSL stylesheet and ingest it. |
void |
RoleCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> metadata)
Ingest a List of XML elements |
void |
QDCCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> ml)
|
void |
PREMISCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> ml)
|
void |
OREIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> metadata)
|
void |
OAIDCIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> metadata)
|
void |
NullIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> ml)
|
void |
METSRightsCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> ml)
Ingest a List of XML elements |
void |
IngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> metadata)
Crosswalk metadata from external XML representation to DSpace internal representations. |
void |
DIMIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> metadata)
|
void |
AIPTechMDCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> dimList)
Translate metadata with XSL stylesheet and ingest it. |
void |
AIPDIMCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> dimList)
Fields correspond directly to Item.addMetadata() calls so they are simply executed. |
static void |
XSLTIngestionCrosswalk.ingestDIM(Context context,
DSpaceObject dso,
org.jdom.Element dim)
Ingest a DIM metadata expression directly, without translating some other format into DIM. |
static void |
XSLTIngestionCrosswalk.ingestDIM(Context context,
DSpaceObject dso,
List<org.jdom.Element> fields)
|
| 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 | |
|---|---|
protected String |
AbstractMETSDisseminator.addAmdSec(Context context,
DSpaceObject dso,
PackageParameters params,
edu.harvard.hul.ois.mets.Mets mets,
AbstractMETSDisseminator.MdStreamCache extraStreams)
|
protected void |
AbstractMETSIngester.addBitstreams(Context context,
Item item,
METSManifest manifest,
File pkgFile,
PackageParameters params,
AbstractMETSIngester.MdrefManager mdRefCallback)
Add Bitstreams to an Item, based on the files listed in the METS Manifest |
protected void |
AbstractMETSDisseminator.addBitstreamsToZip(Context context,
DSpaceObject dso,
PackageParameters params,
ZipOutputStream zip)
Add Bitstreams associated with a given DSpace Object into an existing ZipOutputStream |
protected void |
AbstractMETSIngester.addContainerLogo(Context context,
DSpaceObject dso,
METSManifest manifest,
File pkgFile,
PackageParameters params)
Add a Logo to a Community or Collection container object based on a METS Manifest. |
static void |
PackageUtils.addDepositLicense(Context context,
String license,
Item item,
Collection collection)
Add DSpace Deposit License to an Item. |
void |
DSpaceMETSIngester.addLicense(Context context,
Item item,
String license,
Collection collection,
PackageParameters params)
Policy: For DSpace deposit license, take deposit license supplied by explicit argument first, else use collection's default deposit license. |
void |
DSpaceAIPIngester.addLicense(Context context,
Item item,
String license,
Collection collection,
PackageParameters params)
Ignore license when restoring an manifest-only AIP, since it should be a bitstream in the AIP already. |
abstract void |
AbstractMETSIngester.addLicense(Context context,
Item item,
String license,
Collection collection,
PackageParameters params)
Add license(s) to Item based on contents of METS and other policies. |
protected void |
AbstractMETSIngester.addManifestBitstream(Context context,
Item item,
METSManifest manifest)
Save/Preserve the METS Manifest as a Bitstream attached to the given DSpace item. |
void |
DSpaceMETSDisseminator.addStructMap(Context context,
DSpaceObject dso,
PackageParameters params,
edu.harvard.hul.ois.mets.Mets mets)
|
void |
DSpaceAIPDisseminator.addStructMap(Context context,
DSpaceObject dso,
PackageParameters params,
edu.harvard.hul.ois.mets.Mets mets)
Adds another structMap element to contain the "parent link" that is an essential part of every AIP. |
abstract void |
AbstractMETSDisseminator.addStructMap(Context context,
DSpaceObject dso,
PackageParameters params,
edu.harvard.hul.ois.mets.Mets mets)
Add any additional structMap elements to the
METS document, as required by this subclass. |
protected void |
AbstractMETSIngester.addTemplateItem(Context context,
DSpaceObject dso,
METSManifest manifest,
File pkgFile,
PackageParameters params,
AbstractMETSIngester.MdrefManager callback)
Add a Template Item to a Collection container object based on a METS Manifest. |
protected void |
AbstractMETSDisseminator.addToAmdSec(edu.harvard.hul.ois.mets.AmdSec fAmdSec,
String[] mdTypes,
Class mdSecClass,
Context context,
DSpaceObject dso,
PackageParameters params,
AbstractMETSDisseminator.MdStreamCache extraStreams)
|
static DSpaceObject |
PackageUtils.createDSpaceObject(Context context,
DSpaceObject parent,
int type,
String handle,
PackageParameters params)
Create the specified DSpace Object, based on the passed in Package Parameters (along with other basic info required to create the object) |
protected static void |
DSpaceAIPIngester.createMissingMetadataFields(Context context,
Item item)
Verifies that all the unsaved, crosswalked metadata fields that have been added to an Item actually exist in our Database. |
void |
METSManifest.crosswalkBitstream(Context context,
PackageParameters params,
Bitstream bitstream,
String fileId,
METSManifest.Mdref callback)
Crosswalk the metadata associated with a particular file
element into the bitstream it corresponds to. |
void |
METSManifest.crosswalkItemDmd(Context context,
PackageParameters params,
DSpaceObject dso,
org.jdom.Element dmdSec,
METSManifest.Mdref callback)
Invokes appropriate crosswalks on Item-wide descriptive metadata. |
void |
DSpaceMETSIngester.crosswalkObjectDmd(Context context,
DSpaceObject dso,
METSManifest manifest,
AbstractMETSIngester.MdrefManager callback,
org.jdom.Element[] dmds,
PackageParameters params)
Choose DMD section(s) to crosswalk. |
void |
DSpaceAIPIngester.crosswalkObjectDmd(Context context,
DSpaceObject dso,
METSManifest manifest,
AbstractMETSIngester.MdrefManager callback,
org.jdom.Element[] dmds,
PackageParameters params)
Choose DMD section(s) to crosswalk. |
abstract void |
AbstractMETSIngester.crosswalkObjectDmd(Context context,
DSpaceObject dso,
METSManifest manifest,
AbstractMETSIngester.MdrefManager callback,
org.jdom.Element[] dmds,
PackageParameters params)
Select the dmdSec element(s) to apply to the Item. |
void |
METSManifest.crosswalkObjectOtherAdminMD(Context context,
PackageParameters params,
DSpaceObject dso,
METSManifest.Mdref callback)
Crosswalk all technical and source metadata sections that belong to the whole object. |
boolean |
METSManifest.crosswalkObjectSourceMD(Context context,
PackageParameters params,
DSpaceObject dso,
METSManifest.Mdref callback)
Just crosswalk the sourceMD sections; used to set the handle and parent of AIP. |
void |
RoleDisseminator.disseminate(Context context,
DSpaceObject object,
PackageParameters params,
File pkgFile)
|
void |
PDFPackager.disseminate(Context context,
DSpaceObject dso,
PackageParameters params,
File pkgFile)
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,
File pkgFile)
Export the object (Item, Collection, or Community) as a "package" on the indicated OutputStream. |
void |
DSpaceAIPDisseminator.disseminate(Context context,
DSpaceObject dso,
PackageParameters params,
File pkgFile)
|
void |
AbstractMETSDisseminator.disseminate(Context context,
DSpaceObject dso,
PackageParameters params,
File pkgFile)
Export the object (Item, Collection, or Community) as a "package" on the indicated OutputStream. |
List<File> |
RoleDisseminator.disseminateAll(Context context,
DSpaceObject dso,
PackageParameters params,
File pkgFile)
|
List<File> |
PDFPackager.disseminateAll(Context context,
DSpaceObject dso,
PackageParameters params,
File pkgFile)
disseminateAll() cannot be implemented for a PDF disseminator, because there's only one PDF to disseminate |
List<File> |
PackageDisseminator.disseminateAll(Context context,
DSpaceObject dso,
PackageParameters params,
File pkgFile)
Recursively export one or more DSpace Objects as a series of packages. |
List<File> |
AbstractPackageDisseminator.disseminateAll(Context context,
DSpaceObject dso,
PackageParameters params,
File pkgFile)
Recursively export one or more DSpace Objects as a series of packages. |
static Bitstream |
PackageUtils.findDepositLicense(Context context,
Item item)
Utility to find the license bitstream from an item |
static BitstreamFormat |
PackageUtils.findOrCreateBitstreamFormat(Context context,
String shortDesc,
String MIMEType,
String desc)
Find or create a bitstream format to match the given short description. |
static BitstreamFormat |
PackageUtils.findOrCreateBitstreamFormat(Context context,
String shortDesc,
String MIMEType,
String desc,
int supportLevel,
boolean internal)
Find or create a bitstream format to match the given short description. |
void |
DSpaceMETSIngester.finishBitstream(Context context,
Bitstream bs,
org.jdom.Element mfile,
METSManifest manifest,
PackageParameters params)
Take a second pass over files to correct names of derived files (e.g. |
void |
DSpaceAIPIngester.finishBitstream(Context context,
Bitstream bs,
org.jdom.Element mfile,
METSManifest manifest,
PackageParameters params)
Nothing extra to do to bitstream after ingestion. |
abstract void |
AbstractMETSIngester.finishBitstream(Context context,
Bitstream bs,
org.jdom.Element mfile,
METSManifest manifest,
PackageParameters params)
Subclass-dependent final processing on a Bitstream; could include fixing up the name, bundle, other attributes. |
static Item |
PackageUtils.finishCreateItem(Context context,
WorkspaceItem wsi,
String handle,
PackageParameters params)
Perform any final tasks on a newly created WorkspaceItem in order to finish ingestion of an Item. |
void |
DSpaceMETSIngester.finishObject(Context context,
DSpaceObject dso,
PackageParameters params)
|
void |
DSpaceAIPIngester.finishObject(Context context,
DSpaceObject dso,
PackageParameters params)
Last change to fix up a DSpace Object. |
abstract void |
AbstractMETSIngester.finishObject(Context context,
DSpaceObject dso,
PackageParameters params)
Hook for final "finishing" operations on the new Object. |
String[] |
DSpaceMETSDisseminator.getDigiprovMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
|
String[] |
DSpaceAIPDisseminator.getDigiprovMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Return the name of all crosswalks to run for the digiprovMD section of the METS Manifest. |
abstract String[] |
AbstractMETSDisseminator.getDigiprovMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Get the type string of the "digiprov" (digital provenance) metadata to create for each object and each Bitstream in an Item. |
String[] |
DSpaceMETSDisseminator.getDmdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Get DMD choice for Item. |
String[] |
DSpaceAIPDisseminator.getDmdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Return the name of all crosswalks to run for the dmdSec section of the METS Manifest. |
abstract String[] |
AbstractMETSDisseminator.getDmdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Get the types of Item-wide DMD to include in package. |
DSpaceObject |
AbstractMETSIngester.getParentObject(Context context,
METSManifest manifest)
Determines what parent DSpace object is referenced in this METS doc. |
String[] |
DSpaceMETSDisseminator.getRightsMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Add rights MD (licenses) for DSpace item. |
String[] |
DSpaceAIPDisseminator.getRightsMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Return the name of all crosswalks to run for the rightsMD section of the METS Manifest. |
abstract String[] |
AbstractMETSDisseminator.getRightsMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Get the type string of the "rights" (permission and/or license) metadata to create for each object and each Bitstream in an Item. |
String[] |
DSpaceMETSDisseminator.getSourceMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
|
String[] |
DSpaceAIPDisseminator.getSourceMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Return the name of all crosswalks to run for the sourceMD section of the METS Manifest. |
abstract String[] |
AbstractMETSDisseminator.getSourceMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Get the type string of the source metadata to create for each object and each Bitstream in an Item. |
String[] |
DSpaceMETSDisseminator.getTechMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Get name of technical metadata crosswalk for Bitstreams. |
String[] |
DSpaceAIPDisseminator.getTechMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Return the name of all crosswalks to run for the techMD section of the METS Manifest. |
abstract String[] |
AbstractMETSDisseminator.getTechMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Get the type string of the technical metadata to create for each object and each Bitstream in an Item. |
DSpaceObject |
RoleIngester.ingest(Context context,
DSpaceObject parent,
File pkgFile,
PackageParameters params,
String license)
|
DSpaceObject |
PDFPackager.ingest(Context context,
DSpaceObject parent,
File pkgFile,
PackageParameters params,
String license)
Create new Item out of the ingested package, in the indicated collection. |
DSpaceObject |
PackageIngester.ingest(Context context,
DSpaceObject parent,
File pkgFile,
PackageParameters params,
String license)
Create new DSpaceObject out of the ingested package. |
DSpaceObject |
AbstractMETSIngester.ingest(Context context,
DSpaceObject parent,
File pkgFile,
PackageParameters params,
String license)
Create a new DSpace object out of a METS content package. |
List<DSpaceObject> |
RoleIngester.ingestAll(Context context,
DSpaceObject parent,
File pkgFile,
PackageParameters params,
String license)
|
List<DSpaceObject> |
PDFPackager.ingestAll(Context context,
DSpaceObject parent,
File pkgFile,
PackageParameters params,
String license)
IngestAll() cannot be implemented for a PDF ingester, because there's only one PDF to ingest |
List<DSpaceObject> |
PackageIngester.ingestAll(Context context,
DSpaceObject parent,
File pkgFile,
PackageParameters params,
String license)
Recursively create one or more DSpace Objects out of the contents of the ingested package (and all other referenced packages). |
List<DSpaceObject> |
AbstractPackageIngester.ingestAll(Context context,
DSpaceObject parent,
File pkgFile,
PackageParameters params,
String license)
Recursively create one or more DSpace Objects out of the contents of the ingested package (and all other referenced packages). |
protected DSpaceObject |
AbstractMETSIngester.ingestObject(Context context,
DSpaceObject parent,
METSManifest manifest,
File pkgFile,
PackageParameters params,
String license)
Ingest/import a single DSpace Object, based on the associated METS Manifest and the parameters passed to the METSIngester |
static void |
RoleIngester.ingestStream(Context context,
DSpaceObject parent,
PackageParameters params,
InputStream stream)
Ingest roles from an InputStream. |
protected void |
AbstractMETSDisseminator.linkLicenseRefsToBitstreams(Context context,
PackageParameters params,
DSpaceObject dso,
edu.harvard.hul.ois.mets.MdRef mdRef)
Cleanup our license file reference links, as Deposit Licenses & CC Licenses can be added two ways (and we only want to add them to zip package *once*): (1) Added as a normal Bitstream (assuming LICENSE and CC_LICENSE bundles will be included in pkg) (2) Added via a 'rightsMD' crosswalk (as they are rights information/metadata on an Item) |
protected edu.harvard.hul.ois.mets.Mets |
AbstractMETSDisseminator.makeManifest(Context context,
DSpaceObject dso,
PackageParameters params,
AbstractMETSDisseminator.MdStreamCache extraStreams)
Write out a METS manifest. |
protected edu.harvard.hul.ois.mets.helper.MdSec |
AbstractMETSDisseminator.makeMdSec(Context context,
DSpaceObject dso,
Class mdSecClass,
String typeSpec,
PackageParameters params,
AbstractMETSDisseminator.MdStreamCache extraStreams)
Create an element wrapped around a metadata reference (either mdWrap or mdRef); i.e. |
edu.harvard.hul.ois.mets.MetsHdr |
DSpaceMETSDisseminator.makeMetsHdr(Context context,
DSpaceObject dso,
PackageParameters params)
Create metsHdr element - separate so subclasses can override. |
edu.harvard.hul.ois.mets.MetsHdr |
DSpaceAIPDisseminator.makeMetsHdr(Context context,
DSpaceObject dso,
PackageParameters params)
Create the metsHdr element for the AIP METS Manifest. |
abstract edu.harvard.hul.ois.mets.MetsHdr |
AbstractMETSDisseminator.makeMetsHdr(Context context,
DSpaceObject dso,
PackageParameters params)
Create metsHdr element - separate so subclasses can override. |
protected METSManifest |
AbstractMETSIngester.parsePackage(Context context,
File pkgFile,
PackageParameters params)
Parse a given input package, ultimately returning the METS manifest out of the package. |
boolean |
DSpaceMETSIngester.probe(Context context,
InputStream in,
PackageParameters params)
|
protected void |
AbstractMETSIngester.removeObject(Context context,
DSpaceObject dso)
Remove an existing DSpace Object (called during a replace) |
DSpaceObject |
RoleIngester.replace(Context context,
DSpaceObject dso,
File pkgFile,
PackageParameters params)
|
DSpaceObject |
PDFPackager.replace(Context context,
DSpaceObject dso,
File pkgFile,
PackageParameters params)
Replace is not implemented. |
DSpaceObject |
PackageIngester.replace(Context context,
DSpaceObject dso,
File pkgFile,
PackageParameters params)
Replace an existing DSpace Object with contents of the ingested package. |
DSpaceObject |
AbstractMETSIngester.replace(Context context,
DSpaceObject dsoToReplace,
File pkgFile,
PackageParameters params)
Replace an existing DSpace object with the contents of a METS-based package. |
List<DSpaceObject> |
RoleIngester.replaceAll(Context context,
DSpaceObject dso,
File pkgFile,
PackageParameters params)
|
List<DSpaceObject> |
PDFPackager.replaceAll(Context context,
DSpaceObject dso,
File pkgFile,
PackageParameters params)
ReplaceAll() cannot be implemented for a PDF ingester, because there's only one PDF to ingest |
List<DSpaceObject> |
PackageIngester.replaceAll(Context context,
DSpaceObject dso,
File pkgFile,
PackageParameters params)
Recursively replace one or more DSpace Objects out of the contents of the ingested package (and all other referenced packages). |
List<DSpaceObject> |
AbstractPackageIngester.replaceAll(Context context,
DSpaceObject dso,
File pkgFile,
PackageParameters params)
Recursively replace one or more DSpace Objects out of the contents of the ingested package (and all other referenced packages). |
protected DSpaceObject |
AbstractMETSIngester.replaceObject(Context context,
DSpaceObject dso,
METSManifest manifest,
File pkgFile,
PackageParameters params,
String license)
Replace the contents of a single DSpace Object, based on the associated METS Manifest and the parameters passed to the METSIngester. |
static String |
PackageUtils.translateGroupNameForExport(Context context,
String groupName)
When DSpace creates Default Group Names they are of a very specific format, for example: COMMUNITY_[ID]_ADMIN COLLECTION_[ID]_ADMIN COLLECTION_[ID]_SUBMIT COLLECTION_[ID]_WORKFLOW_STEP_# |
static String |
PackageUtils.translateGroupNameForImport(Context context,
String groupName)
This method does the exact opposite of the translateGroupNameForExport() method. |
protected void |
AbstractMETSDisseminator.writeZipPackage(Context context,
DSpaceObject dso,
PackageParameters params,
OutputStream pkg)
Make a Zipped up METS package for the given DSpace Object |
| 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 context |
| Uses of Context in org.dspace.curate |
|---|
| Methods in org.dspace.curate that return Context | |
|---|---|
static Context |
Curator.curationContext()
Returns the context object used in the current curation thread. |
| Methods in org.dspace.curate with parameters of type Context | |
|---|---|
void |
Curator.curate(Context c,
String id)
Performs all configured tasks upon object identified by id. |
static boolean |
WorkflowCurator.curate(Curator curator,
Context c,
String wfId)
Determines and executes curation of a Workflow item. |
static boolean |
WorkflowCurator.curate(Curator curator,
Context c,
WorkflowItem wfi)
|
protected DSpaceObject |
AbstractCurationTask.dereference(Context ctx,
String id)
Returns a DSpaceObject for passed identifier, if it exists |
static boolean |
WorkflowCurator.doCuration(Context c,
WorkflowItem wfi)
Determines and executes curation on a Workflow item. |
int |
ResolvedTask.perform(Context ctx,
String id)
Perform the curation task for passed id |
int |
CurationTask.perform(Context ctx,
String id)
Perform the curation task for passed id |
int |
AbstractCurationTask.perform(Context ctx,
String id)
|
int |
ScriptedTask.performId(Context ctx,
String id)
Perform the curation task for passed id |
void |
Curator.queue(Context c,
String id,
String queueId)
Places a curation request for the object identified by id on a managed queue named by the queueId. |
| Uses of Context in org.dspace.discovery |
|---|
| Methods in org.dspace.discovery with parameters of type Context | |
|---|---|
void |
SolrServiceResourceRestrictionPlugin.additionalIndex(Context context,
DSpaceObject dso,
org.apache.solr.common.SolrInputDocument document)
|
void |
SolrServiceIndexPlugin.additionalIndex(Context context,
DSpaceObject dso,
org.apache.solr.common.SolrInputDocument document)
|
void |
SolrServiceIndexOutputPlugin.additionalIndex(Context context,
DSpaceObject dso,
org.apache.solr.common.SolrInputDocument document)
|
void |
SolrServiceSearchPlugin.additionalSearchParameters(Context context,
DiscoverQuery discoveryQuery,
org.apache.solr.client.solrj.SolrQuery solrQuery)
|
void |
SolrServiceResourceRestrictionPlugin.additionalSearchParameters(Context context,
DiscoverQuery discoveryQuery,
org.apache.solr.client.solrj.SolrQuery solrQuery)
|
protected void |
SolrServiceImpl.buildDocument(Context context,
Collection collection)
Build a solr document for a DSpace Collection. |
protected void |
SolrServiceImpl.buildDocument(Context context,
Community community)
Build a solr document for a DSpace Community. |
protected void |
SolrServiceImpl.buildDocument(Context context,
Item item)
Build a Lucene document for a DSpace Item and write the index |
void |
IndexEventConsumer.consume(Context ctx,
Event event)
Consume a content event -- just build the sets of objects to add (new) to the index, update, and delete. |
void |
SolrServiceImpl.createIndex(Context c)
create full index - wiping old index |
void |
IndexingService.createIndex(Context context)
|
void |
IndexEventConsumer.end(Context ctx)
Process sets of objects to add, update, and delete in index. |
protected static DSpaceObject |
SolrServiceImpl.findDSpaceObject(Context context,
org.apache.solr.common.SolrDocument doc)
|
void |
IndexEventConsumer.finish(Context ctx)
|
List<Item> |
SolrServiceImpl.getRelatedItems(Context context,
Item item,
DiscoveryMoreLikeThisConfiguration mltConfig)
|
List<Item> |
SearchService.getRelatedItems(Context context,
Item item,
DiscoveryMoreLikeThisConfiguration moreLikeThisConfiguration)
|
void |
SolrServiceImpl.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. |
void |
IndexingService.indexContent(Context context,
DSpaceObject dso)
|
void |
SolrServiceImpl.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. |
void |
IndexingService.indexContent(Context context,
DSpaceObject dso,
boolean force)
|
void |
SolrServiceImpl.indexContent(Context context,
DSpaceObject dso,
boolean force,
boolean commit)
|
void |
IndexingService.indexContent(Context context,
DSpaceObject dso,
boolean force,
boolean commit)
|
static String |
SolrServiceImpl.locationToName(Context context,
String field,
String value)
|
void |
SolrServiceImpl.reIndexContent(Context context,
DSpaceObject dso)
reIndexContent removes something from the index, then re-indexes it |
void |
IndexingService.reIndexContent(Context context,
DSpaceObject dso)
|
protected org.apache.solr.client.solrj.SolrQuery |
SolrServiceImpl.resolveToSolrQuery(Context context,
DiscoverQuery discoveryQuery,
boolean includeWithdrawn)
|
protected DiscoverResult |
SolrServiceImpl.retrieveResult(Context context,
DiscoverQuery query,
org.apache.solr.client.solrj.response.QueryResponse solrQueryResponse)
|
DiscoverResult |
SolrServiceImpl.search(Context context,
DiscoverQuery query)
|
DiscoverResult |
SearchService.search(Context context,
DiscoverQuery query)
Convenient method to call @see #search(Context, DSpaceObject, DiscoverQuery) with a null DSpace Object as scope (i.e. |
DiscoverResult |
SolrServiceImpl.search(Context context,
DiscoverQuery discoveryQuery,
boolean includeWithdrawn)
|
DiscoverResult |
SearchService.search(Context context,
DiscoverQuery query,
boolean includeWithdrawn)
|
DiscoverResult |
SolrServiceImpl.search(Context context,
DSpaceObject dso,
DiscoverQuery query)
|
DiscoverResult |
SearchService.search(Context context,
DSpaceObject dso,
DiscoverQuery query)
Convenient method to call @see #search(Context, DSpaceObject, DiscoverQuery, boolean) with includeWithdrawn=false |
DiscoverResult |
SolrServiceImpl.search(Context context,
DSpaceObject dso,
DiscoverQuery discoveryQuery,
boolean includeWithdrawn)
|
DiscoverResult |
SearchService.search(Context context,
DSpaceObject dso,
DiscoverQuery query,
boolean includeWithdrawn)
|
List<DSpaceObject> |
SolrServiceImpl.search(Context context,
String query,
int offset,
int max,
String... filterquery)
|
List<DSpaceObject> |
SolrServiceImpl.search(Context context,
String query,
String orderfield,
boolean ascending,
int offset,
int max,
String... filterquery)
|
List<DSpaceObject> |
SearchService.search(Context context,
String query,
String orderfield,
boolean ascending,
int offset,
int max,
String... filterquery)
|
InputStream |
SolrServiceImpl.searchJSON(Context context,
DiscoverQuery query,
DSpaceObject dso,
String jsonIdentifier)
|
InputStream |
SearchService.searchJSON(Context context,
DiscoverQuery query,
DSpaceObject dso,
String jsonIdentifier)
|
InputStream |
SolrServiceImpl.searchJSON(Context context,
DiscoverQuery discoveryQuery,
String jsonIdentifier)
|
InputStream |
SearchService.searchJSON(Context context,
DiscoverQuery query,
String jsonIdentifier)
|
DiscoverFilterQuery |
SolrServiceImpl.toFilterQuery(Context context,
String field,
String operator,
String value)
|
DiscoverFilterQuery |
SearchService.toFilterQuery(Context context,
String field,
String operator,
String value)
Transforms the given string field and value into a filter query |
protected String |
SolrServiceImpl.transformAuthorityValue(Context context,
String field,
String value)
|
protected String |
SolrServiceImpl.transformDisplayedValue(Context context,
String field,
String value)
|
protected String |
SolrServiceImpl.transformSortValue(Context context,
String field,
String value)
|
void |
SolrServiceImpl.unIndexContent(Context context,
DSpaceObject dso)
unIndex removes an Item, Collection, or Community |
void |
IndexingService.unIndexContent(Context context,
DSpaceObject dso)
|
void |
SolrServiceImpl.unIndexContent(Context context,
DSpaceObject dso,
boolean commit)
unIndex removes an Item, Collection, or Community |
void |
IndexingService.unIndexContent(Context context,
DSpaceObject dso,
boolean commit)
|
void |
SolrServiceImpl.unIndexContent(Context context,
String handle)
Unindex a Document in the Lucene index. |
void |
IndexingService.unIndexContent(Context context,
String handle)
|
void |
SolrServiceImpl.unIndexContent(Context context,
String handle,
boolean commit)
Unindex a Document in the Lucene Index. |
void |
IndexingService.unIndexContent(Context context,
String handle,
boolean commit)
|
void |
SolrServiceImpl.updateIndex(Context context)
Iterates over all Items, Collections and Communities. |
void |
IndexingService.updateIndex(Context context)
|
void |
SolrServiceImpl.updateIndex(Context context,
boolean force)
Iterates over all Items, Collections and Communities. |
void |
IndexingService.updateIndex(Context context,
boolean force)
|
| Uses of Context in org.dspace.embargo |
|---|
| Methods in org.dspace.embargo with parameters of type Context | |
|---|---|
void |
EmbargoSetter.checkEmbargo(Context context,
Item item)
Check that embargo is properly set on Item. |
void |
DefaultEmbargoSetter.checkEmbargo(Context context,
Item item)
Check that embargo is properly set on Item: no read access to bitstreams. |
protected void |
DefaultEmbargoSetter.generatePolicies(Context context,
Date embargoDate,
String reason,
DSpaceObject dso,
Collection owningCollection)
|
static DCDate |
EmbargoManager.getEmbargoTermsAsDate(Context context,
Item item)
Get the embargo lift date for an Item, if any. |
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 (for example) turning on default read access to all Bitstreams. |
void |
DefaultEmbargoLifter.liftEmbargo(Context context,
Item item)
Enforce lifting of embargo by turning read access to bitstreams in this Item back on. |
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. |
DCDate |
DayTableEmbargoSetter.parseTerms(Context context,
Item item,
String terms)
Parse the terms into a definite date. |
void |
EmbargoSetter.setEmbargo(Context context,
Item item)
Enforce embargo by (for example) turning off all read access to bitstreams in this Item. |
static void |
EmbargoManager.setEmbargo(Context context,
Item item)
Put an Item under embargo until the specified lift date. |
void |
DefaultEmbargoSetter.setEmbargo(Context context,
Item item)
Enforce embargo by turning off all read access to bitstreams in this Item. |
| 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<Collection> 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. |
static void |
HandleManager.unbindHandle(Context context,
DSpaceObject dso)
Removes binding of Handle to a DSpace object, while leaving the Handle in the table so it doesn't get reallocated. |
| Uses of Context in org.dspace.harvest |
|---|
| Methods in org.dspace.harvest with parameters of type Context | |
|---|---|
void |
HarvestConsumer.consume(Context context,
Event event)
Consume the event |
static HarvestedCollection |
HarvestedCollection.create(Context c,
int collectionId)
Create a new harvest instance row for a specified collection. |
static HarvestedItem |
HarvestedItem.create(Context c,
int itemId,
String itemOAIid)
Create a new harvested item row for a specified item id. |
void |
HarvestConsumer.end(Context ctx)
Handle the end of the event |
static void |
HarvestedItem.exists(Context c)
|
static void |
HarvestedCollection.exists(Context c)
|
static HarvestedItem |
HarvestedItem.find(Context c,
int item_id)
Find the harvest parameters corresponding to the specified DSpace item |
static HarvestedCollection |
HarvestedCollection.find(Context c,
int collectionId)
Find the harvest settings corresponding to this collection |
static List<Integer> |
HarvestedCollection.findAll(Context c)
Find all collections that are set up for harvesting return: list of collection id's |
static List<Integer> |
HarvestedCollection.findByStatus(Context c,
int status)
Find all collections with the specified status flag |
static Integer |
HarvestedCollection.findNewestHarvest(Context c)
Find the collection that was harvested most recently. |
static Integer |
HarvestedCollection.findOldestHarvest(Context c)
Find the collection that was harvested the longest time ago. |
static List<Integer> |
HarvestedCollection.findReady(Context c)
Find all collections that are ready for harvesting return: list of collection id's |
void |
HarvestConsumer.finish(Context ctx)
Finish the event |
static Item |
HarvestedItem.getItemByOAIId(Context context,
String itemOaiID,
int collectionID)
Retrieve a DSpace Item that corresponds to this particular combination of owning collection and OAI ID. |
static boolean |
HarvestedCollection.isHarvestable(Context c,
int collectionId)
Returns whether the specified collection is harvestable, i.e. |
static boolean |
HarvestedCollection.isReady(Context c,
int collectionId)
Returns whether the specified collection is ready for immediate harvest. |
| Constructors in org.dspace.harvest with parameters of type Context | |
|---|---|
OAIHarvester(Context c,
DSpaceObject dso,
HarvestedCollection hc)
|
|
| Uses of Context in org.dspace.identifier |
|---|
| Methods in org.dspace.identifier with parameters of type Context | |
|---|---|
protected String |
VersionedHandleIdentifierProvider.createNewIdentifier(Context context,
DSpaceObject dso,
String handleId)
|
protected String |
HandleIdentifierProvider.createNewIdentifier(Context context,
DSpaceObject dso,
String handleId)
|
protected VersionImpl |
VersionedHandleIdentifierProvider.createVersion(Context c,
VersionHistory vh,
Item item,
String summary,
Date date,
int versionNumber)
|
void |
VersionedHandleIdentifierProvider.delete(Context context,
DSpaceObject dso)
|
void |
IdentifierServiceImpl.delete(Context context,
DSpaceObject dso)
|
void |
IdentifierService.delete(Context context,
DSpaceObject dso)
Delete (Unbind) all identifiers registered for a specific DSpace item. |
abstract void |
IdentifierProvider.delete(Context context,
DSpaceObject dso)
|
void |
HandleIdentifierProvider.delete(Context context,
DSpaceObject dso)
|
void |
VersionedHandleIdentifierProvider.delete(Context context,
DSpaceObject dso,
String identifier)
|
void |
IdentifierServiceImpl.delete(Context context,
DSpaceObject dso,
String identifier)
|
void |
IdentifierService.delete(Context context,
DSpaceObject dso,
String identifier)
Used to Delete a Specific Identifier (for example a Handle, hdl:1234.5/6) The provider is responsible for Detecting and Processing the appropriate identifier, all Providers are interrogated, multiple providers can process the same identifier. |
abstract void |
IdentifierProvider.delete(Context context,
DSpaceObject dso,
String identifier)
|
void |
HandleIdentifierProvider.delete(Context context,
DSpaceObject dso,
String identifier)
|
protected static TableRow |
VersionedHandleIdentifierProvider.findHandleInternal(Context context,
String handle)
Find the database row corresponding to handle. |
protected static TableRow |
HandleIdentifierProvider.findHandleInternal(Context context,
String handle)
Find the database row corresponding to handle. |
protected static TableRow |
VersionedHandleIdentifierProvider.getHandleInternal(Context context,
int type,
int id)
Return the handle for an Object, or null if the Object has no handle. |
protected static TableRow |
HandleIdentifierProvider.getHandleInternal(Context context,
int type,
int id)
Return the handle for an Object, or null if the Object has no handle. |
String |
VersionedHandleIdentifierProvider.lookup(Context context,
DSpaceObject dso)
|
abstract String |
IdentifierProvider.lookup(Context context,
DSpaceObject object)
|
String |
HandleIdentifierProvider.lookup(Context context,
DSpaceObject dso)
|
String |
IdentifierServiceImpl.lookup(Context context,
DSpaceObject dso,
Class<? extends Identifier> identifier)
|
String |
IdentifierService.lookup(Context context,
DSpaceObject dso,
Class<? extends Identifier> identifier)
|
protected String |
VersionedHandleIdentifierProvider.makeIdentifierBasedOnHistory(Context context,
DSpaceObject dso,
String handleId,
VersionHistory history)
|
String |
VersionedHandleIdentifierProvider.mint(Context context,
DSpaceObject dso)
Creates a new handle in the database. |
abstract String |
IdentifierProvider.mint(Context context,
DSpaceObject dso)
|
String |
HandleIdentifierProvider.mint(Context context,
DSpaceObject dso)
Creates a new handle in the database. |
protected String |
VersionedHandleIdentifierProvider.modifyHandleRecord(Context context,
DSpaceObject dso,
TableRow handle,
String handleId)
|
protected String |
HandleIdentifierProvider.modifyHandleRecord(Context context,
DSpaceObject dso,
TableRow handle,
String handleId)
|
String |
VersionedHandleIdentifierProvider.register(Context context,
DSpaceObject dso)
|
void |
IdentifierServiceImpl.register(Context context,
DSpaceObject dso)
|
void |
IdentifierService.register(Context context,
DSpaceObject dso)
|
abstract String |
IdentifierProvider.register(Context context,
DSpaceObject item)
|
String |
HandleIdentifierProvider.register(Context context,
DSpaceObject dso)
|
void |
VersionedHandleIdentifierProvider.register(Context context,
DSpaceObject dso,
String identifier)
|
void |
IdentifierServiceImpl.register(Context context,
DSpaceObject object,
String identifier)
|
void |
IdentifierService.register(Context context,
DSpaceObject dso,
String identifier)
Used to Register a Specific Identifier (for example a Handle, hdl:1234.5/6) The provider is responsible for Detecting and Processing the appropriate identifier, all Providers are interrogated, multiple providers can process the same identifier. |
abstract void |
IdentifierProvider.register(Context context,
DSpaceObject object,
String identifier)
|
void |
HandleIdentifierProvider.register(Context context,
DSpaceObject dso,
String identifier)
|
void |
IdentifierServiceImpl.reserve(Context context,
DSpaceObject dso)
Reserves identifiers for the item |
void |
IdentifierService.reserve(Context context,
DSpaceObject dso)
Reserves any identifiers necessary based on the capabilities of all providers in the service. |
void |
VersionedHandleIdentifierProvider.reserve(Context context,
DSpaceObject dso,
String identifier)
|
void |
IdentifierServiceImpl.reserve(Context context,
DSpaceObject dso,
String identifier)
|
void |
IdentifierService.reserve(Context context,
DSpaceObject dso,
String identifier)
Used to Reserve a Specific Identifier (for example a Handle, hdl:1234.5/6) The provider is responsible for Detecting and Processing the appropriate identifier, all Providers are interrogated, multiple providers can process the same identifier. |
abstract void |
IdentifierProvider.reserve(Context context,
DSpaceObject dso,
String identifier)
|
void |
HandleIdentifierProvider.reserve(Context context,
DSpaceObject dso,
String identifier)
|
DSpaceObject |
IdentifierServiceImpl.resolve(Context context,
String identifier)
|
DSpaceObject |
IdentifierService.resolve(Context context,
String identifier)
This will resolve a DSpaceObject based on a provided Identifier. |
DSpaceObject |
VersionedHandleIdentifierProvider.resolve(Context context,
String identifier,
String... attributes)
|
abstract DSpaceObject |
IdentifierProvider.resolve(Context context,
String identifier,
String... attributes)
|
DSpaceObject |
HandleIdentifierProvider.resolve(Context context,
String identifier,
String... attributes)
|
protected VersionHistory |
VersionedHandleIdentifierProvider.retrieveVersionHistory(Context c,
Item item)
|
| 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)
Used by DSpaceMetsIngester |
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 |
static void |
CreativeCommons.setLicenseRDF(Context context,
Item item,
String licenseRdf)
setLicenseRDF CC Web Service method for setting the RDF bitstream |
| Uses of Context in org.dspace.plugin |
|---|
| Methods in org.dspace.plugin with parameters of type Context | |
|---|---|
void |
SiteHomeProcessor.process(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
execute the process |
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 |
void |
ItemHomeProcessor.process(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Item item)
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<HarvestedItemInfo> |
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 Document 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.statistics |
|---|
| Methods in org.dspace.statistics with parameters of type Context | |
|---|---|
void |
StatisticsLoggingConsumer.consume(Context ctx,
Event event)
|
void |
StatisticsLoggingConsumer.end(Context ctx)
|
void |
StatisticsLoggingConsumer.finish(Context ctx)
|
| Uses of Context in org.dspace.statistics.content |
|---|
| Methods in org.dspace.statistics.content with parameters of type Context | |
|---|---|
Dataset |
StatisticsDataWorkflow.createDataset(Context context)
|
Dataset |
StatisticsDataVisits.createDataset(Context context)
|
Dataset |
StatisticsDataSearches.createDataset(Context context)
|
abstract Dataset |
StatisticsData.createDataset(Context context)
Run the accumulated query and return its results. |
Dataset |
StatisticsDisplay.getDataset(Context context)
|
| Uses of Context in org.dspace.statistics.util |
|---|
| Constructors in org.dspace.statistics.util with parameters of type Context | |
|---|---|
ClassicDSpaceLogConverter(Context c,
boolean v,
boolean nE)
Create an instance of the converter utility |
|
| Uses of Context in org.dspace.storage.bitstore |
|---|
| Methods in org.dspace.storage.bitstore with parameters of type Context | |
|---|---|
static int |
BitstreamStorageManager.clone(Context context,
int id)
|
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 void |
DatabaseManager.setConstraintDeferred(Context context,
String constraintName)
Set the constraint check to deferred (commit time) |
static void |
DatabaseManager.setConstraintImmediate(Context context,
String constraintName)
Set the constraint check to immediate (every 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 |
UploadWithEmbargoStep.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) |
int |
CCLicenseStep.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 |
AccessStep.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 |
CCLicenseStep.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 |
CCLicenseStep.processCCWS(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Process the input from the CC license page using CC Web service |
protected int |
UploadWithEmbargoStep.processRemoveFile(Context context,
Item item,
int bitstreamID)
Remove a file from an item |
protected int |
UploadStep.processRemoveFile(Context context,
Item item,
int bitstreamID)
Remove a file from an item |
protected int |
UploadWithEmbargoStep.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.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 |
UploadWithEmbargoStep.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.processSaveFileFormat(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Process input from get file type page |
protected int |
UploadWithEmbargoStep.processUploadFile(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Process the upload of a new file! |
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 |
static void |
AccessStep.removePolicy(Context context,
String buttonPressed)
|
static int |
AccessStep.saveOrCancelEditPolicy(Context context,
javax.servlet.http.HttpServletRequest request,
SubmissionInfo subInfo,
String buttonPressed,
DSpaceObject dso,
String name,
int groupID,
String reason)
|
static boolean |
AccessStep.wasEditPolicyPressed(Context context,
String buttonPressed,
SubmissionInfo subInfo)
|
| Uses of Context in org.dspace.usage |
|---|
| Methods in org.dspace.usage that return Context | |
|---|---|
Context |
UsageEvent.getContext()
|
| Methods in org.dspace.usage with parameters of type Context | |
|---|---|
void |
UsageEvent.setContext(Context context)
|
| Constructors in org.dspace.usage with parameters of type Context | |
|---|---|
UsageEvent(UsageEvent.Action action,
javax.servlet.http.HttpServletRequest request,
Context context,
DSpaceObject object)
|
|
UsageSearchEvent(UsageEvent.Action action,
javax.servlet.http.HttpServletRequest request,
Context context,
DSpaceObject object,
List<String> queries,
DSpaceObject scope)
|
|
UsageWorkflowEvent(Context context,
Item item,
InProgressSubmission workflowItem,
String workflowStep,
String oldState,
Collection scope,
EPerson actor)
|
|
| Uses of Context in org.dspace.versioning |
|---|
| Methods in org.dspace.versioning that return Context | |
|---|---|
Context |
VersionImpl.getMyContext()
|
| Methods in org.dspace.versioning with parameters of type Context | |
|---|---|
void |
VersioningConsumer.consume(Context ctx,
Event event)
|
VersionHistoryImpl |
VersionHistoryDAO.create(Context context)
|
VersionImpl |
VersionDAO.create(Context context)
|
protected Bitstream |
AbstractVersionProvider.createBitstream(Context context,
Bitstream nativeBitstream)
|
protected void |
AbstractVersionProvider.createBundlesAndAddBitstreams(Context c,
Item itemNew,
Item nativeItem)
|
Item |
ItemVersionProvider.createNewItemAndAddItInWorkspace(Context c,
Item item)
|
Item |
DefaultItemVersionProvider.createNewItemAndAddItInWorkspace(Context context,
Item nativeItem)
|
Version |
VersioningServiceImpl.createNewVersion(Context c,
int itemId)
Service Methods |
Version |
VersioningService.createNewVersion(Context c,
int itemId)
|
Version |
VersioningServiceImpl.createNewVersion(Context c,
int itemId,
String summary)
|
Version |
VersioningService.createNewVersion(Context c,
int itemId,
String summary)
|
protected VersionImpl |
VersioningServiceImpl.createVersion(Context c,
VersionHistory vh,
Item item,
String summary,
Date date)
|
void |
VersionDAO.delete(Context c,
int versionID)
|
void |
VersionHistoryDAO.delete(Context c,
int versionHistoryID,
VersionDAO versionDAO)
|
void |
ItemVersionProvider.deleteVersionedItem(Context c,
Version versionToDelete,
VersionHistory history)
|
void |
DefaultItemVersionProvider.deleteVersionedItem(Context c,
Version versionToDelete,
VersionHistory history)
|
void |
VersioningConsumer.end(Context ctx)
|
VersionImpl |
VersionDAO.find(Context context,
int id)
|
VersionHistoryImpl |
VersionHistoryDAO.find(Context context,
int itemID,
VersionDAO versionDAO)
|
VersionHistoryImpl |
VersionHistoryDAO.findById(Context context,
int id,
VersionDAO versionDAO)
|
VersionImpl |
VersionDAO.findByItem(Context c,
Item item)
|
VersionImpl |
VersionDAO.findByItemId(Context context,
int itemId)
|
List<Version> |
VersionDAO.findByVersionHistory(Context context,
int versionHistoryId)
|
VersionHistory |
VersioningServiceImpl.findVersionHistory(Context c,
int itemId)
|
VersionHistory |
VersioningService.findVersionHistory(Context c,
int itemId)
|
void |
VersioningConsumer.finish(Context ctx)
|
Version |
VersioningServiceImpl.getVersion(Context c,
int versionID)
|
Version |
VersioningService.getVersion(Context c,
int versionID)
|
Version |
VersioningServiceImpl.getVersion(Context c,
Item item)
|
Version |
VersioningService.getVersion(Context c,
Item item)
|
void |
VersioningServiceImpl.removeVersion(Context c,
int versionID)
|
void |
VersioningService.removeVersion(Context c,
int versionID)
|
void |
VersioningServiceImpl.removeVersion(Context c,
Item item)
|
void |
VersioningService.removeVersion(Context c,
Item item)
|
protected void |
VersioningServiceImpl.removeVersion(Context c,
Version version)
|
Version |
VersioningServiceImpl.restoreVersion(Context c,
int versionID)
|
Version |
VersioningService.restoreVersion(Context c,
int versionID)
|
Version |
VersioningServiceImpl.restoreVersion(Context c,
int versionID,
String summary)
|
Version |
VersioningService.restoreVersion(Context c,
int versionID,
String summary)
|
Item |
ItemVersionProvider.updateItemState(Context c,
Item itemNew,
Item previousItem)
|
Item |
DefaultItemVersionProvider.updateItemState(Context c,
Item itemNew,
Item previousItem)
|
Version |
VersioningServiceImpl.updateVersion(Context c,
int itemId,
String summary)
|
Version |
VersioningService.updateVersion(Context c,
int itemId,
String summary)
|
| Constructors in org.dspace.versioning with parameters of type Context | |
|---|---|
VersionHistoryImpl(Context c,
TableRow row)
|
|
VersionImpl(Context c,
TableRow row)
|
|
| 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)
advance() 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 boolean |
WorkflowManager.advance(Context c,
WorkflowItem wi,
EPerson e,
boolean curate,
boolean record)
advance() 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 WorkflowItem |
WorkflowItem.findByItem(Context context,
Item i)
Check to see if a particular item is currently under Workflow. |
static List<WorkflowItem> |
WorkflowManager.getOwnedTasks(Context c,
EPerson e)
getOwnedTasks() returns a List of WorkflowItems containing the tasks claimed and owned by an EPerson. |
static List<WorkflowItem> |
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 void |
WorkflowManager.notifyOfCuration(Context c,
WorkflowItem wi,
EPerson[] epa,
String taskName,
String action,
String message)
|
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 |
| Uses of Context in org.dspace.xmlworkflow |
|---|
| Methods in org.dspace.xmlworkflow with parameters of type Context | |
|---|---|
static WorkspaceItem |
XmlWorkflowManager.abort(Context c,
XmlWorkflowItem wi,
EPerson e)
|
static void |
WorkflowRequirementsManager.addClaimedUser(Context c,
XmlWorkflowItem wfi,
Step step,
EPerson user)
Adds a claimed user in the metadata if enough users have claimed this task (claimed or finished) to meet the required number the pooled tasks will be deleted |
static void |
WorkflowRequirementsManager.addFinishedUser(Context c,
XmlWorkflowItem wfi,
EPerson user)
Adds a finished user in the metadata this method will also remove the user from the inprogress metadata |
static void |
XmlWorkflowManager.alertUsersOnTaskActivation(Context c,
XmlWorkflowItem wfi,
String emailTemplate,
List<EPerson> epa,
String... arguments)
|
static Item |
XmlWorkflowManager.archive(Context c,
XmlWorkflowItem wfi)
Commit the contained item to the main archive. |
static void |
WorkflowRequirementsManager.clearInProgressUsers(Context c,
XmlWorkflowItem wfi)
|
static void |
WorkflowUtils.createCollectionWorkflowRole(Context context,
int collectionId,
String roleId,
Group group)
WORKFLOW ROLE MANAGEMENT |
static void |
XmlWorkflowManager.createOwnedTask(Context c,
XmlWorkflowItem wi,
Step step,
WorkflowActionConfig action,
EPerson e)
|
static void |
XmlWorkflowManager.createPoolTasks(Context context,
XmlWorkflowItem wi,
RoleMembers assignees,
Step step,
WorkflowActionConfig action)
|
static void |
XmlWorkflowManager.deleteAllPooledTasks(Context c,
XmlWorkflowItem wi)
|
static void |
XmlWorkflowManager.deleteAllTasks(Context c,
XmlWorkflowItem wi)
Deletes all tasks from this workflowflowitem |
static void |
XmlWorkflowManager.deleteClaimedTask(Context c,
XmlWorkflowItem wi,
ClaimedTask task)
|
static void |
XmlWorkflowManager.deletePooledTask(Context c,
XmlWorkflowItem wi,
PoolTask task)
|
static void |
WorkflowUtils.deleteRoleGroup(Context context,
Collection collection,
String roleID)
|
static WorkflowActionConfig |
XmlWorkflowManager.doState(Context c,
EPerson user,
javax.servlet.http.HttpServletRequest request,
int workflowItemId,
Workflow workflow,
WorkflowActionConfig currentActionConfig)
|
ArrayList<EPerson> |
RoleMembers.getAllUniqueMembers(Context context)
|
RoleMembers |
Role.getMembers(Context context,
XmlWorkflowItem wfi)
|
static Group |
WorkflowUtils.getRoleGroup(Context context,
int collectionId,
Role role)
|
protected static void |
XmlWorkflowManager.logWorkflowEvent(Context c,
String workflowId,
String previousStepId,
String previousActionConfigId,
XmlWorkflowItem wfi,
EPerson actor,
Step newStep,
WorkflowActionConfig newActionConfig)
|
static WorkflowActionConfig |
XmlWorkflowManager.processOutcome(Context c,
EPerson user,
Workflow workflow,
Step currentStep,
WorkflowActionConfig currentActionConfig,
ActionResult currentOutcome,
XmlWorkflowItem wfi,
boolean enteredNewStep)
|
static void |
WorkflowRequirementsManager.removeClaimedUser(Context c,
XmlWorkflowItem wfi,
EPerson user,
String stepID)
|
static WorkspaceItem |
XmlWorkflowManager.sendWorkflowItemBackSubmission(Context c,
XmlWorkflowItem wi,
EPerson e,
String provenance,
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 XmlWorkflowItem |
XmlWorkflowManager.start(Context context,
WorkspaceItem wsi)
|
static XmlWorkflowItem |
XmlWorkflowManager.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 |
| Uses of Context in org.dspace.xmlworkflow.state |
|---|
| Methods in org.dspace.xmlworkflow.state with parameters of type Context | |
|---|---|
Step |
Workflow.getNextStep(Context context,
XmlWorkflowItem wfi,
Step currentStep,
int outcome)
|
boolean |
Step.isFinished(Context c,
XmlWorkflowItem wfi)
Check if enough users have finished this step for it to continue |
boolean |
Step.isValidStep(Context context,
XmlWorkflowItem wfi)
|
| Uses of Context in org.dspace.xmlworkflow.state.actions |
|---|
| Methods in org.dspace.xmlworkflow.state.actions with parameters of type Context | |
|---|---|
abstract void |
Action.activate(Context c,
XmlWorkflowItem wf)
|
void |
Action.alertUsersOnActivation(Context c,
XmlWorkflowItem wfi,
RoleMembers members)
|
abstract ActionResult |
Action.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
abstract boolean |
Action.isAuthorized(Context context,
javax.servlet.http.HttpServletRequest request,
XmlWorkflowItem wfi)
|
| Uses of Context in org.dspace.xmlworkflow.state.actions.processingaction |
|---|
| Methods in org.dspace.xmlworkflow.state.actions.processingaction with parameters of type Context | |
|---|---|
void |
SingleUserReviewAction.activate(Context c,
XmlWorkflowItem wfItem)
|
void |
SelectReviewerAction.activate(Context c,
XmlWorkflowItem wf)
|
void |
ScoreReviewAction.activate(Context c,
XmlWorkflowItem wf)
|
void |
ScoreEvaluationAction.activate(Context c,
XmlWorkflowItem wf)
|
void |
ReviewAction.activate(Context c,
XmlWorkflowItem wfItem)
|
void |
FinalEditAction.activate(Context c,
XmlWorkflowItem wf)
|
void |
AcceptEditRejectAction.activate(Context c,
XmlWorkflowItem wf)
|
ActionResult |
SingleUserReviewAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
ActionResult |
SelectReviewerAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
ActionResult |
ScoreReviewAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
ActionResult |
ScoreEvaluationAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
ActionResult |
ReviewAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
ActionResult |
FinalEditAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
ActionResult |
AcceptEditRejectAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
boolean |
ProcessingAction.isAuthorized(Context context,
javax.servlet.http.HttpServletRequest request,
XmlWorkflowItem wfi)
|
ActionResult |
SingleUserReviewAction.processMainPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
ActionResult |
ReviewAction.processMainPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
ActionResult |
FinalEditAction.processMainPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
ActionResult |
AcceptEditRejectAction.processMainPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
ActionResult |
SingleUserReviewAction.processRejectPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
ActionResult |
ReviewAction.processRejectPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
ActionResult |
AcceptEditRejectAction.processRejectPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
| Uses of Context in org.dspace.xmlworkflow.state.actions.userassignment |
|---|
| Methods in org.dspace.xmlworkflow.state.actions.userassignment with parameters of type Context | |
|---|---|
void |
NoUserSelectionAction.activate(Context c,
XmlWorkflowItem wf)
|
void |
InheritUsersAction.activate(Context c,
XmlWorkflowItem wfItem)
|
void |
ClaimAction.activate(Context context,
XmlWorkflowItem wfItem)
|
void |
AutoAssignAction.activate(Context c,
XmlWorkflowItem wfItem)
|
void |
AssignOriginalSubmitterAction.activate(Context c,
XmlWorkflowItem wf)
|
void |
AssignAction.activate(Context c,
XmlWorkflowItem wfItem)
|
void |
ClaimAction.alertUsersOnActivation(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers)
|
void |
AssignOriginalSubmitterAction.alertUsersOnActivation(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers)
|
ActionResult |
NoUserSelectionAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
ActionResult |
InheritUsersAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
ActionResult |
ClaimAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
ActionResult |
AutoAssignAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
ActionResult |
AssignOriginalSubmitterAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
ActionResult |
AssignAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request)
|
boolean |
UserSelectionAction.isAuthorized(Context context,
javax.servlet.http.HttpServletRequest request,
XmlWorkflowItem wfi)
|
abstract boolean |
UserSelectionAction.isValidUserSelection(Context context,
XmlWorkflowItem wfi,
boolean hasUI)
Verifies if the user selection action is valid User constraints will be checked (enough users, group exists, ...) |
boolean |
NoUserSelectionAction.isValidUserSelection(Context context,
XmlWorkflowItem wfi,
boolean hasUI)
|
boolean |
InheritUsersAction.isValidUserSelection(Context context,
XmlWorkflowItem wfi,
boolean hasUI)
|
boolean |
ClaimAction.isValidUserSelection(Context context,
XmlWorkflowItem wfi,
boolean hasUI)
|
boolean |
AutoAssignAction.isValidUserSelection(Context context,
XmlWorkflowItem wfi,
boolean hasUI)
|
boolean |
AssignOriginalSubmitterAction.isValidUserSelection(Context context,
XmlWorkflowItem wfi,
boolean hasUI)
|
boolean |
AssignAction.isValidUserSelection(Context context,
XmlWorkflowItem wfi,
boolean hasUI)
|
abstract void |
UserSelectionAction.regenerateTasks(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers)
Should a person have the option to repool the task the tasks will have to be regenerated |
void |
NoUserSelectionAction.regenerateTasks(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers)
|
void |
InheritUsersAction.regenerateTasks(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers)
|
void |
ClaimAction.regenerateTasks(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers)
|
void |
AutoAssignAction.regenerateTasks(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers)
|
void |
AssignOriginalSubmitterAction.regenerateTasks(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers)
|
void |
AssignAction.regenerateTasks(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers)
|
| Uses of Context in org.dspace.xmlworkflow.storedcomponents |
|---|
| Methods in org.dspace.xmlworkflow.storedcomponents with parameters of type Context | |
|---|---|
static int |
XmlWorkflowItem.countAll(Context c)
return all workflowitems |
static int |
XmlWorkflowItem.countAllInCollection(Context c,
int collId)
return all workflowitems |
static XmlWorkflowItem |
XmlWorkflowItem.create(Context context)
|
static WorkflowItemRole |
WorkflowItemRole.create(Context context)
|
static PoolTask |
PoolTask.create(Context context)
|
static InProgressUser |
InProgressUser.create(Context context)
|
static CollectionRole |
CollectionRole.create(Context context)
|
static ClaimedTask |
ClaimedTask.create(Context context)
|
static XmlWorkflowItem |
XmlWorkflowItem.find(Context context,
int id)
Get a workflow item from the database. |
static WorkflowItemRole |
WorkflowItemRole.find(Context context,
int id)
|
static PoolTask |
PoolTask.find(Context context,
int id)
|
static InProgressUser |
InProgressUser.find(Context context,
int id)
|
static CollectionRole |
CollectionRole.find(Context context,
int id)
|
static ClaimedTask |
ClaimedTask.find(Context context,
int id)
|
static ClaimedTask |
ClaimedTask.find(Context c,
int epersonID,
int wfiID,
String stepID,
String actionID)
|
static WorkflowItemRole[] |
WorkflowItemRole.find(Context context,
int workflowItemId,
String role)
|
static CollectionRole |
CollectionRole.find(Context context,
int collection,
String role)
|
static List<ClaimedTask> |
ClaimedTask.find(Context c,
int wfiID,
String stepID)
|
static List<ClaimedTask> |
ClaimedTask.find(Context c,
int wfiID,
String stepID,
String actionID)
|
static List<PoolTask> |
PoolTask.find(Context context,
XmlWorkflowItem workflowItem)
|
static List<ClaimedTask> |
ClaimedTask.find(Context c,
XmlWorkflowItem workflowItem)
|
static XmlWorkflowItem[] |
XmlWorkflowItem.findAll(Context c)
return all workflowitems |
static XmlWorkflowItem[] |
XmlWorkflowItem.findAll(Context c,
int page,
int pagesize)
return all workflowitems for a certain page |
static WorkflowItemRole[] |
WorkflowItemRole.findAllForItem(Context context,
int workflowItemId)
|
static XmlWorkflowItem[] |
XmlWorkflowItem.findAllInCollection(Context c,
int page,
int pagesize,
int collectionId)
return all workflowitems for a certain page with a certain collection |
static List<ClaimedTask> |
ClaimedTask.findAllInStep(Context c,
String stepID)
|
static XmlWorkflowItem[] |
XmlWorkflowItem.findByCollection(Context context,
Collection c)
Get all workflow items for a particular collection. |
static CollectionRole[] |
CollectionRole.findByCollection(Context context,
int collection)
|
static XmlWorkflowItem[] |
XmlWorkflowItem.findByEPerson(Context context,
EPerson ep)
|
static List<PoolTask> |
PoolTask.findByEperson(Context context,
int eperson_id)
|
static List<InProgressUser> |
InProgressUser.findByEperson(Context context,
int epersonID)
|
static List<ClaimedTask> |
ClaimedTask.findByEperson(Context context,
int epersonID)
|
static XmlWorkflowItem |
XmlWorkflowItem.findByItem(Context context,
Item item)
Check to see if a particular item is currently under Workflow. |
static List<ClaimedTask> |
ClaimedTask.findByWorkflowId(Context context,
int workflowID)
|
static PoolTask |
PoolTask.findByWorkflowIdAndEPerson(Context context,
int workflowID,
int epersonID)
|
static ClaimedTask |
ClaimedTask.findByWorkflowIdAndEPerson(Context context,
int workflowID,
int epersonID)
|
static List<InProgressUser> |
InProgressUser.findByWorkflowItem(Context c,
int wfiID)
|
static InProgressUser |
InProgressUser.findByWorkflowItemAndEPerson(Context context,
int wfiID,
int epersonID)
|
static int |
InProgressUser.getNumberOfFinishedUsers(Context c,
int wfiID)
|
static int |
InProgressUser.getNumberOfInProgressUsers(Context c,
int wfiID)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||