| Modifier and Type | Field and Description |
|---|---|
protected Iterator<Item> |
MetadataExport.toExport
The items to export
|
| Modifier and Type | Method and Description |
|---|---|
Item |
BulkEditChange.getItem()
Get the DSpace Item that these changes are applicable to.
|
| Modifier and Type | Method and Description |
|---|---|
protected Iterator<Item> |
MetadataExport.buildFromCommunity(Context context,
Community community,
int indent)
Build an array list of item ids that are in a community (include sub-communities and collections)
|
| Modifier and Type | Method and Description |
|---|---|
void |
DSpaceCSV.addItem(Item i)
Add a DSpace item to the CSV file
|
protected void |
MetadataImport.compare(Item item,
List<String> collections,
List<Collection> actualCollections,
BulkEditChange bechange,
boolean change)
Compare changes between an items owning collection and mapped collections
and what is in the CSV file
|
protected void |
MetadataImport.compare(Item item,
String[] fromCSV,
boolean change,
String md,
BulkEditChange changes,
DSpaceCSVLine line)
Compare an item metadata with a line from CSV, and optionally update the item
|
void |
BulkEditChange.setItem(Item i)
Store the item - used when a new item is created
|
| Constructor and Description |
|---|
BulkEditChange(Item i)
Initialise a new change holder for an existing item
|
| Constructor and Description |
|---|
MetadataExport(Context c,
Iterator<Item> toExport,
boolean exportAll)
Set up a new metadata export
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ItemExportServiceImpl.exportItem(Context c,
Item myItem,
String destDirName,
int seqStart,
boolean migrate,
boolean excludeBitstreams) |
protected void |
ItemExportServiceImpl.writeBitstreams(Context c,
Item i,
File destDir,
boolean excludeBitstreams)
Create both the bitstreams and the contents file.
|
protected void |
ItemExportServiceImpl.writeHandle(Context c,
Item i,
File destDir)
create the file 'handle' which contains the handle assigned to the item
|
protected void |
ItemExportServiceImpl.writeMetadata(Context c,
Item i,
File destDir,
boolean migrate)
Discover the different schemas in use and output a separate metadata XML
file for each schema.
|
protected void |
ItemExportServiceImpl.writeMetadata(Context c,
String schema,
Item i,
File destDir,
boolean migrate)
output the item's dublin core into the item directory
|
| Modifier and Type | Method and Description |
|---|---|
void |
ItemExportServiceImpl.exportAsZip(Context context,
Iterator<Item> items,
String destDirName,
String zipFileName,
int seqStart,
boolean migrate,
boolean excludeBitstreams) |
void |
ItemExportServiceImpl.exportItem(Context c,
Iterator<Item> i,
String destDirName,
int seqStart,
boolean migrate,
boolean excludeBitstreams) |
| Modifier and Type | Method and Description |
|---|---|
void |
ItemExportService.exportAsZip(Context context,
Iterator<Item> items,
String destDirName,
String zipFileName,
int seqStart,
boolean migrate,
boolean excludeBitstreams)
Method to perform an export and save it as a zip file.
|
void |
ItemExportService.exportItem(Context c,
Iterator<Item> i,
String destDirName,
int seqStart,
boolean migrate,
boolean excludeBitstreams) |
| Modifier and Type | Method and Description |
|---|---|
protected Item |
ItemImportServiceImpl.addItem(Context c,
List<Collection> mycollections,
String path,
String itemname,
PrintWriter mapOut,
boolean template)
item? try and add it to the archive.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ItemImportServiceImpl.addDCValue(Context c,
Item i,
String schema,
Node n) |
protected void |
ItemImportServiceImpl.deleteItem(Context c,
Item myitem) |
protected void |
ItemImportServiceImpl.loadDublinCore(Context c,
Item myitem,
String filename) |
protected void |
ItemImportServiceImpl.loadMetadata(Context c,
Item myitem,
String path) |
protected void |
ItemImportServiceImpl.processContentFileEntry(Context c,
Item i,
String path,
String fileName,
String bundleName,
boolean primary)
each entry represents a bitstream....
|
protected List<String> |
ItemImportServiceImpl.processContentsFile(Context c,
Item i,
String path,
String filename)
Given a contents file and an item, stuffing it with bitstreams from the
contents file Returns a List of Strings with lines from the contents
file that request non-default bitstream permission
|
protected String |
ItemImportServiceImpl.processHandleFile(Context c,
Item i,
String path,
String filename)
Read in the handle file contents or return null if empty or doesn't exist
|
protected void |
ItemImportServiceImpl.processOptions(Context c,
Item myItem,
List<String> options)
Process the Options to apply to the Item.
|
protected void |
ItemImportServiceImpl.registerBitstream(Context c,
Item i,
int assetstore,
String bitstreamPath,
String bundleName,
String description)
Register the bitstream file into DSpace
|
| Modifier and Type | Method and Description |
|---|---|
ItemMarkingInfo |
ItemMarkingMetadataStrategy.getItemMarkingInfo(Context context,
Item item) |
ItemMarkingInfo |
ItemMarkingExtractor.getItemMarkingInfo(Context context,
Item item) |
ItemMarkingInfo |
ItemMarkingCollectionStrategy.getItemMarkingInfo(Context context,
Item item) |
ItemMarkingInfo |
ItemMarkingAvailabilityBitstreamStrategy.getItemMarkingInfo(Context context,
Item item) |
| Modifier and Type | Field and Description |
|---|---|
protected Item |
ItemArchive.item |
| Modifier and Type | Method and Description |
|---|---|
Item |
ItemArchive.getItem()
Getter for the DSpace item referenced in the archive
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
AddBitstreamsAction.addBitstream(Context context,
ItemArchive itarch,
Item item,
File dir,
ContentsEntry ce,
boolean suppressUndo,
boolean isTest)
Add bitstream
|
static void |
MetadataUtilities.appendMetadata(Context context,
Item item,
org.dspace.app.itemupdate.DtoMetadata dtom,
boolean isLanguageStrict,
String textToAppend)
Append text to value metadata field to item
|
static boolean |
MetadataUtilities.deleteMetadataByValue(Context context,
Item item,
org.dspace.app.itemupdate.DtoMetadata dtom,
boolean isLanguageStrict)
Working around Item API to delete a value-specific Metadatum
For a given element/qualifier/lang:
get all DCValues
clear (i.e.
|
| Modifier and Type | Field and Description |
|---|---|
protected Item |
MediaFilterServiceImpl.currentItem |
| Modifier and Type | Method and Description |
|---|---|
Item |
MediaFilterServiceImpl.getCurrentItem() |
| Modifier and Type | Method and Description |
|---|---|
void |
MediaFilterServiceImpl.applyFiltersItem(Context c,
Item item) |
boolean |
MediaFilterServiceImpl.filterBitstream(Context context,
Item myItem,
Bitstream myBitstream) |
boolean |
MediaFilterServiceImpl.filterItem(Context context,
Item myItem) |
InputStream |
WordFilter.getDestinationStream(Item currentItem,
InputStream source,
boolean verbose) |
InputStream |
PowerPointFilter.getDestinationStream(Item currentItem,
InputStream source,
boolean verbose) |
InputStream |
PoiWordFilter.getDestinationStream(Item currentItem,
InputStream source,
boolean verbose) |
InputStream |
PDFFilter.getDestinationStream(Item currentItem,
InputStream source,
boolean verbose) |
InputStream |
PDFBoxThumbnail.getDestinationStream(Item currentItem,
InputStream source,
boolean verbose) |
InputStream |
JPEGFilter.getDestinationStream(Item currentItem,
InputStream source,
boolean verbose) |
InputStream |
ImageMagickPdfThumbnailFilter.getDestinationStream(Item currentItem,
InputStream source,
boolean verbose) |
InputStream |
ImageMagickImageThumbnailFilter.getDestinationStream(Item currentItem,
InputStream source,
boolean verbose) |
InputStream |
HTMLFilter.getDestinationStream(Item currentItem,
InputStream source,
boolean verbose) |
InputStream |
FormatFilter.getDestinationStream(Item item,
InputStream source,
boolean verbose)
Read the source stream and produce the filtered content.
|
InputStream |
ExcelFilter.getDestinationStream(Item item,
InputStream source,
boolean verbose) |
InputStream |
BrandedPreviewJPEGFilter.getDestinationStream(Item currentItem,
InputStream source,
boolean verbose) |
InputStream |
JPEGFilter.getThumb(Item currentItem,
BufferedImage buf,
boolean verbose) |
InputStream |
JPEGFilter.getThumbDim(Item currentItem,
BufferedImage buf,
boolean verbose,
float xmax,
float ymax,
boolean blurring,
boolean hqscaling,
int brandHeight,
int brandFontPoint,
String brandFont) |
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,
boolean verbose)
Perform any pre-processing of the source bitstream *before* the actual
filtering takes place in MediaFilterManager.processBitstream().
|
boolean |
ImageMagickThumbnailFilter.preProcessBitstream(Context c,
Item item,
Bitstream source,
boolean verbose) |
boolean |
FormatFilter.preProcessBitstream(Context c,
Item item,
Bitstream source,
boolean verbose)
Perform any pre-processing of the source bitstream *before* the actual
filtering takes place in MediaFilterManager.processBitstream().
|
boolean |
MediaFilterServiceImpl.processBitstream(Context context,
Item item,
Bitstream source,
FormatFilter formatFilter) |
| Modifier and Type | Method and Description |
|---|---|
Item |
MediaFilterService.getCurrentItem()
Return the item that is currently being processed/filtered
by the MediaFilterManager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MediaFilterService.applyFiltersItem(Context c,
Item item) |
boolean |
MediaFilterService.filterBitstream(Context c,
Item myItem,
Bitstream myBitstream)
Attempt to filter a bitstream.
|
boolean |
MediaFilterService.filterItem(Context context,
Item myItem)
Iterate through the item's bitstreams in the ORIGINAL bundle, applying
filters if possible.
|
boolean |
MediaFilterService.processBitstream(Context context,
Item item,
Bitstream source,
FormatFilter formatFilter)
A utility class that calls the virtual methods
from the current MediaFilter class.
|
| Modifier and Type | Method and Description |
|---|---|
Item |
RequestItem.getItem() |
| Modifier and Type | Method and Description |
|---|---|
String |
RequestItemServiceImpl.createRequest(Context context,
Bitstream bitstream,
Item item,
boolean allFiles,
String reqEmail,
String reqName,
String reqMessage) |
RequestItemAuthor |
RequestItemSubmitterStrategy.getRequestItemAuthor(Context context,
Item item) |
RequestItemAuthor |
RequestItemMetadataStrategy.getRequestItemAuthor(Context context,
Item item) |
RequestItemAuthor |
RequestItemHelpdeskStrategy.getRequestItemAuthor(Context context,
Item item) |
RequestItemAuthor |
RequestItemAuthorExtractor.getRequestItemAuthor(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
String |
RequestItemService.createRequest(Context context,
Bitstream bitstream,
Item item,
boolean allFiles,
String reqEmail,
String reqName,
String reqMessage)
Generate a request item representing the request and put it into the DB
|
| Modifier and Type | Method and Description |
|---|---|
String |
SFXFileReaderServiceImpl.doNodes(Node node,
Item item) |
String |
SFXFileReaderServiceImpl.loadSFXFile(String fileName,
Item item) |
protected String |
SFXFileReaderServiceImpl.processFields(Node e,
Item item)
Process the field nodes, mapping each metadata field defined in the
configuration file to an OpenURL parameter
|
| Modifier and Type | Method and Description |
|---|---|
String |
SFXFileReaderService.doNodes(Node node,
Item item)
Process the item, mapping each of its metadata fields defined in the
configuration file to an OpenURL parameter
|
String |
SFXFileReaderService.loadSFXFile(String fileName,
Item item)
Loads the SFX configuration file
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
SHERPASubmitService.getISSNs(Context context,
Item item) |
List<String> |
MetadataValueISSNExtractor.getISSNs(Context context,
Item item) |
List<String> |
MetadataAuthorityISSNExtractor.getISSNs(Context context,
Item item) |
List<String> |
ISSNItemExtractor.getISSNs(Context context,
Item item) |
boolean |
SHERPASubmitService.hasISSNs(Context context,
Item item) |
SHERPAResponse |
SHERPASubmitService.searchRelatedJournals(Context context,
Item item) |
| Modifier and Type | Field and Description |
|---|---|
protected Item |
GoogleMetadata.item |
| Modifier and Type | Method and Description |
|---|---|
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.authorizeManageItemPolicy(Context context,
Item item)
Is allowed manage (create, remove, edit) item's policies in the
current context?
|
static void |
AuthorizeUtil.authorizeReinstateItem(Context context,
Item item)
Can the current user reinstate the item?
|
static void |
AuthorizeUtil.authorizeWithdrawItem(Context context,
Item item)
Can the current user withdraw the item?
|
protected Bitstream |
GoogleMetadata.findLinkableFulltext(Item item)
A bitstream is considered linkable fulltext when it is either
the item's only bitstream (in the ORIGINAL bundle); or
the primary bitstream
Additionally, this bitstream must be publicly viewable.
|
static List<String> |
Util.getControlledVocabulariesDisplayValueLocalized(Item item,
List<MetadataValue> values,
String schema,
String element,
String qualifier,
Locale locale)
Get a list of all the respective "displayed-value(s)" from the given
"stored-value(s)" for a specific metadata field of a DSpace Item, by
reading input-forms.xml
|
protected String |
SyndicationFeed.getOneDC(Item item,
String field) |
protected String |
GoogleMetadata.getPDFSimpleUrl(Item item)
Gets the URL to a PDF using a very basic strategy by assuming that the PDF
is in the default content bundle, and that the item only has one public bitstream
and it is a PDF.
|
| Constructor and Description |
|---|
GoogleMetadata(Context context,
Item item)
Wrap the item, parse all configured fields and generate metadata field
values.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthorityServiceImpl.indexItem(Context context,
Item item) |
void |
AuthorityValue.updateItem(Context context,
Item currentItem,
MetadataValue value)
Replace an item's DCValue with this authority
|
| Modifier and Type | Field and Description |
|---|---|
protected Item |
DSpaceAuthorityIndexer.currentItem |
| Modifier and Type | Field and Description |
|---|---|
protected Iterator<Item> |
DSpaceAuthorityIndexer.itemIterator |
| Modifier and Type | Method and Description |
|---|---|
void |
DSpaceAuthorityIndexer.init(Context context,
Item item) |
void |
AuthorityIndexerInterface.init(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
void |
AuthorityService.indexItem(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
Item[] |
BrowseInfo.getItemResults()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
List<Item> |
SolrBrowseDAO.doQuery() |
List<Item> |
BrowseDAO.doQuery()
This executes a query which returns a List object containing BrowseItem objects
representing the results of a full item browse.
|
List<Item> |
BrowseInfo.getBrowseItemResults()
Return the results of the Browse as a BrowseItem array
|
List<Item> |
BrowseInfo.getResults()
The results of the Browse.
|
| Modifier and Type | Method and Description |
|---|---|
Item |
ItemServiceImpl.create(Context context,
WorkspaceItem workspaceItem) |
protected Item |
ItemServiceImpl.createItem(Context context) |
Item |
ItemServiceImpl.createTemplateItem(Context context,
Collection collection) |
Item |
ItemServiceImpl.find(Context context,
UUID id) |
Item |
ItemServiceImpl.findByIdOrLegacyId(Context context,
String id) |
Item |
ItemServiceImpl.findByLegacyId(Context context,
int id) |
protected Item |
InstallItemServiceImpl.finishItem(Context c,
Item item,
InProgressSubmission is)
Final housekeeping when adding a new Item into the archive.
|
Item |
WorkspaceItem.getItem() |
Item |
InProgressSubmission.getItem()
Get the incomplete item object
|
Item |
Collection.getTemplateItem()
Get the template item for this collection.
|
Item |
InstallItemServiceImpl.installItem(Context c,
InProgressSubmission is) |
Item |
InstallItemServiceImpl.installItem(Context c,
InProgressSubmission is,
String suppliedHandle) |
Item |
InstallItemServiceImpl.restoreItem(Context c,
InProgressSubmission is,
String suppliedHandle) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Item> |
ItemServiceImpl.findAll(Context context) |
Iterator<Item> |
ItemServiceImpl.findAllByCollection(Context context,
Collection collection) |
Iterator<Item> |
ItemServiceImpl.findAllUnfiltered(Context context) |
Iterator<Item> |
ItemServiceImpl.findByAuthorityValue(Context context,
String schema,
String element,
String qualifier,
String value) |
Iterator<Item> |
ItemServiceImpl.findByCollection(Context context,
Collection collection) |
Iterator<Item> |
ItemServiceImpl.findByCollection(Context context,
Collection collection,
Integer limit,
Integer offset) |
Iterator<Item> |
ItemServiceImpl.findByLastModifiedSince(Context context,
Date last) |
Iterator<Item> |
ItemServiceImpl.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
|
Iterator<Item> |
ItemServiceImpl.findByMetadataFieldAuthority(Context context,
String mdString,
String authority) |
Iterator<Item> |
ItemServiceImpl.findByMetadataQuery(Context context,
List<List<MetadataField>> listFieldList,
List<String> query_op,
List<String> query_val,
List<UUID> collectionUuids,
String regexClause,
int offset,
int limit) |
Iterator<Item> |
ItemServiceImpl.findBySubmitter(Context context,
EPerson eperson) |
Iterator<Item> |
ItemServiceImpl.findBySubmitterDateSorted(Context context,
EPerson eperson,
Integer limit) |
Iterator<Item> |
ItemServiceImpl.findInArchiveOrWithdrawnDiscoverableModifiedSince(Context context,
Date since) |
List<Item> |
Bundle.getItems()
Get the items this bundle appears in
|
| Modifier and Type | Method and Description |
|---|---|
void |
ItemServiceImpl.addBundle(Context context,
Item item,
Bundle bundle) |
void |
CollectionServiceImpl.addItem(Context context,
Collection collection,
Item item) |
void |
ItemServiceImpl.adjustBundleBitstreamPolicies(Context context,
Item item,
Collection collection) |
void |
ItemServiceImpl.adjustItemPolicies(Context context,
Item item,
Collection collection) |
boolean |
ItemServiceImpl.canCreateNewVersion(Context context,
Item item) |
boolean |
ItemServiceImpl.canEdit(Context context,
Item item) |
Bundle |
BundleServiceImpl.create(Context context,
Item item,
String name) |
Bitstream |
ItemServiceImpl.createSingleBitstream(Context context,
InputStream is,
Item item) |
Bitstream |
ItemServiceImpl.createSingleBitstream(Context context,
InputStream is,
Item item,
String name) |
void |
ItemServiceImpl.delete(Context context,
Item item) |
protected void |
ItemServiceImpl.deleteBundle(Context context,
Item item,
Bundle b) |
WorkspaceItem |
WorkspaceItemServiceImpl.findByItem(Context context,
Item item) |
protected Item |
InstallItemServiceImpl.finishItem(Context c,
Item item,
InProgressSubmission is)
Final housekeeping when adding a new Item into the archive.
|
DSpaceObject |
ItemServiceImpl.getAdminObject(Context context,
Item item,
int action) |
Bitstream |
BitstreamServiceImpl.getBitstreamByName(Item item,
String bundleName,
String bitstreamName) |
String |
InstallItemServiceImpl.getBitstreamProvenanceMessage(Context context,
Item myitem) |
List<Bundle> |
ItemServiceImpl.getBundles(Item item,
String name) |
List<Collection> |
ItemServiceImpl.getCollectionsNotLinked(Context context,
Item item) |
List<Community> |
ItemServiceImpl.getCommunities(Context context,
Item item) |
Bitstream |
BitstreamServiceImpl.getFirstBitstream(Item item,
String bundleName) |
Iterator<Bitstream> |
BitstreamServiceImpl.getItemBitstreams(Context context,
Item item) |
static String |
LicenseUtils.getLicenseText(Locale locale,
Collection collection,
Item item,
EPerson eperson)
Utility method if no additional arguments are to be supplied to the
license template.
|
static String |
LicenseUtils.getLicenseText(Locale locale,
Collection collection,
Item item,
EPerson eperson,
Map<String,Object> additionalInfo)
Return the text of the license that the user has granted/must grant
before for submit the item.
|
List<Bitstream> |
ItemServiceImpl.getNonInternalBitstreams(Context context,
Item item) |
DSpaceObject |
ItemServiceImpl.getParentObject(Context context,
Item item) |
Thumbnail |
ItemServiceImpl.getThumbnail(Context context,
Item item,
boolean requireOriginal) |
protected String |
ItemComparator.getValue(Item item)
Choose the canonical value from an item for comparison.
|
static void |
LicenseUtils.grantLicense(Context context,
Item item,
String licenseText)
Store a copy of the license a user granted in the item.
|
boolean |
ItemServiceImpl.hasUploadedFiles(Item item) |
void |
ItemServiceImpl.inheritCollectionDefaultPolicies(Context context,
Item item,
Collection collection) |
boolean |
ItemServiceImpl.isIn(Item item,
Collection collection) |
boolean |
ItemServiceImpl.isInProgressSubmission(Context context,
Item item)
Check if the item is an inprogress submission
|
boolean |
ItemServiceImpl.isItemListedForUser(Context context,
Item item) |
boolean |
ItemServiceImpl.isOwningCollection(Item item,
Collection collection) |
void |
ItemServiceImpl.move(Context context,
Item item,
Collection from,
Collection to) |
void |
ItemServiceImpl.move(Context context,
Item item,
Collection from,
Collection to,
boolean inheritDefaultPolicies) |
protected void |
InstallItemServiceImpl.populateMetadata(Context c,
Item item) |
protected void |
ItemServiceImpl.rawDelete(Context context,
Item item) |
void |
ItemServiceImpl.reinstate(Context context,
Item item) |
void |
ItemServiceImpl.removeAllBundles(Context context,
Item item) |
void |
ItemServiceImpl.removeBundle(Context context,
Item item,
Bundle bundle) |
void |
ItemServiceImpl.removeDSpaceLicense(Context context,
Item item) |
void |
ItemServiceImpl.removeGroupPolicies(Context context,
Item item,
Group group) |
void |
CollectionServiceImpl.removeItem(Context context,
Collection collection,
Item item) |
void |
ItemServiceImpl.removeLicenses(Context context,
Item item) |
protected void |
ItemServiceImpl.removeVersion(Context context,
Item item) |
void |
ItemServiceImpl.replaceAllBitstreamPolicies(Context context,
Item item,
List<ResourcePolicy> newpolicies) |
void |
ItemServiceImpl.replaceAllItemPolicies(Context context,
Item item,
List<ResourcePolicy> newpolicies) |
void |
ItemServiceImpl.update(Context context,
Item item) |
void |
ItemServiceImpl.updateLastModified(Context context,
Item item) |
void |
ItemServiceImpl.withdraw(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
protected static List<MockMetadataValue> |
XSLTDisseminationCrosswalk.item2Metadata(Item item) |
protected List<MockMetadataValue> |
MODSDisseminationCrosswalk.item2Metadata(Item item)
Generate a list of metadata elements for the given DSpace item.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Item> |
ItemDAO.findAll(Context context,
boolean archived) |
Iterator<Item> |
ItemDAO.findAll(Context context,
boolean archived,
boolean withdrawn) |
Iterator<Item> |
ItemDAO.findAll(Context context,
boolean archived,
boolean withdrawn,
boolean discoverable,
Date lastModified)
Get all Items installed or withdrawn, discoverable, and modified since a Date.
|
Iterator<Item> |
ItemDAO.findAllByCollection(Context context,
Collection collection) |
Iterator<Item> |
ItemDAO.findArchivedByCollection(Context context,
Collection collection,
Integer limit,
Integer offset) |
Iterator<Item> |
ItemDAO.findByAuthorityValue(Context context,
MetadataField metadataField,
String authority,
boolean inArchive) |
Iterator<Item> |
ItemDAO.findByLastModifiedSince(Context context,
Date since)
Find all Items modified since a Date.
|
Iterator<Item> |
ItemDAO.findByMetadataField(Context context,
MetadataField metadataField,
String value,
boolean inArchive) |
Iterator<Item> |
ItemDAO.findByMetadataQuery(Context context,
List<List<MetadataField>> listFieldList,
List<String> query_op,
List<String> query_val,
List<UUID> collectionUuids,
String regexClause,
int offset,
int limit) |
Iterator<Item> |
ItemDAO.findBySubmitter(Context context,
EPerson eperson) |
Iterator<Item> |
ItemDAO.findBySubmitter(Context context,
EPerson eperson,
MetadataField metadataField,
int limit) |
| Modifier and Type | Method and Description |
|---|---|
WorkspaceItem |
WorkspaceItemDAO.findByItem(Context context,
Item i) |
Iterator<Bitstream> |
BitstreamDAO.findByItem(Context context,
Item item) |
Collection |
CollectionDAO.findByTemplateItem(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Item> |
ItemDAOImpl.findAll(Context context,
boolean archived) |
Iterator<Item> |
ItemDAOImpl.findAll(Context context,
boolean archived,
boolean withdrawn) |
Iterator<Item> |
ItemDAOImpl.findAll(Context context,
boolean archived,
boolean withdrawn,
boolean discoverable,
Date lastModified) |
Iterator<Item> |
ItemDAOImpl.findAllByCollection(Context context,
Collection collection) |
Iterator<Item> |
ItemDAOImpl.findArchivedByCollection(Context context,
Collection collection,
Integer limit,
Integer offset) |
Iterator<Item> |
ItemDAOImpl.findByAuthorityValue(Context context,
MetadataField metadataField,
String authority,
boolean inArchive) |
Iterator<Item> |
ItemDAOImpl.findByLastModifiedSince(Context context,
Date since) |
Iterator<Item> |
ItemDAOImpl.findByMetadataField(Context context,
MetadataField metadataField,
String value,
boolean inArchive) |
Iterator<Item> |
ItemDAOImpl.findByMetadataQuery(Context context,
List<List<MetadataField>> listFieldList,
List<String> query_op,
List<String> query_val,
List<UUID> collectionUuids,
String regexClause,
int offset,
int limit) |
Iterator<Item> |
ItemDAOImpl.findBySubmitter(Context context,
EPerson eperson) |
Iterator<Item> |
ItemDAOImpl.findBySubmitter(Context context,
EPerson eperson,
MetadataField metadataField,
int limit) |
| Modifier and Type | Method and Description |
|---|---|
WorkspaceItem |
WorkspaceItemDAOImpl.findByItem(Context context,
Item i) |
Iterator<Bitstream> |
BitstreamDAOImpl.findByItem(Context context,
Item item) |
Collection |
CollectionDAOImpl.findByTemplateItem(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
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.
|
static void |
PackageUtils.checkItemMetadata(Item item)
Test that item has adequate metadata.
|
static Bitstream |
PackageUtils.findDepositLicense(Context context,
Item item)
Utility to find the license bitstream from an item
|
protected Bitstream |
AbstractMETSDisseminator.findOriginalBitstream(Item item,
Bitstream derived)
For a bitstream that's a thumbnail or extracted text, find the
corresponding bitstream it was derived from, in the ORIGINAL bundle.
|
static Bitstream |
PackageUtils.getBitstreamByFormat(Context context,
Item item,
BitstreamFormat bsf,
String bnName)
Find bitstream by its format, looking in a specific bundle.
|
static Bitstream |
PackageUtils.getBitstreamByName(Item item,
String name)
Find bitstream by its Name, looking in all bundles.
|
static Bitstream |
PackageUtils.getBitstreamByName(Item item,
String bsName,
String bnName)
Find bitstream by its Name, looking in specific named bundle.
|
| Modifier and Type | Method and Description |
|---|---|
Item |
ItemService.create(Context context,
WorkspaceItem workspaceItem)
Create a new item, with a new internal ID.
|
Item |
ItemService.createTemplateItem(Context context,
Collection collection)
Create an empty template item for this collection.
|
Item |
InstallItemService.installItem(Context context,
InProgressSubmission is)
Take an InProgressSubmission and turn it into a fully-archived Item,
creating a new Handle.
|
Item |
InstallItemService.installItem(Context c,
InProgressSubmission is,
String suppliedHandle)
Take an InProgressSubmission and turn it into a fully-archived Item.
|
Item |
InstallItemService.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.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Item> |
ItemService.findAll(Context context)
Get all the items in the archive.
|
Iterator<Item> |
ItemService.findAllByCollection(Context context,
Collection collection)
Get all the items in this collection.
|
Iterator<Item> |
ItemService.findAllUnfiltered(Context context)
Get all "final" items in the archive, both archived ("in archive" flag) or
withdrawn items are included.
|
Iterator<Item> |
ItemService.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.
|
Iterator<Item> |
ItemService.findByCollection(Context context,
Collection collection)
Get all the items in this collection.
|
Iterator<Item> |
ItemService.findByCollection(Context context,
Collection collection,
Integer limit,
Integer offset)
Get all the items in this collection.
|
Iterator<Item> |
ItemService.findByLastModifiedSince(Context context,
Date last)
Find all Items modified since a Date.
|
Iterator<Item> |
ItemService.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
|
Iterator<Item> |
ItemService.findByMetadataFieldAuthority(Context context,
String mdString,
String authority) |
Iterator<Item> |
ItemService.findByMetadataQuery(Context context,
List<List<MetadataField>> listFieldList,
List<String> query_op,
List<String> query_val,
List<UUID> collectionUuids,
String regexClause,
int offset,
int limit) |
Iterator<Item> |
ItemService.findBySubmitter(Context context,
EPerson eperson)
Find all the items in the archive by a given submitter.
|
Iterator<Item> |
ItemService.findBySubmitterDateSorted(Context context,
EPerson eperson,
Integer limit)
Retrieve the list of items submitted by eperson, ordered by recently submitted, optionally limitable
|
Iterator<Item> |
ItemService.findInArchiveOrWithdrawnDiscoverableModifiedSince(Context context,
Date since)
Get all Items installed or withdrawn, discoverable, and modified since a Date.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ItemService.addBundle(Context context,
Item item,
Bundle bundle)
Add an existing bundle to this item.
|
void |
CollectionService.addItem(Context context,
Collection collection,
Item item)
Add an item to the collection.
|
void |
ItemService.adjustBundleBitstreamPolicies(Context context,
Item item,
Collection collection) |
void |
ItemService.adjustItemPolicies(Context context,
Item item,
Collection collection) |
boolean |
ItemService.canCreateNewVersion(Context context,
Item item)
return TRUE if context's user can create new version of the item, false
otherwise.
|
boolean |
ItemService.canEdit(Context context,
Item item)
return TRUE if context's user can edit item, false otherwise
|
Bundle |
BundleService.create(Context context,
Item item,
String name)
Create a new bundle, with a new ID and link it to the provided item
|
Bitstream |
ItemService.createSingleBitstream(Context context,
InputStream is,
Item item)
Convenience method, calls createSingleBitstream() with name "ORIGINAL"
|
Bitstream |
ItemService.createSingleBitstream(Context context,
InputStream is,
Item item,
String name)
Create a single bitstream in a new bundle.
|
WorkspaceItem |
WorkspaceItemService.findByItem(Context context,
Item item)
Check to see if a particular item is currently still in a user's Workspace.
|
Bitstream |
BitstreamService.getBitstreamByName(Item item,
String bundleName,
String bitstreamName) |
String |
InstallItemService.getBitstreamProvenanceMessage(Context context,
Item myitem)
Generate provenance-worthy description of the bitstreams contained in an
item.
|
List<Bundle> |
ItemService.getBundles(Item item,
String name)
Get the bundles matching a bundle name (name corresponds roughly to type)
|
List<Collection> |
ItemService.getCollectionsNotLinked(Context context,
Item item)
Get the collections this item is not in.
|
List<Community> |
ItemService.getCommunities(Context context,
Item item)
Get the communities this item is in.
|
Bitstream |
BitstreamService.getFirstBitstream(Item item,
String bundleName) |
Iterator<Bitstream> |
BitstreamService.getItemBitstreams(Context context,
Item item) |
List<Bitstream> |
ItemService.getNonInternalBitstreams(Context context,
Item item)
Get all non-internal bitstreams in the item.
|
Thumbnail |
ItemService.getThumbnail(Context context,
Item item,
boolean requireOriginal) |
boolean |
ItemService.hasUploadedFiles(Item item)
Check the bundle ORIGINAL to see if there are any uploaded files
|
void |
ItemService.inheritCollectionDefaultPolicies(Context context,
Item item,
Collection collection)
remove all policies on an item and its contents, and replace them with
the DEFAULT_ITEM_READ and DEFAULT_BITSTREAM_READ policies belonging to
the collection.
|
boolean |
ItemService.isIn(Item item,
Collection collection)
See whether this Item is contained by a given Collection.
|
boolean |
ItemService.isInProgressSubmission(Context context,
Item item)
Check if the supplied item is an inprogress submission
|
boolean |
ItemService.isItemListedForUser(Context context,
Item item)
Service method for knowing if this Item should be visible in the item list.
|
boolean |
ItemService.isOwningCollection(Item item,
Collection collection)
Return true if this Collection 'owns' this item
|
void |
ItemService.move(Context context,
Item item,
Collection from,
Collection to)
Moves the item from one collection to another one
|
void |
ItemService.move(Context context,
Item item,
Collection from,
Collection to,
boolean inheritDefaultPolicies)
Moves the item from one collection to another one
|
void |
ItemService.reinstate(Context context,
Item item)
Reinstate a withdrawn item
|
void |
ItemService.removeAllBundles(Context context,
Item item)
Remove all bundles linked to this item.
|
void |
ItemService.removeBundle(Context context,
Item item,
Bundle bundle)
Remove a bundle.
|
void |
ItemService.removeDSpaceLicense(Context context,
Item item)
Remove just the DSpace license from an item This is useful to update the
current DSpace license, in case the user must accept the DSpace license
again (either the item was rejected, or resumed after saving)
|
void |
ItemService.removeGroupPolicies(Context context,
Item item,
Group group)
remove all of the policies for item's bitstreams and bundles that belong
to a given Group
|
void |
CollectionService.removeItem(Context context,
Collection collection,
Item item)
Remove an item.
|
void |
ItemService.removeLicenses(Context context,
Item item)
Remove all licenses from an item - it was rejected
|
void |
ItemService.replaceAllBitstreamPolicies(Context context,
Item item,
List<ResourcePolicy> newpolicies)
remove all of the policies for item's bitstreams and bundles and replace
them with a new list of policies
|
void |
ItemService.replaceAllItemPolicies(Context context,
Item item,
List<ResourcePolicy> newpolicies)
remove all of the policies for item and replace them with a new list of
policies
|
void |
ItemService.withdraw(Context context,
Item item)
Withdraw the item from the archive.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BitstreamsIntoMetadata.addMetadata(Item item,
Bitstream bitstream,
String type)
Add the bitstream metadata to the item
|
protected int |
MetadataWebService.callService(String value,
Item item,
StringBuilder resultSb) |
protected void |
ClamScan.formatResults(Item item) |
protected String |
ClamScan.getItemHandle(Item item) |
protected String |
BasicLinkChecker.getItemHandle(Item item)
Internal utitity method to get a description of the handle
|
protected List<String> |
MetadataValueLinkChecker.getURLs(Item item) |
protected List<String> |
BasicLinkChecker.getURLs(Item item)
Get the URLs to check
|
protected void |
ProfileFormats.performItem(Item item) |
protected int |
MetadataWebService.processResponse(Document doc,
Item item,
StringBuilder resultSb) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CitationPage.addCitedPageToItem(File citedTemp,
Bundle bundle,
Bundle pBundle,
Bundle dBundle,
Map<String,Bitstream> displayMap,
Item item,
Bitstream bitstream)
A helper function for
CitationPage.performItem(Item). |
protected void |
CitationPage.performItem(Item item)
Performs task upon a single DSpace Item.
|
protected void |
AbstractCurationTask.performItem(Item item)
Performs task upon a single DSpace Item.
|
| Modifier and Type | Method and Description |
|---|---|
List<Item> |
SolrServiceImpl.getRelatedItems(Context context,
Item item,
DiscoveryMoreLikeThisConfiguration mltConfig) |
List<Item> |
SearchService.getRelatedItems(Context context,
Item item,
DiscoveryMoreLikeThisConfiguration moreLikeThisConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SolrServiceImpl.buildDocument(Context context,
Item item)
Build a Lucene document for a DSpace Item and write the index
|
static List<DiscoveryConfiguration> |
SearchUtils.getAllDiscoveryConfigurations(Item item)
Method that retrieves a list of all the configuration objects from the given item
A configuration object can be returned for each parent community/collection
|
protected List<String> |
SolrServiceImpl.getItemLocations(Context context,
Item myitem) |
List<Item> |
SolrServiceImpl.getRelatedItems(Context context,
Item item,
DiscoveryMoreLikeThisConfiguration mltConfig) |
List<Item> |
SearchService.getRelatedItems(Context context,
Item item,
DiscoveryMoreLikeThisConfiguration moreLikeThisConfiguration) |
protected void |
FullTextContentStreams.init(Item parentItem) |
| Constructor and Description |
|---|
FullTextContentStreams(Context context,
Item parentItem) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CitationDocumentServiceImpl.generateCoverPage(Context context,
org.apache.pdfbox.pdmodel.PDDocument document,
org.apache.pdfbox.pdmodel.PDPage coverPage,
Item item) |
String |
CitationDocumentServiceImpl.getAllMetadataSeparated(Item item,
String metadataKey) |
String |
CitationDocumentServiceImpl.getOwningCollection(Item item) |
String |
CitationDocumentServiceImpl.getOwningCommunity(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
String |
CitationDocumentService.getAllMetadataSeparated(Item item,
String metadataKey)
Get metadata separated by value separator (semicolon)
|
String |
CitationDocumentService.getOwningCollection(Item item)
Get name of owning collection
|
String |
CitationDocumentService.getOwningCommunity(Context context,
Item item)
Get name of owning community
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Item> |
EmbargoServiceImpl.findItemsByLiftMetadata(Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
EmbargoSetter.checkEmbargo(Context context,
Item item)
Check that embargo is properly set on Item.
|
void |
EmbargoServiceImpl.checkEmbargo(Context context,
Item item) |
void |
DefaultEmbargoSetter.checkEmbargo(Context context,
Item item)
Check that embargo is properly set on Item: no read access to bitstreams.
|
DCDate |
EmbargoServiceImpl.getEmbargoTermsAsDate(Context context,
Item item) |
List<MetadataValue> |
EmbargoServiceImpl.getLiftMetadata(Context context,
Item item) |
void |
EmbargoServiceImpl.liftEmbargo(Context context,
Item item) |
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.
|
protected static boolean |
EmbargoCLITool.processOneItem(Context context,
Item item,
org.apache.commons.cli.CommandLine line,
Date now) |
protected DCDate |
EmbargoServiceImpl.recoverEmbargoDate(Item item) |
void |
EmbargoSetter.setEmbargo(Context context,
Item item)
Enforce embargo by (for example) turning off all read access to
bitstreams in this Item.
|
void |
EmbargoServiceImpl.setEmbargo(Context context,
Item item) |
void |
DefaultEmbargoSetter.setEmbargo(Context context,
Item item)
Enforce embargo by turning off all read access to bitstreams in
this Item.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Item> |
EmbargoService.findItemsByLiftMetadata(Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
EmbargoService.checkEmbargo(Context context,
Item item) |
DCDate |
EmbargoService.getEmbargoTermsAsDate(Context context,
Item item)
Get the embargo lift date for an Item, if any.
|
List<MetadataValue> |
EmbargoService.getLiftMetadata(Context context,
Item item) |
void |
EmbargoService.liftEmbargo(Context context,
Item item)
Lift the embargo on an item which is assumed to be under embargo.
|
void |
EmbargoService.setEmbargo(Context context,
Item item)
Put an Item under embargo until the specified lift date.
|
| Modifier and Type | Method and Description |
|---|---|
Item |
HarvestedItem.getItem() |
Item |
HarvestedItemServiceImpl.getItemByOAIId(Context context,
String itemOaiID,
Collection collection) |
| Modifier and Type | Method and Description |
|---|---|
HarvestedItem |
HarvestedItemServiceImpl.create(Context context,
Item item,
String itemOAIid) |
protected String |
OAIHarvester.extractHandle(Item item)
Scan an item's metadata, looking for the value "identifier.*".
|
HarvestedItem |
HarvestedItemServiceImpl.find(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
HarvestedItem |
HarvestedItemDAO.findByItem(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
HarvestedItem |
HarvestedItemDAOImpl.findByItem(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
Item |
HarvestedItemService.getItemByOAIId(Context context,
String itemOaiID,
Collection collection)
Retrieve a DSpace Item that corresponds to this particular combination of owning collection and OAI ID.
|
| Modifier and Type | Method and Description |
|---|---|
HarvestedItem |
HarvestedItemService.create(Context context,
Item item,
String itemOAIid)
Create a new harvested item row for a specified item id.
|
HarvestedItem |
HarvestedItemService.find(Context context,
Item item)
Find the harvest parameters corresponding to the specified DSpace item
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
VersionedHandleIdentifierProviderWithCanonicalHandles.getCanonical(Context context,
Item item) |
protected void |
VersionedHandleIdentifierProviderWithCanonicalHandles.modifyHandleMetadata(Context context,
Item item,
String handle)
Remove all handles from an item's metadata and add the supplied handle instead.
|
protected void |
VersionedHandleIdentifierProvider.populateHandleMetadata(Context context,
Item item,
String handle) |
protected void |
HandleIdentifierProvider.populateHandleMetadata(Context context,
Item item,
String handle) |
protected void |
VersionedHandleIdentifierProviderWithCanonicalHandles.restoreItAsCanonical(Context context,
DSpaceObject dso,
String identifier,
Item item,
String canonical) |
protected void |
VersionedHandleIdentifierProviderWithCanonicalHandles.restoreItAsVersion(Context context,
DSpaceObject dso,
String identifier,
Item item,
String canonical,
VersionHistory history) |
protected void |
VersionedHandleIdentifierProvider.restoreItAsVersion(Context context,
Item item,
String identifier,
int versionNumber) |
| Modifier and Type | Method and Description |
|---|---|
Query |
GenerateQueryService.generateQueryForItem(Item item) |
| Modifier and Type | Method and Description |
|---|---|
Query |
GeneratePubmedQueryService.generateQueryForItem(Item item)
Create a Query object based on a given item.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ImportRecord> |
PubmedImportMetadataSourceServiceImpl.findMatchingRecords(Item item)
Finds records based on an item
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ImportRecord> |
ImportService.findMatchingRecords(String uri,
Item item)
Finds records based on an item
Delegates to one or more MetadataSource implementations based on the uri.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ImportRecord> |
MetadataSource.findMatchingRecords(Item item)
Finds records based on an item
Delegates to one or more MetadataSource implementations based on the uri.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LicenseMetadataValue.addItemValue(Context context,
Item item,
String value)
Adds passed value to the set of values for the field in passed item.
|
String |
LicenseMetadataValue.ccItemValue(Item item)
Returns first value that matches Creative Commons 'shibboleth',
or null if no matching values.
|
protected Bitstream |
CreativeCommonsServiceImpl.getBitstream(Item item,
String bitstream_name)
This helper method retrieves the bytes of a bitstream for an item under
the CC bundle, with the given bitstream name
|
protected byte[] |
CreativeCommonsServiceImpl.getBytesFromBitstream(Context context,
Item item,
String bitstream_name) |
protected Bundle |
CreativeCommonsServiceImpl.getCcBundle(Context context,
Item item) |
String |
CreativeCommonsServiceImpl.getLicenseRDF(Context context,
Item item) |
Bitstream |
CreativeCommonsServiceImpl.getLicenseRdfBitstream(Item item) |
Bitstream |
CreativeCommonsServiceImpl.getLicenseTextBitstream(Item item)
Deprecated.
|
String |
CreativeCommonsServiceImpl.getLicenseURL(Context context,
Item item) |
protected String |
CreativeCommonsServiceImpl.getStringFromBitstream(Context context,
Item item,
String bitstream_name)
This helper method wraps a String around a byte array returned from the
bitstream method further down
|
protected static void |
LicenseCleanup.handleItem(Context context,
Item item)
Process Item, correcting CC-License if encountered.
|
boolean |
CreativeCommonsServiceImpl.hasLicense(Context context,
Item item) |
String |
LicenseMetadataValue.keyedItemValue(Item item,
String key)
Returns the value that matches the value mapped to the passed key if any.
|
void |
LicenseMetadataValue.removeItemValue(Context context,
Item item,
String value)
Removes the passed value from the set of values for the field in passed item.
|
void |
CreativeCommonsServiceImpl.removeLicense(Context context,
Item item) |
void |
CreativeCommonsServiceImpl.removeLicense(Context context,
LicenseMetadataValue uriField,
LicenseMetadataValue nameField,
Item item) |
protected void |
CreativeCommonsServiceImpl.setBitstreamFromBytes(Context context,
Item item,
Bundle bundle,
String bitstream_name,
BitstreamFormat format,
byte[] bytes)
This helper method takes some bytes and stores them as a bitstream for an
item, under the CC bundle, with the given bitstream name
|
void |
CreativeCommonsServiceImpl.setLicense(Context context,
Item item,
InputStream licenseStm,
String mimeType) |
void |
CreativeCommonsServiceImpl.setLicenseRDF(Context context,
Item item,
String licenseRdf) |
| Modifier and Type | Method and Description |
|---|---|
String |
CreativeCommonsService.getLicenseRDF(Context context,
Item item) |
Bitstream |
CreativeCommonsService.getLicenseRdfBitstream(Item item)
Get Creative Commons license RDF, returning Bitstream object.
|
Bitstream |
CreativeCommonsService.getLicenseTextBitstream(Item item)
Deprecated.
to make uniform JSPUI and XMLUI approach the bitstream with the license in the textual format it is no longer stored (see https://jira.duraspace.org/browse/DS-2604)
|
String |
CreativeCommonsService.getLicenseURL(Context context,
Item item) |
boolean |
CreativeCommonsService.hasLicense(Context context,
Item item) |
void |
CreativeCommonsService.removeLicense(Context context,
Item item) |
void |
CreativeCommonsService.removeLicense(Context context,
LicenseMetadataValue uriField,
LicenseMetadataValue nameField,
Item item)
Remove license information, delete also the bitstream
|
void |
CreativeCommonsService.setLicense(Context context,
Item item,
InputStream licenseStm,
String mimeType)
Used by DSpaceMetsIngester
|
void |
CreativeCommonsService.setLicenseRDF(Context context,
Item item,
String licenseRdf)
setLicenseRDF
CC Web Service method for setting the RDF bitstream
|
| Modifier and Type | Method and Description |
|---|---|
void |
ItemHomeProcessor.process(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Item item)
execute the process
|
| Modifier and Type | Method and Description |
|---|---|
com.hp.hpl.jena.rdf.model.Model |
SimpleDSORelationsConverterPlugin.convertItem(Context context,
Item item) |
| Modifier and Type | Field and Description |
|---|---|
Item |
HarvestedItemInfo.item
The item.
|
| Modifier and Type | Method and Description |
|---|---|
long |
StatisticsBSAdapter.getNumberOfVisits(int visitType,
Item item)
Returns the number of visits for the item.
|
| Modifier and Type | Method and Description |
|---|---|
static LookupProvidersCheck |
SubmissionLookupUtils.getProvidersCheck(Context context,
Item item,
String dcSchema,
String dcElement,
String dcQualifier) |
void |
DSpaceWorkspaceItemOutputGenerator.merge(String formName,
Item item,
gr.ekt.bte.core.Record record) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
UploadStep.backoutBitstream(Context context,
SubmissionInfo subInfo,
Bitstream b,
Item item) |
protected int |
UploadStep.processRemoveFile(Context context,
Item item,
UUID bitstreamID)
Remove a file from an item
|
protected void |
DescribeStep.readDate(Context context,
javax.servlet.http.HttpServletRequest request,
Item item,
String schema,
String element,
String qualifier)
Fill out a metadata date field with the value from a form.
|
protected void |
DescribeStep.readNames(Context context,
javax.servlet.http.HttpServletRequest request,
Item item,
String schema,
String element,
String qualifier,
boolean repeated)
Set relevant metadata fields in an item from name values in the form.
|
protected void |
DescribeStep.readSeriesNumbers(Context context,
javax.servlet.http.HttpServletRequest request,
Item item,
String schema,
String element,
String qualifier,
boolean repeated)
Set relevant metadata fields in an item from series/number values in the
form.
|
protected void |
DescribeStep.readText(Context context,
javax.servlet.http.HttpServletRequest request,
Item item,
String schema,
String element,
String qualifier,
boolean repeated,
String lang,
boolean hasLanguageTag)
Fill out an item's metadata values from a plain standard text field.
|
| Constructor and Description |
|---|
UsageWorkflowEvent(Context context,
Item item,
InProgressSubmission workflowItem,
String workflowStep,
String oldState,
Collection scope,
EPerson actor) |
| Modifier and Type | Method and Description |
|---|---|
Item |
ItemVersionProvider.createNewItemAndAddItInWorkspace(Context c,
Item item) |
Item |
DefaultItemVersionProvider.createNewItemAndAddItInWorkspace(Context context,
Item nativeItem) |
Item |
Version.getItem() |
Item |
ItemVersionProvider.updateItemState(Context c,
Item itemNew,
Item previousItem) |
Item |
DefaultItemVersionProvider.updateItemState(Context c,
Item itemNew,
Item previousItem) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractVersionProvider.copyMetadata(Context context,
Item itemNew,
Item nativeItem) |
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,
Item item)
Service Methods
|
Version |
VersioningServiceImpl.createNewVersion(Context c,
Item item,
String summary) |
Version |
VersioningServiceImpl.createNewVersion(Context context,
VersionHistory history,
Item item,
String summary,
Date date,
int versionNumber) |
protected Version |
VersioningServiceImpl.createVersion(Context c,
VersionHistory vh,
Item item,
String summary,
Date date) |
VersionHistory |
VersionHistoryServiceImpl.findByItem(Context context,
Item item) |
Version |
VersioningServiceImpl.getVersion(Context c,
Item item) |
Version |
VersionHistoryServiceImpl.getVersion(Context context,
VersionHistory versionHistory,
Item item) |
boolean |
VersionHistoryServiceImpl.hasNext(Context context,
VersionHistory versionHistory,
Item item) |
boolean |
VersionHistoryServiceImpl.hasVersionHistory(Context context,
Item item) |
boolean |
VersionHistoryServiceImpl.isFirstVersion(Context context,
Item item) |
boolean |
VersionHistoryServiceImpl.isLastVersion(Context context,
Item item) |
void |
VersioningServiceImpl.removeVersion(Context c,
Item item) |
void |
Version.setItem(Item item) |
Item |
ItemVersionProvider.updateItemState(Context c,
Item itemNew,
Item previousItem) |
Item |
DefaultItemVersionProvider.updateItemState(Context c,
Item itemNew,
Item previousItem) |
Version |
VersioningServiceImpl.updateVersion(Context c,
Item item,
String summary) |
| Modifier and Type | Method and Description |
|---|---|
VersionHistory |
VersionHistoryDAO.findByItem(Context context,
Item item) |
Version |
VersionDAO.findByItem(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
VersionHistory |
VersionHistoryDAOImpl.findByItem(Context context,
Item item) |
Version |
VersionDAOImpl.findByItem(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
Version |
VersioningService.createNewVersion(Context c,
Item itemId) |
Version |
VersioningService.createNewVersion(Context c,
Item itemId,
String summary) |
Version |
VersioningService.createNewVersion(Context context,
VersionHistory history,
Item item,
String summary,
Date date,
int versionNumber) |
VersionHistory |
VersionHistoryService.findByItem(Context context,
Item item) |
Version |
VersioningService.getVersion(Context c,
Item item) |
Version |
VersionHistoryService.getVersion(Context context,
VersionHistory versionHistory,
Item item) |
boolean |
VersionHistoryService.hasNext(Context context,
VersionHistory versionHistory,
Item item) |
boolean |
VersionHistoryService.hasVersionHistory(Context context,
Item item) |
boolean |
VersionHistoryService.isFirstVersion(Context context,
Item item) |
boolean |
VersionHistoryService.isLastVersion(Context context,
Item item) |
void |
VersioningService.removeVersion(Context c,
Item item) |
Version |
VersioningService.updateVersion(Context c,
Item itemId,
String summary) |
| Modifier and Type | Method and Description |
|---|---|
T |
WorkflowItemService.create(Context context,
Item item,
Collection collection) |
T |
WorkflowItemService.findByItem(Context context,
Item item)
Check to see if a particular item is currently under Workflow.
|
| Modifier and Type | Method and Description |
|---|---|
protected Item |
BasicWorkflowServiceImpl.archive(Context context,
BasicWorkflowItem workflowItem)
Commit the contained item to the main archive.
|
Item |
BasicWorkflowItem.getItem() |
| Modifier and Type | Method and Description |
|---|---|
BasicWorkflowItem |
BasicWorkflowItemServiceImpl.create(Context context,
Item item,
Collection collection) |
BasicWorkflowItem |
BasicWorkflowItemServiceImpl.findByItem(Context context,
Item item) |
protected void |
BasicWorkflowServiceImpl.logWorkflowEvent(Context context,
Item item,
BasicWorkflowItem workflowItem,
EPerson actor,
int newstate,
EPerson newOwner,
Collection mycollection,
int oldState,
Group newOwnerGroup) |
protected void |
BasicWorkflowServiceImpl.notifyOfArchive(Context context,
Item item,
Collection coll)
notify the submitter that the item is archived
|
protected void |
BasicWorkflowServiceImpl.recordStart(Context context,
Item myitem) |
protected void |
BasicWorkflowServiceImpl.revokeReviewerPolicies(Context context,
Item item)
This methods revokes any permission granted by the basic workflow systems
on the item specified as attribute.
|
| Modifier and Type | Method and Description |
|---|---|
BasicWorkflowItem |
BasicWorkflowItemDAO.findByItem(Context context,
Item i) |
| Modifier and Type | Method and Description |
|---|---|
BasicWorkflowItem |
BasicWorkflowItemDAOImpl.findByItem(Context context,
Item i) |
| Modifier and Type | Method and Description |
|---|---|
protected Item |
XmlWorkflowServiceImpl.archive(Context context,
XmlWorkflowItem wfi)
Commit the contained item to the main archive.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
XmlWorkflowServiceImpl.addGroupPolicyToItem(Context context,
Item item,
int type,
Group group) |
protected void |
XmlWorkflowServiceImpl.addPolicyToItem(Context context,
Item item,
int type,
EPerson epa) |
protected void |
XmlWorkflowServiceImpl.grantGroupAllItemPolicies(Context context,
Item item,
Group group) |
protected void |
XmlWorkflowServiceImpl.grantSubmitterReadPolicies(Context context,
Item item) |
void |
XmlWorkflowServiceImpl.grantUserAllItemPolicies(Context context,
Item item,
EPerson epa) |
protected void |
XmlWorkflowServiceImpl.notifyOfArchive(Context context,
Item item,
Collection coll)
notify the submitter that the item is archived
|
protected void |
XmlWorkflowServiceImpl.recordStart(Context context,
Item myitem,
Action action) |
protected void |
XmlWorkflowServiceImpl.removeGroupItemPolicies(Context context,
Item item,
Group e) |
void |
XmlWorkflowServiceImpl.removeUserItemPolicies(Context context,
Item item,
EPerson e) |
| Modifier and Type | Method and Description |
|---|---|
void |
XmlWorkflowService.grantUserAllItemPolicies(Context context,
Item item,
EPerson epa) |
void |
XmlWorkflowService.removeUserItemPolicies(Context context,
Item item,
EPerson e) |
| Modifier and Type | Method and Description |
|---|---|
Item |
XmlWorkflowItem.getItem() |
| Modifier and Type | Method and Description |
|---|---|
XmlWorkflowItem |
XmlWorkflowItemServiceImpl.create(Context context,
Item item,
Collection collection) |
XmlWorkflowItem |
XmlWorkflowItemServiceImpl.findByItem(Context context,
Item item) |
void |
XmlWorkflowItem.setItem(Item item) |
| Modifier and Type | Method and Description |
|---|---|
XmlWorkflowItem |
XmlWorkflowItemDAO.findByItem(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
XmlWorkflowItem |
XmlWorkflowItemDAOImpl.findByItem(Context context,
Item item) |
Copyright © 2017 DuraSpace. All rights reserved.