| Package | Description |
|---|---|
| org.dspace.app.itemexport | |
| org.dspace.app.packager |
Tools for exporting and importing DSpace objects (Community, Collection,
Item, etc.) wrapped in various kinds of packaging.
|
| org.dspace.app.util |
Miscellaneous utility classes.
|
| 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.content |
Provides an API for reading and manipulating content in the DSpace system.
|
| org.dspace.content.crosswalk |
Provides an API and implementations of metadata crosswalks, which are directional mappings from one schema to another, performed in the context of Item ingestion or dissemination.
|
| org.dspace.content.packager |
Provides an API and implementations of content packages, used in the context of ingest (SIP), or dissemination (DIP)
|
| org.dspace.ctask.general | |
| 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 |
Providers of durable unique identifiers (Handles, DOIs, etc.).
|
| org.dspace.identifier.doi |
Make requests to the DOI registration angencies, f.e.to
EZID DOI service, and analyze the responses.
|
| org.dspace.rdf | |
| org.dspace.rdf.conversion | |
| org.dspace.rdf.storage | |
| 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.submit.step | |
| org.dspace.usage |
| Modifier and Type | Method and Description |
|---|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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)
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static DSpaceObject |
OpenSearch.resolveScope(Context context,
String scope) |
| Modifier and Type | Method and Description |
|---|---|
static Document |
OpenSearch.getResultsDoc(String format,
String query,
int totalResults,
int start,
int pageSize,
DSpaceObject scope,
DSpaceObject[] results,
Map<String,String> labels)
Returns a formatted set of search results as a document
|
static Document |
OpenSearch.getResultsDoc(String format,
String query,
int totalResults,
int start,
int pageSize,
DSpaceObject scope,
DSpaceObject[] results,
Map<String,String> labels)
Returns a formatted set of search results as a document
|
static String |
OpenSearch.getResultsString(String format,
String query,
int totalResults,
int start,
int pageSize,
DSpaceObject scope,
DSpaceObject[] results,
Map<String,String> labels)
Returns a formatted set of search results as a string
|
static String |
OpenSearch.getResultsString(String format,
String query,
int totalResults,
int start,
int pageSize,
DSpaceObject scope,
DSpaceObject[] results,
Map<String,String> labels)
Returns a formatted set of search results as a string
|
void |
SyndicationFeed.populate(javax.servlet.http.HttpServletRequest request,
DSpaceObject dso,
DSpaceObject[] items,
Map<String,String> labels)
Fills in the feed and entry-level metadata from DSpace objects.
|
void |
SyndicationFeed.populate(javax.servlet.http.HttpServletRequest request,
DSpaceObject dso,
DSpaceObject[] items,
Map<String,String> labels)
Fills in the feed and entry-level metadata from DSpace objects.
|
| Modifier and Type | Method and Description |
|---|---|
DSpaceObject |
AuthorizeException.getObject() |
| Modifier and Type | Method and Description |
|---|---|
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 |
AuthorizeManager.createOrModifyPolicy(ResourcePolicy policy,
Context context,
String name,
int idGroup,
EPerson ePerson,
Date embargoDate,
int action,
String reason,
DSpaceObject dso) |
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 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,
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)
Is a policy with the specified parameters already in place?
|
static boolean |
AuthorizeManager.isAnIdenticalPolicyAlreadyInPlace(Context c,
DSpaceObject o,
ResourcePolicy rp) |
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.removePoliciesActionFilter(Context context,
DSpaceObject dso,
int actionID)
Remove all policies from an object that match a given action.
|
void |
ResourcePolicy.setResource(DSpaceObject o)
set both type and id of resource referred to by policy
|
| Constructor and Description |
|---|
AuthorizeException(String message,
DSpaceObject o,
int a)
Create an authorize exception with a message
|
| Modifier and Type | Class and Description |
|---|---|
class |
BrowseItem
Entity class to represent an item that is being used to generate Browse
results.
|
| Modifier and Type | Method and Description |
|---|---|
DSpaceObject |
BrowserScope.getBrowseContainer()
Obtain a DSpaceObject that represents the container object.
|
DSpaceObject |
BrowseInfo.getBrowseContainer()
Obtain a DSpaceObject that represents the container object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SolrBrowseCreateDAO.additionalIndex(Context context,
DSpaceObject dso,
org.apache.solr.common.SolrInputDocument doc) |
int |
ItemCounter.getCount(DSpaceObject dso)
Get the count of the items in the given container.
|
int |
ItemCountDAOSolr.getCount(DSpaceObject dso)
Get the count of the items in the given container.
|
int |
ItemCountDAOPostgres.getCount(DSpaceObject dso)
Get the count of the items in the given container.
|
int |
ItemCountDAOOracle.getCount(DSpaceObject dso)
Get the count of the items in the given container.
|
int |
ItemCountDAO.getCount(DSpaceObject dso)
Get the number of items in the given DSpaceObject container.
|
void |
ItemCounter.remove(DSpaceObject dso)
Remove any cached data for the given container
|
void |
ItemCountDAOSolr.remove(DSpaceObject dso)
remove the cache for the given container (does nothing in the Solr backend)
|
void |
ItemCountDAOPostgres.remove(DSpaceObject dso)
remove the cache for the given container
|
void |
ItemCountDAOOracle.remove(DSpaceObject dso)
remove the cache for the given container
|
void |
ItemCountDAO.remove(DSpaceObject dso)
Remove any cached data regarding the given DSpaceObject container.
|
void |
BrowserScope.setBrowseContainer(DSpaceObject dso)
Set the DSpaceObject that is the container for this browse.
|
void |
BrowseInfo.setBrowseContainer(DSpaceObject dso)
Set the DSpaceObject that is the container for this browse.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Bitstream
Class representing bitstreams stored in the DSpace system.
|
class |
Bundle
Class representing bundles of bitstreams stored in the DSpace system
|
class |
Collection
Class representing a collection.
|
class |
Community
Class representing a community
|
class |
Item
Class representing an item in DSpace.
|
class |
Site
Represents the root of the DSpace Archive.
|
| Modifier and Type | Method and Description |
|---|---|
static DSpaceObject |
Site.find(Context context,
int id)
Get Site object corresponding to db id (which is ignored).
|
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.
|
DSpaceObject |
Item.getAdminObject(int action) |
DSpaceObject |
DSpaceObject.getAdminObject(int action)
Return the dspace object where an ADMIN action right is sufficient to
grant the initial authorize check.
|
DSpaceObject |
Community.getAdminObject(int action) |
DSpaceObject |
Collection.getAdminObject(int action) |
DSpaceObject |
Bundle.getAdminObject(int action) |
DSpaceObject |
Item.getParentObject() |
DSpaceObject |
DSpaceObject.getParentObject()
Return the dspace object that "own" the current object in the hierarchy.
|
DSpaceObject |
Community.getParentObject() |
DSpaceObject |
Collection.getParentObject() |
DSpaceObject |
Bundle.getParentObject() |
DSpaceObject |
Bitstream.getParentObject()
Get the parent object of a bitstream.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
boolean |
XSLTDisseminationCrosswalk.canDisseminate(DSpaceObject dso)
Determine is this crosswalk can dessiminate the given object.
|
boolean |
XHTMLHeadDisseminationCrosswalk.canDisseminate(DSpaceObject dso) |
boolean |
SimpleDCDisseminationCrosswalk.canDisseminate(DSpaceObject dso) |
boolean |
RoleCrosswalk.canDisseminate(DSpaceObject dso)
Predicate: Can this disseminator crosswalk the given object.
|
boolean |
QDCCrosswalk.canDisseminate(DSpaceObject dso) |
boolean |
PREMISCrosswalk.canDisseminate(DSpaceObject dso) |
boolean |
OREDisseminationCrosswalk.canDisseminate(DSpaceObject dso) |
boolean |
MODSDisseminationCrosswalk.canDisseminate(DSpaceObject dso)
ModsCrosswalk can disseminate: Items, Collections, Communities, and Site.
|
boolean |
METSRightsCrosswalk.canDisseminate(DSpaceObject dso) |
boolean |
METSDisseminationCrosswalk.canDisseminate(DSpaceObject dso) |
boolean |
DisseminationCrosswalk.canDisseminate(DSpaceObject dso)
Predicate: Can this disseminator crosswalk the given object.
|
boolean |
DIMDisseminationCrosswalk.canDisseminate(DSpaceObject dso) |
boolean |
AIPTechMDCrosswalk.canDisseminate(DSpaceObject dso)
Predicate: Can this disseminator crosswalk the given object.
|
boolean |
AIPDIMCrosswalk.canDisseminate(DSpaceObject dso)
Predicate: Can this disseminator crosswalk the given object.
|
static org.jdom.Element |
XSLTDisseminationCrosswalk.createDIM(DSpaceObject dso)
Generate an intermediate representation of a DSpace object.
|
static org.jdom.Element |
XSLTDisseminationCrosswalk.createDIM(DSpaceObject dso,
Metadatum[] dcvs)
Generate an intermediate representation of a DSpace object.
|
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) |
org.jdom.Element |
XSLTDisseminationCrosswalk.disseminateElement(DSpaceObject dso)
Disseminate the DSpace item, collection, or community.
|
org.jdom.Element |
XHTMLHeadDisseminationCrosswalk.disseminateElement(DSpaceObject dso)
This generates a <head> element around the metadata; in general
this will probably not be used
|
org.jdom.Element |
SimpleDCDisseminationCrosswalk.disseminateElement(DSpaceObject dso) |
org.jdom.Element |
RoleCrosswalk.disseminateElement(DSpaceObject dso)
Execute crosswalk, returning one XML root element as
a JDOM
Element object. |
org.jdom.Element |
QDCCrosswalk.disseminateElement(DSpaceObject dso) |
org.jdom.Element |
PREMISCrosswalk.disseminateElement(DSpaceObject dso) |
org.jdom.Element |
OREDisseminationCrosswalk.disseminateElement(DSpaceObject dso) |
org.jdom.Element |
MODSDisseminationCrosswalk.disseminateElement(DSpaceObject dso)
Disseminate an Item, Collection, or Community to MODS.
|
org.jdom.Element |
METSRightsCrosswalk.disseminateElement(DSpaceObject dso)
Actually Disseminate into METSRights schema.
|
org.jdom.Element |
METSDisseminationCrosswalk.disseminateElement(DSpaceObject dso) |
org.jdom.Element |
DisseminationCrosswalk.disseminateElement(DSpaceObject dso)
Execute crosswalk, returning one XML root element as
a JDOM
Element object. |
org.jdom.Element |
DIMDisseminationCrosswalk.disseminateElement(DSpaceObject dso) |
org.jdom.Element |
AIPTechMDCrosswalk.disseminateElement(DSpaceObject dso)
Execute crosswalk, returning one XML root element as
a JDOM
Element object. |
org.jdom.Element |
AIPDIMCrosswalk.disseminateElement(DSpaceObject dso)
Execute crosswalk, returning one XML root element as
a JDOM
Element object. |
List<org.jdom.Element> |
XSLTDisseminationCrosswalk.disseminateList(DSpaceObject dso)
Disseminate the DSpace item, collection, or community.
|
List<org.jdom.Element> |
XHTMLHeadDisseminationCrosswalk.disseminateList(DSpaceObject dso)
Return <meta> elements that can be put in the <head> element
of an XHTML document.
|
List<org.jdom.Element> |
SimpleDCDisseminationCrosswalk.disseminateList(DSpaceObject dso)
Returns object's metadata as XML elements.
|
List<org.jdom.Element> |
RoleCrosswalk.disseminateList(DSpaceObject dso)
Execute crosswalk, returning List of XML elements.
|
List<org.jdom.Element> |
QDCCrosswalk.disseminateList(DSpaceObject dso)
Returns object's metadata in MODS format, as XML structure node.
|
List<org.jdom.Element> |
PREMISCrosswalk.disseminateList(DSpaceObject dso) |
List<org.jdom.Element> |
OREDisseminationCrosswalk.disseminateList(DSpaceObject dso) |
List<org.jdom.Element> |
MODSDisseminationCrosswalk.disseminateList(DSpaceObject dso)
Returns object's metadata in MODS format, as List of XML structure nodes.
|
List<org.jdom.Element> |
METSRightsCrosswalk.disseminateList(DSpaceObject dso) |
List<org.jdom.Element> |
METSDisseminationCrosswalk.disseminateList(DSpaceObject dso) |
List<org.jdom.Element> |
DisseminationCrosswalk.disseminateList(DSpaceObject dso)
Execute crosswalk, returning List of XML elements.
|
List<org.jdom.Element> |
DIMDisseminationCrosswalk.disseminateList(DSpaceObject dso) |
List<org.jdom.Element> |
AIPTechMDCrosswalk.disseminateList(DSpaceObject dso)
Execute crosswalk, returning List of XML elements.
|
List<org.jdom.Element> |
AIPDIMCrosswalk.disseminateList(DSpaceObject dso)
Execute crosswalk, returning List of XML elements.
|
List<org.jdom.Element> |
SimpleDCDisseminationCrosswalk.disseminateListInternal(DSpaceObject dso,
boolean addSchema) |
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) |
| Modifier and Type | Method and Description |
|---|---|
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)
|
DSpaceObject |
AbstractMETSIngester.getParentObject(Context context,
METSManifest manifest)
Determines what parent DSpace object is referenced in this METS doc.
|
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.
|
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
|
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.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<DSpaceObject> |
AbstractPackageIngester.getIngestedList()
Return List of all DSpaceObjects which have been ingested/replaced by
this instance of the Ingester.
|
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).
|
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).
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
AbstractMETSDisseminator.addAmdSec(Context context,
DSpaceObject dso,
PackageParameters params,
edu.harvard.hul.ois.mets.Mets mets,
AbstractMETSDisseminator.MdStreamCache extraStreams) |
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.
|
void |
AbstractPackageIngester.addPackageReference(DSpaceObject dso,
String packageRef)
During ingestion process, some submission information packages (SIPs)
may reference other packages to be ingested (recursively).
|
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) |
protected void |
AbstractPackageIngester.addToIngestedList(DSpaceObject dso)
Add DSpaceObject to list of successfully ingested/replaced objects
|
static void |
PackageUtils.clearAllMetadata(DSpaceObject dso)
Removes all metadata associated with a DSpace object.
|
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)
|
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.
|
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.
|
String |
AbstractMETSDisseminator.getObjectTypeString(DSpaceObject dso)
Build a string which will be used as the "Type" of this object in
the METS manifest.
|
static String |
PackageUtils.getPackageName(DSpaceObject dso,
String fileExtension)
Returns name of a dissemination information package (DIP), based on the
DSpace object and a provided fileExtension
|
List<String> |
AbstractPackageIngester.getPackageReferences(DSpaceObject dso)
Return a list of known SIP references from a newly created DSpaceObject.
|
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.Div |
AbstractMETSDisseminator.makeChildDiv(String type,
DSpaceObject dso,
PackageParameters params)
Create a element with
|
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 String |
AbstractMETSDisseminator.makePersistentID(DSpaceObject dso) |
static void |
PackageUtils.removeAllBitstreams(DSpaceObject dso)
Remove all bitstreams (files) associated with a DSpace object.
|
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 void |
PackageUtils.updateDSpaceObject(DSpaceObject dso)
Commit all recent changes to DSpaceObject.
|
protected void |
AbstractMETSDisseminator.writeZipPackage(Context context,
DSpaceObject dso,
PackageParameters params,
OutputStream pkg)
Make a Zipped up METS package for the given DSpace Object
|
| Modifier and Type | Method and Description |
|---|---|
int |
RequiredMetadata.perform(DSpaceObject dso)
Perform the curation task upon passed DSO
|
int |
ProfileFormats.perform(DSpaceObject dso)
Perform the curation task upon passed DSO
|
int |
NoOpCurationTask.perform(DSpaceObject dso) |
int |
MetadataWebService.perform(DSpaceObject dso)
Perform the curation task upon passed DSO
|
int |
ClamScan.perform(DSpaceObject dso) |
int |
BitstreamsIntoMetadata.perform(DSpaceObject dso)
Perform the bitstream metadata creation.
|
int |
BasicLinkChecker.perform(DSpaceObject dso)
Perform the link checking.
|
int |
AbstractTranslator.perform(DSpaceObject dso) |
| Modifier and Type | Method and Description |
|---|---|
protected DSpaceObject |
AbstractCurationTask.dereference(Context ctx,
String id)
Returns a DSpaceObject for passed identifier, if it exists
|
| Modifier and Type | Method and Description |
|---|---|
void |
Curator.curate(DSpaceObject dso)
Performs all configured tasks upon DSpace object
(Community, Collection or Item).
|
protected void |
AbstractCurationTask.distribute(DSpaceObject dso)
Distributes a task through a DSpace container - a convenience method
for tasks declaring the
@Distributive property. |
static boolean |
Curator.isContainer(DSpaceObject dso)
Returns whether a given DSO is a 'container' - collection or community
|
int |
ResolvedTask.perform(DSpaceObject dso)
Perform the curation task upon passed DSO
|
int |
CurationTask.perform(DSpaceObject dso)
Perform the curation task upon passed DSO
|
int |
CitationPage.perform(DSpaceObject dso)
Perform the curation task upon passed DSO
|
abstract int |
AbstractCurationTask.perform(DSpaceObject dso) |
int |
ScriptedTask.performDso(DSpaceObject dso)
Perform the curation task upon passed DSO
|
protected void |
AbstractCurationTask.performObject(DSpaceObject dso)
Performs task upon a single DSpaceObject.
|
| Modifier and Type | Method and Description |
|---|---|
protected static DSpaceObject |
SolrServiceImpl.findDSpaceObject(Context context,
org.apache.solr.common.SolrDocument doc) |
DSpaceObject |
DiscoverResult.DSpaceObjectHighlightResult.getDso() |
| Modifier and Type | Method and Description |
|---|---|
List<DSpaceObject> |
DiscoverResult.getDspaceObjects() |
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) |
| Modifier and Type | Method and Description |
|---|---|
void |
DiscoverResult.addDSpaceObject(DSpaceObject dso) |
void |
DiscoverResult.addHighlightedResult(DSpaceObject dso,
DiscoverResult.DSpaceObjectHighlightResult highlightedResult) |
void |
SolrServiceSpellIndexingPlugin.additionalIndex(Context context,
DSpaceObject dso,
org.apache.solr.common.SolrInputDocument document) |
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 |
DiscoverResult.addSearchDocument(DSpaceObject dso,
DiscoverResult.SearchDocument searchDocument) |
static DiscoveryConfiguration |
SearchUtils.getDiscoveryConfiguration(DSpaceObject dso) |
static String |
DiscoverResult.SearchDocument.getDspaceObjectStringRepresentation(DSpaceObject dso) |
DiscoverResult.DSpaceObjectHighlightResult |
DiscoverResult.getHighlightedResults(DSpaceObject dso) |
List<DiscoverResult.SearchDocument> |
DiscoverResult.getSearchDocument(DSpaceObject dso)
Returns all the sought after search document values
|
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) |
void |
SolrServiceImpl.reIndexContent(Context context,
DSpaceObject dso)
reIndexContent removes something from the index, then re-indexes it
|
void |
IndexingService.reIndexContent(Context context,
DSpaceObject dso) |
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 includeUnDiscoverable) |
DiscoverResult |
SearchService.search(Context context,
DSpaceObject dso,
DiscoverQuery query,
boolean includeWithdrawn) |
InputStream |
SolrServiceImpl.searchJSON(Context context,
DiscoverQuery query,
DSpaceObject dso,
String jsonIdentifier) |
InputStream |
SearchService.searchJSON(Context context,
DiscoverQuery query,
DSpaceObject dso,
String jsonIdentifier) |
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) |
| Constructor and Description |
|---|
DiscoverResult.DSpaceObjectHighlightResult(DSpaceObject dso,
Map<String,List<String>> highlightResults) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultEmbargoSetter.generatePolicies(Context context,
Date embargoDate,
String reason,
DSpaceObject dso,
Collection owningCollection) |
| Modifier and Type | Class and Description |
|---|---|
class |
EPerson
Class representing an e-person.
|
class |
Group
Class representing a group of e-people.
|
| Modifier and Type | Method and Description |
|---|---|
DSpaceObject |
Group.getParentObject() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static DSpaceObject |
HandleManager.resolveToObject(Context context,
String handle)
Return the object which handle maps to, or null.
|
| Modifier and Type | Method and Description |
|---|---|
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 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.
|
| Constructor and Description |
|---|
OAIHarvester(Context c,
DSpaceObject dso,
HarvestedCollection hc) |
| Modifier and Type | Method and Description |
|---|---|
static DSpaceObject |
DOIIdentifierProvider.getObjectByDOI(Context context,
String identifier)
Returns a DSpaceObject depending on its DOI.
|
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)
Find the object named by a given identifier.
|
DSpaceObject |
HandleIdentifierProvider.resolve(Context context,
String identifier,
String... attributes) |
DSpaceObject |
EZIDIdentifierProvider.resolve(Context context,
String identifier,
String... attributes) |
DSpaceObject |
DOIIdentifierProvider.resolve(Context context,
String identifier,
String... attributes) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
VersionedHandleIdentifierProvider.createNewIdentifier(Context context,
DSpaceObject dso,
String handleId) |
protected String |
HandleIdentifierProvider.createNewIdentifier(Context context,
DSpaceObject dso,
String handleId) |
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)
Unbind this type of identifier(s) from an object.
|
void |
HandleIdentifierProvider.delete(Context context,
DSpaceObject dso) |
void |
EZIDIdentifierProvider.delete(Context context,
DSpaceObject dso) |
void |
DOIIdentifierProvider.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)
Unbind the given identifier from an object.
|
void |
HandleIdentifierProvider.delete(Context context,
DSpaceObject dso,
String identifier) |
void |
EZIDIdentifierProvider.delete(Context context,
DSpaceObject dso,
String identifier) |
void |
DOIIdentifierProvider.delete(Context context,
DSpaceObject dso,
String identifier) |
static String |
DOIIdentifierProvider.getDOIByObject(Context context,
DSpaceObject dso)
Search the database for a DOI, using the type and id of an DSpaceObject.
|
static String |
DOIIdentifierProvider.getDOIOutOfObject(DSpaceObject dso)
Loads a DOI out of the metadata of an DSpaceObject.
|
String |
DataCiteXMLCreator.getXMLString(DSpaceObject dso) |
protected TableRow |
DOIIdentifierProvider.loadOrCreateDOI(Context context,
DSpaceObject dso,
String doi)
Load a DOI from the database or creates it if it does not exist.
|
String |
VersionedHandleIdentifierProvider.lookup(Context context,
DSpaceObject dso) |
String[] |
IdentifierServiceImpl.lookup(Context context,
DSpaceObject dso) |
String[] |
IdentifierService.lookup(Context contex,
DSpaceObject dso)
Gets the identifiers all registered IdentifierProvider returns if asked
to lookup the provided DSpaceObject.
|
abstract String |
IdentifierProvider.lookup(Context context,
DSpaceObject object)
Return the identifier for a DSpaceObject.
|
String |
HandleIdentifierProvider.lookup(Context context,
DSpaceObject dso) |
String |
EZIDIdentifierProvider.lookup(Context context,
DSpaceObject object) |
String |
DOIIdentifierProvider.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)
Get an identifier for a given object which is assignment-compatible
with a given Identifier type.
|
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)
Create an identifier for a DSpaceObject.
|
String |
HandleIdentifierProvider.mint(Context context,
DSpaceObject dso)
Creates a new handle in the database.
|
String |
EZIDIdentifierProvider.mint(Context context,
DSpaceObject dso) |
String |
DOIIdentifierProvider.mint(Context context,
DSpaceObject dso) |
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)
Create and apply an identifier to a DSpaceObject.
|
String |
HandleIdentifierProvider.register(Context context,
DSpaceObject dso) |
String |
EZIDIdentifierProvider.register(Context context,
DSpaceObject dso) |
String |
DOIIdentifierProvider.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.
|
abstract void |
IdentifierProvider.register(Context context,
DSpaceObject object,
String identifier)
Create a specific identifier and apply it to an object.
|
void |
HandleIdentifierProvider.register(Context context,
DSpaceObject dso,
String identifier) |
void |
EZIDIdentifierProvider.register(Context context,
DSpaceObject object,
String identifier) |
void |
DOIIdentifierProvider.register(Context context,
DSpaceObject dso,
String identifier) |
void |
DOIIdentifierProvider.registerOnline(Context context,
DSpaceObject dso,
String identifier) |
protected void |
DOIIdentifierProvider.removeDOIFromObject(Context context,
DSpaceObject dso,
String doi)
Removes a DOI out of the metadata of a DSpaceObject.
|
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)
Set an object's identifier.
|
void |
HandleIdentifierProvider.reserve(Context context,
DSpaceObject dso,
String identifier) |
void |
EZIDIdentifierProvider.reserve(Context context,
DSpaceObject dso,
String identifier) |
void |
DOIIdentifierProvider.reserve(Context context,
DSpaceObject dso,
String identifier) |
void |
DOIIdentifierProvider.reserveOnline(Context context,
DSpaceObject dso,
String identifier) |
protected void |
DOIIdentifierProvider.saveDOIToObject(Context context,
DSpaceObject dso,
String doi)
Adds a DOI to the metadata of an item.
|
void |
DOIIdentifierProvider.updateMetadata(Context context,
DSpaceObject dso,
String identifier) |
void |
DOIIdentifierProvider.updateMetadataOnline(Context context,
DSpaceObject dso,
String identifier) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DOIConnector.isDOIRegistered(Context context,
DSpaceObject dso,
String doi) |
boolean |
DataCiteConnector.isDOIRegistered(Context context,
DSpaceObject dso,
String doi) |
boolean |
DOIConnector.isDOIReserved(Context context,
DSpaceObject dso,
String doi) |
boolean |
DataCiteConnector.isDOIReserved(Context context,
DSpaceObject dso,
String doi) |
void |
DOIOrganiser.register(TableRow doiRow,
DSpaceObject dso) |
void |
DOIConnector.registerDOI(Context context,
DSpaceObject dso,
String doi)
Sends a request to the DOI registry to register a DOI.
|
void |
DataCiteConnector.registerDOI(Context context,
DSpaceObject dso,
String doi) |
void |
DOIOrganiser.reserve(TableRow doiRow,
DSpaceObject dso) |
void |
DOIConnector.reserveDOI(Context context,
DSpaceObject dso,
String doi)
Sends a request to the DOI registry to reserve a DOI.
|
void |
DataCiteConnector.reserveDOI(Context context,
DSpaceObject dso,
String doi) |
void |
DOIOrganiser.update(TableRow doiRow,
DSpaceObject dso) |
void |
DOIConnector.updateMetadata(Context context,
DSpaceObject dso,
String doi)
Sends a request to the DOI registry to update metadata for a DOI.
|
void |
DataCiteConnector.updateMetadata(Context context,
DSpaceObject dso,
String doi) |
| Modifier and Type | Method and Description |
|---|---|
protected DSpaceObject |
RDFizer.resolveHandle(String handle) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
RDFizer.Callback.callback(DSpaceObject dso) |
static com.hp.hpl.jena.rdf.model.Model |
RDFUtil.convert(Context context,
DSpaceObject dso)
Converts the the provided DSpaceObject into RDF and returns the model.
|
protected void |
RDFizer.convert(DSpaceObject dso,
boolean reset) |
static com.hp.hpl.jena.rdf.model.Model |
RDFUtil.convertAndStore(Context context,
DSpaceObject dso)
Converts a DSpaceObject into RDF data and stores them using the configured
RDFStorage. |
void |
RDFizer.delete(DSpaceObject dso,
boolean reset)
Delete the data about the DSpaceObject from the triplestore.
|
protected void |
RDFizer.dspaceDFS(DSpaceObject dso,
RDFizer.Callback callback,
boolean check,
boolean reset) |
static String |
RDFUtil.generateIdentifier(Context context,
DSpaceObject dso)
Generates a URI identifying the provided DSpaceObject.
|
protected boolean |
RDFizer.isProcessed(DSpaceObject dso) |
static void |
RDFUtil.isPublic(Context context,
DSpaceObject dso)
Checks whether the provided DSpaceObject is readable within the provided
context and if the DSO is an Item whether it is archived, discoverable
and not withdrawn.
|
static boolean |
RDFUtil.isPublicBoolean(Context context,
DSpaceObject dso)
Does the same as
isPublic(Context, DSpaceObject) but returns a boolean instead of throwing
exceptions. |
protected void |
RDFizer.markProcessed(DSpaceObject dso) |
| Modifier and Type | Method and Description |
|---|---|
com.hp.hpl.jena.rdf.model.Model |
StaticDSOConverterPlugin.convert(Context context,
DSpaceObject dso) |
com.hp.hpl.jena.rdf.model.Model |
SimpleDSORelationsConverterPlugin.convert(Context context,
DSpaceObject dso) |
com.hp.hpl.jena.rdf.model.Model |
RDFConverterImpl.convert(Context context,
DSpaceObject dso) |
com.hp.hpl.jena.rdf.model.Model |
RDFConverter.convert(Context context,
DSpaceObject dso) |
com.hp.hpl.jena.rdf.model.Model |
MetadataConverterPlugin.convert(Context context,
DSpaceObject dso) |
com.hp.hpl.jena.rdf.model.Model |
ConverterPlugin.convert(Context context,
DSpaceObject dso)
Convert the specified DSpaceObject or a part of it into RDF.
|
| Modifier and Type | Method and Description |
|---|---|
String |
URIGenerator.generateIdentifier(Context context,
DSpaceObject dso)
Shortcut for
generateIdentifier(context, dso.getType(),
dso.getID(), dso.getHandle()). |
String |
LocalURIGenerator.generateIdentifier(Context context,
DSpaceObject dso) |
String |
HandleURIGenerator.generateIdentifier(Context context,
DSpaceObject dso) |
String |
DOIURIGenerator.generateIdentifier(Context context,
DSpaceObject dso) |
| Modifier and Type | Method and Description |
|---|---|
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)
Deprecated.
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)
Deprecated.
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.reIndexContent(Context context,
DSpaceObject dso)
Deprecated.
reIndexContent removes something from the index, then re-indexes it
|
static void |
DSIndexer.unIndexContent(Context context,
DSpaceObject dso)
Deprecated.
unIndex removes an Item, Collection, or Community only works if the
DSpaceObject has a handle (uses the handle for its unique ID)
|
| Modifier and Type | Method and Description |
|---|---|
void |
ElasticSearchLogger.buildParents(DSpaceObject dso,
HashMap<String,ArrayList<Integer>> parents) |
HashMap<String,ArrayList<Integer>> |
ElasticSearchLogger.getParents(DSpaceObject dso) |
static void |
SolrLogger.post(DSpaceObject dspaceObject,
javax.servlet.http.HttpServletRequest request,
EPerson currentUser)
Deprecated.
|
void |
ElasticSearchLogger.post(DSpaceObject dspaceObject,
javax.servlet.http.HttpServletRequest request,
EPerson currentUser) |
void |
ElasticSearchLogger.post(DSpaceObject dspaceObject,
String ip,
String userAgent,
String xforwarderfor,
EPerson currentUser) |
static void |
SolrLogger.postSearch(DSpaceObject resultObject,
javax.servlet.http.HttpServletRequest request,
EPerson currentUser,
List<String> queries,
int rpp,
String sortBy,
String order,
int page,
DSpaceObject scope) |
static void |
SolrLogger.postView(DSpaceObject dspaceObject,
javax.servlet.http.HttpServletRequest request,
EPerson currentUser)
Store a usage event into Solr.
|
static void |
SolrLogger.postView(DSpaceObject dspaceObject,
String ip,
String userAgent,
String xforwarderfor,
EPerson currentUser) |
static void |
SolrLogger.storeParents(org.apache.solr.common.SolrInputDocument doc1,
DSpaceObject dso)
Method just used to log the parents.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StatisticsDataVisits.Query.setOwningDso(DSpaceObject owningDso) |
| Constructor and Description |
|---|
StatisticsDataSearches(DSpaceObject dso) |
StatisticsDataVisits(DSpaceObject dso)
Construct an empty query concerning a given DSpaceObject.
|
StatisticsDataVisits(DSpaceObject currentDso,
Dataset dataset)
Construct an unconfigured query around a given DSO and Dataset.
|
StatisticsDataWorkflow(DSpaceObject dso,
int averageMonths) |
| Modifier and Type | Method and Description |
|---|---|
static int |
AccessStep.saveOrCancelEditPolicy(Context context,
javax.servlet.http.HttpServletRequest request,
SubmissionInfo subInfo,
String buttonPressed,
DSpaceObject dso,
String name,
int groupID,
String reason) |
| Modifier and Type | Method and Description |
|---|---|
DSpaceObject |
UsageEvent.getObject() |
DSpaceObject |
UsageSearchEvent.getScope() |
| Modifier and Type | Method and Description |
|---|---|
void |
UsageEvent.setObject(DSpaceObject object) |
| Constructor and Description |
|---|
UsageEvent(UsageEvent.Action action,
javax.servlet.http.HttpServletRequest request,
Context context,
DSpaceObject object) |
UsageEvent(UsageEvent.Action action,
String ip,
String userAgent,
String xforwarderfor,
Context context,
DSpaceObject object) |
UsageSearchEvent(UsageEvent.Action action,
javax.servlet.http.HttpServletRequest request,
Context context,
DSpaceObject object,
List<String> queries,
DSpaceObject scope) |
Copyright © 2014 DuraSpace. All Rights Reserved.