Uses of Class
org.dspace.core.Context
Packages that use Context
Package
Description
Access status allows the users to view the bitstreams availability before
browsing into the item itself.
Provides classes and methods for administrative functions that fall outside
the regular use of other subsystems.
The DSpace Batch Metadata Editor, which uses a CSV file to export/import
item metadata.
Tools for exporting and importing DSpace objects (Community, Collection,
Item, etc.) wrapped in various kinds of packaging.
Feature for conveying a request that materials forbidden to the requester
by resource policy be made available by other means.
Defines usage event instrumentation points and provides implementations for
testing.
Miscellaneous utility classes.
End-user authentication manager, interface and implementations.
Represents permissions for access to DSpace content.
Provides classes and methods for browsing Items in DSpace by whatever
is specified in the configuration.
Provides content fixity checking (using checksums)
for bitstreams stored in DSpace software.
Database access for the Checksum Checker tool, which looks for unexpected
changes in Bitstream content.
Provides an API for reading and manipulating content in the DSpace system.
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.
Provides an API and implementations of content packages, used in the context of ingest (SIP), or dissemination (DIP)
Provides some basic functionality required throughout the DSpace system.
In DSpace, "curation" refers to the application of one or more "tasks" to one
or more model objects.
Embargo allows the deposit of Items whose content should not be made visible
until later.
Provides classes representing e-people and groups of e-people.
Actions which alter DSpace model objects can queue
Events, which
are presented to Consumers by a Dispatcher.Provides classes and methods to interface with the
CNRI Handle System.
Providers of durable unique identifiers (Handles, DOIs, etc.).
Make requests to the DOI registration agencies and analyze the responses.
Interface to the Lucene search engine, and the 'harvest' API for retrieving items modified within a given date range.
Facilities for detecting and storing both model and usage events, and for
querying the store.
Mostly classes for dealing with detection of spiders, and command line tools.
Provides an API for storing, retrieving and deleting streams of bits in
a transactionally safe fashion.
Capture of "usage events".
Generally useful classes, not particularly tied to any other package.
DSpace has a simple workflow system, which models the workflows
as named steps: SUBMIT, arbitrary named steps that you define, and ARCHIVE.
An Item submission begins as a
WorkspaceItem in some user's workspace.A workflow consists of a sequence of steps.
An
Action changes the state of an object in a workflow.The state of an item in a workflow is persisted in a number of objects.
-
Uses of Context in org.dspace.access.status
Methods in org.dspace.access.status with parameters of type ContextModifier and TypeMethodDescriptionAccessStatusServiceImpl.getAccessStatus(Context context, Bitstream bitstream) AccessStatusServiceImpl.getAccessStatus(Context context, Item item) AccessStatusHelper.getAccessStatusFromBitstream(Context context, Bitstream bitstream, LocalDate threshold, String type) Calculate the access status for the bitstream.DefaultAccessStatusHelper.getAccessStatusFromBitstream(Context context, Bitstream bitstream, LocalDate threshold, String type) Look at the bitstream policies to determine an access status value.AccessStatusHelper.getAccessStatusFromItem(Context context, Item item, LocalDate threshold, String type) Calculate the access status for the item.DefaultAccessStatusHelper.getAccessStatusFromItem(Context context, Item item, LocalDate threshold, String type) Look at the item's primary or first bitstream policies to determine an access status value.AccessStatusServiceImpl.getAnonymousAccessStatus(Context context, Item item) AccessStatusHelper.getAnonymousAccessStatusFromItem(Context context, Item item, LocalDate threshold) Calculate the anonymous access status for the item.DefaultAccessStatusHelper.getAnonymousAccessStatusFromItem(Context context, Item item, LocalDate threshold) Look at the anonymous policies of the primary (or first) bitstream of the item to retrieve its embargo. -
Uses of Context in org.dspace.access.status.service
Methods in org.dspace.access.status.service with parameters of type ContextModifier and TypeMethodDescriptionAccessStatusService.getAccessStatus(Context context, Bitstream bitstream) Calculate the access status for a bitstream while considering the forever embargo date threshold.AccessStatusService.getAccessStatus(Context context, Item item) Calculate the access status for an Item while considering the forever embargo date threshold.AccessStatusService.getAnonymousAccessStatus(Context context, Item item) Calculate the anonymous access status for an Item while considering the forever embargo date threshold. -
Uses of Context in org.dspace.administer
Methods in org.dspace.administer with parameters of type ContextModifier and TypeMethodDescriptionvoidvoidstatic voidRegistryLoader.loadBitstreamFormats(Context context, String filename) Load Bitstream Format metadataprotected CommunityCommunityFiliator.resolveCommunity(Context c, String communityID) Find a community by IDstatic voidMetadataExporter.saveSchema(Context context, Document document, String schema) Compose the schema registry. -
Uses of Context in org.dspace.alerts
Methods in org.dspace.alerts with parameters of type ContextModifier and TypeMethodDescriptionbooleanSystemWideAlertServiceImpl.canNonAdminUserLogin(Context context) booleanSystemWideAlertServiceImpl.canUserMaintainSession(Context context, EPerson ePerson) SystemWideAlertServiceImpl.create(Context context, String message, AllowSessionsEnum allowSessionsType, ZonedDateTime countdownTo, boolean active) voidSystemWideAlertServiceImpl.delete(Context context, SystemWideAlert systemWideAlert) SystemWideAlertServiceImpl.findAllActive(Context context, int limit, int offset) voidSystemWideAlertServiceImpl.update(Context context, SystemWideAlert systemWideAlert) -
Uses of Context in org.dspace.alerts.dao
Methods in org.dspace.alerts.dao with parameters of type ContextModifier and TypeMethodDescriptionReturns a list of all SystemWideAlert objects in the databaseSystemWideAlertDAO.findAllActive(Context context, int limit, int offset) Returns a list of all active SystemWideAlert objects in the database -
Uses of Context in org.dspace.alerts.dao.impl
Methods in org.dspace.alerts.dao.impl with parameters of type ContextModifier and TypeMethodDescriptionSystemWideAlertDAOImpl.findAllActive(Context context, int limit, int offset) -
Uses of Context in org.dspace.alerts.service
Methods in org.dspace.alerts.service with parameters of type ContextModifier and TypeMethodDescriptionbooleanSystemWideAlertService.canNonAdminUserLogin(Context context) Verifies if a non admin user can log inbooleanSystemWideAlertService.canUserMaintainSession(Context context, EPerson ePerson) Verifies if the user connected to the current context can retain its sessionSystemWideAlertService.create(Context context, String message, AllowSessionsEnum allowSessionsType, ZonedDateTime countdownTo, boolean active) This method will create a SystemWideAlert object in the databasevoidSystemWideAlertService.delete(Context context, SystemWideAlert systemWideAlert) This method will delete the given SystemWideAlert object from the databaseThis method will retrieve a SystemWideAlert object from the Database with the given IDReturns a list of all SystemWideAlert objects in the databaseReturns a list of all SystemWideAlert objects in the databaseSystemWideAlertService.findAllActive(Context context, int limit, int offset) Returns a list of all active SystemWideAlert objects in the databasevoidSystemWideAlertService.update(Context context, SystemWideAlert systemWideAlert) This method will be used to update the given SystemWideAlert object in the database -
Uses of Context in org.dspace.app.bulkaccesscontrol
Methods in org.dspace.app.bulkaccesscontrol with parameters of type ContextModifier and TypeMethodDescriptionbooleanBulkAccessControlScriptConfiguration.isAllowedToExecute(Context context, List<DSpaceCommandLineParameter> commandLineParameters) protected booleanBulkAccessControl.isAuthorized(Context context) protected booleanBulkAccessControlCli.isAuthorized(Context context) protected voidBulkAccessControl.setEPerson(Context context) Set the eperson in the contextprotected voidBulkAccessControlCli.setEPerson(Context context) -
Uses of Context in org.dspace.app.bulkedit
Methods in org.dspace.app.bulkedit with parameters of type ContextModifier and TypeMethodDescriptionprotected voidMetadataImport.add(Context c, String[] fromCSV, String md, BulkEditChange changes) Add an item metadata with a line from CSV, and optionally update the itemprotected voidMetadataImport.assignCurrentUserInContext(Context context) protected voidMetadataImportCLI.assignCurrentUserInContext(Context context) protected voidMetadataImport.compare(Context c, 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 fileprotected voidMetadataImport.compareAndUpdate(Context c, 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.protected BulkEditMetadataValueMetadataImport.getBulkEditValueFromCSV(Context c, String language, String schema, String element, String qualifier, String value, AuthorityValue fromAuthority) MetadataImport.resolveEntityRefs(Context c, DSpaceCSVLine line) Gets a copy of the given csv line with all entity target references resolved to UUID strings.MetadataExportSearch.resolveScope(Context context, String id) MetadataImport.runImport(Context c, boolean change, boolean useWorkflow, boolean workflowNotify, boolean useTemplate) Run an import.Constructors in org.dspace.app.bulkedit with parameters of type ContextModifierConstructorDescriptionDSpaceCSV(InputStream inputStream, Context c) Create a new instance, reading the lines in from file -
Uses of Context in org.dspace.app.harvest
Fields in org.dspace.app.harvest declared as Context -
Uses of Context in org.dspace.app.itemexport
Methods in org.dspace.app.itemexport with parameters of type ContextModifier and TypeMethodDescriptionbooleanItemExportServiceImpl.canDownload(Context context, String fileName) voidItemExportServiceImpl.createDownloadableExport(List<DSpaceObject> dsObjects, Context context, boolean migrate) voidItemExportServiceImpl.createDownloadableExport(List<DSpaceObject> dsObjects, Context context, String additionalEmail, boolean migrate) voidItemExportServiceImpl.createDownloadableExport(DSpaceObject dso, Context context, boolean migrate) voidItemExportServiceImpl.createDownloadableExport(DSpaceObject dso, Context context, String additionalEmail, boolean migrate) voidItemExportServiceImpl.emailSuccessMessage(Context context, EPerson eperson, String fileName) voidItemExportServiceImpl.exportAsZip(Context context, Iterator<Item> items, String destDirName, String zipFileName, int seqStart, boolean migrate, boolean excludeBitstreams) voidItemExportServiceImpl.exportItem(Context c, Iterator<Item> i, String destDirName, int seqStart, boolean migrate, boolean excludeBitstreams) protected voidItemExportServiceImpl.exportItem(Context c, Item myItem, String destDirName, int seqStart, boolean migrate, boolean excludeBitstreams) protected EPersonItemExportServiceImpl.getEPersonFromString(Context context, String strID) Attempt to find an EPerson based on string IDlongItemExportServiceImpl.getExportFileLastModified(Context context, String fileName) longItemExportServiceImpl.getExportFileSize(Context context, String fileName) protected voidItemExport.process(Context context, ItemExportService itemExportService) Process the exportprotected voidItemExportCLI.process(Context context, ItemExportService itemExportService) protected voidItemExportServiceImpl.processDownloadableExport(List<DSpaceObject> dsObjects, Context context, String additionalEmail, boolean toMigrate) Does the work creating a List with all the Items in the Community or Collection It then kicks off a new Thread to export the items, zip the export directory and send confirmation emailprotected voidItemExport.setDestDirName(Context context, ItemExportService itemExportService) Set the destination directory optionprotected voidSet the zip optionprotected voidprotected voidItemExportServiceImpl.writeBitstreams(Context c, Item i, File destDir, boolean excludeBitstreams) Create both the bitstreams and the contents file.protected voidItemExportServiceImpl.writeHandle(Context c, Item i, File destDir) create the file 'handle' which contains the handle assigned to the itemprotected voidItemExportServiceImpl.writeMetadata(Context c, String schema, Item i, File destDir, boolean migrate) output the item's dublin core into the item directoryprotected voidItemExportServiceImpl.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. -
Uses of Context in org.dspace.app.itemexport.service
Methods in org.dspace.app.itemexport.service with parameters of type ContextModifier and TypeMethodDescriptionbooleanItemExportService.canDownload(Context context, String fileName) The file name of the export archive contains the eperson id of the person who created it When requested for download this method can check if the person requesting it is the same one that created itvoidItemExportService.createDownloadableExport(List<DSpaceObject> dsObjects, Context context, boolean migrate) Convenience method to export a List of dspace objects (Community, Collection or Item)voidItemExportService.createDownloadableExport(List<DSpaceObject> dsObjects, Context context, String additionalEmail, boolean migrate) Convenience method to export a List of dspace objects (Community, Collection or Item)voidItemExportService.createDownloadableExport(DSpaceObject dso, Context context, boolean migrate) Convenience method to create export a single Community, Collection, or ItemvoidItemExportService.createDownloadableExport(DSpaceObject dso, Context context, String additionalEmail, boolean migrate) Convenience method to create export a single Community, Collection, or ItemvoidItemExportService.emailSuccessMessage(Context context, EPerson eperson, String fileName) Since the archive is created in a new thread we are unable to communicate with calling method about success or failure.voidItemExportService.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.voidItemExportService.exportItem(Context c, Iterator<Item> i, String destDirName, int seqStart, boolean migrate, boolean excludeBitstreams) longItemExportService.getExportFileLastModified(Context context, String fileName) Get the last modified date of the export archive represented by the file name.longItemExportService.getExportFileSize(Context context, String fileName) Get the file size of the export archive represented by the file name. -
Uses of Context in org.dspace.app.itemimport
Methods in org.dspace.app.itemimport with parameters of type ContextModifier and TypeMethodDescriptionprotected voidItemImportServiceImpl.addDCValue(Context c, Item i, String schema, Node n) protected ItemItemImportServiceImpl.addItem(Context c, List<Collection> mycollections, String path, String itemname, PrintWriter mapOut, boolean template) item?voidItemImportServiceImpl.addItems(Context c, List<Collection> mycollections, String sourceDir, String mapFile, boolean template) voidItemImportServiceImpl.addItemsAtomic(Context c, List<Collection> mycollections, String sourceDir, String mapFile, boolean template) protected voidItemImportServiceImpl.addRelationship(Context c, Item item, Item relationItem, String relationshipType) Add relationship.protected voidItemImportServiceImpl.addRelationships(Context c, String sourceDir) Add relationships from a 'relationships' manifest file.voidItemImportServiceImpl.deleteBatchUpload(Context c, String uploadId) protected voidItemImportServiceImpl.deleteItem(Context c, String myhandle) protected voidItemImportServiceImpl.deleteItem(Context c, Item myitem) voidItemImportServiceImpl.deleteItems(Context c, String mapFile) voidItemImportServiceImpl.emailSuccessMessage(Context context, EPerson eperson, String fileName) protected ItemItemImportServiceImpl.findItemByMetaValue(Context c, String metaKey, String metaValue) Lookup an item by a (unique) meta value.protected voidItemImportServiceImpl.loadDublinCore(Context c, Item myitem, String filename) protected voidItemImportServiceImpl.loadMetadata(Context c, Item myitem, String path) protected voidItemImport.process(Context context, ItemImportService itemImportService, List<Collection> collections) Process the importprotected voidItemImportCLI.process(Context context, ItemImportService itemImportService, List<Collection> collections) protected List<Collection>ItemImportServiceImpl.processCollectionFile(Context c, String path, String filename) Read the collections file inside the item directory.protected voidItemImportServiceImpl.processContentFileEntry(Context c, Item i, String path, String fileName, String bundleName, boolean primary) each entry represents a bitstream....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 permissionprotected StringItemImportServiceImpl.processHandleFile(Context c, Item i, String path, String filename) Read in the handle file contents or return null if empty or doesn't existprotected voidItemImportServiceImpl.processOptions(Context c, Item myItem, List<String> options) Process the Options to apply to the Item.voidItemImportServiceImpl.processUIImport(String filepath, Collection owningCollection, String[] otherCollections, String resumeDir, String inputType, Context context, boolean template) Given a local file or public URL to a zip file that has the Simple Archive Format, this method imports the contents to DSpaceprotected voidItemImport.readMapfile(Context context) Read the mapfileprotected voidItemImport.readZip(Context context, ItemImportService itemImportService) Read the ZIP archive in SAF formatprotected voidItemImportCLI.readZip(Context context, ItemImportService itemImportService) protected voidItemImportServiceImpl.registerBitstream(Context c, Item i, int assetstore, String bitstreamPath, String bundleName, String description) Register the bitstream file into DSpacevoidItemImportServiceImpl.replaceItems(Context c, List<Collection> mycollections, String sourceDir, String mapFile, boolean template) protected ItemItemImportServiceImpl.resolveItem(Context c, String itemIdentifier) Resolve an item identifier.protected ItemItemImportServiceImpl.resolveRelatedItem(Context c, String itemIdentifier) Resolve an item identifier referred to in the relationships manifest file.protected voidItemImport.setEPerson(Context context) Set the eperson in the contextprotected voidItemImportCLI.setEPerson(Context context) protected voidItemImportServiceImpl.setPermission(Context c, Group g, String rpType, int actionID, Bitstream bs) Set the Permission on a Bitstream.protected voidValidate the optionsprotected void -
Uses of Context in org.dspace.app.itemimport.service
Methods in org.dspace.app.itemimport.service with parameters of type ContextModifier and TypeMethodDescriptionvoidItemImportService.addItems(Context c, List<Collection> mycollections, String sourceDir, String mapFile, boolean template) Add itemsvoidItemImportService.addItemsAtomic(Context c, List<Collection> mycollections, String sourceDir, String mapFile, boolean template) voidItemImportService.deleteBatchUpload(Context c, String uploadId) Delete a batch by IDvoidItemImportService.deleteItems(Context c, String mapfile) Delete items via mapfilevoidItemImportService.emailSuccessMessage(Context context, EPerson eperson, String fileName) If a batch import is done in a new thread we are unable to communicate with calling method about success or failure.voidItemImportService.processUIImport(String url, Collection owningCollection, String[] collections, String resumeDir, String inputType, Context context, boolean template) Given a public URL to a zip file that has the Simple Archive Format, this method imports the contents to DSpacevoidItemImportService.replaceItems(Context c, List<Collection> mycollections, String sourcedir, String mapfile, boolean template) Replace items -
Uses of Context in org.dspace.app.itemmarking
Methods in org.dspace.app.itemmarking with parameters of type ContextModifier and TypeMethodDescriptionItemMarkingAvailabilityBitstreamStrategy.getItemMarkingInfo(Context context, Item item) ItemMarkingCollectionStrategy.getItemMarkingInfo(Context context, Item item) ItemMarkingExtractor.getItemMarkingInfo(Context context, Item item) ItemMarkingMetadataStrategy.getItemMarkingInfo(Context context, Item item) -
Uses of Context in org.dspace.app.itemupdate
Methods in org.dspace.app.itemupdate with parameters of type ContextModifier and TypeMethodDescriptionprotected StringAddBitstreamsAction.addBitstream(Context context, ItemArchive itarch, Item item, File dir, ContentsEntry ce, boolean suppressUndo, boolean isTest) Add bitstreamstatic voidMetadataUtilities.appendMetadata(Context context, Item item, org.dspace.app.itemupdate.DtoMetadata dtom, boolean isLanguageStrict, String textToAppend) Append text to value metadata field to itemstatic ItemArchivefactory method Minimal requirements for dublin_core.xml for this application is the presence of dc.identifier.uri which must contain the handle for the itemstatic booleanMetadataUtilities.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. delete) all of these DCValues add them back, minus the one to actually deletevoidAddBitstreamsAction.execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo) Adds bitstreams from the archive as listed in the contents file.voidAddMetadataAction.execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo) Adds metadata specified in the source archivevoidDeleteBitstreamsAction.execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo) Delete bitstream from itemvoidDeleteBitstreamsByFilterAction.execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo) Delete bitstreamvoidDeleteMetadataAction.execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo) Delete metadata from itemvoidUpdateAction.execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo) Action to update itemprotected voidItemUpdate.processArchive(Context context, String sourceDirPath, String itemField, String metadataIndexName, boolean alterProvenance, boolean isTest) process an archiveprotected voidItemUpdate.setEPerson(Context context, String eperson) Set EPerson doing import -
Uses of Context in org.dspace.app.ldn
Methods in org.dspace.app.ldn with parameters of type Context -
Uses of Context in org.dspace.app.ldn.action
Methods in org.dspace.app.ldn.action with parameters of type ContextModifier and TypeMethodDescriptionLDNAction.execute(Context context, Notification notification, Item item) Execute action for provided notification and item corresponding to the notification context.LDNCorrectionAction.execute(Context context, Notification notification, Item item) LDNEmailAction.execute(Context context, Notification notification, Item item) Execute sending an email.LDNRelationCorrectionAction.execute(Context context, Notification notification, Item item) SendLDNMessageAction.execute(Context context, Notification notification, Item item) -
Uses of Context in org.dspace.app.ldn.dao
Methods in org.dspace.app.ldn.dao with parameters of type ContextModifier and TypeMethodDescriptionLDNMessageDao.findAllMessagesByItem(Context context, Item item, String... activities) find all ldn messages related to an itemLDNMessageDao.findAllRelatedMessagesByItem(Context context, LDNMessageEntity msg, Item item, String... relatedTypes) find all ldn messages related to an item and to a specific ldn messageNotifyServiceInboundPatternDao.findAutomaticPatterns(Context context) find all automatic notifyServiceInboundPatternsNotifyPatternToTriggerDao.findByItem(Context context, Item item) find the NotifyPatternToTrigger matched with the provided itemNotifyPatternToTriggerDao.findByItemAndPattern(Context context, Item item, String pattern) find the NotifyPatternToTrigger matched with the provided item and patternNotifyServiceDao.findByLdnUrl(Context context, String ldnUrl) find the NotifyServiceEntity matched with the provided ldnUrlNotifyServiceInboundPatternDao.findByServiceAndPattern(Context context, NotifyServiceEntity notifyServiceEntity, String pattern) find all notifyServiceInboundPatterns matched with the provided notifyServiceEntity and patternNotifyServiceDao.findManualServicesByInboundPattern(Context context, String pattern) find all NotifyServiceEntity matched the provided inbound pattern from the related notifyServiceInboundPatterns also with 'automatic' equals to falseLDNMessageDao.findMessagesToBeReprocessed(Context context) LDNMessageDao.findOldestMessageToProcess(Context context, int max_attempts) load the oldest ldn messages considering theirLDNMessageEntity.queueLastStartTimeLDNMessageDao.findProcessingTimedoutMessages(Context context, int max_attempts) find ldn message entties in processing status and already timed out. -
Uses of Context in org.dspace.app.ldn.dao.impl
Methods in org.dspace.app.ldn.dao.impl with parameters of type ContextModifier and TypeMethodDescriptionLDNMessageDaoImpl.findAllMessagesByItem(Context context, Item item, String... activities) LDNMessageDaoImpl.findAllRelatedMessagesByItem(Context context, LDNMessageEntity msg, Item item, String... relatedTypes) NotifyServiceInboundPatternDaoImpl.findAutomaticPatterns(Context context) NotifyPatternToTriggerDaoImpl.findByItem(Context context, Item item) NotifyPatternToTriggerDaoImpl.findByItemAndPattern(Context context, Item item, String pattern) NotifyServiceDaoImpl.findByLdnUrl(Context context, String ldnUrl) NotifyServiceInboundPatternDaoImpl.findByServiceAndPattern(Context context, NotifyServiceEntity notifyServiceEntity, String pattern) NotifyServiceDaoImpl.findManualServicesByInboundPattern(Context context, String pattern) LDNMessageDaoImpl.findMessagesToBeReprocessed(Context context) LDNMessageDaoImpl.findOldestMessageToProcess(Context context, int max_attempts) LDNMessageDaoImpl.findProcessingTimedoutMessages(Context context, int max_attempts) -
Uses of Context in org.dspace.app.ldn.processor
Methods in org.dspace.app.ldn.processor with parameters of type ContextModifier and TypeMethodDescriptionvoidLDNMetadataProcessor.process(Context context, Notification notification) Process notification by repeating over context, processing each context notification, and running actions post processing.voidLDNProcessor.process(Context context, Notification notification) Process received notification. -
Uses of Context in org.dspace.app.ldn.service
Methods in org.dspace.app.ldn.service with parameters of type ContextModifier and TypeMethodDescriptionintLDNMessageService.checkQueueMessageTimeout(Context context) Find all messages in the queue with the Processing status but timed-out and modify their queue_status considering the queue_attemptsCreates a new LDNMessageLDNMessageService.create(Context context, Notification notification, String sourceIp) Creates a new LDNMessagecreate new notifyPatternToTriggercreate new notifyServiceEntityNotifyServiceInboundPatternService.create(Context context, NotifyServiceEntity notifyServiceEntity) create new notifyServiceInboundPatternvoidLDNMessageService.delete(Context context, LDNMessageEntity ldnMessage) delete the provided ldn messagevoidNotifyPatternToTriggerService.delete(Context context, NotifyPatternToTrigger notifyPatternToTrigger) delete the provided notifyPatternToTriggervoidNotifyService.delete(Context context, NotifyServiceEntity notifyServiceEntity) delete the provided notifyServiceEntityvoidNotifyServiceInboundPatternService.delete(Context context, NotifyServiceInboundPattern inboundPattern) delete the provided notifyServiceInboundPatternintLDNMessageService.extractAndProcessMessageFromQueue(Context context) Elaborates the oldest enqueued messagefind the ldn message by idfind one NotifyServiceEntity by idfind all ldn messagesfind all notify patterns to be triggeredfind all notify service entitiesNotifyServiceInboundPatternService.findAutomaticPatterns(Context context) find all automatic notifyServiceInboundPatternsNotifyPatternToTriggerService.findByItem(Context context, Item item) find list of Notify Patterns To be Triggered by itemNotifyPatternToTriggerService.findByItemAndPattern(Context context, Item item, String pattern) find list of Notify Patterns To be Triggered by item and patternNotifyService.findByLdnUrl(Context context, String ldnUrl) find the NotifyServiceEntity matched with the provided ldnUrlNotifyServiceInboundPatternService.findByServiceAndPattern(Context context, NotifyServiceEntity notifyServiceEntity, String pattern) find all notifyServiceInboundPatterns matched with the provided notifyServiceEntity and patternLDNMessageService.findEndorsementOrReviewResubmissionIdByItem(Context context, Item item, NotifyServiceEntity service) find the UUID of a previous tentativeReject notification associated with a new resubmission (Endorsement or Review patterns only)NotifyService.findManualServicesByInboundPattern(Context context, String pattern) find all NotifyServiceEntity matched the provided inbound pattern from its related notifyServiceInboundPatterns also with 'automatic' equals to falseLDNMessageService.findMessagesToBeReprocessed(Context context) find the ldn messages to be reprocessedLDNMessageService.findNotifyService(Context context, Service service) find the related notify service entityLDNMessageService.findOldestMessagesToProcess(Context context) Find the oldest queued LDNMessages that still can be elaboratedLDNMessageService.findProcessingTimedoutMessages(Context context) Find all messages in the queue with the Processing status but timed-outLDNMessageService.findRequestsByItem(Context context, Item item) find the ldn messages of Requests by item uuidvoidLDNMessageService.update(Context context, LDNMessageEntity ldnMessage) Update the provided LDNMessagevoidNotifyPatternToTriggerService.update(Context context, NotifyPatternToTrigger notifyPatternToTrigger) update the provided notifyPatternToTriggervoidNotifyService.update(Context context, NotifyServiceEntity notifyServiceEntity) update the provided notifyServiceEntityvoidNotifyServiceInboundPatternService.update(Context context, NotifyServiceInboundPattern inboundPattern) update the provided notifyServiceInboundPattern -
Uses of Context in org.dspace.app.ldn.service.impl
Methods in org.dspace.app.ldn.service.impl with parameters of type ContextModifier and TypeMethodDescriptionintLDNMessageServiceImpl.checkQueueMessageTimeout(Context context) LDNMessageServiceImpl.create(Context context, Notification notification, String sourceIp) NotifyServiceInboundPatternServiceImpl.create(Context context, NotifyServiceEntity notifyServiceEntity) voidLDNMessageServiceImpl.delete(Context context, LDNMessageEntity ldnMessage) voidNotifyPatternToTriggerImpl.delete(Context context, NotifyPatternToTrigger notifyPatternToTrigger) voidNotifyServiceImpl.delete(Context context, NotifyServiceEntity notifyServiceEntity) voidNotifyServiceInboundPatternServiceImpl.delete(Context context, NotifyServiceInboundPattern inboundPattern) intLDNMessageServiceImpl.extractAndProcessMessageFromQueue(Context context) NotifyServiceInboundPatternServiceImpl.findAutomaticPatterns(Context context) NotifyPatternToTriggerImpl.findByItem(Context context, Item item) NotifyPatternToTriggerImpl.findByItemAndPattern(Context context, Item item, String pattern) NotifyServiceImpl.findByLdnUrl(Context context, String ldnUrl) NotifyServiceInboundPatternServiceImpl.findByServiceAndPattern(Context context, NotifyServiceEntity notifyServiceEntity, String pattern) LDNMessageServiceImpl.findEndorsementOrReviewResubmissionIdByItem(Context context, Item item, NotifyServiceEntity service) NotifyServiceImpl.findManualServicesByInboundPattern(Context context, String pattern) LDNMessageServiceImpl.findMessagesToBeReprocessed(Context context) LDNMessageServiceImpl.findNotifyService(Context context, Service service) LDNMessageServiceImpl.findOldestMessagesToProcess(Context context) LDNMessageServiceImpl.findProcessingTimedoutMessages(Context context) LDNMessageServiceImpl.findRequestsByItem(Context context, Item item) voidLDNMessageServiceImpl.update(Context context, LDNMessageEntity ldnMessage) voidNotifyPatternToTriggerImpl.update(Context context, NotifyPatternToTrigger notifyPatternToTrigger) voidNotifyServiceImpl.update(Context context, NotifyServiceEntity notifyServiceEntity) voidNotifyServiceInboundPatternServiceImpl.update(Context context, NotifyServiceInboundPattern inboundPattern) -
Uses of Context in org.dspace.app.mediafilter
Methods in org.dspace.app.mediafilter with parameters of type ContextModifier and TypeMethodDescriptionvoidMediaFilterServiceImpl.applyFiltersAllItems(Context context) voidMediaFilterServiceImpl.applyFiltersCollection(Context context, Collection collection) voidMediaFilterServiceImpl.applyFiltersCommunity(Context context, Community community) voidMediaFilterServiceImpl.applyFiltersItem(Context c, Item item) booleanMediaFilterServiceImpl.filterBitstream(Context context, Item myItem, Bitstream myBitstream) booleanMediaFilterServiceImpl.filterItem(Context context, Item myItem) voidFormatFilter.postProcessBitstream(Context c, Item item, Bitstream generatedBitstream) Perform any post-processing of the generated bitstream *after* this filter has already been run.voidMediaFilter.postProcessBitstream(Context c, Item item, Bitstream generatedBitstream) Perform any post-processing of the generated bitstream *after* this filter has already been run.booleanFormatFilter.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().booleanImageMagickThumbnailFilter.preProcessBitstream(Context c, Item item, Bitstream source, boolean verbose) booleanMediaFilter.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().booleanMediaFilterServiceImpl.processBitstream(Context context, Item item, Bitstream source, FormatFilter formatFilter) voidMediaFilterServiceImpl.updatePoliciesOfDerivativeBitstreams(Context context, Item item, Bitstream source) -
Uses of Context in org.dspace.app.mediafilter.service
Methods in org.dspace.app.mediafilter.service with parameters of type ContextModifier and TypeMethodDescriptionvoidMediaFilterService.applyFiltersAllItems(Context context) voidMediaFilterService.applyFiltersCollection(Context context, Collection collection) voidMediaFilterService.applyFiltersCommunity(Context context, Community community) voidMediaFilterService.applyFiltersItem(Context c, Item item) booleanMediaFilterService.filterBitstream(Context c, Item myItem, Bitstream myBitstream) Attempt to filter a bitstream.booleanMediaFilterService.filterItem(Context context, Item myItem) Iterate through the item's bitstreams in the ORIGINAL bundle, applying filters if possible.booleanMediaFilterService.processBitstream(Context context, Item item, Bitstream source, FormatFilter formatFilter) A utility class that calls the virtual methods from the current MediaFilter class.voidMediaFilterService.updatePoliciesOfDerivativeBitstreams(Context context, Item item, Bitstream source) update resource polices of derivative bitstreams related to source bitstream. -
Uses of Context in org.dspace.app.packager
Methods in org.dspace.app.packager with parameters of type ContextModifier and TypeMethodDescriptionprotected voidPackager.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' scriptprotected voidPackager.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 voidPackager.replace(Context context, PackageIngester sip, PackageParameters pkgParams, String sourceFile, DSpaceObject objToReplace) Replace an one or more existing DSpace objects with the contents of specified package(s) based on the options passed to the 'packager' script. -
Uses of Context in org.dspace.app.requestitem
Methods in org.dspace.app.requestitem with parameters of type ContextModifier and TypeMethodDescriptionvoidRequestItemServiceImpl.authorizeAccessByAccessToken(Context context, RequestItem requestItem, Bitstream bitstream, String accessToken) Taking into account 'accepted' flag, bitstream id or allfiles flag, decision date and access period, either return cleanly or throw an AuthorizeExceptionvoidRequestItemServiceImpl.authorizeAccessByAccessToken(Context context, Bitstream bitstream, String accessToken) Taking into account 'accepted' flag, bitstream id or allfiles flag, decision date and access period, either return cleanly or throw an AuthorizeExceptionRequestItemServiceImpl.createRequest(Context context, Bitstream bitstream, Item item, boolean allFiles, String reqEmail, String reqName, String reqMessage) Create a new request-a-copy item request.voidRequestItemServiceImpl.delete(Context context, RequestItem requestItem) RequestItemServiceImpl.findByAccessToken(Context context, String accessToken) Find a request item by its access token.RequestItemServiceImpl.findByItem(Context context, Item item) RequestItemServiceImpl.findByToken(Context context, String token) RequestItemHelpdeskStrategy.getHelpDeskPerson(Context context, String helpDeskEmail) Return a RequestItemAuthor object for the specified help desk email address.CollectionAdministratorsRequestItemStrategy.getRequestItemAuthor(Context context, Item item) CombiningRequestItemStrategy.getRequestItemAuthor(Context context, Item item) RequestItemAuthorExtractor.getRequestItemAuthor(Context context, Item item) Retrieve the author to contact for requesting a copy of the given item.RequestItemHelpdeskStrategy.getRequestItemAuthor(Context context, Item item) RequestItemMetadataStrategy.getRequestItemAuthor(Context context, Item item) RequestItemSubmitterStrategy.getRequestItemAuthor(Context context, Item item) Returns the submitter of an Item as RequestItemAuthor or an empty List if the Submitter is deleted.booleanRequestItemServiceImpl.isRestricted(Context context, DSpaceObject o) voidRequestItemEmailNotifier.requestOpenAccess(Context context, RequestItem ri) Send, to a repository administrator, a request to open access to a requested object.voidRequestItemServiceImpl.sanitizeRequestItem(Context context, RequestItem requestItem) Sanitize a RequestItem.voidRequestItemEmailNotifier.sendRequest(Context context, RequestItem ri, String responseLink) Send the request to the approver(s).voidRequestItemEmailNotifier.sendResponse(Context context, RequestItem ri, String subject, String message) Send the approver's response back to the requester, with files attached if approved.voidRequestItemServiceImpl.update(Context context, RequestItem requestItem) -
Uses of Context in org.dspace.app.requestitem.dao
Methods in org.dspace.app.requestitem.dao with parameters of type ContextModifier and TypeMethodDescriptionRequestItemDAO.findByAccessToken(Context context, String accessToken) Fetch a request named by its unique access token (passed in emails).RequestItemDAO.findByItem(Context context, Item item) RequestItemDAO.findByToken(Context context, String token) Fetch a request named by its unique approval token (passed in emails). -
Uses of Context in org.dspace.app.requestitem.dao.impl
Methods in org.dspace.app.requestitem.dao.impl with parameters of type ContextModifier and TypeMethodDescriptionRequestItemDAOImpl.findByAccessToken(Context context, String accessToken) RequestItemDAOImpl.findByItem(Context context, Item item) RequestItemDAOImpl.findByToken(Context context, String token) -
Uses of Context in org.dspace.app.requestitem.service
Methods in org.dspace.app.requestitem.service with parameters of type ContextModifier and TypeMethodDescriptionvoidRequestItemService.authorizeAccessByAccessToken(Context context, RequestItem requestItem, Bitstream bitstream, String accessToken) Taking into account 'accepted' flag, bitstream id or allfiles flag, decision date and access period, either return cleanly or throw an AuthorizeExceptionvoidRequestItemService.authorizeAccessByAccessToken(Context context, Bitstream bitstream, String accessToken) Taking into account 'accepted' flag, bitstream id or allfiles flag, decision date and access period, either return cleanly or throw an AuthorizeExceptionRequestItemService.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 DBvoidRequestItemService.delete(Context context, RequestItem request) Remove the record from the database.Fetch all item requests.RequestItemService.findByAccessToken(Context context, String token) Retrieve a request by its access token, for use by the requesterRequestItemService.findByItem(Context context, Item item) Retrieve a request based on the item.RequestItemService.findByToken(Context context, String token) Retrieve a request by its approver token.booleanRequestItemService.isRestricted(Context context, DSpaceObject o) Is there at least one valid READ resource policy for this object?voidRequestItemService.sanitizeRequestItem(Context context, RequestItem requestItem) Sanitize a RequestItem depending on the current session user.voidRequestItemService.update(Context context, RequestItem requestItem) Save updates to the record. -
Uses of Context in org.dspace.app.sherpa.cache
Methods in org.dspace.app.sherpa.cache with parameters of type ContextModifier and TypeMethodDescriptionvoidSherpaCacheEvictService.evictCacheValues(Context context, Item item) Remove immediately from the cache all the response that are related to a specific item extracting the ISSNs from the item -
Uses of Context in org.dspace.app.sherpa.submit
Methods in org.dspace.app.sherpa.submit with parameters of type ContextModifier and TypeMethodDescriptionUsing the configured itemIssnExtractors from SHERPA configuration, extract ISSNs from item metadata or authority valuesbooleanSimple boolean test that runs the getISSNs extraction method to determine whether an item has any ISSNs at allSHERPASubmitService.searchRelatedJournals(Context context, Item item) Search SHERPA for journal policies matching the ISSNs in the item. -
Uses of Context in org.dspace.app.statistics
Methods in org.dspace.app.statistics with parameters of type ContextModifier and TypeMethodDescriptionstatic StringReportGenerator.getItemInfo(Context context, String handle) get the information for the item with the given handlestatic IntegerLogAnalyser.getNumItems(Context context) get the total number of items in the archive at time of execution, ignoring all other constraintsstatic IntegerLogAnalyser.getNumItems(Context context, String type) get the number of items in the archive which were accessioned between the provided start and end dates, with the given value for the DC field 'type' (unqualified)static StringLogAnalyser.processLogs(Context context, String myLogDir, String myFileTemplate, String myConfigFile, String myOutFile, LocalDate myStartDate, LocalDate myEndDate, boolean myLookUp) using the pre-configuration information passed here, analyse the logs and produce the aggregation filestatic voidReportGenerator.processReport(Context context, String myFormat, String myInput, String myOutput, String myMap) using the pre-configuration information passed here, read in the aggregation data and output a file containing the report in the requested format this method is retained for backwards compatibility, but delegates the actual wprk to a new methodstatic voidReportGenerator.processReport(Context context, Report report, String myInput) using the pre-configuration information passed here, read in the aggregation data and output a file containing the report in the requested format -
Uses of Context in org.dspace.app.suggestion
Methods in org.dspace.app.suggestion with parameters of type ContextModifier and TypeMethodDescriptionlongcount all suggestion targets by suggestion sourcelonglongSuggestionService.countAllByTarget(Context context, UUID target) count all (unprocessed) suggestions by the given target uuidlongSuggestionServiceImpl.countAllByTarget(Context context, UUID target) longSuggestionService.countAllByTargetAndSource(Context context, String source, UUID target) count all suggestions by targeted item id and source namelongSuggestionServiceImpl.countAllByTargetAndSource(Context context, String source, UUID target) longSolrSuggestionProvider.countAllTargets(Context context) longSolrSuggestionStorageService.countAllTargets(Context context, String source) Count all the targets related to the given source.longSolrSuggestionStorageServiceImpl.countAllTargets(Context context, String source) longSuggestionProvider.countAllTargets(Context context) count all suggestion targetslongSuggestionService.countSources(Context context) count all suggestion sourceslongSuggestionServiceImpl.countSources(Context context) longSolrSuggestionProvider.countUnprocessedSuggestionByTarget(Context context, UUID target) longSolrSuggestionStorageService.countUnprocessedSuggestionByTarget(Context context, String source, UUID target) Count all the unprocessed suggestions related to the given source and target.longSolrSuggestionStorageServiceImpl.countUnprocessedSuggestionByTarget(Context context, String source, UUID target) longSuggestionProvider.countUnprocessedSuggestionByTarget(Context context, UUID target) find unprocessed suggestions by target UUIDfind aSuggestionTargetby source name and suggestion idSuggestionService.findAllSources(Context context, int pageSize, long offset) find all suggestion sources (paged)SuggestionServiceImpl.findAllSources(Context context, int pageSize, long offset) SolrSuggestionProvider.findAllTargets(Context context, int pageSize, long offset) SolrSuggestionStorageService.findAllTargets(Context context, String source, int pageSize, long offset) Find all the suggestion targets related to the given source.SolrSuggestionStorageServiceImpl.findAllTargets(Context context, String source, int pageSize, long offset) SuggestionProvider.findAllTargets(Context context, int pageSize, long offset) find all suggestion targetsSuggestionService.findAllTargets(Context context, String source, int pageSize, long offset) find all suggestion targets by source (paged)SuggestionServiceImpl.findAllTargets(Context context, String source, int pageSize, long offset) SolrSuggestionProvider.findAllUnprocessedSuggestions(Context context, UUID target, int pageSize, long offset, boolean ascending) SolrSuggestionStorageService.findAllUnprocessedSuggestions(Context context, String source, UUID target, int pageSize, long offset, boolean ascending) Find all the unprocessed suggestions related to the given source and target.SolrSuggestionStorageServiceImpl.findAllUnprocessedSuggestions(Context context, String source, UUID target, int pageSize, long offset, boolean ascending) SuggestionProvider.findAllUnprocessedSuggestions(Context context, UUID target, int pageSize, long offset, boolean ascending) find unprocessed suggestions (paged) by target UUIDSuggestionService.findByTarget(Context context, UUID target, int pageSize, long offset) find suggestion target by targeted item (paged)SuggestionServiceImpl.findByTarget(Context context, UUID target, int pageSize, long offset) SuggestionService.findByTargetAndSource(Context context, UUID target, String source, int pageSize, long offset, boolean ascending) find all suggestions by targeted item and external sourceSuggestionServiceImpl.findByTargetAndSource(Context context, UUID target, String source, int pageSize, long offset, boolean ascending) SuggestionService.findSource(Context context, String source) find suggestion source by source nameSuggestionServiceImpl.findSource(Context context, String source) SolrSuggestionProvider.findTarget(Context context, UUID target) SolrSuggestionStorageService.findTarget(Context context, String source, UUID target) Find a suggestion target by the given source and target.SolrSuggestionStorageServiceImpl.findTarget(Context context, String source, UUID target) SuggestionProvider.findTarget(Context context, UUID target) find a suggestion target by UUIDSolrSuggestionProvider.findUnprocessedSuggestion(Context context, UUID target, String id) SolrSuggestionStorageService.findUnprocessedSuggestion(Context context, String source, UUID target, String id) Find an unprocessed suggestion by the given source, target id and suggestion id.SolrSuggestionStorageServiceImpl.findUnprocessedSuggestion(Context context, String source, UUID target, String id) SuggestionProvider.findUnprocessedSuggestion(Context context, UUID target, String id) find an unprocessed suggestion by target UUID and suggestion idSuggestionService.findUnprocessedSuggestion(Context context, String id) find unprocessed suggestion by idSuggestionServiceImpl.findUnprocessedSuggestion(Context context, String id) voidSolrSuggestionProvider.flagRelatedSuggestionsAsProcessed(Context context, ExternalDataObject externalDataObject) voidSuggestionProvider.flagRelatedSuggestionsAsProcessed(Context context, ExternalDataObject externalDataObject) flag a suggestion as processedabstract voidSolrSuggestionProvider.importRecords(Context context, Item item) Save a List of ImportRecord into Solr.protected abstract booleanSolrSuggestionProvider.isExternalDataObjectPotentiallySuggested(Context context, ExternalDataObject externalDataObject) check if the externalDataObject may have suggestionvoidSolrSuggestionProvider.rejectSuggestion(Context context, UUID target, String idPart) voidSuggestionProvider.rejectSuggestion(Context context, UUID target, String idPart) reject a specific suggestion by target @param target and by suggestion id @param idPartvoidSuggestionService.rejectSuggestion(Context context, String id) reject a specific suggestion by its idvoidSuggestionServiceImpl.rejectSuggestion(Context context, String id) -
Uses of Context in org.dspace.app.suggestion.loader
Methods in org.dspace.app.suggestion.loader with parameters of type ContextModifier and TypeMethodDescriptionvoidPublicationLoader.importRecords(Context context, Item researcher) Save a List of ImportRecord into Solr.protected booleanPublicationLoader.isExternalDataObjectPotentiallySuggested(Context context, ExternalDataObject externalDataObject) -
Uses of Context in org.dspace.app.suggestion.runnable
Fields in org.dspace.app.suggestion.runnable declared as Context -
Uses of Context in org.dspace.app.suggestion.script
Methods in org.dspace.app.suggestion.script with parameters of type ContextModifier and TypeMethodDescriptionbooleanPublicationLoaderScriptConfiguration.isAllowedToExecute(Context context, List<DSpaceCommandLineParameter> commandLineParameters) Determines whether the current user is authorized to execute the script. -
Uses of Context in org.dspace.app.util
Methods in org.dspace.app.util with parameters of type ContextModifier and TypeMethodDescriptionCollectionDropDown.annotateWithPaths(Context context, List<Collection> collections) Annotates an array of collections with their respective full paths (@see #collectionPath() method in this class).static voidAuthorizeUtil.authorizeManageAdminGroup(Context context, Collection collection) Can the current user create/edit the admins group of the collection?static voidAuthorizeUtil.authorizeManageAdminGroup(Context context, Community community) Can the current user create/edit the admins group of the community?static voidAuthorizeUtil.authorizeManageBitstreamPolicy(Context context, Bitstream bitstream) Is allowed manage (create, remove, edit) bitstream's policies in the current context?static voidAuthorizeUtil.authorizeManageBundlePolicy(Context context, Bundle bundle) Is allowed manage (create, remove, edit) bundle's policies in the current context?static voidAuthorizeUtil.authorizeManageCCLicense(Context context, Item item) Is the current user allowed to manage (add, remove, replace) the item's CC Licensestatic voidAuthorizeUtil.authorizeManageCollectionPolicy(Context context, Collection collection) Is allowed manage (create, remove, edit) collection's policies in the current context?static voidAuthorizeUtil.authorizeManageCommunityPolicy(Context context, Community community) Is allowed manage (create, remove, edit) community's policies in the current context?static voidAuthorizeUtil.authorizeManageDefaultReadGroup(Context context, Collection collection) This method will check whether the current user is authorized to manage the default read groupstatic voidAuthorizeUtil.authorizeManageGroup(Context context, Group group) This method checks whether the current user has sufficient rights to modify the group.static voidAuthorizeUtil.authorizeManageItemPolicy(Context context, Item item) Is allowed manage (create, remove, edit) item's policies in the current context?static voidAuthorizeUtil.authorizeManagePolicy(Context c, ResourcePolicy rp) Can the current user remove or edit the supplied policy?static voidAuthorizeUtil.authorizeManageSubmittersGroup(Context context, Collection collection) Can the current user manage (create, remove, edit) the submitters group of the collection?static voidAuthorizeUtil.authorizeManageTemplateItem(Context context, Collection collection) Is the current user allowed to manage (create, remove, edit) the collection's template item?static voidAuthorizeUtil.authorizeManageWorkflowsGroup(Context context, Collection collection) Can the current user manage (create, remove, edit) the workflow groups of the collection?static booleanAuthorizeUtil.authorizeNewAccountRegistration(Context context, jakarta.servlet.http.HttpServletRequest request) This method will return a boolean indicating whether the current user is allowed to register a new account or notprotected static booleanAuthorizeUtil.authorizePasswordChange(Context context, jakarta.servlet.http.HttpServletRequest request) Checks if the current configuration has at least one password based authentication methodstatic voidAuthorizeUtil.authorizeReinstateItem(Context context, Item item) Can the current user reinstate the item?static voidAuthorizeUtil.authorizeRemoveAdminGroup(Context context, Collection collection) Can the current user remove the admins group of the collection?static voidAuthorizeUtil.authorizeRemoveAdminGroup(Context context, Community community) Can the current user remove the admins group of the community?static booleanAuthorizeUtil.authorizeUpdatePassword(Context context, String email) This method will return a boolean indicating whether it's allowed to update the password for the EPerson with the given email and canLogin propertystatic voidAuthorizeUtil.authorizeWithdrawItem(Context context, Item item) Can the current user withdraw the item?static StringCollectionDropDown.collectionPath(Context context, Collection col) Get full path starting from a top-level community via subcommunities down to a collection.static StringCollectionDropDown.collectionPath(Context context, Collection col, int maxchars) Get full path starting from a top-level community via subcommunities down to a collection.voidDSpaceObjectUtilsImpl.findDSpaceObject(Context context, UUID uuid) Retrieve a DSpaceObject from its uuid.SubmissionConfigReader.getCollectionsBySubmissionConfig(Context context, String submitName) protected SyndicationFeedOpenSearchServiceImpl.getResults(Context context, String format, String query, int totalResults, int start, int pageSize, IndexableObject scope, List<IndexableObject> results) OpenSearchServiceImpl.getResultsDoc(Context context, String format, String query, int totalResults, int start, int pageSize, IndexableObject scope, List<IndexableObject> results) OpenSearchServiceImpl.getResultsString(Context context, String format, String query, int totalResults, int start, int pageSize, IndexableObject scope, List<IndexableObject> results) booleanMetadataExposureServiceImpl.isHidden(Context context, String schema, String element, String qualifier) voidSyndicationFeed.populate(jakarta.servlet.http.HttpServletRequest request, Context context, IndexableObject dso, List<IndexableObject> items) Fills in the feed and entry-level metadata from DSpace objects.static voidAuthorizeUtil.requireAdminRole(Context context) Throw an AuthorizeException if the current user is not a System AdminOpenSearchServiceImpl.resolveScope(Context context, String scope) Constructors in org.dspace.app.util with parameters of type ContextModifierConstructorDescriptionGoogleBitstreamComparator(Context context, Map<String, String> googleScholarSettings) GoogleMetadata(Context context, Item item) Wrap the item, parse all configured fields and generate metadata field values. -
Uses of Context in org.dspace.app.util.service
Methods in org.dspace.app.util.service with parameters of type ContextModifier and TypeMethodDescriptionvoidDSpaceObjectUtils.findDSpaceObject(Context context, UUID uuid) Retrieve a DSpaceObject from its uuid.OpenSearchService.getResultsDoc(Context context, String format, String query, int totalResults, int start, int pageSize, IndexableObject scope, List<IndexableObject> results) Returns a formatted set of search results as a documentOpenSearchService.getResultsString(Context context, String format, String query, int totalResults, int start, int pageSize, IndexableObject scope, List<IndexableObject> results) Returns a formatted set of search results as a stringbooleanReturns whether the given metadata field should be exposed (visible).OpenSearchService.resolveScope(Context context, String scope) -
Uses of Context in org.dspace.authenticate
Methods in org.dspace.authenticate with parameters of type ContextModifier and TypeMethodDescriptionbooleanAuthenticationMethod.allowSetPassword(Context context, jakarta.servlet.http.HttpServletRequest request, String username) Should (or can) we allow the user to change their password.booleanAuthenticationServiceImpl.allowSetPassword(Context context, jakarta.servlet.http.HttpServletRequest request, String username) booleanIPAuthentication.allowSetPassword(Context context, jakarta.servlet.http.HttpServletRequest request, String username) booleanLDAPAuthentication.allowSetPassword(Context context, jakarta.servlet.http.HttpServletRequest request, String username) Cannot change LDAP password through dspace, right?booleanOidcAuthentication.allowSetPassword(Context context, jakarta.servlet.http.HttpServletRequest request, String username) booleanOidcAuthenticationBean.allowSetPassword(Context context, jakarta.servlet.http.HttpServletRequest request, String username) booleanOrcidAuthentication.allowSetPassword(Context context, jakarta.servlet.http.HttpServletRequest request, String username) booleanOrcidAuthenticationBean.allowSetPassword(Context context, jakarta.servlet.http.HttpServletRequest request, String username) booleanPasswordAuthentication.allowSetPassword(Context context, jakarta.servlet.http.HttpServletRequest request, String username) We always allow the user to change their password.booleanSamlAuthentication.allowSetPassword(Context context, jakarta.servlet.http.HttpServletRequest request, String email) booleanShibAuthentication.allowSetPassword(Context context, jakarta.servlet.http.HttpServletRequest request, String email) Indicate whether or not a particular self-registering user can set themselves a password in the profile info form.booleanX509Authentication.allowSetPassword(Context context, jakarta.servlet.http.HttpServletRequest request, String username) We don't use EPerson password so there is no reason to change it.default booleanAuthenticationMethod.areSpecialGroupsApplicable(Context context, jakarta.servlet.http.HttpServletRequest request) Returns true if the special groups returned byAuthenticationMethod.getSpecialGroups(Context, HttpServletRequest)should be implicitly be added to the groups related to the current user.booleanIPAuthentication.areSpecialGroupsApplicable(Context context, jakarta.servlet.http.HttpServletRequest request) intAuthenticationMethod.authenticate(Context context, String username, String password, String realm, jakarta.servlet.http.HttpServletRequest request) Authenticate the given or implicit credentials.intAuthenticationServiceImpl.authenticate(Context context, String username, String password, String realm, jakarta.servlet.http.HttpServletRequest request) intIPAuthentication.authenticate(Context context, String username, String password, String realm, jakarta.servlet.http.HttpServletRequest request) intLDAPAuthentication.authenticate(Context context, String netid, String password, String realm, jakarta.servlet.http.HttpServletRequest request) Authenticate the given credentials.intOidcAuthentication.authenticate(Context context, String username, String password, String realm, jakarta.servlet.http.HttpServletRequest request) intOidcAuthenticationBean.authenticate(Context context, String username, String password, String realm, jakarta.servlet.http.HttpServletRequest request) intOrcidAuthentication.authenticate(Context context, String username, String password, String realm, jakarta.servlet.http.HttpServletRequest request) intOrcidAuthenticationBean.authenticate(Context context, String username, String password, String realm, jakarta.servlet.http.HttpServletRequest request) intPasswordAuthentication.authenticate(Context context, String username, String password, String realm, jakarta.servlet.http.HttpServletRequest request) Check credentials: username must match the email address of an EPerson record, and that EPerson must be allowed to login.intSamlAuthentication.authenticate(Context context, String username, String password, String realm, jakarta.servlet.http.HttpServletRequest request) Authenticate the given or implicit credentials.intShibAuthentication.authenticate(Context context, String username, String password, String realm, jakarta.servlet.http.HttpServletRequest request) Authenticate the given or implicit credentials.intX509Authentication.authenticate(Context context, String username, String password, String realm, jakarta.servlet.http.HttpServletRequest request) X509 certificate authentication.intAuthenticationServiceImpl.authenticateImplicit(Context context, String username, String password, String realm, jakarta.servlet.http.HttpServletRequest request) protected intAuthenticationServiceImpl.authenticateInternal(Context context, String username, String password, String realm, jakarta.servlet.http.HttpServletRequest request, boolean implicitOnly) protected booleanShibAuthentication.autoCreateEpersonMetadataField(Context context, String metadataName) Automatically create a new metadataField for an epersonprotected booleanSamlAuthentication.autoCreateEPersonMetadataField(Context context, String metadataName) Automatically create a new metadata field for an EPersonbooleanAuthenticationMethod.canChangePassword(Context context, EPerson ePerson, String currentPassword) Check if the given current password is valid to change the password of the given ePersonbooleanAuthenticationServiceImpl.canChangePassword(Context context, EPerson ePerson, String currentPassword) booleanIPAuthentication.canChangePassword(Context context, EPerson ePerson, String currentPassword) booleanLDAPAuthentication.canChangePassword(Context context, EPerson ePerson, String currentPassword) booleanOidcAuthentication.canChangePassword(Context context, EPerson ePerson, String currentPassword) booleanOidcAuthenticationBean.canChangePassword(Context context, EPerson ePerson, String currentPassword) booleanOrcidAuthentication.canChangePassword(Context context, EPerson ePerson, String currentPassword) booleanOrcidAuthenticationBean.canChangePassword(Context context, EPerson ePerson, String currentPassword) booleanPasswordAuthentication.canChangePassword(Context context, EPerson ePerson, String currentPassword) booleanSamlAuthentication.canChangePassword(Context context, EPerson ePerson, String currentPassword) booleanShibAuthentication.canChangePassword(Context context, EPerson ePerson, String currentPassword) booleanX509Authentication.canChangePassword(Context context, EPerson ePerson, String currentPassword) booleanAuthenticationMethod.canSelfRegister(Context context, jakarta.servlet.http.HttpServletRequest request, String username) Predicate, whether to allow new EPerson to be created.booleanAuthenticationServiceImpl.canSelfRegister(Context context, jakarta.servlet.http.HttpServletRequest request, String username) booleanIPAuthentication.canSelfRegister(Context context, jakarta.servlet.http.HttpServletRequest request, String username) booleanLDAPAuthentication.canSelfRegister(Context context, jakarta.servlet.http.HttpServletRequest request, String username) Let a real auth method return true if it wants.booleanOidcAuthentication.canSelfRegister(Context context, jakarta.servlet.http.HttpServletRequest request, String username) booleanOidcAuthenticationBean.canSelfRegister(Context context, jakarta.servlet.http.HttpServletRequest request, String username) booleanOrcidAuthentication.canSelfRegister(Context context, jakarta.servlet.http.HttpServletRequest request, String username) booleanOrcidAuthenticationBean.canSelfRegister(Context context, jakarta.servlet.http.HttpServletRequest request, String username) booleanPasswordAuthentication.canSelfRegister(Context context, jakarta.servlet.http.HttpServletRequest request, String email) Look to see if this email address is allowed to register.booleanSamlAuthentication.canSelfRegister(Context context, jakarta.servlet.http.HttpServletRequest request, String username) booleanShibAuthentication.canSelfRegister(Context context, jakarta.servlet.http.HttpServletRequest request, String username) Indicate whether or not a particular user can self-register, based on e-mail address.booleanX509Authentication.canSelfRegister(Context context, jakarta.servlet.http.HttpServletRequest request, String username) Predicate, can new user automatically create EPerson.protected booleanShibAuthentication.checkIfEpersonMetadataFieldExists(Context context, String metadataName) Check if a MetadataField for an eperson is available.protected booleanSamlAuthentication.checkIfEPersonMetadataFieldExists(Context context, String metadataName) Check if a metadata field for an EPerson is available.protected EPersonSamlAuthentication.findEPerson(Context context, jakarta.servlet.http.HttpServletRequest request) Identify an existing EPerson based upon the SAML attributes provided on the request object. 1) Name ID from SAML attribute (best) The Name ID-based method is superior because users may change their email address with the identity provider.protected EPersonShibAuthentication.findEPerson(Context context, jakarta.servlet.http.HttpServletRequest request) Identify an existing EPerson based upon the shibboleth attributes provided on the request object.AuthenticationServiceImpl.getAuthenticationMethod(Context context, jakarta.servlet.http.HttpServletRequest request) AuthenticationMethod.getSpecialGroups(Context context, jakarta.servlet.http.HttpServletRequest request) Get list of extra groups that user implicitly belongs to.AuthenticationServiceImpl.getSpecialGroups(Context context, jakarta.servlet.http.HttpServletRequest request) IPAuthentication.getSpecialGroups(Context context, jakarta.servlet.http.HttpServletRequest request) LDAPAuthentication.getSpecialGroups(Context context, jakarta.servlet.http.HttpServletRequest request) Add authenticated users to the group defined in dspace.cfg by the login.specialgroup key.OidcAuthentication.getSpecialGroups(Context context, jakarta.servlet.http.HttpServletRequest request) OidcAuthenticationBean.getSpecialGroups(Context context, jakarta.servlet.http.HttpServletRequest request) OrcidAuthentication.getSpecialGroups(Context context, jakarta.servlet.http.HttpServletRequest request) OrcidAuthenticationBean.getSpecialGroups(Context context, jakarta.servlet.http.HttpServletRequest request) PasswordAuthentication.getSpecialGroups(Context context, jakarta.servlet.http.HttpServletRequest request) Add authenticated users to the group defined in authentication-password.cfg by the login.specialgroup key.SamlAuthentication.getSpecialGroups(Context context, jakarta.servlet.http.HttpServletRequest request) ShibAuthentication.getSpecialGroups(Context context, jakarta.servlet.http.HttpServletRequest request) Get list of extra groups that user implicitly belongs to.X509Authentication.getSpecialGroups(Context context, jakarta.servlet.http.HttpServletRequest request) Return special groups configured in dspace.cfg for X509 certificate authentication.voidAuthenticationMethod.initEPerson(Context context, jakarta.servlet.http.HttpServletRequest request, EPerson eperson) Initialize a new EPerson record for a self-registered new user.voidAuthenticationServiceImpl.initEPerson(Context context, jakarta.servlet.http.HttpServletRequest request, EPerson eperson) voidIPAuthentication.initEPerson(Context context, jakarta.servlet.http.HttpServletRequest request, EPerson eperson) voidLDAPAuthentication.initEPerson(Context context, jakarta.servlet.http.HttpServletRequest request, EPerson eperson) Nothing here, initialization is done when auto-registering.voidOidcAuthentication.initEPerson(Context context, jakarta.servlet.http.HttpServletRequest request, EPerson eperson) voidOidcAuthenticationBean.initEPerson(Context context, jakarta.servlet.http.HttpServletRequest request, EPerson eperson) voidOrcidAuthentication.initEPerson(Context context, jakarta.servlet.http.HttpServletRequest request, EPerson eperson) voidOrcidAuthenticationBean.initEPerson(Context context, jakarta.servlet.http.HttpServletRequest request, EPerson eperson) voidPasswordAuthentication.initEPerson(Context context, jakarta.servlet.http.HttpServletRequest request, EPerson eperson) Nothing extra to initialize.voidSamlAuthentication.initEPerson(Context context, jakarta.servlet.http.HttpServletRequest request, EPerson eperson) voidShibAuthentication.initEPerson(Context context, jakarta.servlet.http.HttpServletRequest request, EPerson eperson) Initialize a new e-person record for a self-registered new user.voidX509Authentication.initEPerson(Context context, jakarta.servlet.http.HttpServletRequest request, EPerson eperson) Nothing extra to initialize.protected voidSamlAuthentication.initialize(Context context) Initialize SAML Authentication.protected voidShibAuthentication.initialize(Context context) Initialize Shibboleth Authentication.booleanGet whether the authentication method is being used.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanAuthenticationMethod.loginPageURL(Context context, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Get an external login page to which to redirect.IPAuthentication.loginPageURL(Context context, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) LDAPAuthentication.loginPageURL(Context context, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Returns the URL of an external login page which is not applicable for this authn method.OidcAuthentication.loginPageURL(Context context, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) OidcAuthenticationBean.loginPageURL(Context context, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) OrcidAuthentication.loginPageURL(Context context, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) OrcidAuthenticationBean.loginPageURL(Context context, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) PasswordAuthentication.loginPageURL(Context context, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Returns URL of password-login servlet.SamlAuthentication.loginPageURL(Context context, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Returns the URL in the SAML relying party service that initiates a login with the IdP, as configured.ShibAuthentication.loginPageURL(Context context, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Get login page to which to redirect.X509Authentication.loginPageURL(Context context, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Returns URL of password-login servlet.protected EPersonSamlAuthentication.registerNewEPerson(Context context, jakarta.servlet.http.HttpServletRequest request) Register a new EPerson.protected EPersonShibAuthentication.registerNewEPerson(Context context, jakarta.servlet.http.HttpServletRequest request) Register a new eperson object.protected intShibAuthentication.swordCompatibility(Context context, String username, String password, jakarta.servlet.http.HttpServletRequest request) Provide password-based authentication to enable sword compatibility.protected voidSamlAuthentication.updateEPerson(Context context, jakarta.servlet.http.HttpServletRequest request, EPerson eperson) After we successfully authenticated a user, this method will update the user's attributes.protected voidShibAuthentication.updateEPerson(Context context, jakarta.servlet.http.HttpServletRequest request, EPerson eperson) After we successfully authenticated a user, this method will update the user's attributes.voidAuthenticationServiceImpl.updateLastActiveDate(Context context) -
Uses of Context in org.dspace.authenticate.service
Methods in org.dspace.authenticate.service with parameters of type ContextModifier and TypeMethodDescriptionbooleanAuthenticationService.allowSetPassword(Context context, jakarta.servlet.http.HttpServletRequest request, String username) Predicate, can user set EPerson password.intAuthenticationService.authenticate(Context context, String username, String password, String realm, jakarta.servlet.http.HttpServletRequest request) Test credentials for authenticity.intAuthenticationService.authenticateImplicit(Context context, String username, String password, String realm, jakarta.servlet.http.HttpServletRequest request) Test credentials for authenticity, using only Implicit methods.booleanAuthenticationService.canChangePassword(Context context, EPerson ePerson, String currentPassword) Check if the given current password is valid to change the password of the given ePerson.booleanAuthenticationService.canSelfRegister(Context context, jakarta.servlet.http.HttpServletRequest request, String username) Predicate, can a new EPerson be created.AuthenticationService.getAuthenticationMethod(Context context, jakarta.servlet.http.HttpServletRequest request) Retrieves the currently used authentication method name based on the context and the requestAuthenticationService.getSpecialGroups(Context context, jakarta.servlet.http.HttpServletRequest request) Get list of extra groups that user implicitly belongs to.voidAuthenticationService.initEPerson(Context context, jakarta.servlet.http.HttpServletRequest request, EPerson eperson) voidAuthenticationService.updateLastActiveDate(Context context) Update the last active (login) timestamp on the current authenticated user -
Uses of Context in org.dspace.authority
Methods in org.dspace.authority with parameters of type ContextModifier and TypeMethodDescriptionprotected List<AuthorityValue>AuthorityValueServiceImpl.findByAuthorityMetadata(Context context, String schema, String element, String qualifier, String value) AuthorityValueServiceImpl.findByExactValue(Context context, String field, String value) AuthorityValueServiceImpl.findByName(Context context, String schema, String element, String qualifier, String name) AuthorityValueServiceImpl.findByOrcidID(Context context, String orcid_id) Item.ANY does not work here.AuthorityValueServiceImpl.findByValue(Context context, String field, String value) AuthorityValueServiceImpl.findByValue(Context context, String schema, String element, String qualifier, String value) AuthorityValueServiceImpl.findOrcidHolders(Context context) AuthorityValueServiceImpl.generate(Context context, String authorityKey, String content, String field) voidvoidAuthorityValue.updateItem(Context context, Item currentItem, MetadataValue value) Replace an item's DCValue with this authorityConstructors in org.dspace.authority with parameters of type Context -
Uses of Context in org.dspace.authority.indexer
Methods in org.dspace.authority.indexer with parameters of type ContextModifier and TypeMethodDescriptionvoidvoidvoidAuthorityIndexerInterface.getAuthorityValues(Context context, Item item) AuthorityIndexerInterface.getAuthorityValues(Context context, Item item, Map<String, AuthorityValue> cache) DSpaceAuthorityIndexer.getAuthorityValues(Context context, Item item) DSpaceAuthorityIndexer.getAuthorityValues(Context context, Item item, Map<String, AuthorityValue> cache) -
Uses of Context in org.dspace.authority.service
Methods in org.dspace.authority.service with parameters of type ContextModifier and TypeMethodDescriptionAuthorityValueService.findByAuthorityMetadata(Context context, String schema, String element, String qualifier, String value) AuthorityValueService.findByExactValue(Context context, String field, String value) AuthorityValueService.findByName(Context context, String schema, String element, String qualifier, String name) AuthorityValueService.findByOrcidID(Context context, String orcid_id) AuthorityValueService.findByValue(Context context, String field, String value) AuthorityValueService.findByValue(Context context, String schema, String element, String qualifier, String value) AuthorityValueService.findOrcidHolders(Context context) voidAdd anItemto the authority index. -
Uses of Context in org.dspace.authorize
Methods in org.dspace.authorize with parameters of type ContextModifier and TypeMethodDescriptionvoidAuthorizeServiceImpl.addPolicies(Context c, List<ResourcePolicy> policies, DSpaceObject dest) voidAuthorizeServiceImpl.addPolicy(Context c, DSpaceObject o, int actionID, EPerson e) voidAuthorizeServiceImpl.addPolicy(Context context, DSpaceObject o, int actionID, EPerson e, String type) voidAuthorizeServiceImpl.addPolicy(Context c, DSpaceObject o, int actionID, Group g) voidAuthorizeServiceImpl.addPolicy(Context c, DSpaceObject o, int actionID, Group g, String type) protected booleanAuthorizeServiceImpl.authorize(Context c, DSpaceObject o, int action, EPerson e, boolean useInheritance) Check to see if the given user can perform the given action on the given object.voidAuthorizeServiceImpl.authorizeAction(Context c, DSpaceObject o, int action) voidAuthorizeServiceImpl.authorizeAction(Context c, DSpaceObject o, int action, boolean useInheritance) voidAuthorizeServiceImpl.authorizeAction(Context c, EPerson e, DSpaceObject o, int action, boolean useInheritance) booleanAuthorizeServiceImpl.authorizeActionBoolean(Context c, DSpaceObject o, int a) booleanAuthorizeServiceImpl.authorizeActionBoolean(Context c, DSpaceObject o, int a, boolean useInheritance) booleanAuthorizeServiceImpl.authorizeActionBoolean(Context c, EPerson e, DSpaceObject o, int a, boolean useInheritance) voidAuthorizeServiceImpl.authorizeAnyOf(Context c, DSpaceObject o, int[] actions) ResourcePolicyServiceImpl.clone(Context context, ResourcePolicy resourcePolicy) longAuthorizeServiceImpl.countAdminAuthorizedCollection(Context context, String query) Finds the amount of collections for which the logged in user has ADMIN rights.longAuthorizeServiceImpl.countAdminAuthorizedCommunity(Context context, String query) Finds the amount of communities for which the logged in user has ADMIN rights.intResourcePolicyServiceImpl.countByEPerson(Context context, EPerson eperson) intResourcePolicyServiceImpl.countByGroupAndResourceUuid(Context context, Group group, UUID resourceUuid) intResourcePolicyServiceImpl.countByResouceUuidAndActionId(Context context, UUID resourceUuid, int actionId) intResourcePolicyServiceImpl.countByResourceUuid(Context context, UUID resourceUuid) intResourcePolicyServiceImpl.countResourcePoliciesByEPersonAndResourceUuid(Context context, EPerson eperson, UUID resourceUuid) intResourcePolicyServiceImpl.countResourcePolicyByGroup(Context context, Group group) Create a new ResourcePolicyAuthorizeServiceImpl.createOrModifyPolicy(ResourcePolicy policy, Context context, String name, Group group, EPerson ePerson, LocalDate embargoDate, int action, String reason, DSpaceObject dso) AuthorizeServiceImpl.createResourcePolicy(Context context, DSpaceObject dso, Group group, EPerson eperson, int type, String rpType) AuthorizeServiceImpl.createResourcePolicy(Context context, DSpaceObject dso, Group group, EPerson eperson, int type, String rpType, String rpName, String rpDescription, LocalDate startDate, LocalDate endDate) voidResourcePolicyServiceImpl.delete(Context context, ResourcePolicy resourcePolicy) Delete an ResourcePolicyGet an ResourcePolicy from the database.ResourcePolicyServiceImpl.find(Context c, DSpaceObject o) ResourcePolicyServiceImpl.find(Context c, DSpaceObject o, int actionId) ResourcePolicyServiceImpl.find(Context c, DSpaceObject o, String type) ResourcePolicyServiceImpl.find(Context c, DSpaceObject dso, Group group, int action) AuthorizeServiceImpl.findAdminAuthorizedCollection(Context context, String query, int offset, int limit) Finds collections for which the logged in user has ADMIN rights.AuthorizeServiceImpl.findAdminAuthorizedCommunity(Context context, String query, int offset, int limit) Finds communities for which the logged in user has ADMIN rights.ResourcePolicyServiceImpl.findByEPerson(Context context, EPerson ePerson, int offset, int limit) ResourcePolicyServiceImpl.findByEPersonAndResourceUuid(Context context, EPerson eperson, UUID resourceUuid, int offset, int limit) ResourcePolicyServiceImpl.findByGroup(Context context, Group group, int offset, int limit) ResourcePolicyServiceImpl.findByGroupAndResourceUuid(Context context, Group group, UUID resourceUuid, int offset, int limit) ResourcePolicyServiceImpl.findByResouceUuid(Context context, UUID resourceUuid, int offset, int limit) ResourcePolicyServiceImpl.findByResouceUuidAndActionId(Context context, UUID resourceUuid, int actionId, int offset, int limit) AuthorizeServiceImpl.findByTypeGroupAction(Context c, DSpaceObject dso, Group group, int action) ResourcePolicyServiceImpl.findByTypeGroupActionExceptId(Context context, DSpaceObject dso, Group group, int action, int notPolicyID) ResourcePolicyServiceImpl.findExceptRpType(Context c, DSpaceObject o, int actionID, String rpType) AuthorizeServiceImpl.findPoliciesByDSOAndType(Context c, DSpaceObject o, String type) AuthorizeServiceImpl.getAuthorizedGroups(Context c, DSpaceObject o, int actionID) AuthorizeServiceImpl.getPolicies(Context c, DSpaceObject o) AuthorizeServiceImpl.getPoliciesActionFilter(Context c, DSpaceObject o, int actionID) AuthorizeServiceImpl.getPoliciesActionFilterExceptRpType(Context c, DSpaceObject o, int actionID, String rpType) AuthorizeServiceImpl.getPoliciesForGroup(Context c, Group g) voidAuthorizeServiceImpl.inheritPolicies(Context c, DSpaceObject src, DSpaceObject dest) booleanAuthorizeServiceImpl.isAccountManager(Context context) booleanbooleanAuthorizeServiceImpl.isAdmin(Context c, DSpaceObject o) booleanbooleanAuthorizeServiceImpl.isAdmin(Context c, EPerson e, DSpaceObject o) booleanAuthorizeServiceImpl.isAnIdenticalPolicyAlreadyInPlace(Context c, DSpaceObject o, ResourcePolicy rp) booleanAuthorizeServiceImpl.isAnIdenticalPolicyAlreadyInPlace(Context c, DSpaceObject dso, Group group, int action, int policyID) protected booleanAuthorizeServiceImpl.isAnyItemInstalled(Context ctx, List<Bundle> bundles) booleanAuthorizeServiceImpl.isCollectionAdmin(Context context) Checks that the context's current user is a collection admin in the site by querying the solr database.booleanAuthorizeServiceImpl.isComColAdmin(Context context) Checks that the context's current user is a community or collection admin in the site.booleanAuthorizeServiceImpl.isCommunityAdmin(Context context) Checks that the context's current user is a community admin in the site by querying the solr database.booleanAuthorizeServiceImpl.isItemAdmin(Context context) Checks that the context's current user is an item admin in the site by querying the solr database.booleanResourcePolicyServiceImpl.isMyResourcePolicy(Context context, EPerson eperson, Integer id) voidAuthorizeServiceImpl.removeAllEPersonPolicies(Context c, EPerson e) voidResourcePolicyServiceImpl.removeAllEPersonPolicies(Context context, EPerson ePerson) voidAuthorizeServiceImpl.removeAllPolicies(Context c, DSpaceObject o) voidResourcePolicyServiceImpl.removeAllPolicies(Context c, DSpaceObject o) voidAuthorizeServiceImpl.removeAllPoliciesByDSOAndType(Context c, DSpaceObject o, String type) voidAuthorizeServiceImpl.removeAllPoliciesByDSOAndTypeNotEqualsTo(Context c, DSpaceObject o, String type) voidResourcePolicyServiceImpl.removeDsoAndTypeNotEqualsToPolicies(Context c, DSpaceObject o, String type) voidResourcePolicyServiceImpl.removeDsoEPersonPolicies(Context context, DSpaceObject dso, EPerson ePerson) voidResourcePolicyServiceImpl.removeDsoGroupPolicies(Context context, DSpaceObject dso, Group group) voidAuthorizeServiceImpl.removeEPersonPolicies(Context c, DSpaceObject o, EPerson e) voidAuthorizeServiceImpl.removeGroupPolicies(Context c, DSpaceObject o, Group g) voidAuthorizeServiceImpl.removeGroupPolicies(Context c, Group group) voidResourcePolicyServiceImpl.removeGroupPolicies(Context c, Group group) voidResourcePolicyServiceImpl.removePolicies(Context c, DSpaceObject o, int actionId) voidResourcePolicyServiceImpl.removePolicies(Context c, DSpaceObject o, String type) voidResourcePolicyServiceImpl.removePolicies(Context c, DSpaceObject o, String type, int action) voidAuthorizeServiceImpl.removePoliciesActionFilter(Context context, DSpaceObject dso, int actionID) voidAuthorizeServiceImpl.replaceAllPolicies(Context context, DSpaceObject source, DSpaceObject dest) static voidPolicySet.setPolicies(Context c, int containerType, UUID containerID, int contentType, int actionID, UUID groupID, boolean isReplace, boolean clearOnly) Useful policy wildcard tool.static voidPolicySet.setPolicies(Context c, int containerType, UUID containerID, int contentType, int actionID, UUID groupID, boolean isReplace, boolean clearOnly, String name, String description, LocalDate startDate, LocalDate endDate) static voidPolicySet.setPoliciesFilter(Context c, int containerType, UUID containerID, int contentType, int actionID, UUID groupID, boolean isReplace, boolean clearOnly, String filter) Useful policy wildcard tool.static voidPolicySet.setPoliciesFilter(Context c, int containerType, UUID containerID, int contentType, int actionID, UUID groupID, boolean isReplace, boolean clearOnly, String filter, String name, String description, LocalDate startDate, LocalDate endDate) Useful policy wildcard tool.voidAuthorizeServiceImpl.switchPoliciesAction(Context context, DSpaceObject dso, int fromAction, int toAction) voidResourcePolicyServiceImpl.update(Context context, List<ResourcePolicy> resourcePolicies) Update the ResourcePoliciesvoidResourcePolicyServiceImpl.update(Context context, ResourcePolicy resourcePolicy) Update the ResourcePolicy -
Uses of Context in org.dspace.authorize.dao
Methods in org.dspace.authorize.dao with parameters of type ContextModifier and TypeMethodDescriptionintResourcePolicyDAO.countByEPerson(Context context, EPerson ePerson) Count all the resource policies of the ePersonintResourcePolicyDAO.countByEPersonAndResourceUuid(Context context, EPerson ePerson, UUID resourceUuid) Count all the policies related to a resourceUuid belong to an ePersonintResourcePolicyDAO.countByGroupAndResourceUuid(Context context, Group group, UUID resourceUuid) Count all the resource policies of the group and of the resourceUuidintResourcePolicyDAO.countByResouceUuidAndActionId(Context context, UUID resourceUuid, int actionId) Count all the policies related to a resourceUuid and actionIdintResourcePolicyDAO.countByResourceUuid(Context context, UUID resourceUuid) Count all the policies by resourceUuidintResourcePolicyDAO.countResourcePolicyByGroup(Context context, Group group) Count all the resource policies of the groupvoidResourcePolicyDAO.deleteByDso(Context context, DSpaceObject dso) voidResourcePolicyDAO.deleteByDsoAndAction(Context context, DSpaceObject dso, int actionId) voidResourcePolicyDAO.deleteByDsoAndType(Context context, DSpaceObject dSpaceObject, String type) voidResourcePolicyDAO.deleteByDsoAndTypeAndAction(Context context, DSpaceObject dSpaceObject, String type, int action) voidResourcePolicyDAO.deleteByDsoAndTypeNotEqualsTo(Context c, DSpaceObject o, String type) voidResourcePolicyDAO.deleteByDsoEPersonPolicies(Context context, DSpaceObject dso, EPerson ePerson) voidResourcePolicyDAO.deleteByDsoGroupPolicies(Context context, DSpaceObject dso, Group group) voidResourcePolicyDAO.deleteByEPerson(Context context, EPerson ePerson) Deletes all policies that belong to an EPersonvoidResourcePolicyDAO.deleteByGroup(Context context, Group group) ResourcePolicyDAO.findByDso(Context context, DSpaceObject dso) ResourcePolicyDAO.findByDSoAndAction(Context context, DSpaceObject dso, int actionId) ResourcePolicyDAO.findByDSoAndActionExceptRpType(Context c, DSpaceObject o, int actionID, String rpType) Return a list of policies for an object that match the action except the record labeled with the rpTypeResourcePolicyDAO.findByDsoAndType(Context context, DSpaceObject dSpaceObject, String type) ResourcePolicyDAO.findByEPerson(Context context, EPerson ePerson) ResourcePolicyDAO.findByEPerson(Context context, EPerson ePerson, int offset, int limit) Return a paginated list of policies that belong to an EPersonResourcePolicyDAO.findByEPersonAndResourceUuid(Context context, EPerson ePerson, UUID resourceUuid, int offset, int limit) Return a paginated list of policies related to a resourceUuid belong to an ePersonResourcePolicyDAO.findByEPersonGroupTypeIdAction(Context context, EPerson e, List<Group> groups, int action, int type_id) ResourcePolicyDAO.findByGroup(Context context, Group group) ResourcePolicyDAO.findByGroup(Context context, Group group, int offset, int limit) Return a paginated list of policies related to a groupResourcePolicyDAO.findByGroupAndResourceUuid(Context context, Group group, UUID resourceUuid, int offset, int limit) Return a paginated list of policies related to a group and related to a resourceUuidResourcePolicyDAO.findByResouceUuid(Context context, UUID resourceUuid, int offset, int limit) Return a paginated list of policies related to a DSpace resourceResourcePolicyDAO.findByResouceUuidAndActionId(Context context, UUID resourceUuid, int actionId, int offset, int limit) Return a paginated list of policies related to a DSpace resource filter by actionIdResourcePolicyDAO.findByTypeGroupAction(Context context, DSpaceObject dso, Group group, int action) ResourcePolicyDAO.findByTypeGroupActionExceptId(Context context, DSpaceObject dso, Group group, int action, int notPolicyID) Look for ResourcePolicies by DSpaceObject, Group, and action, ignoring IDs with a specific PolicyID.ResourcePolicyDAO.findOneById(Context context, Integer id) -
Uses of Context in org.dspace.authorize.dao.impl
Methods in org.dspace.authorize.dao.impl with parameters of type ContextModifier and TypeMethodDescriptionintResourcePolicyDAOImpl.countByEPerson(Context context, EPerson ePerson) intResourcePolicyDAOImpl.countByEPersonAndResourceUuid(Context context, EPerson eperson, UUID resourceUuid) intResourcePolicyDAOImpl.countByGroupAndResourceUuid(Context context, Group group, UUID resourceUuid) intResourcePolicyDAOImpl.countByResouceUuidAndActionId(Context context, UUID resourceUuid, int actionId) intResourcePolicyDAOImpl.countByResourceUuid(Context context, UUID resourceUuid) intResourcePolicyDAOImpl.countResourcePolicyByGroup(Context context, Group group) voidResourcePolicyDAOImpl.deleteByDso(Context context, DSpaceObject dso) voidResourcePolicyDAOImpl.deleteByDsoAndAction(Context context, DSpaceObject dso, int actionId) voidResourcePolicyDAOImpl.deleteByDsoAndType(Context context, DSpaceObject dso, String type) voidResourcePolicyDAOImpl.deleteByDsoAndTypeAndAction(Context context, DSpaceObject dso, String type, int actionId) voidResourcePolicyDAOImpl.deleteByDsoAndTypeNotEqualsTo(Context context, DSpaceObject dso, String type) voidResourcePolicyDAOImpl.deleteByDsoEPersonPolicies(Context context, DSpaceObject dso, EPerson ePerson) voidResourcePolicyDAOImpl.deleteByDsoGroupPolicies(Context context, DSpaceObject dso, Group group) voidResourcePolicyDAOImpl.deleteByEPerson(Context context, EPerson ePerson) voidResourcePolicyDAOImpl.deleteByGroup(Context context, Group group) ResourcePolicyDAOImpl.findByDso(Context context, DSpaceObject dso) ResourcePolicyDAOImpl.findByDSoAndAction(Context context, DSpaceObject dso, int actionId) ResourcePolicyDAOImpl.findByDSoAndActionExceptRpType(Context context, DSpaceObject dso, int action, String rpType) ResourcePolicyDAOImpl.findByDsoAndType(Context context, DSpaceObject dso, String type) ResourcePolicyDAOImpl.findByEPerson(Context context, EPerson ePerson) ResourcePolicyDAOImpl.findByEPerson(Context context, EPerson ePerson, int offset, int limit) ResourcePolicyDAOImpl.findByEPersonAndResourceUuid(Context context, EPerson ePerson, UUID resourceUuid, int offset, int limit) ResourcePolicyDAOImpl.findByEPersonGroupTypeIdAction(Context context, EPerson e, List<Group> groups, int action, int type_id) ResourcePolicyDAOImpl.findByGroup(Context context, Group group) ResourcePolicyDAOImpl.findByGroup(Context context, Group group, int offset, int limit) ResourcePolicyDAOImpl.findByGroupAndResourceUuid(Context context, Group group, UUID resourceUuid, int offset, int limit) ResourcePolicyDAOImpl.findByResouceUuid(Context context, UUID resourceUuid, int offset, int limit) ResourcePolicyDAOImpl.findByResouceUuidAndActionId(Context context, UUID resourceUuid, int actionId, int offset, int limit) ResourcePolicyDAOImpl.findByTypeGroupAction(Context context, DSpaceObject dso, Group group, int action) ResourcePolicyDAOImpl.findByTypeGroupActionExceptId(Context context, DSpaceObject dso, Group group, int action, int notPolicyID) ResourcePolicyDAOImpl.findOneById(Context context, Integer id) -
Uses of Context in org.dspace.authorize.service
Methods in org.dspace.authorize.service with parameters of type ContextModifier and TypeMethodDescriptionvoidAuthorizeService.addPolicies(Context c, List<ResourcePolicy> policies, DSpaceObject dest) Copies policies from a list of resource policies to a given DSpaceObjectvoidAuthorizeService.addPolicy(Context c, DSpaceObject o, int actionID, EPerson e) Add a policy for an individual epersonvoidAuthorizeService.addPolicy(Context c, DSpaceObject o, int actionID, EPerson e, String type) Add a policy for an individual epersonvoidAuthorizeService.addPolicy(Context c, DSpaceObject o, int actionID, Group g) Add a policy for a groupvoidAuthorizeService.addPolicy(Context c, DSpaceObject o, int actionID, Group g, String type) Add a policy for a groupvoidAuthorizeService.authorizeAction(Context c, DSpaceObject o, int action) Checks that the context's current user can perform the given action on the given object.voidAuthorizeService.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.voidAuthorizeService.authorizeAction(Context c, EPerson e, DSpaceObject o, int action, boolean useInheritance) Checks that the specified eperson can perform the given action on the given object.booleanAuthorizeService.authorizeActionBoolean(Context c, DSpaceObject o, int a) same authorize, returns boolean for those who don't want to deal with catching exceptions.booleanAuthorizeService.authorizeActionBoolean(Context c, DSpaceObject o, int a, boolean useInheritance) same authorize, returns boolean for those who don't want to deal with catching exceptions.booleanAuthorizeService.authorizeActionBoolean(Context c, EPerson e, DSpaceObject o, int a, boolean useInheritance) same authorize with a specific eperson (not the current user), returns boolean for those who don't want to deal with catching exceptions.voidAuthorizeService.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.ResourcePolicyService.clone(Context context, ResourcePolicy resourcePolicy) Create and persist a copy of a given ResourcePolicy, with an empty dSpaceObject field.longAuthorizeService.countAdminAuthorizedCollection(Context context, String query) Counts collections for which the current user is admin, AND which match the query.longAuthorizeService.countAdminAuthorizedCommunity(Context context, String query) Counts communities for which the current user is admin, AND which match the query.intResourcePolicyService.countByEPerson(Context context, EPerson ePerson) Count all the resource policies of the ePersonintResourcePolicyService.countByGroupAndResourceUuid(Context context, Group group, UUID resourceUuid) Count all the resource policies of the group and of the resourceUuidintResourcePolicyService.countByResouceUuidAndActionId(Context context, UUID resourceUuid, int actionId) Count all the policies related to a resourceUuid and actionIdintResourcePolicyService.countByResourceUuid(Context context, UUID resourceUuid) Count all the policies by resourceUuidintResourcePolicyService.countResourcePoliciesByEPersonAndResourceUuid(Context context, EPerson ePerson, UUID resourceUuid) Count all the policies related to a resourceUuid belong to an ePersonintResourcePolicyService.countResourcePolicyByGroup(Context context, Group group) Count all the resource policies of the groupAuthorizeService.createOrModifyPolicy(ResourcePolicy policy, Context context, String name, Group group, EPerson ePerson, LocalDate embargoDate, int action, String reason, DSpaceObject dso) AuthorizeService.createResourcePolicy(Context context, DSpaceObject dso, Group group, EPerson eperson, int type, String rpType) AuthorizeService.createResourcePolicy(Context context, DSpaceObject dso, Group group, EPerson eperson, int type, String rpType, String rpName, String rpDescription, LocalDate startDate, LocalDate endDate) voidResourcePolicyService.delete(Context context, ResourcePolicy resourcePolicy) ResourcePolicyService.find(Context c, DSpaceObject o) ResourcePolicyService.find(Context c, DSpaceObject o, int actionId) ResourcePolicyService.find(Context c, DSpaceObject o, String type) ResourcePolicyService.find(Context c, DSpaceObject dso, Group group, int action) Retrieve a list of ResourcePolicies by EPersonAuthorizeService.findAdminAuthorizedCollection(Context context, String query, int offset, int limit) Finds collections for which the current user is admin, AND which match the query.AuthorizeService.findAdminAuthorizedCommunity(Context context, String query, int offset, int limit) Finds communities for which the current user is admin, AND which match the query.ResourcePolicyService.findByEPerson(Context context, EPerson ePerson, int offset, int limit) Return a paginated list of policies that belong to an EPersonResourcePolicyService.findByEPersonAndResourceUuid(Context context, EPerson ePerson, UUID resourceUuid, int offset, int limit) Return a paginated list of policies related to a resourceUuid belong to an ePersonResourcePolicyService.findByGroup(Context context, Group group, int offset, int limit) Return a paginated list of policies related to a groupResourcePolicyService.findByGroupAndResourceUuid(Context context, Group group, UUID resourceUuid, int offset, int limit) Return a paginated list of policies related to a group and related to a resourceUuidResourcePolicyService.findByResouceUuid(Context context, UUID resourceUuid, int offset, int limit) Return a paginated list of policies related to a DSpace resourceResourcePolicyService.findByResouceUuidAndActionId(Context context, UUID resourceUuid, int actionId, int offset, int limit) Return a paginated list of policies related to a DSpace resource filter by actionIdAuthorizeService.findByTypeGroupAction(Context c, DSpaceObject dso, Group group, int action) ResourcePolicyService.findByTypeGroupActionExceptId(Context context, DSpaceObject dso, Group group, int action, int notPolicyID) Look for ResourcePolicies by DSpaceObject, Group, and action, ignoring IDs with a specific PolicyID.ResourcePolicyService.findExceptRpType(Context c, DSpaceObject o, int actionID, String rpType) Return a list of policies for an object that match the action except the record labeled with the rpTypeAuthorizeService.findPoliciesByDSOAndType(Context c, DSpaceObject o, String type) Return a List of the policies for an objectAuthorizeService.getAuthorizedGroups(Context c, DSpaceObject o, int actionID) Returns all groups authorized to perform an action on an object.AuthorizeService.getPolicies(Context c, DSpaceObject o) Return a List of the policies for an objectAuthorizeService.getPoliciesActionFilter(Context c, DSpaceObject o, int actionID) Return a list of policies for an object that match the actionAuthorizeService.getPoliciesActionFilterExceptRpType(Context c, DSpaceObject o, int actionID, String rpType) Return a list of policies for an object that match the action except the record labeled with the rpTypeAuthorizeService.getPoliciesForGroup(Context c, Group g) Return a List of the policies for a groupvoidAuthorizeService.inheritPolicies(Context c, DSpaceObject src, DSpaceObject dest) Add policies to an object to match those from a previous objectbooleanAuthorizeService.isAccountManager(Context context) Returns true if the current user can manage accounts.booleanCheck to see if the current user is a System Admin.booleanAuthorizeService.isAdmin(Context c, DSpaceObject o) Check to see if the current user is an Administrator of a given object within DSpace.booleanCheck to see if a specific user is system admin.booleanAuthorizeService.isAdmin(Context c, EPerson e, DSpaceObject o) Check to see if a specific user is an Administrator of a given object within DSpace.booleanAuthorizeService.isAnIdenticalPolicyAlreadyInPlace(Context c, DSpaceObject o, ResourcePolicy rp) booleanAuthorizeService.isAnIdenticalPolicyAlreadyInPlace(Context c, DSpaceObject o, Group group, int actionID, int policyID) Is a policy with the specified parameters already in place?booleanAuthorizeService.isCollectionAdmin(Context context) Checks that the context's current user is a collection admin in the site by querying the solr database.booleanAuthorizeService.isComColAdmin(Context context) Checks that the context's current user is a community or collection admin in the site.booleanAuthorizeService.isCommunityAdmin(Context context) Checks that the context's current user is a community admin in the site by querying the solr database.booleanAuthorizeService.isItemAdmin(Context context) Checks that the context's current user is an item admin in the site by querying the solr database.booleanResourcePolicyService.isMyResourcePolicy(Context context, EPerson eperson, Integer id) Check if the resource policy identified with (id) belong to ePersonvoidAuthorizeService.removeAllEPersonPolicies(Context c, EPerson e) Removes all policies from an eperson that belong to an EPerson.voidResourcePolicyService.removeAllEPersonPolicies(Context context, EPerson ePerson) Removes all ResourcePolicies related to an EPersonvoidAuthorizeService.removeAllPolicies(Context c, DSpaceObject o) removes ALL policies for an object.voidResourcePolicyService.removeAllPolicies(Context c, DSpaceObject o) voidAuthorizeService.removeAllPoliciesByDSOAndType(Context c, DSpaceObject o, String type) removes policiesvoidAuthorizeService.removeAllPoliciesByDSOAndTypeNotEqualsTo(Context c, DSpaceObject o, String type) removes ALL policies for an object that are not of the input type.voidResourcePolicyService.removeDsoAndTypeNotEqualsToPolicies(Context c, DSpaceObject o, String type) voidResourcePolicyService.removeDsoEPersonPolicies(Context context, DSpaceObject dso, EPerson ePerson) voidResourcePolicyService.removeDsoGroupPolicies(Context context, DSpaceObject dso, Group group) voidAuthorizeService.removeEPersonPolicies(Context c, DSpaceObject o, EPerson e) Removes all policies from an eperson for a particular object that belong to an EPerson.voidAuthorizeService.removeGroupPolicies(Context c, DSpaceObject o, Group g) Removes all policies from a group for a particular object that belong to a Group.voidAuthorizeService.removeGroupPolicies(Context c, Group group) Removes all policies relating to a particular group.voidResourcePolicyService.removeGroupPolicies(Context c, Group group) voidResourcePolicyService.removePolicies(Context c, DSpaceObject o, int actionId) voidResourcePolicyService.removePolicies(Context c, DSpaceObject o, String type) voidResourcePolicyService.removePolicies(Context c, DSpaceObject o, String type, int action) voidAuthorizeService.removePoliciesActionFilter(Context context, DSpaceObject dso, int actionID) Remove all policies from an object that match a given action.voidAuthorizeService.replaceAllPolicies(Context context, DSpaceObject source, DSpaceObject dest) Replace all the policies in the target object with exactly the same policies that exist in the source objectvoidAuthorizeService.switchPoliciesAction(Context context, DSpaceObject dso, int fromAction, int toAction) Change all the policies related to the action (fromPolicy) of the specified object to the new action (toPolicy)voidResourcePolicyService.update(Context context, List<ResourcePolicy> resourcePolicies) Persist a collection of model objects.voidResourcePolicyService.update(Context context, ResourcePolicy resourcePolicy) Persist a model object. -
Uses of Context in org.dspace.browse
Methods in org.dspace.browse that return ContextMethods in org.dspace.browse with parameters of type ContextModifier and TypeMethodDescriptionintItemCountDAO.getCount(Context context, DSpaceObject dso) Get the number of items in the given DSpaceObject container.intItemCountDAOSolr.getCount(Context context, DSpaceObject dso) Get the count of the items in the given container.intItemCounter.getCount(Context context, DSpaceObject dso) Get the count of the items in the given container.static BrowseDAOBrowseDAOFactory.getInstance(Context context) Get an instance of the relevant Read Only DAO class, which will conform to the BrowseDAO interfacevoidBrowserScope.setContext(Context context) Constructors in org.dspace.browse with parameters of type ContextModifierConstructorDescriptionBrowseEngine(Context context) Create a new instance of the Browse engine, using the given DSpace Context object.BrowserScope(Context context) Construct a new BrowserScope using the given ContextSolrBrowseDAO(Context context) -
Uses of Context in org.dspace.checker
Fields in org.dspace.checker declared as ContextModifier and TypeFieldDescriptionprotected ContextHandleDispatcher.contextprotected ContextSimpleDispatcher.contextMethods in org.dspace.checker with parameters of type ContextModifier and TypeMethodDescriptionvoidChecksumHistoryServiceImpl.addHistory(Context context, MostRecentChecksum mostRecentChecksum) voidChecksumResultsCollector.collect(Context context, MostRecentChecksum info) Collects results.voidResultsLogger.collect(Context context, MostRecentChecksum info) Collect a result for logging.voidConsume an eventvoidChecksumHistoryServiceImpl.deleteByBitstream(Context context, Bitstream bitstream) voidMostRecentChecksumServiceImpl.deleteByBitstream(Context context, Bitstream bitstream) intChecksumHistoryServiceImpl.deleteByDateAndCode(Context context, Instant retentionDate, ChecksumResultCode checksumResultCode) Delete the history records from the database.voidSignal that there are no more events queued in this event stream.Get a list of all the possible result codes.MostRecentChecksumServiceImpl.findBitstreamResultTypeReport(Context context, Instant startDate, Instant endDate, ChecksumResultCode resultCode) Select the most recent bitstream for a given date range with the specified status.MostRecentChecksumServiceImpl.findByBitstream(Context context, Bitstream bitstream) ChecksumResultServiceImpl.findByCode(Context context, ChecksumResultCode code) Get the result description for the given result codeMostRecentChecksumServiceImpl.findNotInHistory(Context context) MostRecentChecksumServiceImpl.findNotProcessedBitstreamsReport(Context context, Instant startDate, Instant endDate) Find all bitstreams that were set to not be processed for the specified date range.MostRecentChecksumServiceImpl.findOldestRecord(Context context) Get the oldest most recent checksum record.MostRecentChecksumServiceImpl.findOldestRecord(Context context, Instant lessThanDate) Returns the oldest bitstream that in the set of bitstreams that are less than the specified date.voidFinish - free any allocated resources.intSimpleReporterServiceImpl.getBitstreamNotFoundReport(Context context, Instant startDate, Instant endDate, OutputStreamWriter osw) Send the bitstream not found report for the specified date range.intSimpleReporterServiceImpl.getChangedChecksumReport(Context context, Instant startDate, Instant endDate, OutputStreamWriter osw) Send the checksum changed report for the specified date range.static ResultsPrunerResultsPruner.getDefaultPruner(Context context) Factory method for the default results pruner configuration using dspace.cfgintSimpleReporterServiceImpl.getDeletedBitstreamReport(Context context, Instant startDate, Instant endDate, OutputStreamWriter osw) Sends the Deleted bitstream report to an administrator. for the specified date range.intSimpleReporterServiceImpl.getNotToBeProcessedReport(Context context, Instant startDate, Instant endDate, OutputStreamWriter osw) Send the bitstreams that were set to not be processed report for the specified date range.static ResultsPrunerFactory method for ResultsPrunersstatic ResultsPrunerResultsPruner.getPruner(Context context, Properties props) Factory method for ResultsPruners (used to load ConfigurationManager properties.intSimpleReporterServiceImpl.getUncheckedBitstreamsReport(Context context, OutputStreamWriter osw) Get any bitstreams that are not checked by the checksum checker.protected voidSimpleReporterServiceImpl.printDSpaceInfoRecords(Context context, List<Bitstream> bitstreams, OutputStreamWriter osw) Create a list of the found history records.intChecksumHistoryServiceImpl.prune(Context context, Map<ChecksumResultCode, Long> interests) voidMostRecentChecksumServiceImpl.update(Context context, MostRecentChecksum mostRecentChecksum) voidChecksumHistoryServiceImpl.updateMissingBitstreams(Context context) voidMostRecentChecksumServiceImpl.updateMissingBitstreams(Context context) Queries the bitstream table for bitstream IDs that are not yet in the most_recent_checksum table, and inserts them into the most_recent_checksum and checksum_history tables.Constructors in org.dspace.checker with parameters of type ContextModifierConstructorDescriptionCheckerCommand(Context context) Default constructor uses DSpace plugin manager to construct dependencies.HandleDispatcher(Context context, String hdl) Main constructor.ResultsPruner(Context context) Default ConstructorSimpleDispatcher(Context context, Instant startTime, boolean looping) Creates a new SimpleDispatcher. -
Uses of Context in org.dspace.checker.dao
Methods in org.dspace.checker.dao with parameters of type ContextModifier and TypeMethodDescriptionvoidChecksumHistoryDAO.deleteByBitstream(Context context, Bitstream bitstream) Delete all ChecksumHistory rows for the given Bitstream.voidMostRecentChecksumDAO.deleteByBitstream(Context context, Bitstream bitstream) intChecksumHistoryDAO.deleteByDateAndCode(Context context, Instant retentionDate, ChecksumResultCode checksumResultCode) Delete all ChecksumHistory rows with retention date before the given and the specified result code.MostRecentChecksumDAO.findByBitstream(Context context, Bitstream bitstream) ChecksumResultDAO.findByCode(Context context, ChecksumResultCode code) MostRecentChecksumDAO.findByNotProcessedInDateRange(Context context, Instant startDate, Instant endDate) MostRecentChecksumDAO.findByResultTypeInDateRange(Context context, Instant startDate, Instant endDate, ChecksumResultCode resultCode) MostRecentChecksumDAO.findNotInHistory(Context context) MostRecentChecksumDAO.getOldestRecord(Context context) MostRecentChecksumDAO.getOldestRecord(Context context, Instant lessThanDate) -
Uses of Context in org.dspace.checker.dao.impl
Methods in org.dspace.checker.dao.impl with parameters of type ContextModifier and TypeMethodDescriptionvoidChecksumHistoryDAOImpl.deleteByBitstream(Context context, Bitstream bitstream) voidMostRecentChecksumDAOImpl.deleteByBitstream(Context context, Bitstream bitstream) intChecksumHistoryDAOImpl.deleteByDateAndCode(Context context, Instant retentionDate, ChecksumResultCode resultCode) MostRecentChecksumDAOImpl.findByBitstream(Context context, Bitstream bitstream) ChecksumResultDAOImpl.findByCode(Context context, ChecksumResultCode code) MostRecentChecksumDAOImpl.findByNotProcessedInDateRange(Context context, Instant startDate, Instant endDate) MostRecentChecksumDAOImpl.findByResultTypeInDateRange(Context context, Instant startDate, Instant endDate, ChecksumResultCode resultCode) MostRecentChecksumDAOImpl.findNotInHistory(Context context) MostRecentChecksumDAOImpl.getOldestRecord(Context context) MostRecentChecksumDAOImpl.getOldestRecord(Context context, Instant lessThanDate) -
Uses of Context in org.dspace.checker.service
Methods in org.dspace.checker.service with parameters of type ContextModifier and TypeMethodDescriptionvoidChecksumHistoryService.addHistory(Context context, MostRecentChecksum mostRecentChecksum) voidChecksumHistoryService.deleteByBitstream(Context context, Bitstream bitstream) voidMostRecentChecksumService.deleteByBitstream(Context context, Bitstream bitstream) intChecksumHistoryService.deleteByDateAndCode(Context context, Instant retentionDate, ChecksumResultCode result) MostRecentChecksumService.findBitstreamResultTypeReport(Context context, Instant startDate, Instant endDate, ChecksumResultCode resultCode) MostRecentChecksumService.findByBitstream(Context context, Bitstream bitstream) ChecksumResultService.findByCode(Context context, ChecksumResultCode code) MostRecentChecksumService.findNotInHistory(Context context) MostRecentChecksumService.findNotProcessedBitstreamsReport(Context context, Instant startDate, Instant endDate) MostRecentChecksumService.findOldestRecord(Context context) MostRecentChecksumService.findOldestRecord(Context context, Instant lessThanDate) intSimpleReporterService.getBitstreamNotFoundReport(Context context, Instant startDate, Instant endDate, OutputStreamWriter osw) The report of bitstreams for the specified date range where it was determined the bitstreams can no longer be found.intSimpleReporterService.getChangedChecksumReport(Context context, Instant startDate, Instant endDate, OutputStreamWriter osw) The a report of bitstreams found where the checksum has been changed since the last check for the specified date range.intSimpleReporterService.getDeletedBitstreamReport(Context context, Instant startDate, Instant endDate, OutputStreamWriter osw) Returns the bitstreams set found to be deleted for the specified date range.intSimpleReporterService.getNotToBeProcessedReport(Context context, Instant startDate, Instant endDate, OutputStreamWriter osw) The bitstreams that were set to not be processed report for the specified date range.intSimpleReporterService.getUncheckedBitstreamsReport(Context context, OutputStreamWriter osw) The bitstreams that are not known to the checksum checker.intChecksumHistoryService.prune(Context context, Map<ChecksumResultCode, Long> interests) Prune the history records from the database.voidMostRecentChecksumService.update(Context context, MostRecentChecksum mostRecentChecksum) voidChecksumHistoryService.updateMissingBitstreams(Context context) voidMostRecentChecksumService.updateMissingBitstreams(Context context) -
Uses of Context in org.dspace.content
Methods in org.dspace.content with parameters of type ContextModifier and TypeMethodDescriptionvoidDSpaceObjectServiceImpl.addAndShiftRightMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value, String authority, int confidence, int index) voidBundleServiceImpl.addBitstream(Context context, Bundle bundle, Bitstream bitstream) voidvoidCommunityServiceImpl.addCollection(Context context, Community community, Collection collection) protected voidItemServiceImpl.addDefaultPoliciesNotInPlace(Context context, DSpaceObject dso, List<ResourcePolicy> defaultCollectionPolicies) Add the default policies, which have not been already added to the given DSpace objectvoidCollectionServiceImpl.addItem(Context context, Collection collection, Item item) DSpaceObjectServiceImpl.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value) DSpaceObjectServiceImpl.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value, String authority, int confidence) DSpaceObjectServiceImpl.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value, String authority, int confidence, int place) DSpaceObjectServiceImpl.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, List<String> values) DSpaceObjectServiceImpl.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, List<String> values, List<String> authorities, List<Integer> confidences) DSpaceObjectServiceImpl.addMetadata(Context context, T dso, MetadataField metadataField, String language, String value) DSpaceObjectServiceImpl.addMetadata(Context context, T dso, MetadataField metadataField, String language, String value, String authority, int confidence) DSpaceObjectServiceImpl.addMetadata(Context context, T dso, MetadataField metadataField, String language, List<String> values) DSpaceObjectServiceImpl.addMetadata(Context context, T dso, MetadataField metadataField, String lang, List<String> values, List<String> authorities, List<Integer> confidences) DSpaceObjectServiceImpl.addMetadata(Context context, T dso, MetadataField metadataField, String lang, List<String> values, List<String> authorities, List<Integer> confidences, Supplier<Integer> placeSupplier) Add metadata value(s) to a MetadataField of a DSpace ObjectItemServiceImpl.addMetadata(Context context, Item dso, String schema, String element, String qualifier, String lang, String value, String authority, int confidence, int place) voidCommunityServiceImpl.addSubcommunity(Context context, Community parentCommunity, Community childCommunity) voidItemServiceImpl.adjustBitstreamPolicies(Context context, Item item, Collection collection, Bitstream bitstream) voidItemServiceImpl.adjustBitstreamPolicies(Context context, Item item, Collection collection, Bitstream bitstream, boolean replaceReadRPWithCollectionRP) voidItemServiceImpl.adjustBundleBitstreamPolicies(Context context, Item item, Collection collection) voidItemServiceImpl.adjustBundleBitstreamPolicies(Context context, Item item, Collection collection, boolean replaceReadRPWithCollectionRP) voidItemServiceImpl.adjustItemPolicies(Context context, Item item, Collection collection) voidItemServiceImpl.adjustItemPolicies(Context context, Item item, Collection collection, boolean replaceReadRPWithCollectionRP) DuplicateDetectionServiceImpl.buildComparisonValue(Context context, Item item) Build a comparison value string made up of values of configured fields, used when indexing and querying items for deduplicationbooleanItemServiceImpl.canCreateNewVersion(Context context, Item item) voidCollectionServiceImpl.canEdit(Context context, Collection collection) voidCollectionServiceImpl.canEdit(Context context, Collection collection, boolean useInheritance) voidbooleanbooleanCollectionServiceImpl.canEditBoolean(Context context, Collection collection) booleanCollectionServiceImpl.canEditBoolean(Context context, Collection collection, boolean useInheritance) booleanCommunityServiceImpl.canEditBoolean(Context context, Community community) voidDSpaceObjectServiceImpl.clearMetadata(Context context, T dso, String schema, String element, String qualifier, String lang) protected List<RelationshipMetadataValue>RelationshipMetadataServiceImpl.constructLatestForDiscoveryMetadataValues(Context context, String schema, String element, String qualifier, List<ItemUuidAndRelationshipId> data) Turn the given data into a list of relation.*.latestForDiscovery virtual metadata values.intItemServiceImpl.countAllItems(Context context, Collection collection) intItemServiceImpl.countAllItems(Context context, Community community) intCollectionServiceImpl.countArchivedItems(Context context, Collection collection) Returns total collection archived itemsintCommunityServiceImpl.countArchivedItems(Context context, Community community) Returns total community archived itemsintItemServiceImpl.countArchivedItems(Context context) intBitstreamServiceImpl.countBitstreamsWithoutPolicy(Context context) intItemServiceImpl.countByCollectionMapping(Context context, Collection collection) intRelationshipTypeServiceImpl.countByEntityType(Context context, EntityType entityType) intWorkspaceItemServiceImpl.countByEPerson(Context context, EPerson ep) intRelationshipServiceImpl.countByItem(Context context, Item item) intRelationshipServiceImpl.countByItem(Context context, Item item, boolean excludeTilted, boolean excludeNonLatest) intRelationshipServiceImpl.countByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft) intRelationshipServiceImpl.countByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, boolean excludeNonLatest) intRelationshipServiceImpl.countByItemRelationshipTypeAndRelatedList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft) intRelationshipServiceImpl.countByRelationshipType(Context context, RelationshipType relationshipType) BitstreamServiceImpl.countByStoreNumber(Context context, Integer storeNumber) intRelationshipServiceImpl.countByTypeName(Context context, String typeName) intCollectionServiceImpl.countCollectionsWithSubmit(String q, Context context, Community community) intCollectionServiceImpl.countCollectionsWithSubmit(String q, Context context, Community community, String entityType) intBitstreamServiceImpl.countDeletedBitstreams(Context context) intEntityTypeServiceImpl.countEntityTypesByNames(Context context, List<String> names) longItemServiceImpl.countForMetadataQuery(Context context, List<QueryPredicate> queryPredicates, List<UUID> collectionUuids) intItemServiceImpl.countItems(Context context, Collection collection) intItemServiceImpl.countItems(Context context, Community community) intItemServiceImpl.countItemsWithEdit(Context context) intItemServiceImpl.countNotArchivedItems(Context context) intBitstreamServiceImpl.countTotal(Context context) intBundleServiceImpl.countTotal(Context context) intCollectionServiceImpl.countTotal(Context context) intCommunityServiceImpl.countTotal(Context context) intItemServiceImpl.countTotal(Context context) intMetadataValueServiceImpl.countTotal(Context context) intRelationshipServiceImpl.countTotal(Context context) intWorkspaceItemServiceImpl.countTotal(Context context) intItemServiceImpl.countWithdrawnItems(Context context) BitstreamServiceImpl.create(Context context, InputStream is) BitstreamServiceImpl.create(Context context, Bundle bundle, InputStream is) ItemServiceImpl.create(Context context, WorkspaceItem workspaceItem) ItemServiceImpl.create(Context context, WorkspaceItem workspaceItem, UUID uuid) MetadataFieldServiceImpl.create(Context context, MetadataSchema metadataSchema, String element, String qualifier, String scopeNote) MetadataValueServiceImpl.create(Context context, DSpaceObject dso, MetadataField metadataField) RelationshipServiceImpl.create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace) RelationshipServiceImpl.create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace, String leftwardValue, String rightwardValue) RelationshipServiceImpl.create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace, String leftwardValue, String rightwardValue, Relationship.LatestVersionStatus latestVersionStatus) RelationshipServiceImpl.create(Context context, Relationship relationship) RelationshipTypeServiceImpl.create(Context context, EntityType leftEntityType, EntityType rightEntityType, String leftwardType, String rightwardType, Integer leftCardinalityMinInteger, Integer leftCardinalityMaxInteger, Integer rightCardinalityMinInteger, Integer rightCardinalityMaxInteger) RelationshipTypeServiceImpl.create(Context context, EntityType leftEntityType, EntityType rightEntityType, String leftwardType, String rightwardType, Integer leftCardinalityMinInteger, Integer leftCardinalityMaxInteger, Integer rightCardinalityMinInteger, Integer rightCardinalityMaxInteger, Boolean copyToLeft, Boolean copyToRight, RelationshipType.Tilted tilted) RelationshipTypeServiceImpl.create(Context context, RelationshipType relationshipType) WorkspaceItemServiceImpl.create(Context context, Collection collection, boolean template) WorkspaceItemServiceImpl.create(Context context, Collection collection, boolean template, boolean isNewVersion) WorkspaceItemServiceImpl.create(Context context, Collection collection, UUID uuid, boolean template, boolean isNewVersion) WorkspaceItemServiceImpl.create(Context c, WorkflowItem workflowItem) CollectionServiceImpl.createAdministrators(Context context, Collection collection) CommunityServiceImpl.createAdministrators(Context context, Community community) CollectionServiceImpl.createDefaultReadGroup(Context context, Collection collection, String typeOfGroupString, int defaultRead) protected ItemItemServiceImpl.createItem(Context context) protected ItemItemServiceImpl.createItem(Context context, UUID uuid) ItemServiceImpl.createSingleBitstream(Context context, InputStream is, Item item) ItemServiceImpl.createSingleBitstream(Context context, InputStream is, Item item, String name) SiteServiceImpl.createSite(Context context) CommunityServiceImpl.createSubcommunity(Context context, Community parentCommunity) CommunityServiceImpl.createSubcommunity(Context context, Community parentCommunity, String handle) CommunityServiceImpl.createSubcommunity(Context context, Community parentCommunity, String handle, UUID uuid) CollectionServiceImpl.createSubmitters(Context context, Collection collection) voidCollectionServiceImpl.createTemplateItem(Context context, Collection collection) ItemServiceImpl.createTemplateItem(Context context, Collection collection) CollectionServiceImpl.createWorkflowGroup(Context context, Collection collection, int step) voidBitstreamFormatServiceImpl.delete(Context context, BitstreamFormat bitstreamFormat) voidvoidvoidCollectionServiceImpl.delete(Context context, Collection collection) voidvoidEntityTypeServiceImpl.delete(Context context, EntityType entityType) voidvoidMetadataFieldServiceImpl.delete(Context context, MetadataField metadataField) voidMetadataSchemaServiceImpl.delete(Context context, MetadataSchema metadataSchema) voidMetadataValueServiceImpl.delete(Context context, MetadataValue metadataValue) voidRelationshipServiceImpl.delete(Context context, Relationship relationship) voidRelationshipServiceImpl.delete(Context context, Relationship relationship, boolean copyToLeftItem, boolean copyToRightItem) voidRelationshipTypeServiceImpl.delete(Context context, RelationshipType relationshipType) voidvoidWorkspaceItemServiceImpl.deleteAll(Context context, WorkspaceItem workspaceItem) protected voidItemServiceImpl.deleteBundle(Context context, Item item, Bundle b) voidMetadataValueServiceImpl.deleteByMetadataField(Context context, MetadataField metadataField) voidWorkspaceItemServiceImpl.deleteWrapper(Context context, WorkspaceItem workspaceItem) MetadataDSpaceCsvExportServiceImpl.export(Context context, Iterator<Item> toExport, boolean exportAll, DSpaceRunnableHandler handler) MetadataDSpaceCsvExportServiceImpl.export(Context context, Community community, boolean exportAll, DSpaceRunnableHandler handler) voidGet a bitstream format from the database.ItemServiceImpl.findAllByCollection(Context context, Collection collection) ItemServiceImpl.findAllByCollection(Context context, Collection collection, Integer limit, Integer offset) MetadataFieldServiceImpl.findAllInSchema(Context context, MetadataSchema metadataSchema) ItemServiceImpl.findAllRegularItems(Context context) CommunityServiceImpl.findAllTop(Context context) ItemServiceImpl.findAllUnfiltered(Context context) ItemServiceImpl.findArchivedByMetadataField(Context context, String metadataField, String value) ItemServiceImpl.findArchivedByMetadataField(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.ANYCollectionServiceImpl.findAuthorized(Context context, Community community, int actionID) CommunityServiceImpl.findAuthorized(Context context, List<Integer> actions) CommunityServiceImpl.findAuthorizedGroupMapped(Context context, List<Integer> actions) CollectionServiceImpl.findAuthorizedOptimized(Context context, int actionID) BitstreamServiceImpl.findBitstreamsWithNoRecentChecksum(Context context) CommunityServiceImpl.findByAdminGroup(Context context, Group group) ItemServiceImpl.findByAuthorityValue(Context context, String schema, String element, String qualifier, String value) ItemServiceImpl.findByCollection(Context context, Collection collection) ItemServiceImpl.findByCollection(Context context, Collection collection, Integer limit, Integer offset) WorkspaceItemServiceImpl.findByCollection(Context context, Collection collection) ItemServiceImpl.findByCollectionMapping(Context context, Collection collection, Integer limit, Integer offset) MetadataFieldServiceImpl.findByElement(Context context, String metadataSchemaName, String element, String qualifier) MetadataFieldServiceImpl.findByElement(Context context, MetadataSchema metadataSchema, String element, String qualifier) EntityTypeServiceImpl.findByEntityType(Context context, String entityType) RelationshipTypeServiceImpl.findByEntityType(Context context, EntityType entityType) RelationshipTypeServiceImpl.findByEntityType(Context context, EntityType entityType, boolean isLeft) RelationshipTypeServiceImpl.findByEntityType(Context context, EntityType entityType, boolean isLeft, Integer limit, Integer offset) RelationshipTypeServiceImpl.findByEntityType(Context context, EntityType entityType, Integer limit, Integer offset) WorkspaceItemServiceImpl.findByEPerson(Context context, EPerson ep) WorkspaceItemServiceImpl.findByEPerson(Context context, EPerson ep, Integer limit, Integer offset) MetadataValueServiceImpl.findByField(Context context, MetadataField metadataField) MetadataValueServiceImpl.findByFieldAndValue(Context context, MetadataField metadataField, String value) CollectionServiceImpl.findByGroup(Context context, Group group) BitstreamServiceImpl.findByIdOrLegacyId(Context context, String id) BundleServiceImpl.findByIdOrLegacyId(Context context, String id) CollectionServiceImpl.findByIdOrLegacyId(Context context, String id) CommunityServiceImpl.findByIdOrLegacyId(Context context, String id) ItemServiceImpl.findByIdOrLegacyId(Context context, String id) RelationshipServiceImpl.findByItem(Context context, Item item) RelationshipServiceImpl.findByItem(Context context, Item item, Integer limit, Integer offset, boolean excludeTilted) RelationshipServiceImpl.findByItem(Context context, Item item, Integer limit, Integer offset, boolean excludeTilted, boolean excludeNonLatest) WorkspaceItemServiceImpl.findByItem(Context context, Item item) RelationshipServiceImpl.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType) RelationshipServiceImpl.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft) RelationshipServiceImpl.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, int limit, int offset) RelationshipServiceImpl.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, int limit, int offset, boolean excludeNonLatest) RelationshipServiceImpl.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, int limit, int offset) RelationshipServiceImpl.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, int limit, int offset, boolean excludeNonLatest) EntityServiceImpl.findByItemId(Context context, UUID itemId) EntityServiceImpl.findByItemId(Context context, UUID itemId, Integer limit, Integer offset) RelationshipServiceImpl.findByItemRelationshipTypeAndRelatedList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft, int offset, int limit) ItemServiceImpl.findByLastModifiedSince(Context context, Instant last) RelationshipServiceImpl.findByLatestItemAndRelationshipType(Context context, Item latestItem, RelationshipType relationshipType, boolean isLeft) RelationshipTypeServiceImpl.findByLeftwardOrRightwardTypeName(Context context, String typeName) RelationshipTypeServiceImpl.findByLeftwardOrRightwardTypeName(Context context, String typeName, Integer limit, Integer offset) BitstreamServiceImpl.findByLegacyId(Context context, int id) BundleServiceImpl.findByLegacyId(Context context, int id) CollectionServiceImpl.findByLegacyId(Context context, int id) CommunityServiceImpl.findByLegacyId(Context context, int id) ItemServiceImpl.findByLegacyId(Context context, int id) 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.ANYItemServiceImpl.findByMetadataFieldAuthority(Context context, String mdString, String authority) ItemServiceImpl.findByMetadataQuery(Context context, List<QueryPredicate> queryPredicates, List<UUID> collectionUuids, long offset, int limit) BitstreamFormatServiceImpl.findByMIMEType(Context context, String mimeType) MetadataSchemaServiceImpl.findByNamespace(Context context, String namespace) RelationshipServiceImpl.findByRelationshipType(Context context, RelationshipType relationshipType) RelationshipServiceImpl.findByRelationshipType(Context context, RelationshipType relationshipType, Integer limit, Integer offset) BitstreamFormatServiceImpl.findByShortDescription(Context context, String desc) BitstreamServiceImpl.findByStoreNumber(Context context, Integer storeNumber) MetadataFieldServiceImpl.findByString(Context context, String mdString, char separator) ItemServiceImpl.findBySubmitter(Context context, EPerson eperson) ItemServiceImpl.findBySubmitter(Context context, EPerson eperson, boolean retrieveAllItems) ItemServiceImpl.findBySubmitterDateSorted(Context context, EPerson eperson, Integer limit) RelationshipServiceImpl.findByTypeName(Context context, String typeName) RelationshipServiceImpl.findByTypeName(Context context, String typeName, Integer limit, Integer offset) RelationshipTypeServiceImpl.findbyTypesAndTypeName(Context context, EntityType leftType, EntityType rightType, String leftwardType, String rightwardType) MetadataValueServiceImpl.findByValueLike(Context context, String value) CollectionServiceImpl.findCollectionsWithSubmit(String q, Context context, Community community, int offset, int limit) CollectionServiceImpl.findCollectionsWithSubmit(String q, Context context, Community community, String entityType, int offset, int limit) CollectionServiceImpl.findCollectionsWithSubscribers(Context context) BitstreamServiceImpl.findDeletedBitstreams(Context context, int limit, int offset) CollectionServiceImpl.findDirectMapped(Context context, int actionID) BitstreamServiceImpl.findDuplicateInternalIdentifier(Context context, Bitstream bitstream) MetadataFieldServiceImpl.findFieldsByElementNameUnqualified(Context context, String metadataSchemaName, String element) CollectionServiceImpl.findGroup2CommunityMapped(Context context) CollectionServiceImpl.findGroup2GroupMapped(Context context, int actionID) CollectionServiceImpl.findGroupMapped(Context context, int actionID) ItemServiceImpl.findInArchiveOrWithdrawnDiscoverableModifiedSince(Context context, Instant since) ItemServiceImpl.findInArchiveOrWithdrawnNonDiscoverableModifiedSince(Context context, Instant since) ItemServiceImpl.findItemsWithEdit(Context context, int offset, int limit) protected List<RelationshipMetadataValue>RelationshipMetadataServiceImpl.findLatestForDiscoveryMetadataValues(Context context, Item item, EntityType itemEntityType) Create the list of relation.*.latestForDiscovery virtual metadata values for the given item.BitstreamFormatServiceImpl.findNonInternal(Context context) RelationshipMetadataService.findRelationshipMetadataValueForItemRelationship(Context context, Item item, String entityType, Relationship relationship, boolean enableVirtualMetadata) Retrieves the list of RelationshipMetadataValue objects specific to only one Relationship of the item.RelationshipMetadataServiceImpl.findRelationshipMetadataValueForItemRelationship(Context context, Item item, String entityType, Relationship relationship, boolean enableVirtualMetadata) BitstreamFormatServiceImpl.findUnknown(Context context) protected ItemInstallItemServiceImpl.finishItem(Context c, Item item, InProgressSubmission is) Final housekeeping when adding a new Item into the archive.voidRelationshipServiceImpl.forceDelete(Context context, Relationship relationship, boolean copyToLeftItem, boolean copyToRightItem) BundleServiceImpl.getAdminObject(Context context, Bundle bundle, int action) CollectionServiceImpl.getAdminObject(Context context, Collection collection, int action) CommunityServiceImpl.getAdminObject(Context context, Community community, int action) DSpaceObjectServiceImpl.getAdminObject(Context context, T dso, int action) ItemServiceImpl.getAdminObject(Context context, Item item, int action) CommunityServiceImpl.getAllCollections(Context context, Community community) CommunityServiceImpl.getAllParents(Context context, Collection collection) CommunityServiceImpl.getAllParents(Context context, Community community) EntityServiceImpl.getAllRelationshipTypes(Context context, Entity entity) EntityServiceImpl.getAllRelationshipTypes(Context context, Entity entity, Integer limit, Integer offset) BundleServiceImpl.getBitstreamPolicies(Context context, Bundle bundle) InstallItemServiceImpl.getBitstreamProvenanceMessage(Context context, Item myitem) BundleServiceImpl.getBundlePolicies(Context context, Bundle bundle) BitstreamServiceImpl.getCollectionBitstreams(Context context, Collection collection) ItemServiceImpl.getCollectionsNotLinked(Context context, Item item) CollectionServiceImpl.getCollectionsWithBitstreamSizesTotal(Context context) ItemServiceImpl.getCommunities(Context context, Item item) BitstreamServiceImpl.getCommunityBitstreams(Context context, Community community) ItemServiceImpl.getEntityType(Context context, Item item) EntityTypeServiceImpl.getEntityTypesByNames(Context context, List<String> names, Integer limit, Integer offset) Get the format of the bitstreamBitstream.getFormatDescription(Context context) Get the description of the format - either the user's or the description of the format defined by the system.BitstreamServiceImpl.getFormatDescription(Context context, Bitstream bitstream) DSpaceObjectServiceImpl.getIdentifiers(Context context, T dso) BitstreamServiceImpl.getItemBitstreams(Context context, Item item) EntityServiceImpl.getLeftRelations(Context context, Entity entity) EntityServiceImpl.getLeftRelationshipTypes(Context context, Entity entity) EntityServiceImpl.getLeftRelationshipTypes(Context context, Entity entity, boolean isLeft, Integer limit, Integer offset) MetadataValueServiceImpl.getMinimum(Context context, int metadataFieldId) ItemServiceImpl.getNonInternalBitstreams(Context context, Item item) BitstreamServiceImpl.getNotReferencedBitstreams(Context context) BitstreamServiceImpl.getParentObject(Context context, Bitstream bitstream) BundleServiceImpl.getParentObject(Context context, Bundle bundle) CollectionServiceImpl.getParentObject(Context context, Collection collection) CommunityServiceImpl.getParentObject(Context context, Community community) DSpaceObjectServiceImpl.getParentObject(Context context, T dso) ItemServiceImpl.getParentObject(Context context, Item item) DuplicateDetectionServiceImpl.getPotentialDuplicates(Context context, Item item) Get a list of PotentialDuplicate objects (wrappers with some metadata included for previewing) that are identified as potential duplicates of the given itemEntityServiceImpl.getRelationsByTypeName(Context context, String typeName) EntityServiceImpl.getRelationsByTypeName(Context context, String typeName, Integer limit, Integer offset) EntityServiceImpl.getRelationshipTypesByTypeName(Context context, String type) EntityServiceImpl.getRelationshipTypesByTypeName(Context context, String typeName, Integer limit, Integer offset) EntityServiceImpl.getRightRelations(Context context, Entity entity) EntityServiceImpl.getRightRelationshipTypes(Context context, Entity entity) EntityServiceImpl.getRightRelationshipTypes(Context context, Entity entity, boolean isLeft, Integer limit, Integer offset) WorkspaceItemServiceImpl.getStageReachedCounts(Context context) EntityTypeServiceImpl.getSubmitAuthorizedTypes(Context context) InstallItemServiceImpl.getSubmittedByProvenanceMessage(Context context, Item item) BitstreamServiceImpl.getThumbnail(Context context, Bitstream bitstream) ItemServiceImpl.getThumbnail(Context context, Item item, boolean requireOriginal) CollectionServiceImpl.getWorkflowGroup(Context context, Collection collection, int step) Collection.getWorkflowStep1(Context context) Collection.getWorkflowStep2(Context context) Collection.getWorkflowStep3(Context context) static voidLicenseUtils.grantLicense(Context context, Item item, String licenseText, String acceptanceDate) Store a copy of the license a user granted in the item.BitstreamFormatServiceImpl.guessFormat(Context context, Bitstream bitstream) MetadataDSpaceCsvExportServiceImpl.handleExport(Context context, boolean exportAllItems, boolean exportAllMetadata, String identifier, DSpaceRunnableHandler handler) protected booleanMetadataFieldServiceImpl.hasElement(Context context, int fieldId, MetadataSchema metadataSchema, String element, String qualifier) A sanity check that ensures a given element and qualifier are unique within a given schema.voidBundleServiceImpl.inheritCollectionDefaultPolicies(Context context, Bundle bundle, Collection collection) voidItemServiceImpl.inheritCollectionDefaultPolicies(Context context, Item item, Collection collection) voidItemServiceImpl.inheritCollectionDefaultPolicies(Context context, Item item, Collection collection, boolean replaceReadRPWithCollectionRP) voidEntityTypeServiceImpl.initDefaultEntityTypeNames(Context context) InstallItemServiceImpl.installItem(Context c, InProgressSubmission is) InstallItemServiceImpl.installItem(Context c, InProgressSubmission is, String suppliedHandle) booleanItemServiceImpl.isInProgressSubmission(Context context, Item item) Check if the item is an inprogress submissionbooleanItemServiceImpl.isItemListedForUser(Context context, Item item) booleanItemServiceImpl.isLatestVersion(Context context, Item item) voidItemServiceImpl.move(Context context, Item item, Collection from, Collection to) voidItemServiceImpl.move(Context context, Item item, Collection from, Collection to, boolean inheritDefaultPolicies) RelationshipServiceImpl.move(Context context, Relationship relationship, Integer newLeftPlace, Integer newRightPlace) RelationshipServiceImpl.move(Context context, Relationship relationship, Item newLeftItem, Item newRightItem) voidWorkspaceItemServiceImpl.move(Context context, WorkspaceItem source, Collection fromCollection, Collection toCollection) voidBundleServiceImpl.moveBitstreamToBundle(Context context, Bundle targetBundle, Bitstream bitstream) voidDSpaceObjectServiceImpl.moveMetadata(Context context, T dso, String schema, String element, String qualifier, int from, int to) protected voidDSpaceObjectServiceImpl.moveSingleMetadataValue(Context context, T dso, int place, MetadataValue rr) Supports moving metadata by updating the place of the metadata value.protected voidItemServiceImpl.moveSingleMetadataValue(Context context, Item dso, int place, MetadataValue rr) Supports moving metadata by adding the metadata value or updating the place of the relationshipprotected voidInstallItemServiceImpl.populateMetadata(Context c, Item item) voidItemServiceImpl.populateWithTemplateItemMetadata(Context context, Collection collection, boolean template, Item item) protected voidInternal method to remove the community and all its children from the database, and perform any pre/post-cleanupprotected voidRegister a new bitstream, with a new ID.voidvoidCollectionServiceImpl.removeAdministrators(Context context, Collection collection) voidCommunityServiceImpl.removeAdministrators(Context context, Community community) voidItemServiceImpl.removeAllBundles(Context context, Item item) voidBundleServiceImpl.removeBitstream(Context context, Bundle bundle, Bitstream bitstream) voidItemServiceImpl.removeBundle(Context context, Item item, Bundle bundle) voidCommunityServiceImpl.removeCollection(Context context, Community community, Collection collection) voidItemServiceImpl.removeDSpaceLicense(Context context, Item item) voidItemServiceImpl.removeGroupPolicies(Context context, Item item, Group group) voidCollectionServiceImpl.removeItem(Context context, Collection collection, Item item) voidItemServiceImpl.removeLicenses(Context context, Item item) voidDSpaceObjectServiceImpl.removeMetadataValues(Context context, T dso, List<MetadataValue> values) protected voidItemServiceImpl.removeRequest(Context context, Item item) voidCommunityServiceImpl.removeSubcommunity(Context context, Community parentCommunity, Community childCommunity) voidCollectionServiceImpl.removeSubmitters(Context context, Collection collection) voidCollectionServiceImpl.removeTemplateItem(Context context, Collection collection) protected voidItemServiceImpl.removeVersion(Context context, Item item) voidBundleServiceImpl.replaceAllBitstreamPolicies(Context context, Bundle bundle, List<ResourcePolicy> newpolicies) voidItemServiceImpl.replaceAllBitstreamPolicies(Context context, Item item, List<ResourcePolicy> newpolicies) voidItemServiceImpl.replaceAllItemPolicies(Context context, Item item, List<ResourcePolicy> newpolicies) voidDSpaceObjectServiceImpl.replaceMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value, String authority, int confidence, int index) InstallItemServiceImpl.restoreItem(Context c, InProgressSubmission is, String suppliedHandle) CollectionServiceImpl.retrieveCollectionWithSubmitByCommunityAndEntityType(Context context, Community community, String entityType) CollectionServiceImpl.retrieveCollectionWithSubmitByEntityType(Context context, Item item, String entityType) DuplicateDetectionServiceImpl.searchDuplicates(Context context, Item item) Search discovery for potential duplicates of a given item.voidFeedbackServiceImpl.sendEmail(Context context, jakarta.servlet.http.HttpServletRequest request, String recipientEmail, String senderEmail, String message, String page) voidBitstream.setAcceptanceDate(Context context, DCDate acceptanceDate) Add date for bitstream granted (used into the use case for license grant theLicenseUtils.grantLicense(Context, Item, String, String)voidBitstream.setDescription(Context context, String n) Set the description of the bitstreamvoidBitstream.setFormat(Context context, BitstreamFormat f) Set the format of the bitstream.voidBitstreamServiceImpl.setFormat(Context context, Bitstream bitstream, BitstreamFormat bitstreamFormat) voidCollection.setLicense(Context context, String license) Set the license for this collection.CollectionServiceImpl.setLogo(Context context, Collection collection, InputStream is) CommunityServiceImpl.setLogo(Context context, Community community, InputStream is) voidCollectionServiceImpl.setMetadataSingleValue(Context context, Collection collection, MetadataFieldName field, String language, String value) voidCommunityServiceImpl.setMetadataSingleValue(Context context, Community community, MetadataFieldName field, String language, String value) voidDSpaceObjectServiceImpl.setMetadataSingleValue(Context context, T dso, String schema, String element, String qualifier, String language, String value) Set first metadata field valuevoidDSpaceObjectServiceImpl.setMetadataSingleValue(Context context, T dso, MetadataFieldName field, String language, String value) voidSet the name of the bitstreamvoidSet the name of the bundlevoidvoidBitstreamFormat.setShortDescription(Context context, String s) voidBitstreamFormatServiceImpl.setShortDescription(Context context, BitstreamFormat bitstreamFormat, String shortDescription) voidSet the source of the bitstreamvoidBitstream.setUserFormatDescription(Context context, String desc) Set the user's format description.voidBitstreamServiceImpl.setUserFormatDescription(Context context, Bitstream bitstream, String desc) voidCollection.setWorkflowGroup(Context context, int step, Group g) voidCollectionServiceImpl.setWorkflowGroup(Context context, Collection collection, int step, Group group) protected booleanMetadataSchemaServiceImpl.uniqueNamespace(Context context, int metadataSchemaId, String namespace) Return true if and only if the passed name appears within the allowed number of times in the current schema.protected booleanMetadataSchemaServiceImpl.uniqueShortName(Context context, int metadataSchemaId, String name) Return true if and only if the passed name is unique.voidBitstreamFormatServiceImpl.update(Context context, List<BitstreamFormat> bitstreamFormats) voidBitstreamFormatServiceImpl.update(Context context, BitstreamFormat bitstreamFormat) voidvoidvoidCollectionServiceImpl.update(Context context, Collection collection) voidvoidvoidEntityTypeServiceImpl.update(Context context, List<EntityType> entityTypes) voidEntityTypeServiceImpl.update(Context context, EntityType entityType) voidvoidMetadataFieldServiceImpl.update(Context context, MetadataField metadataField) voidMetadataSchemaServiceImpl.update(Context context, MetadataSchema metadataSchema) voidMetadataValueServiceImpl.update(Context context, MetadataValue metadataValue) voidMetadataValueServiceImpl.update(Context context, MetadataValue metadataValue, boolean updateLastModified) voidRelationshipServiceImpl.update(Context context, List<Relationship> relationships) voidRelationshipServiceImpl.update(Context context, Relationship relationship) voidRelationshipTypeServiceImpl.update(Context context, List<RelationshipType> relationshipTypes) voidRelationshipTypeServiceImpl.update(Context context, RelationshipType relationshipType) voidvoidWorkspaceItemServiceImpl.update(Context context, WorkspaceItem workspaceItem) voidBundleServiceImpl.updateBitstreamOrder(Context context, Bundle bundle, int from, int to) voidRelationshipServiceImpl.updateItem(Context context, Item relatedItem) voidBitstreamServiceImpl.updateLastModified(Context context, Bitstream bitstream) voidBundleServiceImpl.updateLastModified(Context context, Bundle dso) voidCollectionServiceImpl.updateLastModified(Context context, Collection collection) voidCommunityServiceImpl.updateLastModified(Context context, Community community) voidItemServiceImpl.updateLastModified(Context context, Item item) voidSiteServiceImpl.updateLastModified(Context context, Site dso) DuplicateDetectionServiceImpl.validateDuplicateResult(Context context, IndexableObject indexableObject, Item original) Validate an indexable object (returned by discovery search) to ensure it is permissible, readable and valid and can be added to a list of results.void -
Uses of Context in org.dspace.content.crosswalk
Methods in org.dspace.content.crosswalk with parameters of type ContextModifier and TypeMethodDescriptionbooleanCreativeCommonsRDFStreamDisseminationCrosswalk.canDisseminate(Context context, DSpaceObject dso) booleanCreativeCommonsTextStreamDisseminationCrosswalk.canDisseminate(Context context, DSpaceObject dso) Deprecated.booleanLicenseStreamDisseminationCrosswalk.canDisseminate(Context context, DSpaceObject dso) booleanStreamDisseminationCrosswalk.canDisseminate(Context context, DSpaceObject dso) Predicate: Can this disseminator crosswalk the given object.booleanSubscriptionDsoMetadataForEmailCompose.canDisseminate(Context context, DSpaceObject dso) CrosswalkMetadataValidator.checkMetadata(Context context, String schema, String element, String qualifier, boolean forceCreate) Scans metadata for elements not defined in this DSpace instance.voidCreativeCommonsRDFStreamDisseminationCrosswalk.disseminate(Context context, DSpaceObject dso, OutputStream out) voidCreativeCommonsTextStreamDisseminationCrosswalk.disseminate(Context context, DSpaceObject dso, OutputStream out) Deprecated.voidLicenseStreamDisseminationCrosswalk.disseminate(Context context, DSpaceObject dso, OutputStream out) voidStreamDisseminationCrosswalk.disseminate(Context context, DSpaceObject dso, OutputStream out) Execute crosswalk on the given object, sending output to the stream.voidSubscriptionDsoMetadataForEmailCompose.disseminate(Context context, DSpaceObject dso, OutputStream out) org.jdom2.ElementAIPDIMCrosswalk.disseminateElement(Context context, DSpaceObject dso) Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom2.ElementAIPTechMDCrosswalk.disseminateElement(Context context, DSpaceObject dso) Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom2.ElementDIMDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso) org.jdom2.ElementDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso) Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom2.ElementMETSDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso) org.jdom2.ElementMETSRightsCrosswalk.disseminateElement(Context context, DSpaceObject dso) Actually Disseminate into METSRights schema.org.jdom2.ElementMODSDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso) Disseminate an Item, Collection, or Community to MODS.org.jdom2.ElementOREDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso) org.jdom2.ElementParameterizedDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso, Map<String, String> parameters) Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom2.ElementPREMISCrosswalk.disseminateElement(Context context, DSpaceObject dso) org.jdom2.ElementQDCCrosswalk.disseminateElement(Context context, DSpaceObject dso) org.jdom2.ElementRoleCrosswalk.disseminateElement(Context context, DSpaceObject dso) Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom2.ElementSimpleDCDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso) org.jdom2.ElementXHTMLHeadDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso) This generates a <head> element around the metadata; in general this will probably not be usedorg.jdom2.ElementXSLTDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso) org.jdom2.ElementXSLTDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso, Map<String, String> parameters) List<org.jdom2.Element>AIPDIMCrosswalk.disseminateList(Context context, DSpaceObject dso) Execute crosswalk, returning List of XML elements.List<org.jdom2.Element>AIPTechMDCrosswalk.disseminateList(Context context, DSpaceObject dso) Execute crosswalk, returning List of XML elements.List<org.jdom2.Element>DIMDisseminationCrosswalk.disseminateList(Context context, DSpaceObject dso) List<org.jdom2.Element>DisseminationCrosswalk.disseminateList(Context context, DSpaceObject dso) Execute crosswalk, returning List of XML elements.List<org.jdom2.Element>METSDisseminationCrosswalk.disseminateList(Context context, DSpaceObject dso) List<org.jdom2.Element>METSRightsCrosswalk.disseminateList(Context context, DSpaceObject dso) List<org.jdom2.Element>MODSDisseminationCrosswalk.disseminateList(Context context, DSpaceObject dso) Returns object's metadata in MODS format, as List of XML structure nodes.List<org.jdom2.Element>OREDisseminationCrosswalk.disseminateList(Context context, DSpaceObject dso) List<org.jdom2.Element>PREMISCrosswalk.disseminateList(Context context, DSpaceObject dso) List<org.jdom2.Element>QDCCrosswalk.disseminateList(Context context, DSpaceObject dso) Returns object's metadata in MODS format, as XML structure node.List<org.jdom2.Element>RoleCrosswalk.disseminateList(Context context, DSpaceObject dso) Execute crosswalk, returning List of XML elements.List<org.jdom2.Element>SimpleDCDisseminationCrosswalk.disseminateList(Context context, DSpaceObject dso) Returns object's metadata as XML elements.List<org.jdom2.Element>XHTMLHeadDisseminationCrosswalk.disseminateList(Context context, DSpaceObject dso) Return <meta> elements that can be put in the <head> element of an XHTML document.List<org.jdom2.Element>XSLTDisseminationCrosswalk.disseminateList(Context context, DSpaceObject dso) Disseminate the DSpace item, collection, or community.voidAIPDIMCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> dimList, boolean createMissingMetadataFields) Fields correspond directly to Item.addMetadata() calls so they are simply executed.voidAIPDIMCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) Ingest a whole document.voidAIPTechMDCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> dimList, boolean createMissingMetadataFields) Translate metadata with XSL stylesheet and ingest it.voidAIPTechMDCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) Ingest a whole document.voidCreativeCommonsRDFStreamIngestionCrosswalk.ingest(Context context, DSpaceObject dso, InputStream in, String MIMEType) voidDIMIngestionCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> metadata, boolean createMissingMetadataFields) voidDIMIngestionCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) voidIngestionCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> metadata, boolean createMissingMetadataFields) Crosswalk metadata from external XML representation to DSpace internal representations.voidIngestionCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) Crosswalk metadata from external XML representation to DSpace internal representations.voidLicenseStreamIngestionCrosswalk.ingest(Context context, DSpaceObject dso, InputStream in, String MIMEType) voidMETSRightsCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> ml, boolean createMissingMetadataFields) Ingest a List of XML elementsvoidMETSRightsCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) Ingest a whole XML document, starting at specified root.voidNullIngestionCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> ml, boolean createMissingMetadataFields) voidNullIngestionCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) voidNullStreamIngestionCrosswalk.ingest(Context context, DSpaceObject dso, InputStream in, String MIMEType) voidOAIDCIngestionCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> metadata, boolean createMissingMetadataFields) voidOAIDCIngestionCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) voidOREIngestionCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> metadata, boolean createMissingMetadataFields) voidOREIngestionCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) voidPREMISCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> ml, boolean createMissingMetadataFields) voidPREMISCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) voidQDCCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> ml, boolean createMissingMetadataFields) voidQDCCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) voidRoleCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> metadata, boolean createMissingMetadataFields) Ingest a List of XML elementsvoidRoleCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) Ingest a whole XML document, starting at specified root.voidStreamIngestionCrosswalk.ingest(Context context, DSpaceObject dso, InputStream in, String MIMEType) Execute crosswalk on the given object, taking input from the stream.voidXSLTIngestionCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> metadata, boolean createMissingMetadataFields) Translate metadata with XSL stylesheet and ingest it.voidXSLTIngestionCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) Ingest a whole document.static voidXSLTIngestionCrosswalk.ingestDIM(Context context, DSpaceObject dso, List<org.jdom2.Element> fields, boolean createMissingMetadataFields) static voidXSLTIngestionCrosswalk.ingestDIM(Context context, DSpaceObject dso, org.jdom2.Element dim, boolean createMissingMetadataFields) Ingest a DIM metadata expression directly, without translating some other format into DIM. -
Uses of Context in org.dspace.content.dao
Methods in org.dspace.content.dao with parameters of type ContextModifier and TypeMethodDescriptionintItemDAO.countArchivedByCollectionExcludingOwning(Context context, Collection collection) Counts all the items that are archived and for which the given Collection is part of the Item's Collections but it is not the owning CollectionintRelationshipTypeDAO.countByEntityType(Context context, EntityType entityType) Count all RelationshipType objects for which the given EntityType is equal to either the leftType or the rightTypeintRelationshipDAO.countByItem(Context context, Item item, boolean excludeTilted, boolean excludeNonLatest) This method returns a count of Relationship objects that have the given Item object as a leftItem or a rightItemintRelationshipDAO.countByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, boolean excludeNonLatest) Count total number of relationships (rows in relationship table) by an item and a relationship type and a boolean indicating whether the item should be the leftItem or the rightItemintRelationshipDAO.countByItemAndRelationshipTypeAndList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft) Count total number of relationships that match focusItem on the one hand and matches list of related items elsewhere.intRelationshipDAO.countByRelationshipType(Context context, RelationshipType relationshipType) Count total number of relationships (rows in relationship table) by a relationship typeBitstreamDAO.countByStoreNumber(Context context, Integer storeNumber) intRelationshipDAO.countByTypeName(Context context, String typeName) Count total number of relationships (rows in relationship table) given a typeNameintProcessDAO.countByUser(Context context, EPerson user) Count all the processes which is related to the given user.intBitstreamDAO.countDeleted(Context context) intEntityTypeDAO.countEntityTypesByNames(Context context, List<String> names) longItemDAO.countForMetadataQuery(Context context, List<QueryPredicate> queryPredicates, List<UUID> collectionUuids, String regexClause) intItemDAO.countItems(Context context, boolean includeArchived, boolean includeWithdrawn, boolean discoverable) Count number of items based on specific status flagsintItemDAO.countItems(Context context, List<Collection> collections, boolean includeArchived, boolean includeWithdrawn, boolean discoverable) Count number of unique items across several collections at once.intItemDAO.countItems(Context context, Collection collection, boolean includeArchived, boolean includeWithdrawn, boolean discoverable) Count number of items in a given collectionintItemDAO.countItems(Context context, EPerson submitter, boolean includeArchived, boolean includeWithdrawn, boolean discoverable) Count number of items from the specified submitter based on specific status flagsintintintintintCount total number of items (rows in item table)intintReturns the total amount of Process objects in the dataaseintCount total number of relationships (rows in relationship table)intintintProcessDAO.countTotalWithParameters(Context context, ProcessQueryParameterContainer processQueryParameterContainer) Count all the processes which match the requirements.intBitstreamDAO.countWithNoPolicy(Context context) voidMetadataValueDAO.deleteByMetadataField(Context context, MetadataField metadataField) MetadataFieldDAO.find(Context context, int metadataFieldId, MetadataSchema metadataSchema, String element, String qualifier) CollectionDAO.findAll(Context context, MetadataField order) CollectionDAO.findAll(Context context, MetadataField order, Integer limit, Integer offset) CommunityDAO.findAll(Context context, MetadataField sortField) CommunityDAO.findAll(Context context, MetadataField sortField, Integer limit, Integer offset) Deprecated.ItemDAO.findAll(Context context, boolean archived, boolean withdrawn, boolean discoverable, Instant lastModified) Get all Items installed or withdrawn, discoverable, and modified since a Date.Returns a list of all Process objects in the databaseItemDAO.findAllByCollection(Context context, Collection collection) ItemDAO.findAllByCollection(Context context, Collection collection, Integer limit, Integer offset) MetadataFieldDAO.findAllInSchema(Context context, MetadataSchema metadataSchema) CommunityDAO.findAllNoParent(Context context, MetadataField sortField) ItemDAO.findAllRegularItems(Context context) Find all items that are: - NOT in the workspace - NOT in the workflow - NOT a template item for e.g. a collection This implies that the result also contains older versions of items and withdrawn items.ProcessDAO.findAllSortByScript(Context context) This method will return all the Process objects in the database in a list and it'll be sorted by script nameProcessDAO.findAllSortByStartTime(Context context) This method will return all the Process objects in the database in a list and it'll be sorted by start time.ItemDAO.findArchivedByCollection(Context context, Collection collection, Integer limit, Integer offset) ItemDAO.findArchivedByCollectionExcludingOwning(Context context, Collection collection, Integer limit, Integer offset) Returns all the Items in an iterator that are archived and for which the given Collection is part of the Item's Collections but it is not the owning collectionCollectionDAO.findAuthorized(Context context, EPerson ePerson, List<Integer> actions) CommunityDAO.findAuthorized(Context context, EPerson ePerson, List<Integer> actions) CollectionDAO.findAuthorizedByGroup(Context context, EPerson ePerson, List<Integer> actions) CommunityDAO.findAuthorizedByGroup(Context context, EPerson currentUser, List<Integer> actions) BitstreamDAO.findBitstreamsWithNoRecentChecksum(Context context) CommunityDAO.findByAdminGroup(Context context, Group group) ItemDAO.findByAuthorityValue(Context context, MetadataField metadataField, String authority, boolean inArchive) BitstreamDAO.findByCollection(Context context, Collection collection) WorkspaceItemDAO.findByCollection(Context context, Collection c) BitstreamDAO.findByCommunity(Context context, Community community) MetadataFieldDAO.findByElement(Context context, String metadataSchema, String element, String qualifier) MetadataFieldDAO.findByElement(Context context, MetadataSchema metadataSchema, String element, String qualifier) EntityTypeDAO.findByEntityType(Context context, String entityType) This method returns the EntityType object that has the given entityType String as labelRelationshipTypeDAO.findByEntityType(Context context, EntityType entityType) This method will return a list of RelationshipType objects for which the given EntityType object is equal to the leftType or rightTypeRelationshipTypeDAO.findByEntityType(Context context, EntityType entityType, Boolean isLeft) This method will return a list of RelationshipType objects for which the given EntityType object is equal to the leftType or rightTypeRelationshipTypeDAO.findByEntityType(Context context, EntityType entityType, Boolean isLeft, Integer limit, Integer offset) This method will return a list of RelationshipType objects for which the given EntityType object is equal to the leftType or rightTypeRelationshipTypeDAO.findByEntityType(Context context, EntityType entityType, Integer limit, Integer offset) This method will return a list of RelationshipType objects for which the given EntityType object is equal to the leftType or rightTypeWorkspaceItemDAO.findByEPerson(Context context, EPerson ep) WorkspaceItemDAO.findByEPerson(Context context, EPerson ep, Integer limit, Integer offset) MetadataValueDAO.findByField(Context context, MetadataField fieldId) BitstreamFormatDAO.findByFileExtension(Context context, String extension) CollectionDAO.findByGroup(Context context, Group group) BitstreamDAO.findByItem(Context context, Item item) RelationshipDAO.findByItem(Context context, Item item, boolean excludeTilted, boolean excludeNonLatest) This method returns a list of Relationship objects that have the given Item object as a leftItem or a rightItemRelationshipDAO.findByItem(Context context, Item item, Integer limit, Integer offset, boolean excludeTilted, boolean excludeNonLatest) This method returns a list of Relationship objects that have the given Item object as a leftItem or a rightItemWorkspaceItemDAO.findByItem(Context context, Item i) RelationshipDAO.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, Integer limit, Integer offset, boolean excludeNonLatest) This method returns a list of Relationship objects for the given RelationshipType object.RelationshipDAO.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, Integer limit, Integer offset, boolean excludeNonLatest) This method returns a list of Relationship objects for the given RelationshipType object.RelationshipDAO.findByItemAndRelationshipTypeAndList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft, int offset, int limit) This method is used to retrieve relationships that match focusItem on the one hand and matches list of related items elsewhere.ItemDAO.findByLastModifiedSince(Context context, Instant since) Find all Items modified since a Date.RelationshipDAO.findByLatestItemAndRelationshipType(Context context, Item latestItem, RelationshipType relationshipType, boolean isLeft) This method returns the UUIDs of all items that have a relationship with the given item, from the perspective of the other item.RelationshipTypeDAO.findByLeftwardOrRightwardTypeName(Context context, String type) This method will return a list of RelationshipType objects for which the given label is equal to either the leftwardType or rightwardType.RelationshipTypeDAO.findByLeftwardOrRightwardTypeName(Context context, String type, Integer limit, Integer offset) This method will return a list of RelationshipType objects for which the given label is equal to either the leftLabel or rightLabel.DSpaceObjectLegacySupportDAO.findByLegacyId(Context context, int legacyId, Class<T> clazz) ItemDAO.findByMetadataField(Context context, MetadataField metadataField, String value, boolean inArchive) ItemDAO.findByMetadataQuery(Context context, List<QueryPredicate> queryPredicates, List<UUID> collectionUuids, String regexClause, long offset, int limit) Returns all the Items that belong to the specified aollections (if any) and match the provided predicates.BitstreamFormatDAO.findByMIMEType(Context context, String mimeType, boolean includeInternal) MetadataSchemaDAO.findByNamespace(Context context, String namespace) RelationshipDAO.findByRelationshipType(Context context, RelationshipType relationshipType) This method returns a list of Relationship objects for the given RelationshipType object.RelationshipDAO.findByRelationshipType(Context context, RelationshipType relationshipType, Integer limit, Integer offset) This method returns a list of Relationship objects for the given RelationshipType object.BitstreamFormatDAO.findByShortDescription(Context context, String desc) ProcessDAO.findByStatusAndCreationTimeOlderThan(Context context, List<ProcessStatus> statuses, Instant date) Find all the processes with one of the given status and with a creation time older than the specified date.BitstreamDAO.findByStoreNumber(Context context, Integer storeNumber) ItemDAO.findBySubmitter(Context context, EPerson eperson) ItemDAO.findBySubmitter(Context context, EPerson eperson, boolean retrieveAllItems) Find all the items by a given submitter.ItemDAO.findBySubmitter(Context context, EPerson eperson, MetadataField metadataField, int limit) CollectionDAO.findByTemplateItem(Context context, Item item) RelationshipDAO.findByTypeName(Context context, String typeName) This method returns a list of Relationship objects for the given typeNameRelationshipDAO.findByTypeName(Context context, String typeName, Integer limit, Integer offset) This method returns a list of Relationship objects for the given typeNameRelationshipTypeDAO.findbyTypesAndTypeName(Context context, EntityType leftType, EntityType rightType, String leftwardType, String rightwardType) This method is used to retrieve the RelationshipType object that has the same leftType, rightType, leftwardType and rightwardType as given in the parametersProcessDAO.findByUser(Context context, EPerson user, int limit, int offset) Returns a list of all Process objects in the database by the given user.MetadataValueDAO.findByValueLike(Context context, String value) CollectionDAO.findCollectionsWithSubscribers(Context context) BitstreamDAO.findDeletedBitstreams(Context context, int limit, int offset) BitstreamDAO.findDuplicateInternalIdentifier(Context context, Bitstream bitstream) MetadataFieldDAO.findFieldsByElementNameUnqualified(Context context, String metadataSchema, String element) MetadataValueDAO.findItemValuesByFieldAndValue(Context context, MetadataField metadataField, String value) BitstreamFormatDAO.findNonInternal(Context context) CollectionDAO.getCollectionsWithBitstreamSizesTotal(Context context) EntityTypeDAO.getEntityTypesByNames(Context context, List<String> names, Integer limit, Integer offset) MetadataValueDAO.getMinimum(Context context, int metadataFieldId) BitstreamDAO.getNotReferencedBitstreams(Context context) WorkspaceItemDAO.getStageReachedCounts(Context context) ProcessDAO.search(Context context, ProcessQueryParameterContainer processQueryParameterContainer, int limit, int offset) Returns a list of all Processes in the database which match the given field requirements.booleanMetadataSchemaDAO.uniqueNamespace(Context context, int metadataSchemaId, String namespace) booleanMetadataSchemaDAO.uniqueShortName(Context context, int metadataSchemaId, String name) intBitstreamFormatDAO.updateRemovedBitstreamFormat(Context context, BitstreamFormat deletedBitstreamFormat, BitstreamFormat newBitstreamFormat) -
Uses of Context in org.dspace.content.dao.impl
Methods in org.dspace.content.dao.impl with parameters of type ContextModifier and TypeMethodDescriptionintItemDAOImpl.countArchivedByCollectionExcludingOwning(Context context, Collection collection) intRelationshipTypeDAOImpl.countByEntityType(Context context, EntityType entityType) intRelationshipDAOImpl.countByItem(Context context, Item item, boolean excludeTilted, boolean excludeNonLatest) intRelationshipDAOImpl.countByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, boolean excludeNonLatest) intRelationshipDAOImpl.countByItemAndRelationshipTypeAndList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft) intRelationshipDAOImpl.countByRelationshipType(Context context, RelationshipType relationshipType) BitstreamDAOImpl.countByStoreNumber(Context context, Integer storeNumber) intRelationshipDAOImpl.countByTypeName(Context context, String typeName) intProcessDAOImpl.countByUser(Context context, EPerson user) intBitstreamDAOImpl.countDeleted(Context context) intEntityTypeDAOImpl.countEntityTypesByNames(Context context, List<String> names) longItemDAOImpl.countForMetadataQuery(Context context, List<QueryPredicate> queryPredicates, List<UUID> collectionUuids, String regexClause) intItemDAOImpl.countItems(Context context, boolean includeArchived, boolean includeWithdrawn, boolean discoverable) intItemDAOImpl.countItems(Context context, List<Collection> collections, boolean includeArchived, boolean includeWithdrawn, boolean discoverable) intItemDAOImpl.countItems(Context context, Collection collection, boolean includeArchived, boolean includeWithdrawn, boolean discoverable) intItemDAOImpl.countItems(Context context, EPerson submitter, boolean includeArchived, boolean includeWithdrawn, boolean discoverable) intintintintintintintintintintintProcessDAOImpl.countTotalWithParameters(Context context, ProcessQueryParameterContainer processQueryParameterContainer) intBitstreamDAOImpl.countWithNoPolicy(Context context) voidMetadataValueDAOImpl.deleteByMetadataField(Context context, MetadataField metadataField) MetadataFieldDAOImpl.find(Context context, int metadataFieldId, MetadataSchema metadataSchema, String element, String qualifier) Get the schema corresponding with this short name.CollectionDAOImpl.findAll(Context context, MetadataField order) Get all collections in the system.CollectionDAOImpl.findAll(Context context, MetadataField order, Integer limit, Integer offset) CommunityDAOImpl.findAll(Context context, MetadataField sortField) Get a list of all communities in the system.CommunityDAOImpl.findAll(Context context, MetadataField sortField, Integer limit, Integer offset) ItemDAOImpl.findAll(Context context, boolean archived, boolean withdrawn, boolean discoverable, Instant lastModified) MetadataFieldDAOImpl.findAll(Context context, Class<MetadataField> clazz) ItemDAOImpl.findAllByCollection(Context context, Collection collection) ItemDAOImpl.findAllByCollection(Context context, Collection collection, Integer limit, Integer offset) MetadataFieldDAOImpl.findAllInSchema(Context context, MetadataSchema metadataSchema) CommunityDAOImpl.findAllNoParent(Context context, MetadataField sortField) ItemDAOImpl.findAllRegularItems(Context context) ProcessDAOImpl.findAllSortByScript(Context context) ProcessDAOImpl.findAllSortByStartTime(Context context) ItemDAOImpl.findArchivedByCollection(Context context, Collection collection, Integer limit, Integer offset) ItemDAOImpl.findArchivedByCollectionExcludingOwning(Context context, Collection collection, Integer limit, Integer offset) CollectionDAOImpl.findAuthorized(Context context, EPerson ePerson, List<Integer> actions) CommunityDAOImpl.findAuthorized(Context context, EPerson ePerson, List<Integer> actions) CollectionDAOImpl.findAuthorizedByGroup(Context context, EPerson ePerson, List<Integer> actions) CommunityDAOImpl.findAuthorizedByGroup(Context context, EPerson ePerson, List<Integer> actions) BitstreamDAOImpl.findBitstreamsWithNoRecentChecksum(Context context) CommunityDAOImpl.findByAdminGroup(Context context, Group group) ItemDAOImpl.findByAuthorityValue(Context context, MetadataField metadataField, String authority, boolean inArchive) BitstreamDAOImpl.findByCollection(Context context, Collection collection) WorkspaceItemDAOImpl.findByCollection(Context context, Collection c) BitstreamDAOImpl.findByCommunity(Context context, Community community) MetadataFieldDAOImpl.findByElement(Context context, String metadataSchema, String element, String qualifier) MetadataFieldDAOImpl.findByElement(Context context, MetadataSchema metadataSchema, String element, String qualifier) EntityTypeDAOImpl.findByEntityType(Context context, String entityType) RelationshipTypeDAOImpl.findByEntityType(Context context, EntityType entityType) RelationshipTypeDAOImpl.findByEntityType(Context context, EntityType entityType, Boolean isLeft) RelationshipTypeDAOImpl.findByEntityType(Context context, EntityType entityType, Boolean isLeft, Integer limit, Integer offset) RelationshipTypeDAOImpl.findByEntityType(Context context, EntityType entityType, Integer limit, Integer offset) WorkspaceItemDAOImpl.findByEPerson(Context context, EPerson ep) WorkspaceItemDAOImpl.findByEPerson(Context context, EPerson ep, Integer limit, Integer offset) MetadataValueDAOImpl.findByField(Context context, MetadataField metadataField) BitstreamFormatDAOImpl.findByFileExtension(Context context, String extension) CollectionDAOImpl.findByGroup(Context context, Group group) BitstreamDAOImpl.findByItem(Context context, Item item) RelationshipDAOImpl.findByItem(Context context, Item item, boolean excludeTilted, boolean excludeNonLatest) RelationshipDAOImpl.findByItem(Context context, Item item, Integer limit, Integer offset, boolean excludeTilted, boolean excludeNonLatest) WorkspaceItemDAOImpl.findByItem(Context context, Item i) RelationshipDAOImpl.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, Integer limit, Integer offset, boolean excludeNonLatest) RelationshipDAOImpl.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, Integer limit, Integer offset, boolean excludeNonLatest) RelationshipDAOImpl.findByItemAndRelationshipTypeAndList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft, int offset, int limit) ItemDAOImpl.findByLastModifiedSince(Context context, Instant since) RelationshipDAOImpl.findByLatestItemAndRelationshipType(Context context, Item latestItem, RelationshipType relationshipType, boolean isLeft) RelationshipTypeDAOImpl.findByLeftwardOrRightwardTypeName(Context context, String type) RelationshipTypeDAOImpl.findByLeftwardOrRightwardTypeName(Context context, String type, Integer limit, Integer offset) ItemDAOImpl.findByMetadataField(Context context, MetadataField metadataField, String value, boolean inArchive) ItemDAOImpl.findByMetadataQuery(Context context, List<QueryPredicate> queryPredicates, List<UUID> collectionUuids, String regexClause, long offset, int limit) BitstreamFormatDAOImpl.findByMIMEType(Context context, String mimeType, boolean includeInternal) Find a bitstream format by its (unique) MIME type.MetadataSchemaDAOImpl.findByNamespace(Context context, String namespace) Get the schema object corresponding to this namespace URI.RelationshipDAOImpl.findByRelationshipType(Context context, RelationshipType relationshipType) RelationshipDAOImpl.findByRelationshipType(Context context, RelationshipType relationshipType, Integer limit, Integer offset) BitstreamFormatDAOImpl.findByShortDescription(Context context, String desc) Find a bitstream format by its (unique) short descriptionProcessDAOImpl.findByStatusAndCreationTimeOlderThan(Context context, List<ProcessStatus> statuses, Instant date) BitstreamDAOImpl.findByStoreNumber(Context context, Integer storeNumber) ItemDAOImpl.findBySubmitter(Context context, EPerson eperson) ItemDAOImpl.findBySubmitter(Context context, EPerson eperson, boolean retrieveAllItems) ItemDAOImpl.findBySubmitter(Context context, EPerson eperson, MetadataField metadataField, int limit) CollectionDAOImpl.findByTemplateItem(Context context, Item item) RelationshipDAOImpl.findByTypeName(Context context, String typeName) RelationshipDAOImpl.findByTypeName(Context context, String typeName, Integer limit, Integer offset) RelationshipTypeDAOImpl.findbyTypesAndTypeName(Context context, EntityType leftType, EntityType rightType, String leftwardType, String rightwardType) ProcessDAOImpl.findByUser(Context context, EPerson user, int limit, int offset) MetadataValueDAOImpl.findByValueLike(Context context, String value) CollectionDAOImpl.findCollectionsWithSubscribers(Context context) BitstreamDAOImpl.findDeletedBitstreams(Context context, int limit, int offset) BitstreamDAOImpl.findDuplicateInternalIdentifier(Context context, Bitstream bitstream) MetadataFieldDAOImpl.findFieldsByElementNameUnqualified(Context context, String metadataSchema, String element) MetadataValueDAOImpl.findItemValuesByFieldAndValue(Context context, MetadataField metadataField, String value) BitstreamFormatDAOImpl.findNonInternal(Context context) CollectionDAOImpl.getCollectionsWithBitstreamSizesTotal(Context context) EntityTypeDAOImpl.getEntityTypesByNames(Context context, List<String> names, Integer limit, Integer offset) MetadataValueDAOImpl.getMinimum(Context context, int metadataFieldId) BitstreamDAOImpl.getNotReferencedBitstreams(Context context) WorkspaceItemDAOImpl.getStageReachedCounts(Context context) ProcessDAOImpl.search(Context context, ProcessQueryParameterContainer processQueryParameterContainer, int limit, int offset) booleanMetadataSchemaDAOImpl.uniqueNamespace(Context context, int metadataSchemaId, String namespace) Return true if and only if the passed name appears within the allowed number of times in the current schema.booleanMetadataSchemaDAOImpl.uniqueShortName(Context context, int metadataSchemaId, String name) Return true if and only if the passed name is unique.intBitstreamFormatDAOImpl.updateRemovedBitstreamFormat(Context context, BitstreamFormat deletedBitstreamFormat, BitstreamFormat newBitstreamFormat) -
Uses of Context in org.dspace.content.logic
Methods in org.dspace.content.logic with parameters of type ContextModifier and TypeMethodDescriptionbooleanGet the result of logical evaluation for an itembooleanGet the result of logical evaluation for an itembooleanGet the result of logical evaluation for an itemboolean -
Uses of Context in org.dspace.content.logic.condition
Methods in org.dspace.content.logic.condition with parameters of type ContextModifier and TypeMethodDescriptionbooleanGet the result of logical evaluation for an itembooleanReturn true if bitstream count is within bounds of min and/or max parameters Return false if out of boundsbooleanGet the result of logical evaluation for an itembooleanReturn true if item is in one of the specified collections Return false if notbooleanReturn true if item is in one of the specified collections Return false if notbooleanReturn true if item is archived Return false if notbooleanReturn true if item is withdrawn Return false if notbooleanReturn true if any value for a specified field in the item matches a specified regex pattern Return false if notbooleanReturn true if any value for a specified field in the item matches any of the specified regex patterns Return false if notbooleanReturn true if this item allows a specified action (eg READ, WRITE, ADD) by a specified group -
Uses of Context in org.dspace.content.logic.operator
Methods in org.dspace.content.logic.operator with parameters of type ContextModifier and TypeMethodDescriptionbooleanbooleanReturn true if ALL statements return true Return false otherwisebooleanReturn true if the result of AND'ing all sub-statements is false (ie. a NOT(AND()) Return false if notbooleanReturn true if the result of OR'ing the sub-statements is false Return false otherwisebooleanReturn true if the result of the sub-statement is false Return false otherwisebooleanReturn true if any sub-statement returns true Return false otherwise -
Uses of Context in org.dspace.content.packager
Methods in org.dspace.content.packager with parameters of type ContextModifier and TypeMethodDescriptionprotected StringAbstractMETSDisseminator.addAmdSec(Context context, DSpaceObject dso, PackageParameters params, edu.harvard.hul.ois.mets.Mets mets, AbstractMETSDisseminator.MdStreamCache extraStreams) protected voidAbstractMETSIngester.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 Manifestprotected voidAbstractMETSDisseminator.addBitstreamsToZip(Context context, DSpaceObject dso, PackageParameters params, ZipOutputStream zip) Add Bitstreams associated with a given DSpace Object into an existing ZipOutputStreamprotected voidAbstractMETSIngester.addContainerLogo(Context context, DSpaceObject dso, METSManifest manifest, File pkgFile, PackageParameters params) Add a Logo to a Community or Collection container object based on a METS Manifest.static voidPackageUtils.addDepositLicense(Context context, String license, Item item, Collection collection) Add DSpace Deposit License to an Item.abstract voidAbstractMETSIngester.addLicense(Context context, Item item, String license, Collection collection, PackageParameters params) Add license(s) to Item based on contents of METS and other policies.voidDSpaceAIPIngester.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.voidDSpaceMETSIngester.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.protected voidAbstractMETSDisseminator.addLogoBitstream(Context context, Bitstream logoBs, edu.harvard.hul.ois.mets.FileSec fileSec, edu.harvard.hul.ois.mets.Div div0, PackageParameters params) protected voidAbstractMETSIngester.addManifestBitstream(Context context, Item item, METSManifest manifest) Save/Preserve the METS Manifest as a Bitstream attached to the given DSpace item.abstract voidAbstractMETSDisseminator.addStructMap(Context context, DSpaceObject dso, PackageParameters params, edu.harvard.hul.ois.mets.Mets mets) Add any additionalstructMapelements to the METS document, as required by this subclass.voidDSpaceAIPDisseminator.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.voidDSpaceMETSDisseminator.addStructMap(Context context, DSpaceObject dso, PackageParameters params, edu.harvard.hul.ois.mets.Mets mets) protected voidAbstractMETSIngester.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 voidAbstractMETSDisseminator.addToAmdSec(edu.harvard.hul.ois.mets.AmdSec fAmdSec, String[] mdTypes, Class mdSecClass, Context context, DSpaceObject dso, PackageParameters params, AbstractMETSDisseminator.MdStreamCache extraStreams) static voidPackageUtils.clearAllMetadata(Context context, DSpaceObject dso) Removes all metadata associated with a DSpace object.static DSpaceObjectPackageUtils.createDSpaceObject(Context context, DSpaceObject parent, int type, String handle, UUID uuid, PackageParameters params) Create the specified DSpace Object, based on the passed in Package Parameters (along with other basic info required to create the object)voidMETSManifest.crosswalkBitstream(Context context, PackageParameters params, Bitstream bitstream, String fileId, METSManifest.Mdref callback) Crosswalk the metadata associated with a particularfileelement into the bitstream it corresponds to.voidMETSManifest.crosswalkBundle(Context context, PackageParameters params, Bundle bundle, String fileId, METSManifest.Mdref callback) voidMETSManifest.crosswalkItemDmd(Context context, PackageParameters params, DSpaceObject dso, org.jdom2.Element dmdSec, METSManifest.Mdref callback) Invokes appropriate crosswalks on Item-wide descriptive metadata.abstract voidAbstractMETSIngester.crosswalkObjectDmd(Context context, DSpaceObject dso, METSManifest manifest, AbstractMETSIngester.MdrefManager callback, org.jdom2.Element[] dmds, PackageParameters params) Select thedmdSecelement(s) to apply to the Item.voidDSpaceAIPIngester.crosswalkObjectDmd(Context context, DSpaceObject dso, METSManifest manifest, AbstractMETSIngester.MdrefManager callback, org.jdom2.Element[] dmds, PackageParameters params) Choose DMD section(s) to crosswalk.voidDSpaceMETSIngester.crosswalkObjectDmd(Context context, DSpaceObject dso, METSManifest manifest, AbstractMETSIngester.MdrefManager callback, org.jdom2.Element[] dmds, PackageParameters params) Choose DMD section(s) to crosswalk.voidMETSManifest.crosswalkObjectOtherAdminMD(Context context, PackageParameters params, DSpaceObject dso, METSManifest.Mdref callback) Crosswalk all technical and source metadata sections that belong to the whole object.booleanMETSManifest.crosswalkObjectSourceMD(Context context, PackageParameters params, DSpaceObject dso, METSManifest.Mdref callback) Just crosswalk the sourceMD sections; used to set the handle and parent of AIP.protected edu.harvard.hul.ois.mets.helper.MetsElementAbstractMETSDisseminator.crosswalkToMetsElement(Context context, DisseminationCrosswalk xwalk, DSpaceObject dso, edu.harvard.hul.ois.mets.helper.MetsElement me) protected voidMETSManifest.crosswalkXmd(Context context, PackageParameters params, DSpaceObject dso, org.jdom2.Element xmd, METSManifest.Mdref callback, boolean createMissingMetadataFields) voidAbstractMETSDisseminator.disseminate(Context context, DSpaceObject dso, PackageParameters params, File pkgFile) Export the object (Item, Collection, or Community) as a "package" on the indicated OutputStream.voidDSpaceAIPDisseminator.disseminate(Context context, DSpaceObject dso, PackageParameters params, File pkgFile) voidPackageDisseminator.disseminate(Context context, DSpaceObject object, PackageParameters params, File pkgFile) Export the object (Item, Collection, or Community) as a "package" on the indicated OutputStream.voidPDFPackager.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.voidRoleDisseminator.disseminate(Context context, DSpaceObject object, PackageParameters params, File pkgFile) AbstractPackageDisseminator.disseminateAll(Context context, DSpaceObject dso, PackageParameters params, File pkgFile) Recursively export one or more DSpace Objects as a series of packages.PackageDisseminator.disseminateAll(Context context, DSpaceObject dso, PackageParameters params, File pkgFile) Recursively export one or more DSpace Objects as a series of packages.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 disseminateRoleDisseminator.disseminateAll(Context context, DSpaceObject dso, PackageParameters params, File pkgFile) RoleDisseminator.findAssociatedGroups(Context context, DSpaceObject object) Find all Groups associated with this DSpace Object.RoleDisseminator.findAssociatedPeople(Context context, DSpaceObject object) Find all EPeople associated with this DSpace Object.static BitstreamPackageUtils.findDepositLicense(Context context, Item item) Utility to find the license bitstream from an itemstatic BitstreamFormatPackageUtils.findOrCreateBitstreamFormat(Context context, String shortDesc, String MIMEType, String desc) Find or create a bitstream format to match the given short description.static BitstreamFormatPackageUtils.findOrCreateBitstreamFormat(Context context, String shortDesc, String MIMEType, String desc, int supportLevel, boolean internal) Find or create a bitstream format to match the given short description.abstract voidAbstractMETSIngester.finishBitstream(Context context, Bitstream bs, org.jdom2.Element mfile, METSManifest manifest, PackageParameters params) Subclass-dependent final processing on a Bitstream; could include fixing up the name, bundle, other attributes.voidDSpaceAIPIngester.finishBitstream(Context context, Bitstream bs, org.jdom2.Element mfile, METSManifest manifest, PackageParameters params) Nothing extra to do to bitstream after ingestion.voidDSpaceMETSIngester.finishBitstream(Context context, Bitstream bs, org.jdom2.Element mfile, METSManifest manifest, PackageParameters params) Take a second pass over files to correct names of derived files (e.g. thumbnails, extracted text) to what DSpace expects:static ItemPackageUtils.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.abstract voidAbstractMETSIngester.finishObject(Context context, DSpaceObject dso, PackageParameters params) Hook for final "finishing" operations on the new Object.voidDSpaceAIPIngester.finishObject(Context context, DSpaceObject dso, PackageParameters params) Last change to fix up a DSpace Object.voidDSpaceMETSIngester.finishObject(Context context, DSpaceObject dso, PackageParameters params) static BitstreamPackageUtils.getBitstreamByFormat(Context context, Item item, BitstreamFormat bsf, String bnName) Find bitstream by its format, looking in a specific bundle.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[]DSpaceAIPDisseminator.getDigiprovMdTypes(Context context, DSpaceObject dso, PackageParameters params) Return the name of all crosswalks to run for the digiprovMD section of the METS Manifest.String[]DSpaceMETSDisseminator.getDigiprovMdTypes(Context context, DSpaceObject dso, PackageParameters params) abstract String[]AbstractMETSDisseminator.getDmdTypes(Context context, DSpaceObject dso, PackageParameters params) Get the types of Item-wide DMD to include in package.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.String[]DSpaceMETSDisseminator.getDmdTypes(Context context, DSpaceObject dso, PackageParameters params) Get DMD choice for Item.protected StringRoleDisseminator.getGroupType(Context context, DSpaceObject dso, Group group) Return a Group Type string (see RoleDisseminator.GROUP_TYPE_* constants) which describes the type of group and its relation to the given object.AbstractMETSIngester.getParentObject(Context context, METSManifest manifest) Determines what parent DSpace object is referenced in this METS doc.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[]DSpaceAIPDisseminator.getRightsMdTypes(Context context, DSpaceObject dso, PackageParameters params) Return the name of all crosswalks to run for the rightsMD section of the METS Manifest.String[]DSpaceMETSDisseminator.getRightsMdTypes(Context context, DSpaceObject dso, PackageParameters params) Add rights MD (licenses) for DSpace item.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[]DSpaceAIPDisseminator.getSourceMdTypes(Context context, DSpaceObject dso, PackageParameters params) Return the name of all crosswalks to run for the sourceMD section of the METS Manifest.String[]DSpaceMETSDisseminator.getSourceMdTypes(Context context, DSpaceObject dso, PackageParameters params) 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.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.String[]DSpaceMETSDisseminator.getTechMdTypes(Context context, DSpaceObject dso, PackageParameters params) Get name of technical metadata crosswalk for Bitstreams.AbstractMETSIngester.ingest(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license) Create a new DSpace object out of a METS content package.PackageIngester.ingest(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license) Create new DSpaceObject out of the ingested package.PDFPackager.ingest(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license) Create new Item out of the ingested package, in the indicated collection.RoleIngester.ingest(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license) 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).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).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 ingestRoleIngester.ingestAll(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license) protected DSpaceObjectAbstractMETSIngester.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 METSIngestervoidRoleIngester.ingestStream(Context context, DSpaceObject parent, PackageParameters params, InputStream stream) Ingest roles from an InputStream.protected voidAbstractMETSDisseminator.linkLicenseRefsToBitstreams(Context context, PackageParameters params, DSpaceObject dso, edu.harvard.hul.ois.mets.MdRef mdRef) Cleanup our license file reference links, as Deposit Licenses and 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)AbstractMETSDisseminator.makeBitstreamURL(Context context, Bitstream bitstream, PackageParameters params) Get the URL by which the METS manifest refers to a Bitstream member within the same package.protected edu.harvard.hul.ois.mets.MetsAbstractMETSDisseminator.makeManifest(Context context, DSpaceObject dso, PackageParameters params, AbstractMETSDisseminator.MdStreamCache extraStreams) Write out a METS manifest.protected edu.harvard.hul.ois.mets.helper.MdSecAbstractMETSDisseminator.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.dmdSec, techMd, sourceMd, etc.abstract edu.harvard.hul.ois.mets.MetsHdrAbstractMETSDisseminator.makeMetsHdr(Context context, DSpaceObject dso, PackageParameters params) Create metsHdr element - separate so subclasses can override.edu.harvard.hul.ois.mets.MetsHdrDSpaceAIPDisseminator.makeMetsHdr(Context context, DSpaceObject dso, PackageParameters params) Create the metsHdr element for the AIP METS Manifest.edu.harvard.hul.ois.mets.MetsHdrDSpaceMETSDisseminator.makeMetsHdr(Context context, DSpaceObject dso, PackageParameters params) Create metsHdr element - separate so subclasses can override.protected METSManifestAbstractMETSIngester.parsePackage(Context context, File pkgFile, PackageParameters params) Parse a given input package, ultimately returning the METS manifest out of the package.booleanDSpaceMETSIngester.probe(Context context, InputStream in, PackageParameters params) static voidPackageUtils.removeAllBitstreams(Context context, DSpaceObject dso) Remove all bitstreams (files) associated with a DSpace object.protected voidAbstractMETSIngester.removeObject(Context context, DSpaceObject dso) Remove an existing DSpace Object (called during a replace)AbstractMETSIngester.replace(Context context, DSpaceObject dsoToReplace, File pkgFile, PackageParameters params) Replace an existing DSpace object with the contents of a METS-based package.PackageIngester.replace(Context context, DSpaceObject dso, File pkgFile, PackageParameters params) Replace an existing DSpace Object with contents of the ingested package.PDFPackager.replace(Context context, DSpaceObject dso, File pkgFile, PackageParameters params) Replace is not implemented.RoleIngester.replace(Context context, DSpaceObject dso, File pkgFile, PackageParameters params) 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).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).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 ingestRoleIngester.replaceAll(Context context, DSpaceObject dso, File pkgFile, PackageParameters params) protected DSpaceObjectAbstractMETSIngester.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.protected voidPDFPackager.setFormatToMIMEType(Context context, Bitstream bs, String mimeType) static StringPackageUtils.translateGroupNameForExport(Context context, String groupName) When DSpace creates Default Group Names they are of a very specific format, for example: COMMUNITY_[ID]_ADMIN COLLECTION_[ID]_ADMIN COLLECTION_[ID]_SUBMIT COLLECTION_[ID]_WORKFLOW_STEP_#static StringPackageUtils.translateGroupNameForImport(Context context, String groupName) This method does the exact opposite of the translateGroupNameForExport() method.static voidPackageUtils.updateDSpaceObject(Context context, DSpaceObject dso) Commit all recent changes to DSpaceObject.protected voidRoleDisseminator.writeGroup(Context context, DSpaceObject relatedObject, Group group, XMLStreamWriter writer) Emit XML describing a single Group.protected voidRoleDisseminator.writeToStream(Context context, DSpaceObject object, OutputStream stream, boolean emitPasswords) Serialize users and groups to a stream.protected voidAbstractMETSDisseminator.writeZipPackage(Context context, DSpaceObject dso, PackageParameters params, OutputStream pkg) Make a Zipped up METS package for the given DSpace Object -
Uses of Context in org.dspace.content.service
Methods in org.dspace.content.service with parameters of type ContextModifier and TypeMethodDescriptionvoidDSpaceObjectService.addAndShiftRightMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value, String authority, int confidence, int index) Add a single metadata field.voidBundleService.addBitstream(Context context, Bundle bundle, Bitstream bitstream) Add an existing bitstream to this bundlevoidAdd an existing bundle to this item.voidCommunityService.addCollection(Context context, Community community, Collection collection) Add an existing collection to the communityvoidCollectionService.addItem(Context context, Collection collection, Item item) Add an item to the collection.DSpaceObjectService.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value) Add a single metadata field.DSpaceObjectService.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value, String authority, int confidence) Add a single metadata field.DSpaceObjectService.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value, String authority, int confidence, int place) Add a single metadata value at the given place position.DSpaceObjectService.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, List<String> values) Add metadata fields.DSpaceObjectService.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, List<String> values, List<String> authorities, List<Integer> confidences) Add metadata fields.DSpaceObjectService.addMetadata(Context context, T dso, MetadataField metadataField, String language, String value) Add a metadatafield.DSpaceObjectService.addMetadata(Context context, T dso, MetadataField metadataField, String language, String value, String authority, int confidence) Shortcut forDSpaceObjectService.addMetadata(Context, DSpaceObject, MetadataField, String, List, List, List)when a single value need to be addedDSpaceObjectService.addMetadata(Context context, T dso, MetadataField metadataField, String language, List<String> values) Add a metadatafields.DSpaceObjectService.addMetadata(Context context, T dso, MetadataField metadataField, String lang, List<String> values, List<String> authorities, List<Integer> confidences) Add metadata fields.voidCommunityService.addSubcommunity(Context context, Community parentCommunity, Community childCommunity) Add an existing community as a subcommunity to the communityvoidItemService.adjustBitstreamPolicies(Context context, Item item, Collection collection, Bitstream bitstream) Adjust the Bitstream policies to reflect what have been defined during the submission/workflow.voidItemService.adjustBitstreamPolicies(Context context, Item item, Collection collection, Bitstream bitstream, boolean replaceReadRPWithCollectionRP) Adjust the Bitstream policies to reflect what have been defined during the submission/workflow.voidItemService.adjustBundleBitstreamPolicies(Context context, Item item, Collection collection) Adjust the Bundle and Bitstream policies to reflect what have been defined during the submission/workflow.voidItemService.adjustBundleBitstreamPolicies(Context context, Item item, Collection collection, boolean replaceReadRPWithCollectionRP) Adjust the Bundle and Bitstream policies to reflect what have been defined during the submission/workflow.voidItemService.adjustItemPolicies(Context context, Item item, Collection collection) Adjust the Item's policies to reflect what have been defined during the submission/workflow.voidItemService.adjustItemPolicies(Context context, Item item, Collection collection, boolean replaceReadRPWithCollectionRP) Adjust the Item's policies to reflect what have been defined during the submission/workflow.DuplicateDetectionService.buildComparisonValue(Context context, Item item) Build a comparison value string made up of values of configured fields, used when indexing and querying items for deduplicationbooleanItemService.canCreateNewVersion(Context context, Item item) return TRUE if context's user can create new version of the item, false otherwise.voidCollectionService.canEdit(Context context, Collection collection) voidCollectionService.canEdit(Context context, Collection collection, boolean useInheritance) voidbooleanreturn TRUE if context's user can edit item, false otherwisebooleanCollectionService.canEditBoolean(Context context, Collection collection) booleanCollectionService.canEditBoolean(Context context, Collection collection, boolean useInheritance) booleanCommunityService.canEditBoolean(Context context, Community community) return TRUE if context's user can edit community, false otherwisevoidDSpaceObjectService.clearMetadata(Context context, T dso, String schema, String element, String qualifier, String lang) Clear metadata values.Clone the given bitstream by firstly creating a new bitstream, with a new ID.intItemService.countAllItems(Context context, Collection collection) counts all items in the given collection including withdrawn itemsintItemService.countAllItems(Context context, Community community) counts all items in the given community including withdrawnintCollectionService.countArchivedItems(Context context, Collection collection) Returns total collection archived itemsintCommunityService.countArchivedItems(Context context, Community community) Returns total community archived itemsintItemService.countArchivedItems(Context context) counts all items in archiveintBitstreamService.countBitstreamsWithoutPolicy(Context context) intItemService.countByCollectionMapping(Context context, Collection collection) Count all the archived items mapped to this collection (excludes owning collection).intRelationshipTypeService.countByEntityType(Context context, EntityType entityType) Count all RelationshipType objects for which the given EntityType is equal to either the leftType or the rightTypeintWorkspaceItemService.countByEPerson(Context context, EPerson ep) intRelationshipService.countByItem(Context context, Item item) This method returns a count of Relationship objects that have the given Item object as a leftItem or a rightItemintRelationshipService.countByItem(Context context, Item item, boolean excludeTilted, boolean excludeNonLatest) This method returns a count of Relationship objects that have the given Item object as a leftItem or a rightItemintRelationshipService.countByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft) Count total number of relationships (rows in relationship table) by a relationship type and a boolean indicating whether the relationship should contain the item on the left side or not NOTE: tilted relationships are NEVER excluded when fetching one relationship typeintRelationshipService.countByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, boolean excludeNonLatest) Count total number of relationships (rows in relationship table) by a relationship type and a boolean indicating whether the relationship should contain the item on the left side or not NOTE: tilted relationships are NEVER excluded when fetching one relationship typeintRelationshipService.countByItemRelationshipTypeAndRelatedList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft) Count total number of relationships that match focusItem on the one hand and matches list of related items elsewhere.intRelationshipService.countByRelationshipType(Context context, RelationshipType relationshipType) Count total number of relationships (rows in relationship table) by a relationship type NOTE: tilted relationships are NEVER excluded when fetching one relationship typeBitstreamService.countByStoreNumber(Context context, Integer storeNumber) intRelationshipService.countByTypeName(Context context, String typeName) Count total number of relationships (rows in relationship table) by a relationship leftward or rightward typeNameintCollectionService.countCollectionsWithSubmit(String q, Context context, Community community) Counts the number of Collection for which the current user has 'submit' privileges.intCollectionService.countCollectionsWithSubmit(String q, Context context, Community community, String entityType) Counts the number of Collection for which the current user has 'submit' privileges.intBitstreamService.countDeletedBitstreams(Context context) intEntityTypeService.countEntityTypesByNames(Context context, List<String> names) longItemService.countForMetadataQuery(Context context, List<QueryPredicate> queryPredicates, List<UUID> collectionUuids) Returns the total number of items that match the given predicates, within the specified collections, if any.intItemService.countItems(Context context, Collection collection) counts items in the given collectionintItemService.countItems(Context context, Community community) counts items in the given communityintItemService.countItemsWithEdit(Context context) counts all items for which the current user has editing rightsintItemService.countNotArchivedItems(Context context) counts all items not in archiveintBitstreamService.countTotal(Context context) intBundleService.countTotal(Context context) intCollectionService.countTotal(Context context) intCommunityService.countTotal(Context context) intItemService.countTotal(Context context) counts all itemsintMetadataValueService.countTotal(Context context) intRelationshipService.countTotal(Context context) counts all relationshipsintWorkspaceItemService.countTotal(Context context) intItemService.countWithdrawnItems(Context context) counts all withdrawn itemsBitstreamService.create(Context context, InputStream is) Create a new bitstream, with a new ID.BitstreamService.create(Context context, Bundle bundle, InputStream is) Create a new bitstream, with a new ID.Create a new bundle, with a new ID and link it to the provided itemCreate a new collection with a new ID.Create a new collection with the supplied handle and with a new ID.Create a new collection with the supplied handle and ID.Create a new top-level community, with a new ID.Create a new top-level community, with a new ID.Create a new top-level community, with a new ID.This method creates an EntityType object in the database with the given entityTypeString as it's labelItemService.create(Context context, WorkspaceItem workspaceItem) Create a new item, with a new internal ID.ItemService.create(Context context, WorkspaceItem workspaceItem, UUID uuid) Create a new item, with a provided ID.MetadataFieldService.create(Context context, MetadataSchema metadataSchema, String element, String qualifier, String scopeNote) Creates a new metadata field.Creates a new metadata schema in the database, using the name and namespace.MetadataValueService.create(Context context, DSpaceObject dso, MetadataField metadataField) Creates a new metadata value.RelationshipService.create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace) This method is used to construct a Relationship object with all it's variables, except the leftward label, rightward label and latest version statusRelationshipService.create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace, String leftwardValue, String rightwardValue) This method is used to construct a Relationship object with all it's variables, except the latest version statusRelationshipService.create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace, String leftwardValue, String rightwardValue, Relationship.LatestVersionStatus latestVersionStatus) This method is used to construct a Relationship object with all it's variablesRelationshipService.create(Context context, Relationship relationship) This method creates a relationship object in the database equal to the given relationship param if this is a valid relationshipRelationshipTypeService.create(Context context, EntityType leftEntityType, EntityType rightEntityType, String leftwardType, String rightwardType, Integer leftCardinalityMinInteger, Integer leftCardinalityMaxInteger, Integer rightCardinalityMinInteger, Integer rightCardinalityMaxInteger) This method will support the creation of a RelationshipType object with the given parametersRelationshipTypeService.create(Context context, EntityType leftEntityType, EntityType rightEntityType, String leftwardType, String rightwardType, Integer leftCardinalityMinInteger, Integer leftCardinalityMaxInteger, Integer rightCardinalityMinInteger, Integer rightCardinalityMaxInteger, Boolean copyToLeft, Boolean copyToRight, RelationshipType.Tilted tilted) This method will support the creation of a RelationshipType object with the given parametersRelationshipTypeService.create(Context context, RelationshipType relationshipType) This method creates the given RelationshipType object in the database and returns itWorkspaceItemService.create(Context context, Collection collection, boolean template) Create a new workspace item, with a new ID.WorkspaceItemService.create(Context context, Collection collection, boolean template, boolean isNewVersion) Create a new workspace item, with a new ID.WorkspaceItemService.create(Context context, Collection collection, UUID uuid, boolean template, boolean isNewVersion) Create a new workspace item, with a new ID.WorkspaceItemService.create(Context c, WorkflowItem wfi) CollectionService.createAdministrators(Context context, Collection collection) Create a default administrators group if one does not already exist.CommunityService.createAdministrators(Context context, Community community) Create a default administrators group if one does not already exist.CollectionService.createDefaultReadGroup(Context context, Collection collection, String typeOfGroupString, int defaultRead) This method will create a default read group for the given Collection.ItemService.createSingleBitstream(Context context, InputStream is, Item item) Convenience method, calls createSingleBitstream() with name "ORIGINAL"ItemService.createSingleBitstream(Context context, InputStream is, Item item, String name) Create a single bitstream in a new bundle.SiteService.createSite(Context context) CommunityService.createSubcommunity(Context context, Community parentCommunity) Create a new sub-community within this community.CommunityService.createSubcommunity(Context context, Community parentCommunity, String handle) Create a new sub-community within this community.CommunityService.createSubcommunity(Context context, Community parentCommunity, String handle, UUID uuid) Create a new sub-community within this community.CollectionService.createSubmitters(Context context, Collection collection) Create a default submitters group if one does not already exist.voidCollectionService.createTemplateItem(Context context, Collection collection) Create an empty template item for this collection.ItemService.createTemplateItem(Context context, Collection collection) Create an empty template item for this collection.CollectionService.createWorkflowGroup(Context context, Collection collection, int step) Create a workflow group for the given step if one does not already exist.voidvoidMetadataFieldService.delete(Context context, MetadataField metadataField) Delete the metadata field.voidMetadataSchemaService.delete(Context context, MetadataSchema metadataSchema) Delete the metadata schema.voidMetadataValueService.delete(Context context, MetadataValue metadataValue) Delete the metadata field.voidRelationshipService.delete(Context context, Relationship relationship, boolean copyToLeftItem, boolean copyToRightItem) This method is used to delete a Relationship whilst given the possibility to copy the Virtual Metadata created by this relationship to the left and/or right itemvoidWorkspaceItemService.deleteAll(Context context, WorkspaceItem workspaceItem) Delete the workspace item.voidMetadataValueService.deleteByMetadataField(Context context, MetadataField metadataField) voidInProgressSubmissionService.deleteWrapper(Context context, T inProgressSubmission) Deletes submission wrapper, doesn't delete item contentsMetadataDSpaceCsvExportService.export(Context context, Iterator<Item> toExport, boolean exportAll, DSpaceRunnableHandler handler) This method will export all the Items in the given toExport iterator to a DSpaceCSVMetadataDSpaceCsvExportService.export(Context context, Community community, boolean exportAll, DSpaceRunnableHandler handler) This method will export all the Items within the given Community to a DSpaceCSVvoidRemove a bitstream that has been set to "deleted" from the databaseGeneric find for when the precise type of an Entity is not knownFind the field corresponding to the given numeric ID.Get the schema corresponding with this numeric ID.Get the schema corresponding with this short name.Retrieves the metadata value from the database.Get a workspace item from the database.Retrieve all bitstream formats from the registry, ordered by IDGet all collections in the system.Get all collections in the system.Get a list of all communities in the system.Get all communities in the system.Retrieves all the EntityType objects currently in the systemRetrieves all the EntityType objects currently in the systemGet all the items in the archive.Get all the items in the archive.Retrieve all metadata field types from the registryReturn all metadata schemas.Retrieves the full list of relationships currently in the systemRetrieves the full list of relationships currently in the systemRetrieves all RelationshipType objects currently in the systemRetrieves all RelationshipType objects currently in the systemGet all workspace items in the whole systemGet all workspace items in the whole system, paginated.ItemService.findAllByCollection(Context context, Collection collection) Get all the items (including private and withdrawn) in this collection.ItemService.findAllByCollection(Context context, Collection collection, Integer limit, Integer offset) Get all the items (including private and withdrawn) in this collection.MetadataFieldService.findAllInSchema(Context context, MetadataSchema metadataSchema) Return all metadata fields that are found in a given schema.ItemService.findAllRegularItems(Context context) Find all items that are: - NOT in the workspace - NOT in the workflow - NOT a template item for e.g. a collection This implies that the result also contains older versions of items and withdrawn items.CommunityService.findAllTop(Context context) Get a list of all top-level communities in the system.ItemService.findAllUnfiltered(Context context) Deprecated.ItemService.findArchivedByMetadataField(Context context, String metadataField, String value) Returns an iterator of in archive items possessing the passed metadata field, or only those matching the passed value, if value is not Item.ANYItemService.findArchivedByMetadataField(Context context, String schema, String element, String qualifier, String value) Returns an iterator of in archive items possessing the passed metadata field, or only those matching the passed value, if value is not Item.ANYCollectionService.findAuthorized(Context context, Community community, int actionID) return an array of collections that user has a given permission on (useful for trimming 'select to collection' list) or figuring out which collections a person is an editor for.CommunityService.findAuthorized(Context context, List<Integer> actions) CommunityService.findAuthorizedGroupMapped(Context context, List<Integer> actions) CollectionService.findAuthorizedOptimized(Context context, int actionID) BitstreamService.findBitstreamsWithNoRecentChecksum(Context context) CommunityService.findByAdminGroup(Context context, Group group) 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.ItemService.findByCollection(Context context, Collection collection) Get all the archived items in this collection.ItemService.findByCollection(Context context, Collection collection, Integer limit, Integer offset) Get all the archived items in this collection.WorkspaceItemService.findByCollection(Context context, Collection collection) Get all workspace items for a particular collection.ItemService.findByCollectionMapping(Context context, Collection collection, Integer limit, Integer offset) Get all the archived items mapped to this collection (excludes owning collection).MetadataFieldService.findByElement(Context context, String metadataSchemaName, String element, String qualifier) MetadataFieldService.findByElement(Context context, MetadataSchema metadataSchema, String element, String qualifier) Retrieves the metadata field from the database.EntityTypeService.findByEntityType(Context context, String entityType) Retrieves the EntityType that has the entityType String parameter as labelRelationshipTypeService.findByEntityType(Context context, EntityType entityType) Returns a list of RelationshipType objects for which the given EntityType is equal to either the leftType or the rightTypeRelationshipTypeService.findByEntityType(Context context, EntityType entityType, boolean isLeft) This method will return a list of RelationshipType objects for which the given EntityType object is equal to the leftType or rightTypeRelationshipTypeService.findByEntityType(Context context, EntityType entityType, boolean isLeft, Integer limit, Integer offset) This method will return a list of RelationshipType objects for which the given EntityType object is equal to the leftType or rightTypeRelationshipTypeService.findByEntityType(Context context, EntityType entityType, Integer limit, Integer offset) Returns a list of relationship types that matches provided EntityType object on any side of relationshipWorkspaceItemService.findByEPerson(Context context, EPerson ep) Get all workspace items for a particular e-person.WorkspaceItemService.findByEPerson(Context context, EPerson ep, Integer limit, Integer offset) Get a page of workspace items for a particular e-person.MetadataValueService.findByField(Context context, MetadataField metadataField) Retrieves the metadata values for a given field from the database.MetadataValueService.findByFieldAndValue(Context context, MetadataField metadataField, String value) Retrieves matching MetadataValues for a given field and value.CollectionService.findByGroup(Context context, Group group) DSpaceObjectLegacySupportService.findByIdOrLegacyId(Context context, String id) RelationshipService.findByItem(Context context, Item item) Retrieves the list of Relationships currently in the system for which the given Item is either a leftItem or a rightItem objectRelationshipService.findByItem(Context context, Item item, Integer limit, Integer offset, boolean excludeTilted) Retrieves the list of Relationships currently in the system for which the given Item is either a leftItem or a rightItem objectRelationshipService.findByItem(Context context, Item item, Integer limit, Integer offset, boolean excludeTilted, boolean excludeNonLatest) Retrieves the list of Relationships currently in the system for which the given Item is either a leftItem or a rightItem objectWorkspaceItemService.findByItem(Context context, Item item) Check to see if a particular item is currently still in a user's Workspace.RelationshipService.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType) This method returns a list of Relationships for which the leftItem or rightItem is equal to the given Item object and for which the RelationshipType object is equal to the relationshipType property NOTE: tilted relationships are NEVER excluded when fetching one relationship typeRelationshipService.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, int limit, int offset) This method returns a list of Relationships for which the leftItem or rightItem is equal to the given Item object and for which the RelationshipType object is equal to the relationshipType property NOTE: tilted relationships are NEVER excluded when fetching one relationship typeRelationshipService.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, int limit, int offset, boolean excludeNonLatest) This method returns a list of Relationships for which the leftItem or rightItem is equal to the given Item object and for which the RelationshipType object is equal to the relationshipType property NOTE: tilted relationships are NEVER excluded when fetching one relationship typeRelationshipService.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, int limit, int offset) This method returns a list of Relationships for which the leftItem or rightItem is equal to the given Item object and for which the RelationshipType object is equal to the relationshipType property NOTE: tilted relationships are NEVER excluded when fetching one relationship typeRelationshipService.findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, int limit, int offset, boolean excludeNonLatest) This method returns a list of Relationships for which the leftItem or rightItem is equal to the given Item object and for which the RelationshipType object is equal to the relationshipType property NOTE: tilted relationships are NEVER excluded when fetching one relationship typeEntityService.findByItemId(Context context, UUID itemId) This will construct an Entity object that will be returned with the Item that matches the ItemID that was passed along as well as a list of relationships for that Item.EntityService.findByItemId(Context context, UUID itemId, Integer limit, Integer offset) This will construct an Entity object that will be returned with the Item that matches the ItemID that was passed along as well as a list of relationships for that Item.RelationshipService.findByItemRelationshipTypeAndRelatedList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft, int offset, int limit) This method is used to retrieve relationships that match focusItem on the one hand and matches list of related items elsewhere.ItemService.findByLastModifiedSince(Context context, Instant last) Find all Items modified since a Date.RelationshipService.findByLatestItemAndRelationshipType(Context context, Item latestItem, RelationshipType relationshipType, boolean isLeft) This method returns the UUIDs of all items that have a relationship with the given item, from the perspective of the other item.RelationshipTypeService.findByLeftwardOrRightwardTypeName(Context context, String typeName) Retrieves all RelationshipType objects that have a left or right type that is equal to the given StringRelationshipTypeService.findByLeftwardOrRightwardTypeName(Context context, String typeName, Integer limit, Integer offset) Retrieves all RelationshipType objects that have a left or right label that is equal to the given StringDSpaceObjectLegacySupportService.findByLegacyId(Context context, 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.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.ANYItemService.findByMetadataFieldAuthority(Context context, String mdString, String authority) ItemService.findByMetadataQuery(Context context, List<QueryPredicate> queryPredicates, List<UUID> collectionUuids, long offset, int limit) Returns a list of items that match the given predicates, within the specified collections, if any.BitstreamFormatService.findByMIMEType(Context context, String mimeType) Find a bitstream format by its (unique) MIME type.MetadataSchemaService.findByNamespace(Context context, String namespace) Get the schema object corresponding to this namespace URI.RelationshipService.findByRelationshipType(Context context, RelationshipType relationshipType) This method returns a list of Relationship objects for which the relationshipType property is equal to the given RelationshipType object NOTE: tilted relationships are NEVER excluded when fetching one relationship typeRelationshipService.findByRelationshipType(Context context, RelationshipType relationshipType, Integer limit, Integer offset) This method returns a list of Relationship objects for which the relationshipType property is equal to the given RelationshipType object NOTE: tilted relationships are NEVER excluded when fetching one relationship typeBitstreamFormatService.findByShortDescription(Context context, String desc) Find a bitstream format by its (unique) short descriptionBitstreamService.findByStoreNumber(Context context, Integer storeNumber) MetadataFieldService.findByString(Context context, String mdString, char separator) Separates an mdString in schema, element and qualifier parts, separated by a given separator And returns it's matching metadataField if foundItemService.findBySubmitter(Context context, EPerson eperson) Find all the items in the archive by a given submitter.ItemService.findBySubmitter(Context context, EPerson eperson, boolean retrieveAllItems) Find all the items by a given submitter.ItemService.findBySubmitterDateSorted(Context context, EPerson eperson, Integer limit) Retrieve the list of items submitted by eperson, ordered by recently submitted, optionally limitableRelationshipService.findByTypeName(Context context, String typeName) This method returns a list of Relationship objects for the given typeNameRelationshipService.findByTypeName(Context context, String typeName, Integer limit, Integer offset) This method returns a list of Relationship objects for the given typeNameRelationshipTypeService.findbyTypesAndTypeName(Context context, EntityType leftType, EntityType rightType, String leftwardType, String rightwardType) Retrieves a RelationshipType for which the given parameters all match the one in the returned RelationshipTypeMetadataValueService.findByValueLike(Context context, String value) CollectionService.findCollectionsWithSubmit(String q, Context context, Community community, int offset, int limit) Returns Collections for which the current user has 'submit' privileges.CollectionService.findCollectionsWithSubmit(String q, Context context, Community community, String entityType, int offset, int limit) Returns Collections for which the current user has 'submit' privileges.CollectionService.findCollectionsWithSubscribers(Context context) BitstreamService.findDeletedBitstreams(Context context, int limit, int offset) Retrieve all bitstreams with the deleted flag set to trueCollectionService.findDirectMapped(Context context, int actionID) BitstreamService.findDuplicateInternalIdentifier(Context context, Bitstream bitstream) MetadataFieldService.findFieldsByElementNameUnqualified(Context context, String metadataSchema, String element) CollectionService.findGroup2CommunityMapped(Context context) CollectionService.findGroup2GroupMapped(Context context, int actionID) CollectionService.findGroupMapped(Context context, int actionID) ItemService.findInArchiveOrWithdrawnDiscoverableModifiedSince(Context context, Instant since) Get all Items installed or withdrawn, discoverable, and modified since a Date.ItemService.findInArchiveOrWithdrawnNonDiscoverableModifiedSince(Context context, Instant since) Get all Items installed or withdrawn, NON-discoverable, and modified since a Date.ItemService.findItemsWithEdit(Context context, int offset, int limit) finds all items for which the current user has editing rightsBitstreamFormatService.findNonInternal(Context context) Retrieve all non-internal bitstream formats from the registry.BitstreamFormatService.findUnknown(Context context) Get the generic "unknown" bitstream format.voidRelationshipService.forceDelete(Context context, Relationship relationship, boolean copyToLeftItem, boolean copyToRightItem) This method is used to delete a Relationship whilst given the possibility to copy the Virtual Metadata created by this relationship to the left and/or right item.DSpaceObjectService.getAdminObject(Context context, T dso, int action) Return the dspace object where an ADMIN action right is sufficient to grant the initial authorize check.CommunityService.getAllCollections(Context context, Community community) Return an array of collections of this community and its subcommunitiesCommunityService.getAllParents(Context context, Collection collection) Return an array of parent communities of this collection.CommunityService.getAllParents(Context context, Community community) Return an array of parent communities of this community, in ascending order.EntityService.getAllRelationshipTypes(Context context, Entity entity) Retrieves the list of relationships that have a relationshiptype that contains the EntityType for the given Entity in either the leftEntityType or the rightEntityType variablesEntityService.getAllRelationshipTypes(Context context, Entity entity, Integer limit, Integer offset) Retrieves the list of relationships that have a relationshiptype that contains the EntityType for the given Entity in either the leftEntityType or the rightEntityType variablesBundleService.getBitstreamPolicies(Context context, Bundle bundle) InstallItemService.getBitstreamProvenanceMessage(Context context, Item myitem) Generate provenance-worthy description of the bitstreams contained in an item.BundleService.getBundlePolicies(Context context, Bundle bundle) BitstreamService.getCollectionBitstreams(Context context, Collection collection) ItemService.getCollectionsNotLinked(Context context, Item item) Get the collections this item is not in.CollectionService.getCollectionsWithBitstreamSizesTotal(Context context) The map entry returned contains a collection as a key and sum of bitstream sizes in bytes as a valueItemService.getCommunities(Context context, Item item) Get the communities this item is in.BitstreamService.getCommunityBitstreams(Context context, Community community) ItemService.getEntityType(Context context, Item item) Retrieve the entity type of the given item.EntityTypeService.getEntityTypesByNames(Context context, List<String> names, Integer limit, Integer offset) BitstreamService.getFormatDescription(Context context, Bitstream bitstream) Get the description of the format - either the user's or the description of the format defined by the system.DSpaceObjectService.getIdentifiers(Context context, T dso) Tries to lookup all Identifiers of this DSpaceObject.BitstreamService.getItemBitstreams(Context context, Item item) EntityService.getLeftRelations(Context context, Entity entity) Retrieves the list of relationships, which are attached to the Entity object that is passed along, where the left item object of each relationship is equal to the Item object of the Entity object that is passed alongEntityService.getLeftRelationshipTypes(Context context, Entity entity) Retrieves the list of relationships that have a relationshiptype that contains the EntityType for the given Entity in the leftEntityTypeEntityService.getLeftRelationshipTypes(Context context, Entity entity, boolean isLeft, Integer limit, Integer offset) Retrieves the list of relationships that have a relationshiptype that contains the EntityType for the given Entity in the leftEntityTypeMetadataValueService.getMinimum(Context context, int metadataFieldId) Get the minimum value of a given metadata field across all objects.ItemService.getNonInternalBitstreams(Context context, Item item) Get all non-internal bitstreams in the item.BitstreamService.getNotReferencedBitstreams(Context context) DSpaceObjectService.getParentObject(Context context, T dso) Return the dspace object that "own" the current object in the hierarchy.DuplicateDetectionService.getPotentialDuplicates(Context context, Item item) Get a list of PotentialDuplicate objects (wrappers with some metadata included for previewing) that are identified as potential duplicates of the given itemEntityService.getRelationsByTypeName(Context context, String typeName) Retrieves the list of relationships for which their relationshiptype has a left or right label that is equal to the passed along label StringEntityService.getRelationsByTypeName(Context context, String typeName, Integer limit, Integer offset) Retrieves the list of relationships for which their relationshiptype has a left or right label that is equal to the passed along label StringEntityService.getRelationshipTypesByTypeName(Context context, String typeName) Retrieves a list of RelationshipType objects for which either their left or right label is equal to the label parameter that's being passed alongEntityService.getRelationshipTypesByTypeName(Context context, String type, Integer limit, Integer offset) Retrieves a list of RelationshipType objects for which either their left or right label is equal to the label parameter that's being passed alongEntityService.getRightRelations(Context context, Entity entity) Retrieves the list of relationships, which are attached to the Entity object that is passed along, where the right item object of each relationship is equal to the Item object of the Entity object that is passed alongEntityService.getRightRelationshipTypes(Context context, Entity entity) Retrieves the list of relationships that have a relationshiptype that contains the EntityType for the given Entity in the rightEntityTypeEntityService.getRightRelationshipTypes(Context context, Entity entity, boolean isLeft, Integer limit, Integer offset) Retrieves the list of relationships that have a relationshiptype that contains the EntityType for the given Entity in the rightEntityTypeWorkspaceItemService.getStageReachedCounts(Context context) The map entry returned contains stage reached as the key and count of items in that stage as a valueEntityTypeService.getSubmitAuthorizedTypes(Context context) Retrieves all entity types related to the collections on which the current user can depositInstallItemService.getSubmittedByProvenanceMessage(Context context, Item item) Generate provenance description of direct item submission (not through workflow).BitstreamService.getThumbnail(Context context, Bitstream bitstream) ItemService.getThumbnail(Context context, Item item, boolean requireOriginal) Returns the EntityType for the Item that is attached to the Entity that is passed along to this method.CollectionService.getWorkflowGroup(Context context, Collection collection, int step) Get the the workflow group corresponding to a particular workflow step.BitstreamFormatService.guessFormat(Context context, Bitstream bitstream) Attempt to identify the format of a particular bitstream.MetadataDSpaceCsvExportService.handleExport(Context context, boolean exportAllItems, boolean exportAllMetadata, String identifier, DSpaceRunnableHandler dSpaceRunnableHandler) This method will export DSpaceObject objects depending on the parameters it gets.voidBundleService.inheritCollectionDefaultPolicies(Context context, Bundle bundle, Collection collection) remove all policies on the bundle and its contents, and replace them with the DEFAULT_BITSTREAM_READ policies belonging to the collection.voidItemService.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.voidItemService.inheritCollectionDefaultPolicies(Context context, Item item, Collection collection, boolean overrideItemReadPolicies) Remove all submission and workflow policies on an item and its contents, and add default collection policies which are not yet already in place.voidEntityTypeService.initDefaultEntityTypeNames(Context context) Initializes the EntityType names, and marks them "permanent".InstallItemService.installItem(Context context, InProgressSubmission is) Take an InProgressSubmission and turn it into a fully-archived Item, creating a new Handle.InstallItemService.installItem(Context c, InProgressSubmission is, String suppliedHandle) Take an InProgressSubmission and turn it into a fully-archived Item.booleanItemService.isInProgressSubmission(Context context, Item item) Check if the supplied item is an inprogress submissionbooleanItemService.isItemListedForUser(Context context, Item item) Service method for knowing if this Item should be visible in the item list.booleanItemService.isLatestVersion(Context context, Item item) Check whether the given item is the latest version.voidInProgressSubmissionService.move(Context context, T inProgressSubmission, Collection fromCollection, Collection toCollection) voidItemService.move(Context context, Item item, Collection from, Collection to) Moves the item from one collection to another onevoidItemService.move(Context context, Item item, Collection from, Collection to, boolean inheritDefaultPolicies) Moves the item from one collection to another oneRelationshipService.move(Context context, Relationship relationship, Integer newLeftPlace, Integer newRightPlace) Move the given relationship to a new leftPlace and/or rightPlace.RelationshipService.move(Context context, Relationship relationship, Item newLeftItem, Item newRightItem) Move the given relationship to a new leftItem and/or rightItem.voidBundleService.moveBitstreamToBundle(Context context, Bundle targetBundle, Bitstream bitstream) Moves a bitstream from its current bundle to a new target bundlevoidDSpaceObjectService.moveMetadata(Context context, T dso, String schema, String element, String qualifier, int from, int to) voidItemService.populateWithTemplateItemMetadata(Context context, Collection collection, boolean template, Item item) Populate the given item with all template item specified metadata.Register a new bitstream, with a new ID.Register a new bitstream, with a new ID.voidReinstate a withdrawn itemvoidCollectionService.removeAdministrators(Context context, Collection collection) Remove the administrators group, if no group has already been created then return without error.voidCommunityService.removeAdministrators(Context context, Community community) Remove the administrators group, if no group has already been created then return without error.voidItemService.removeAllBundles(Context context, Item item) Remove all bundles linked to this item.voidBundleService.removeBitstream(Context context, Bundle bundle, Bitstream bitstream) Remove a bitstream from this bundle - the bitstream is only deleted if this was the last reference to itvoidItemService.removeBundle(Context context, Item item, Bundle bundle) Remove a bundle.voidCommunityService.removeCollection(Context context, Community community, Collection c) Remove a collection.voidItemService.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)voidItemService.removeGroupPolicies(Context context, Item item, Group group) remove all of the policies for item's bitstreams and bundles that belong to a given GroupvoidCollectionService.removeItem(Context context, Collection collection, Item item) Remove an item.voidItemService.removeLicenses(Context context, Item item) Remove all licenses from an item - it was rejectedvoidDSpaceObjectService.removeMetadataValues(Context context, T dso, List<MetadataValue> values) voidCommunityService.removeSubcommunity(Context context, Community parentCommunity, Community childCommunity) Remove a subcommunity.voidCollectionService.removeSubmitters(Context context, Collection collection) Remove the submitters group, if no group has already been created then return without error.voidCollectionService.removeTemplateItem(Context context, Collection collection) Remove the template item for this collection, if there is one.voidBundleService.replaceAllBitstreamPolicies(Context context, Bundle bundle, List<ResourcePolicy> newpolicies) remove all of the policies for the bundle and bitstream contents and replace them with a new list of policiesvoidItemService.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 policiesvoidItemService.replaceAllItemPolicies(Context context, Item item, List<ResourcePolicy> newpolicies) remove all of the policies for item and replace them with a new list of policiesvoidDSpaceObjectService.replaceMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value, String authority, int confidence, int index) 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.Retrieve the contents of the bitstreamCollectionService.retrieveCollectionWithSubmitByCommunityAndEntityType(Context context, Community community, String entityType) Retrieve the first collection in the community or its descending that support the provided entityTypeCollectionService.retrieveCollectionWithSubmitByEntityType(Context context, Item item, String entityType) Retrieve the close collection to the item for which the current user has 'submit' privileges that support the provided entityType.DuplicateDetectionService.searchDuplicates(Context context, Item item) Search discovery for potential duplicates of a given item.voidFeedbackService.sendEmail(Context context, jakarta.servlet.http.HttpServletRequest request, String recipientEmail, String senderEmail, String message, String page) This method sends the feedback email to the recipient passed as parametervoidBitstreamService.setFormat(Context context, Bitstream bitstream, BitstreamFormat bitstreamFormat) Set the format of the bitstream.CollectionService.setLogo(Context context, Collection collection, InputStream is) Give the collection a logo.CommunityService.setLogo(Context context, Community community, InputStream is) Give the community a logo.voidDSpaceObjectService.setMetadataSingleValue(Context context, T dso, String schema, String element, String qualifier, String language, String value) Set first metadata field valuevoidDSpaceObjectService.setMetadataSingleValue(Context context, T dso, MetadataFieldName field, String language, String value) Set first metadata field valuevoidChanges bitstream order according to the arrayvoidBitstreamFormatService.setShortDescription(Context context, BitstreamFormat bitstreamFormat, String shortDescription) Set the short description of the bitstream formatvoidBitstreamService.setUserFormatDescription(Context context, Bitstream bitstream, String desc) Set the user's format description.voidCollectionService.setWorkflowGroup(Context context, Collection collection, int step, Group group) Set the workflow group corresponding to a particular workflow step.voidvoidUpdate the submission, including the unarchived item.voidMetadataFieldService.update(Context context, MetadataField metadataField) Update the metadata field in the database.voidMetadataSchemaService.update(Context context, MetadataSchema metadataSchema) Update the metadata schema in the database.voidMetadataValueService.update(Context context, MetadataValue metadataValue) Update the metadata value in the database.voidMetadataValueService.update(Context context, MetadataValue metadataValue, boolean modifyParentObject) voidBundleService.updateBitstreamOrder(Context context, Bundle bundle, int from, int to) Moves a bitstream within a bundle from one place to another, shifting all other bitstreams in the processvoidRelationshipService.updateItem(Context context, Item relatedItem) This method will update the given item's metadata order.voidDSpaceObjectService.updateLastModified(Context context, T dso) DuplicateDetectionService.validateDuplicateResult(Context context, IndexableObject indexableObject, Item original) Validate an indexable object (returned by discovery search) to ensure it is permissible, readable and valid and can be added to a list of results.voidWithdraw the item from the archive. -
Uses of Context in org.dspace.content.virtual
Methods in org.dspace.content.virtual with parameters of type ContextModifier and TypeMethodDescriptionthis method will retrieve the metadata values from the given item for all the metadata fields listed in the fields property and it'll return all those values as a listthis method will retrieve the metadata values from the given item for all the metadata fields listed in the fields property and it'll concatenate all those values together with the separator specified in this classThis method will find the correct Relationship from the given item to retrieve the other item from it and pass this along to the next VirtualBean that's stored in this class.This method will return a list filled with String values which will be determine by the bean that's responsible of handling the metadata fields when fully traversed through all theRelatedbeans -
Uses of Context in org.dspace.contentreport
Methods in org.dspace.contentreport with parameters of type ContextModifier and TypeMethodDescriptionContentReportServiceImpl.findFilteredCollections(Context context, Collection<Filter> filters) Retrieves item statistics per collection according to a set of Boolean filters.ContentReportServiceImpl.findFilteredItems(Context context, FilteredItemsQuery query) Retrieves a list of items according to a set of criteria.ContentReportServiceImpl.getMetadataFields(Context context, String metadataField) Converts a metadata field name to a list ofMetadataFieldinstances (one if no wildcards are used, possibly more otherwise).boolean -
Uses of Context in org.dspace.contentreport.service
Methods in org.dspace.contentreport.service with parameters of type ContextModifier and TypeMethodDescriptionContentReportService.findFilteredCollections(Context context, Collection<Filter> filters) Retrieves item statistics per collection according to a set of Boolean filters.ContentReportService.findFilteredItems(Context context, FilteredItemsQuery query) Retrieves a list of items according to a set of criteria.ContentReportService.getMetadataFields(Context context, String metadataField) Converts a metadata field name to a list ofMetadataFieldinstances (one if no wildcards are used, possibly more otherwise). -
Uses of Context in org.dspace.core
Methods in org.dspace.core with parameters of type ContextModifier and TypeMethodDescriptionintAbstractHibernateDAO.count(Context context, jakarta.persistence.criteria.CriteriaQuery criteriaQuery, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder, jakarta.persistence.criteria.Root<T> root) This method will return the amount of results that would be generated for this CriteriaQuery as an integerlongAbstractHibernateDAO.countLong(Context context, jakarta.persistence.criteria.CriteriaQuery criteriaQuery, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder, jakarta.persistence.criteria.Root<T> root) This method will return the count of items for this query as a longCreate a new instance of this type in the database.jakarta.persistence.QueryAbstractHibernateDAO.createQuery(Context context, jakarta.persistence.criteria.CriteriaQuery criteriaQuery) Create a Query object from a CriteriaQueryjakarta.persistence.QueryAbstractHibernateDAO.createQuery(Context context, String query) Create a parsed query from a query expression.voidvoidRemove an instance from the database.AbstractHibernateDAO.executeCriteriaQuery(Context context, jakarta.persistence.criteria.CriteriaQuery<T> criteriaQuery, boolean cacheable, int maxResults, int offset) This method will return a list of objects to be returned that match the given criteriaQuery and parameters.Fetch all persisted instances of a given object type.Fetch all persisted instances of a given object type.Fetch the entity identified by its legacy database identifier.Fetch the entity identified by its String primary key.Fetch the entity identified by its UUID primary key.AbstractHibernateDSODAO.findByLegacyId(Context context, int legacyId, Class<T> clazz) Find a DSO by its "legacy ID".AbstractHibernateDAO.findByX(Context context, Class clazz, Map<String, Object> equals, boolean cacheable, int maxResults, int offset) This method can be used to construct a query for which there needs to be a bunch of equal properties These properties can be passed along in the equals hashmapExecute a JPA Criteria query and return a collection of results.Execute a JPQL query and return a collection of results.AbstractHibernateDAO.findUnique(Context context, String query) GenericDAO.findUnique(Context context, String query) Execute a JPQL query returning a unique result.jakarta.persistence.criteria.CriteriaBuilderAbstractHibernateDAO.getCriteriaBuilder(Context context) This method should always be used in order to retrieve a CriteriaBuilder for the given contextstatic StringI18nUtil.getDefaultLicense(Context context) Get the appropriate localized version of the default.license according to language settingsstatic StringGenerate the log headerprotected org.hibernate.SessionAbstractHibernateDAO.getHibernateSession(Context context) The Session used to manipulate entities of this type.static StringI18nUtil.getMessage(String key, Context c) Get the i18n message string for a given key and contextAbstractHibernateDAO.list(Context context, jakarta.persistence.criteria.CriteriaQuery<T> criteriaQuery, boolean cacheable, Class<T> clazz, int maxResults, int offset) This method will return a list with unique results, no duplicates, made by the given CriteriaQuery and parametersAbstractHibernateDAO.list(Context context, jakarta.persistence.criteria.CriteriaQuery<T> criteriaQuery, boolean cacheable, Class<T> clazz, int maxResults, int offset, boolean distinct) This method will return a list of results for the given CriteriaQuery and parametersvoidvoidPersist this instance in the database.AbstractHibernateDAO.singleResult(Context context, jakarta.persistence.criteria.CriteriaQuery criteriaQuery) Retrieve a single result from the query.AbstractHibernateDAO.uniqueResult(Context context, jakarta.persistence.criteria.CriteriaQuery criteriaQuery, boolean cacheable, Class<T> clazz) Retrieve a unique result from the query.Constructors in org.dspace.core with parameters of type ContextModifierConstructorDescriptionUUIDIterator(Context ctx, List<UUID> uuids, Class<T> clazz, AbstractHibernateDSODAO<T> dao) -
Uses of Context in org.dspace.correctiontype
Methods in org.dspace.correctiontype with parameters of type ContextModifier and TypeMethodDescriptionCorrectionType.createCorrection(Context context, Item targetItem, Item relatedItem, QAMessageDTO reason) Creates a QAEvent for a target item and related item.CorrectionType.createCorrection(Context context, Item targetItem, QAMessageDTO reason) Creates a QAEvent for a specific target item.ReinstateCorrectionType.createCorrection(Context context, Item targetItem, Item relatedItem, QAMessageDTO reason) ReinstateCorrectionType.createCorrection(Context context, Item targetItem, QAMessageDTO reason) WithdrawnCorrectionType.createCorrection(Context context, Item targetItem, Item relatedItem, QAMessageDTO reason) WithdrawnCorrectionType.createCorrection(Context context, Item targetItem, QAMessageDTO reason) booleanChecks whether target item is allowed for current CorrectionTypebooleanChecks whether target item and related item are allowed for current CorrectionTypebooleanbooleanbooleanboolean -
Uses of Context in org.dspace.correctiontype.service
Methods in org.dspace.correctiontype.service with parameters of type ContextModifier and TypeMethodDescriptionCorrectionTypeService.findByItem(Context context, Item item) Retrieves a list of CorrectionType objects related to the provided Item. -
Uses of Context in org.dspace.correctiontype.service.impl
Methods in org.dspace.correctiontype.service.impl with parameters of type ContextModifier and TypeMethodDescriptionCorrectionTypeServiceImpl.findByItem(Context context, Item item) -
Uses of Context in org.dspace.ctask.testing
Methods in org.dspace.ctask.testing with parameters of type Context -
Uses of Context in org.dspace.curate
Fields in org.dspace.curate declared as ContextFields in org.dspace.curate with type parameters of type ContextMethods in org.dspace.curate that return ContextModifier and TypeMethodDescriptionstatic ContextCurator.curationContext()Returns the context object used in the current curation thread.Methods in org.dspace.curate with parameters of type ContextModifier and TypeMethodDescriptionvoidPerforms all configured tasks upon object identified by id.voidCurator.curate(Context c, DSpaceObject dso) Performs all configured tasks upon DSpace object (Community, Collection or Item).booleanbooleanXmlWorkflowCuratorServiceImpl.curate(Curator curator, Context c, XmlWorkflowItem wfi) protected DSpaceObjectAbstractCurationTask.dereference(Context ctx, String id) Returns a DSpaceObject for passed identifier, if it existsbooleanXmlWorkflowCuratorServiceImpl.doCuration(Context c, XmlWorkflowItem wfi) protected FlowStepXmlWorkflowCuratorServiceImpl.getFlowStep(Context c, XmlWorkflowItem wfi) Find the flow step occupied by a work flow item.booleanCurationScriptConfiguration.isAllowedToExecute(Context context, List<DSpaceCommandLineParameter> commandLineParameters) Only repository admins or admins of the target object can run Curation script via the scripts and processes endpoints.booleanXmlWorkflowCuratorServiceImpl.needsCuration(Context c, XmlWorkflowItem wfi) protected voidXmlWorkflowCuratorServiceImpl.notifyContacts(Context c, XmlWorkflowItem wfi, Task task, String status, String action, String message) Send email to people who should be notified when curation tasks are run.intintPerform the curation task for passed idintPerform the curation task for passed idintPerform the curation task for passed idvoidPlaces a curation request for the object identified by id on a managed queue named by the queueId.XmlWorkflowCuratorServiceImpl.resolveContacts(Context c, List<String> contacts, XmlWorkflowItem wfi) Develop a list of EPerson from a list of perhaps symbolic "contact" names.boolean -
Uses of Context in org.dspace.curate.service
Methods in org.dspace.curate.service with parameters of type ContextModifier and TypeMethodDescriptionbooleanDetermines and executes curation of a Workflow item by ID.booleanXmlWorkflowCuratorService.curate(Curator curator, Context c, XmlWorkflowItem wfi) Determines and executes curation of a Workflow item.booleanXmlWorkflowCuratorService.doCuration(Context c, XmlWorkflowItem wfi) Determines and executes curation on a Workflow item.booleanXmlWorkflowCuratorService.needsCuration(Context c, XmlWorkflowItem wfi) Should this item be curated? -
Uses of Context in org.dspace.discovery
Fields in org.dspace.discovery declared as ContextMethods in org.dspace.discovery with parameters of type ContextModifier and TypeMethodDescriptionstatic Set<DiscoveryConfiguration>SearchUtils.addDiscoveryConfigurationForParents(Context context, Set<DiscoveryConfiguration> configurations, String prefix, DSpaceObject dso) Retrieve the configuration for the current dspace object and all its parents and add it to the provided setvoidSolrServiceContentInOriginalBundleFilterPlugin.additionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document) voidSolrServiceFileInfoPlugin.additionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document) voidSolrServiceGeospatialFilterPlugin.additionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document) voidSolrServiceIndexAccessStatusPlugin.additionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document) voidSolrServiceIndexCollectionSubmittersPlugin.additionalIndex(Context context, IndexableObject idxObj, org.apache.solr.common.SolrInputDocument document) voidSolrServiceIndexComparisonPlugin.additionalIndex(Context context, IndexableObject idxObj, org.apache.solr.common.SolrInputDocument document) Index the normalised name of the item to a solr fieldvoidSolrServiceIndexItemEditorsPlugin.additionalIndex(Context context, IndexableObject idxObj, org.apache.solr.common.SolrInputDocument document) voidSolrServiceIndexOutputPlugin.additionalIndex(Context context, IndexableObject dso, org.apache.solr.common.SolrInputDocument document) voidSolrServiceIndexPlugin.additionalIndex(Context context, IndexableObject dso, org.apache.solr.common.SolrInputDocument document) voidSolrServiceMetadataBrowseIndexingPlugin.additionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document) voidSolrServiceParentObjectIndexingPlugin.additionalIndex(Context context, IndexableObject idxObj, org.apache.solr.common.SolrInputDocument document) voidSolrServiceResourceRestrictionPlugin.additionalIndex(Context context, IndexableObject idxObj, org.apache.solr.common.SolrInputDocument document) voidSolrServiceSpellIndexingPlugin.additionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document) voidSolrServiceSupervisionOrderIndexingPlugin.additionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document) voidSolrServicePrivateItemPlugin.additionalSearchParameters(Context context, DiscoverQuery discoveryQuery, org.apache.solr.client.solrj.SolrQuery solrQuery) voidSolrServiceResourceRestrictionPlugin.additionalSearchParameters(Context context, DiscoverQuery discoveryQuery, org.apache.solr.client.solrj.SolrQuery solrQuery) voidSolrServiceSearchPlugin.additionalSearchParameters(Context context, DiscoverQuery discoveryQuery, org.apache.solr.client.solrj.SolrQuery solrQuery) Edits the solr query before it is sent to solr by adding additional parameters to it.voidSolrServiceWorkspaceWorkflowRestrictionPlugin.additionalSearchParameters(Context context, DiscoverQuery discoveryQuery, org.apache.solr.client.solrj.SolrQuery solrQuery) voidIndexingService.atomicUpdate(Context context, String uniqueIndexId, String field, Map<String, Object> fieldModifier) Atomically update the index of a single field for an objectvoidSolrServiceImpl.atomicUpdate(Context context, String uniqueIndexId, String field, Map<String, Object> fieldModifier) SearchService.calculateExtremeValue(Context context, String valueField, String sortField, DiscoverQuery.SORT_ORDER sortOrder) This method returns us either the highest or lowest value for the field that we give to it depending on what sortOrder we give this method.SolrServiceImpl.calculateExtremeValue(Context context, String valueField, String sortField, DiscoverQuery.SORT_ORDER sortOrder) voidFacetYearRange.calculateRange(Context context, List<String> filterQueries, IndexableObject scope, SearchService searchService, DiscoverQuery parentQuery) voidConsume a content event -- just build the sets of objects to add (new) to the index, update, and delete.voidIndexingService.createIndex(Context context) voidSolrServiceImpl.createIndex(Context c) create full index - wiping old indexSearchService.createLocationQueryForAdministrableItems(Context context) Method to create a Query that includes all communities and collections a user may administrate.SolrServiceImpl.createLocationQueryForAdministrableItems(Context context) voidProcess sets of objects to add, update, and delete in index.protected IndexableObjectSolrServiceImpl.findIndexableObject(Context context, org.apache.solr.common.SolrDocument doc) Find the indexable object by type and UUIDvoidstatic List<DiscoveryConfiguration>SearchUtils.getAllDiscoveryConfigurations(Context context, 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/collectionstatic List<DiscoveryConfiguration>SearchUtils.getAllDiscoveryConfigurations(Context context, WorkspaceItem witem) Return all the discovery configuration applicable to the provided workspace itemstatic List<DiscoveryConfiguration>SearchUtils.getAllDiscoveryConfigurations(Context context, WorkflowItem witem) Return all the discovery configuration applicable to the provided workflow itemstatic DiscoveryConfigurationSearchUtils.getDiscoveryConfiguration(Context context, String prefix, DSpaceObject dso) Return the discovery configuration to use in a specific scope for the king of search identified by the prefix.static DiscoveryConfigurationSearchUtils.getDiscoveryConfiguration(Context context, DSpaceObject dso) Retrieves the Discovery Configuration with a null prefix for a DSpace object.static DiscoveryConfigurationSearchUtils.getDiscoveryConfigurationByDSO(Context context, DSpaceObject dso) Return the discovery configuration for the provided DSOSearchService.getFacetYearRange(Context context, IndexableObject scope, DiscoverySearchFilterFacet facet, List<String> filterQueries, DiscoverQuery parentQuery) SolrServiceImpl.getFacetYearRange(Context context, IndexableObject scope, DiscoverySearchFilterFacet facet, List<String> filterQueries, DiscoverQuery parentQuery) SearchService.getRelatedItems(Context context, Item item, DiscoveryMoreLikeThisConfiguration moreLikeThisConfiguration) SolrServiceImpl.getRelatedItems(Context context, Item item, DiscoveryMoreLikeThisConfiguration mltConfig) voidIndexingService.indexContent(Context context, IndexableObject dso) voidIndexingService.indexContent(Context context, IndexableObject dso, boolean force) voidIndexingService.indexContent(Context context, IndexableObject dso, boolean force, boolean commit) voidIndexingService.indexContent(Context context, IndexableObject dso, boolean force, boolean commit, boolean preDb) Index a given DSOvoidSolrServiceImpl.indexContent(Context context, IndexableObject 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.voidSolrServiceImpl.indexContent(Context context, IndexableObject indexableObject, 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.voidSolrServiceImpl.indexContent(Context context, IndexableObject dso, boolean force, boolean commit) voidSolrServiceImpl.indexContent(Context context, IndexableObject indexableObject, boolean force, boolean commit, boolean preDb) SearchService.iteratorSearch(Context context, IndexableObject dso, DiscoverQuery query) Convenience method to call @see #search(Context, DSpaceObject, DiscoverQuery) and getting an iterator for the resultsSolrServiceImpl.iteratorSearch(Context context, IndexableObject dso, DiscoverQuery query) SolrServiceImpl.locationToName(Context context, String field, String value) voidIndexingService.reIndexContent(Context context, IndexableObject dso) voidSolrServiceImpl.reIndexContent(Context context, IndexableObject dso) reIndexContent removes something from the index, then re-indexes itprotected org.apache.solr.client.solrj.SolrQuerySolrServiceImpl.resolveToSolrQuery(Context context, DiscoverQuery discoveryQuery) protected DiscoverResultSolrServiceImpl.retrieveResult(Context context, DiscoverQuery query) SearchService.search(Context context, String query, String orderfield, boolean ascending, int offset, int max, String... filterquery) SearchService.search(Context context, DiscoverQuery query) Convenient method to callSearchService.search(Context, DSpaceObject, DiscoverQuery)with a null DSpace Object as scope (i.e. all the repository)SearchService.search(Context context, IndexableObject dso, DiscoverQuery query) Convenient method to call @see #search(Context, DSpaceObject, DiscoverQuery, boolean) with includeWithdrawn=falseSolrServiceImpl.search(Context context, String query, String orderfield, boolean ascending, int offset, int max, String... filterquery) SolrServiceImpl.search(Context context, DiscoverQuery discoveryQuery) SolrServiceImpl.search(Context context, IndexableObject dso, DiscoverQuery discoveryQuery) SearchService.toFilterQuery(Context context, String field, String operator, String value, DiscoveryConfiguration config) Transforms the given string field and value into a filter querySolrServiceImpl.toFilterQuery(Context context, String field, String operator, String value, DiscoveryConfiguration config) protected StringSolrServiceImpl.transformAuthorityValue(Context context, String field, String value) protected StringSolrServiceImpl.transformDisplayedValue(Context context, String field, String value) protected StringSolrServiceImpl.transformSortValue(Context context, String field, String value) voidIndexingService.unIndexContent(Context context, String uniqueSearchID) voidIndexingService.unIndexContent(Context context, String uniqueSearchID, boolean commit) voidIndexingService.unIndexContent(Context context, IndexableObject dso) voidIndexingService.unIndexContent(Context context, IndexableObject dso, boolean commit) voidSolrServiceImpl.unIndexContent(Context context, String searchUniqueID) Unindex a Document in the Lucene index.voidSolrServiceImpl.unIndexContent(Context context, String searchUniqueID, boolean commit) Unindex a Document in the Lucene Index.voidSolrServiceImpl.unIndexContent(Context context, IndexableObject dso) unIndex removes an Item, Collection, or CommunityvoidSolrServiceImpl.unIndexContent(Context context, IndexableObject indexableObject, boolean commit) unIndex removes an Item, Collection, or Communityprotected voidSolrServiceImpl.update(Context context, IndexFactory indexableObjectService, IndexableObject indexableObject) protected voidSolrServiceImpl.update(Context context, IndexFactory indexableObjectService, IndexableObject indexableObject, boolean preDB) Update the given indexable object using a given servicevoidIndexingService.updateIndex(Context context) voidIndexingService.updateIndex(Context context, boolean force) voidIndexingService.updateIndex(Context context, boolean force, String type) voidSolrServiceImpl.updateIndex(Context context) Iterates over all Items, Collections and Communities.voidSolrServiceImpl.updateIndex(Context context, boolean force) Iterates over all Items, Collections and Communities.voidSolrServiceImpl.updateIndex(Context context, boolean force, String type) Constructors in org.dspace.discovery with parameters of type ContextModifierConstructorDescriptionDiscoverResultItemIterator(Context context, DiscoverQuery discoverQuery) Constructs an iterator for discovering items based on the given context and query.DiscoverResultItemIterator(Context context, DiscoverQuery discoverQuery, boolean uncacheEntities) Constructs an iterator with the option to uncache entities.DiscoverResultItemIterator(Context context, DiscoverQuery discoverQuery, int maxResults) Constructs an iterator with a limit on the maximum number of results.DiscoverResultItemIterator(Context context, IndexableObject<?, ?> scopeObject, DiscoverQuery discoverQuery) Constructs an iterator within a specific scope object.DiscoverResultItemIterator(Context context, IndexableObject<?, ?> scopeObject, DiscoverQuery discoverQuery, int maxResults) Constructs an iterator with a scope object and a limit on the maximum number of results.DiscoverResultIterator(Context context, DiscoverQuery discoverQuery) Constructor for global search without scope and unlimited results.DiscoverResultIterator(Context context, DiscoverQuery discoverQuery, boolean uncacheEntities) Constructor with optional uncacheEntities flag.DiscoverResultIterator(Context context, IndexableObject<?, ?> scopeObject, DiscoverQuery discoverQuery) Constructor for scoped search without a limit on the number of results.DiscoverResultIterator(Context context, IndexableObject<?, ?> scopeObject, DiscoverQuery discoverQuery, boolean uncacheEntities, int maxResults) Full constructor with all options.FullTextContentStreams(Context context, Item parentItem) -
Uses of Context in org.dspace.discovery.configuration
Methods in org.dspace.discovery.configuration with parameters of type ContextModifier and TypeMethodDescriptionDiscoveryConfigurationService.getDiscoveryConfiguration(Context context, IndexableObject indexableObject) Retrieve the discovery configuration for the provided IndexableObject.DiscoveryConfigurationService.getDiscoveryConfigurationByNameOrIndexableObject(Context context, String configurationName, IndexableObject indexableObject) Retrieve the Discovery configuration for the provided name or IndexableObject.DiscoveryConfigurationService.getDiscoveryDSOConfiguration(Context context, DSpaceObject dso) Retrieve the discovery configuration for the provided DSO. -
Uses of Context in org.dspace.discovery.indexobject
Methods in org.dspace.discovery.indexobject with parameters of type ContextModifier and TypeMethodDescriptionvoidItemIndexFactoryImpl.addDiscoveryFields(org.apache.solr.common.SolrInputDocument doc, Context context, Item item, List<DiscoveryConfiguration> discoveryConfigurations) org.apache.solr.common.SolrInputDocumentClaimedTaskIndexFactoryImpl.buildDocument(Context context, IndexableClaimedTask indexableObject) org.apache.solr.common.SolrInputDocumentCollectionIndexFactoryImpl.buildDocument(Context context, IndexableCollection indexableCollection) Build a solr document for a DSpace Collection.org.apache.solr.common.SolrInputDocumentCommunityIndexFactoryImpl.buildDocument(Context context, IndexableCommunity indexableObject) org.apache.solr.common.SolrInputDocumentDSpaceObjectIndexFactoryImpl.buildDocument(Context context, T indexableObject) org.apache.solr.common.SolrInputDocumentIndexFactoryImpl.buildDocument(Context context, T indexableObject) org.apache.solr.common.SolrInputDocumentInprogressSubmissionIndexFactoryImpl.buildDocument(Context context, T indexableObject) org.apache.solr.common.SolrInputDocumentItemIndexFactoryImpl.buildDocument(Context context, IndexableItem indexableItem) Build a Solr document for a DSpace Item and write the indexorg.apache.solr.common.SolrInputDocumentLDNMessageEntityIndexFactoryImpl.buildDocument(Context context, IndexableLDNNotification indexableObject) org.apache.solr.common.SolrInputDocumentMetadataFieldIndexFactoryImpl.buildDocument(Context context, IndexableMetadataField indexableObject) org.apache.solr.common.SolrInputDocumentPoolTaskIndexFactoryImpl.buildDocument(Context context, IndexablePoolTask indexableObject) org.apache.solr.common.SolrInputDocumentWorkflowItemIndexFactoryImpl.buildDocument(Context context, IndexableWorkflowItem indexableObject) org.apache.solr.common.SolrInputDocumentWorkspaceItemIndexFactoryImpl.buildDocument(Context context, IndexableWorkspaceItem indexableObject) org.apache.solr.common.SolrInputDocumentIndexFactoryImpl.buildNewDocument(Context context, T indexableObject) org.apache.solr.common.SolrInputDocumentItemIndexFactoryImpl.buildNewDocument(Context context, IndexableItem indexableItem) ClaimedTaskIndexFactoryImpl.findIndexableObject(Context context, String id) CollectionIndexFactoryImpl.findIndexableObject(Context context, String id) CommunityIndexFactoryImpl.findIndexableObject(Context context, String id) ItemIndexFactoryImpl.findIndexableObject(Context context, String id) LDNMessageEntityIndexFactoryImpl.findIndexableObject(Context context, String id) MetadataFieldIndexFactoryImpl.findIndexableObject(Context context, String id) PoolTaskIndexFactoryImpl.findIndexableObject(Context context, String id) WorkflowItemIndexFactoryImpl.findIndexableObject(Context context, String id) WorkspaceItemIndexFactoryImpl.findIndexableObject(Context context, String id) CollectionIndexFactoryImpl.getCollectionLocations(Context context, Collection collection) ClaimedTaskIndexFactoryImpl.getIndexableObjects(Context context, ClaimedTask object) CollectionIndexFactoryImpl.getIndexableObjects(Context context, Collection object) CommunityIndexFactoryImpl.getIndexableObjects(Context context, Community object) ItemIndexFactoryImpl.getIndexableObjects(Context context, Item item) LDNMessageEntityIndexFactoryImpl.getIndexableObjects(Context context, LDNMessageEntity object) MetadataFieldIndexFactoryImpl.getIndexableObjects(Context context, MetadataField object) PoolTaskIndexFactoryImpl.getIndexableObjects(Context context, PoolTask object) WorkflowItemIndexFactoryImpl.getIndexableObjects(Context context, XmlWorkflowItem object) WorkspaceItemIndexFactoryImpl.getIndexableObjects(Context context, WorkspaceItem object) CollectionIndexFactoryImpl.getLocations(Context context, IndexableCollection indexableCollection) CommunityIndexFactoryImpl.getLocations(Context context, IndexableCommunity indexableDSpaceObject) ItemIndexFactoryImpl.getLocations(Context context, IndexableItem indexableDSpaceObject) voidInprogressSubmissionIndexFactoryImpl.storeInprogressItemFields(Context context, org.apache.solr.common.SolrInputDocument doc, InProgressSubmission inProgressSubmission) voidIndexFactoryImpl.writeDocument(Context context, T indexableObject, org.apache.solr.common.SolrInputDocument solrInputDocument) voidItemIndexFactoryImpl.writeDocument(Context context, IndexableItem indexableObject, org.apache.solr.common.SolrInputDocument solrInputDocument) -
Uses of Context in org.dspace.discovery.indexobject.factory
Methods in org.dspace.discovery.indexobject.factory with parameters of type ContextModifier and TypeMethodDescriptionvoidItemIndexFactory.addDiscoveryFields(org.apache.solr.common.SolrInputDocument doc, Context context, Item item, List<DiscoveryConfiguration> discoveryConfigurations) Store item fields in the solr documentorg.apache.solr.common.SolrInputDocumentIndexFactory.buildDocument(Context context, T indexableObject) Create solr document with all the shared fields initialized.org.apache.solr.common.SolrInputDocumentIndexFactory.buildNewDocument(Context context, T indexableObject) Create solr document with all the shared fields initialized.Retrieve all instances of a certain indexable object typeIndexFactory.findIndexableObject(Context context, String id) Retrieve a single indexable object using the provided identifierCollectionIndexFactory.getCollectionLocations(Context context, Collection collection) Return a list of the identifiers of the owning communities from the provided collection prepended by "m"IndexFactory.getIndexableObjects(Context context, S object) Retrieve all the indexable objects for the provided objectIndexObjectFactoryFactory.getIndexableObjects(Context context, Object object) Retrieve all the indexable objects for the provided objectDSpaceObjectIndexFactory.getLocations(Context context, T indexableDSpaceObject) Return a list of the identifiers from the parents for the provided IndexableObject, communities will be prepended by "m", collections b "c"voidInprogressSubmissionIndexFactory.storeInprogressItemFields(Context context, org.apache.solr.common.SolrInputDocument doc, InProgressSubmission inProgressSubmission) Store common fields between workspace / workflow items in the solr documentvoidIndexFactory.writeDocument(Context context, T indexableObject, org.apache.solr.common.SolrInputDocument solrInputDocument) Write the provided document to the solr core -
Uses of Context in org.dspace.discovery.utils
Methods in org.dspace.discovery.utils with parameters of type ContextModifier and TypeMethodDescriptionDiscoverQueryBuilder.buildFacetQuery(Context context, IndexableObject scope, DiscoveryConfiguration discoveryConfiguration, String prefix, String query, List<QueryBuilderSearchFilter> searchFilters, String dsoType, Integer pageSize, Long offset, String facetName) Create a discovery facet query.DiscoverQueryBuilder.buildFacetQuery(Context context, IndexableObject scope, DiscoveryConfiguration discoveryConfiguration, String prefix, String query, List<QueryBuilderSearchFilter> searchFilters, List<String> dsoTypes, Integer pageSize, Long offset, String facetName) Create a discovery facet query.DiscoverQueryBuilder.buildQuery(Context context, IndexableObject scope, DiscoveryConfiguration discoveryConfiguration, String query, List<QueryBuilderSearchFilter> searchFilters, String dsoType, Integer pageSize, Long offset, String sortProperty, String sortDirection) Build a discovery queryDiscoverQueryBuilder.buildQuery(Context context, IndexableObject scope, DiscoveryConfiguration discoveryConfiguration, String query, List<QueryBuilderSearchFilter> searchFilters, List<String> dsoTypes, Integer pageSize, Long offset, String sortProperty, String sortDirection) Build a discovery query -
Uses of Context in org.dspace.disseminate
Methods in org.dspace.disseminate with parameters of type ContextModifier and TypeMethodDescriptionbooleanCitationDocumentServiceImpl.canGenerateCitationVersion(Context context, Bitstream bitstream) CitationDocumentServiceImpl.isCitationEnabledForBitstream(Bitstream bitstream, Context context) protected booleanCitationDocumentServiceImpl.isCitationEnabledThroughCollection(Context context, Bitstream bitstream) org.apache.commons.lang3.tuple.Pair<byte[],Long> CitationDocumentServiceImpl.makeCitedDocument(Context context, Bitstream bitstream) -
Uses of Context in org.dspace.disseminate.service
Methods in org.dspace.disseminate.service with parameters of type ContextModifier and TypeMethodDescriptionbooleanCitationDocumentService.canGenerateCitationVersion(Context context, Bitstream bitstream) CitationDocumentService.isCitationEnabledForBitstream(Bitstream bitstream, Context context) Repository policy can specify to have a custom citation cover/tail page to the document, which embeds metadata.org.apache.commons.lang3.tuple.Pair<byte[],Long> CitationDocumentService.makeCitedDocument(Context context, Bitstream bitstream) Creates a cited document from the given bitstream of the given item. -
Uses of Context in org.dspace.embargo
Methods in org.dspace.embargo with parameters of type ContextModifier and TypeMethodDescriptionvoidDefaultEmbargoSetter.checkEmbargo(Context context, Item item) Check that embargo is properly set on Item: no read access to bitstreams.voidEmbargoServiceImpl.checkEmbargo(Context context, Item item) voidEmbargoSetter.checkEmbargo(Context context, Item item) Check that embargo is properly set on Item.EmbargoServiceImpl.findItemsByLiftMetadata(Context context) protected voidDefaultEmbargoSetter.generatePolicies(Context context, LocalDate embargoDate, String reason, DSpaceObject dso, Collection owningCollection) EmbargoServiceImpl.getEmbargoTermsAsDate(Context context, Item item) EmbargoServiceImpl.getLiftMetadata(Context context, Item item) voidDefaultEmbargoLifter.liftEmbargo(Context context, Item item) Enforce lifting of embargo by turning read access to bitstreams in this Item back on.voidEmbargoLifter.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.voidEmbargoServiceImpl.liftEmbargo(Context context, Item item) DayTableEmbargoSetter.parseTerms(Context context, Item item, String terms) Parse the terms into a definite date.DefaultEmbargoSetter.parseTerms(Context context, Item item, String terms) Parse the terms into a definite date.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.protected static booleanEmbargoCLITool.processOneItem(Context context, Item item, org.apache.commons.cli.CommandLine line, ZonedDateTime now) voidDefaultEmbargoSetter.setEmbargo(Context context, Item item) Enforce embargo by turning off all read access to bitstreams in this Item.voidEmbargoServiceImpl.setEmbargo(Context context, Item item) voidEmbargoSetter.setEmbargo(Context context, Item item) Enforce embargo by (for example) turning off all read access to bitstreams in this Item. -
Uses of Context in org.dspace.embargo.service
Methods in org.dspace.embargo.service with parameters of type ContextModifier and TypeMethodDescriptionvoidEmbargoService.checkEmbargo(Context context, Item item) EmbargoService.findItemsByLiftMetadata(Context context) EmbargoService.getEmbargoTermsAsDate(Context context, Item item) Get the embargo lift date for an Item, if any.EmbargoService.getLiftMetadata(Context context, Item item) voidEmbargoService.liftEmbargo(Context context, Item item) Lift the embargo on an item which is assumed to be under embargo.voidEmbargoService.setEmbargo(Context context, Item item) Put an Item under embargo until the specified lift date. -
Uses of Context in org.dspace.eperson
Methods in org.dspace.eperson with parameters of type ContextModifier and TypeMethodDescriptionvoidvoidvoidRegistrationDataServiceImpl.addMetadata(Context context, RegistrationData registration, String schema, String element, String qualifier, String value) voidRegistrationDataServiceImpl.addMetadata(Context context, RegistrationData registration, MetadataField mf, String value) SubscribeServiceImpl.addSubscriptionParameter(Context context, Integer id, SubscriptionParameter subscriptionParam) GroupServiceImpl.allMemberGroups(Context context, EPerson ePerson) GroupServiceImpl.allMemberGroupsSet(Context context, EPerson ePerson) GroupServiceImpl.allMembers(Context c, Group g) booleanEPersonServiceImpl.checkPassword(Context context, EPerson ePerson, String attempt) RegistrationDataServiceImpl.clone(Context context, RegistrationDataPatch registrationDataPatch) voidConsume the eventintGroupServiceImpl.countAllMembers(Context context, Group group) SubscribeServiceImpl.countByEPersonAndDSO(Context context, EPerson ePerson, DSpaceObject dSpaceObject) intEPersonServiceImpl.countByGroups(Context c, Set<Group> groups) intGroupServiceImpl.countByParent(Context context, Group parent) SubscribeServiceImpl.countSubscriptionsByEPerson(Context context, EPerson ePerson) intEPersonServiceImpl.countTotal(Context context) intGroupServiceImpl.countTotal(Context context) RegistrationDataMetadataServiceImpl.create(Context context, RegistrationData registrationData, String schema, String element, String qualifier, String value) RegistrationDataMetadataServiceImpl.create(Context context, RegistrationData registrationData, MetadataField metadataField) RegistrationDataMetadataServiceImpl.create(Context context, RegistrationData registrationData, MetadataField metadataField, String value) RegistrationDataServiceImpl.create(Context context, String netId, RegistrationTypeEnum type) voidvoidDeletes an EPerson.voidvoidRegistrationDataMetadataServiceImpl.delete(Context context, RegistrationDataMetadata registrationDataMetadata) voidRegistrationDataServiceImpl.delete(Context context, RegistrationData registrationData) voidSubscribeServiceImpl.deleteByDspaceObject(Context context, DSpaceObject dSpaceObject) voidSubscribeServiceImpl.deleteByEPerson(Context context, EPerson ePerson) voidRegistrationDataServiceImpl.deleteByToken(Context context, String token) voidRegistrationDataServiceImpl.deleteExpiredRegistrations(Context context) voidSubscribeServiceImpl.deleteSubscription(Context context, Subscription subscription) voidAccountServiceImpl.deleteToken(Context context, String token) Delete token.voidHandle the end of the eventbooleanAccountServiceImpl.existsAccountFor(Context context, String token) Checks if exists an account related to the token providedbooleanAccountServiceImpl.existsAccountWithEmail(Context context, String email) protected voidAccountServiceImpl.fillAndSendEmail(Context context, String email, boolean isRegister, RegistrationData rd) Send a DSpace message to the given email address.Deprecated.GroupServiceImpl.findAll(Context context, List<MetadataField> metadataSortFields) GroupServiceImpl.findAll(Context context, List<MetadataField> metadataSortFields, int pageSize, int offset) SubscribeServiceImpl.findAllSubscriptionsBySubscriptionTypeAndFrequency(Context context, String subscriptionType, String frequencyValue) SubscribeServiceImpl.findAvailableSubscriptions(Context context) SubscribeServiceImpl.findAvailableSubscriptions(Context context, EPerson eperson) RegistrationDataServiceImpl.findBy(Context context, String email, RegistrationTypeEnum type) EPersonServiceImpl.findByEmail(Context context, String email) RegistrationDataServiceImpl.findByEmail(Context context, String email) EPersonServiceImpl.findByGroups(Context c, Set<Group> groups) EPersonServiceImpl.findByGroups(Context c, Set<Group> groups, int pageSize, int offset) EPersonServiceImpl.findByIdOrLegacyId(Context context, String id) GroupServiceImpl.findByIdOrLegacyId(Context context, String id) EPersonServiceImpl.findByLegacyId(Context context, int legacyId) GroupServiceImpl.findByLegacyId(Context context, int id) GroupServiceImpl.findByMetadataField(Context context, String searchValue, MetadataField metadataField) GroupServiceImpl.findByName(Context context, String name) EPersonServiceImpl.findByNetid(Context context, String netId) GroupServiceImpl.findByParent(Context context, Group parent, int pageSize, int offset) EPersonServiceImpl.findByProfileItem(Context context, Item profile) RegistrationDataServiceImpl.findByToken(Context context, String token) EPersonServiceImpl.findEPeopleWithSubscription(Context context) EPersonServiceImpl.findNotActiveSince(Context context, Instant date) SubscribeServiceImpl.findSubscriptionsByEPerson(Context context, EPerson eperson, Integer limit, Integer offset) SubscribeServiceImpl.findSubscriptionsByEPersonAndDso(Context context, EPerson eperson, DSpaceObject dSpaceObject, Integer limit, Integer offset) EPersonServiceImpl.findUnsalted(Context context) voidFinish the eventEPersonServiceImpl.getDeleteConstraints(Context context, EPerson ePerson) Return the e-mail address referred to by a token, or null if email address can't be found ignores expiration of tokenGroupServiceImpl.getEmptyGroups(Context context) Get a list of groups with no members.AccountServiceImpl.getEPerson(Context context, String token) Return the EPerson corresponding to token, where token was emailed to the person by either the sendRegistrationInfo or sendForgotPasswordInfo methods.GroupServiceImpl.getParentObject(Context context, Group group) EPersonServiceImpl.getSystemEPerson(Context c) Create a fake EPerson which can receive email.AccountServiceImpl.getUpdateActions(Context context, EPerson eperson, RegistrationData registrationData) This methods tries to fullfill missing values inside theEPersonby taking them directly from theRegistrationData.voidGroupServiceImpl.initDefaultGroupNames(Context context) protected booleanGroupServiceImpl.isEPersonInGroup(Context context, Group group, EPerson ePerson) booleanbooleanbooleanbooleanbooleanGroupServiceImpl.isParentOf(Context context, Group parentGroup, Group childGroup) booleanSubscribeServiceImpl.isSubscribed(Context context, EPerson eperson, DSpaceObject dSpaceObject) voidRegistrationDataServiceImpl.markAsExpired(Context context, RegistrationData registrationData) AccountServiceImpl.mergeRegistration(Context context, UUID personId, String token, List<String> overrides) voidGroupServiceImpl.removeMember(Context context, Group group, EPerson ePerson) Removes a member of a group.voidGroupServiceImpl.removeMember(Context context, Group groupParent, Group childGroup) SubscribeServiceImpl.removeSubscriptionParameter(Context context, Integer id, SubscriptionParameter subscriptionParam) AccountServiceImpl.renewRegistrationForEmail(Context context, RegistrationDataPatch registrationDataPatch) protected voidGroupServiceImpl.rethinkGroupCache(Context context, boolean flushQueries) Regenerate the group cache AKA the group2groupcache table in the database - meant to be called when a group is added or removed from another groupEPersonServiceImpl.searchNonMembers(Context context, String query, Group excludeGroup, int offset, int limit) GroupServiceImpl.searchNonMembers(Context context, String query, Group excludeParentGroup, int offset, int limit) intEPersonServiceImpl.searchNonMembersCount(Context context, String query, Group excludeGroup) intGroupServiceImpl.searchNonMembersCount(Context context, String query, Group excludeParentGroup) intEPersonServiceImpl.searchResultCount(Context context, String query) intGroupServiceImpl.searchResultCount(Context context, String query) voidAccountServiceImpl.sendForgotPasswordInfo(Context context, String email) Email forgot password info to the given email address.protected RegistrationDataAccountServiceImpl.sendInfo(Context context, String email, RegistrationTypeEnum type, boolean send) THIS IS AN INTERNAL METHOD.protected voidAccountServiceImpl.sendRegistationLinkByEmail(Context context, RegistrationData rd) Fills out a given email template obtained starting from theRegistrationTypeEnum.voidAccountServiceImpl.sendRegistrationInfo(Context context, String email) Email registration info to the given email address.voidEPerson.setFirstName(Context context, String firstname) Set the eperson's first namevoidEPerson.setLanguage(Context context, String language) Set the EPerson's language.voidEPerson.setLastName(Context context, String lastname) Set the eperson's last namevoidRegistrationDataServiceImpl.setRegistrationMetadataValue(Context context, RegistrationData registration, String schema, String element, String qualifier, String value) SubscribeServiceImpl.subscribe(Context context, EPerson eperson, DSpaceObject dSpaceObject, List<SubscriptionParameter> subscriptionParameterList, String type) voidSubscribeServiceImpl.unsubscribe(Context context, EPerson eperson, DSpaceObject dSpaceObject) voidvoidUpdate the group - writing out group object and EPerson list if necessaryvoidRegistrationDataMetadataServiceImpl.update(Context context, List<RegistrationDataMetadata> t) voidRegistrationDataMetadataServiceImpl.update(Context context, RegistrationDataMetadata registrationDataMetadata) voidRegistrationDataServiceImpl.update(Context context, List<RegistrationData> registrationDataRecords) voidRegistrationDataServiceImpl.update(Context context, RegistrationData registrationData) voidEPersonServiceImpl.updateLastModified(Context context, EPerson dso) voidGroupServiceImpl.updateLastModified(Context context, Group dso) SubscribeServiceImpl.updateSubscription(Context context, Integer id, String subscriptionType, List<SubscriptionParameter> subscriptionParameterList) protected voidAccountServiceImpl.updateValuesFromRegistration(Context context, EPerson eperson, RegistrationData registrationData, List<String> overrides) Updates Eperson using the providedRegistrationData.
Tries to replacemetadataalready set inside theEPersonwith the ones listed inside theoverridesfield by taking the value from theRegistrationData. -
Uses of Context in org.dspace.eperson.dao
Methods in org.dspace.eperson.dao with parameters of type ContextModifier and TypeMethodDescriptionvoidGroup2GroupCacheDAO.addToCache(Context context, UUID parent, UUID child) Adds a single row to the cache table given parent and child groups UUIDs.Count all subscriptionsSubscriptionDAO.countAllByEPerson(Context context, EPerson ePerson) Count all subscriptions belong to an ePersonSubscriptionDAO.countAllByEPersonAndDso(Context context, EPerson ePerson, DSpaceObject dSpaceObject) Count all subscriptions related to a DSpaceObject belong to an ePersonintEPersonDAO.countByGroups(Context context, Set<Group> groups) Count total number of EPersons who are a member of one or more of the listed groups.intGroupDAO.countByNameLike(Context context, String groupName) Count the number of groups that have a name that contains the given stringintGroupDAO.countByNameLikeAndNotMember(Context context, String groupName, Group excludeParent) Count number of groups that match a given name (fuzzy match), limited to those groups which are NOT a member of the given parent group.intGroupDAO.countByParent(Context context, Group parent) Returns the number of groups which are members of a given parent group.intintCount the number of groups in DSpacevoidCompletely deletes the current cache table.voidSubscriptionDAO.deleteByDSOAndEPerson(Context context, DSpaceObject dSpaceObject, EPerson eperson) Delete all subscriptions related to a DSpaceObject belong to an ePersonvoidSubscriptionDAO.deleteByDspaceObject(Context context, DSpaceObject dSpaceObject) Delete all subscription of provided dSpaceObjectvoidSubscriptionDAO.deleteByEPerson(Context context, EPerson eperson) Delete all subscription of provided ePersonvoidRegistrationDataDAO.deleteByToken(Context context, String token) DeletesRegistrationDataby token.voidRegistrationDataDAO.deleteExpiredBy(Context context, Instant instant) Deletes expiredRegistrationData.voidGroup2GroupCacheDAO.deleteFromCache(Context context, UUID parent, UUID child) Deletes a specific cache row given parent and child groups UUIDs.Returns the cache entity given specific parent and child groups.EPersonDAO.findAll(Context context, MetadataField metadataFieldSort, String sortColumn, int pageSize, int offset) Find all groups ordered by name ascendingGroupDAO.findAll(Context context, List<MetadataField> metadataSortFields, int pageSize, int offset) Find all groups ordered by the specified metadata fields ascendingSubscriptionDAO.findAllOrderedByDSO(Context context, Integer limit, Integer offset) Return a paginated list of subscriptions ordered by DSpaceObjectSubscriptionDAO.findAllOrderedByIDAndResourceType(Context context, String resourceType, Integer limit, Integer offset) Return a paginated list of all subscriptions ordered by ID and resourceTypeEPersonDAO.findAllSubscribers(Context context) SubscriptionDAO.findAllSubscriptionsBySubscriptionTypeAndFrequency(Context context, String subscriptionType, String frequencyValue) Return a list of all subscriptions by subscriptionType and frequencyRegistrationDataDAO.findBy(Context context, String email, RegistrationTypeEnum type) FindsRegistrationDataby email and type.Group2GroupCacheDAO.findByChildren(Context context, Iterable<Group> groups) Returns all cache entities that are parents of at least one group from a children groups list.EPersonDAO.findByEmail(Context context, String email) RegistrationDataDAO.findByEmail(Context context, String email) FindsRegistrationDataby email.GroupDAO.findByEPerson(Context context, EPerson ePerson) Find all groups that the given ePerson belongs toSubscriptionDAO.findByEPerson(Context context, EPerson eperson, Integer limit, Integer offset) Return a paginated list of all subscriptions of the epersonSubscriptionDAO.findByEPersonAndDso(Context context, EPerson eperson, DSpaceObject dSpaceObject, Integer limit, Integer offset) Return a paginated list of subscriptions related to a DSpaceObject belong to an ePersonEPersonDAO.findByGroups(Context context, Set<Group> groups, int pageSize, int offset) Find all EPersons who are a member of one or more of the listed groups in a paginated fashion.GroupDAO.findByIdAndMembership(Context context, UUID id, EPerson ePerson) Find a group by its name and the membership of the given EPersonGroupDAO.findByMetadataField(Context context, String searchValue, MetadataField metadataField) Look up groups based on their value for a certain metadata field (NOTE: name is not stored as metadata)GroupDAO.findByName(Context context, String name) Find a group by its name (exact match)GroupDAO.findByNameLike(Context context, String groupName, int offset, int limit) Find a group by its name (fuzzy match)GroupDAO.findByNameLikeAndNotMember(Context context, String groupName, Group excludeParent, int offset, int limit) Search all groups via their name (fuzzy match), limited to those groups which are NOT a member of the given parent group.EPersonDAO.findByNetid(Context context, String netid) Group2GroupCacheDAO.findByParent(Context context, Group group) Returns all cache entities that are children of a given parent Group entity.GroupDAO.findByParent(Context context, Group parent, int pageSize, int offset) Find all groups which are members of a given parent group.Group2GroupCacheDAO.findByParentAndChild(Context context, Group parent, Group child) Returns the cache entity given specific parent and child groups.RegistrationDataDAO.findByToken(Context context, String token) FindsRegistrationDataby token.EPersonDAO.findNotActiveSince(Context context, Instant date) EPersonDAO.findWithPasswordWithoutDigestAlgorithm(Context context) Returns the current cache table as a set of UUID pairs.GroupDAO.getEmptyGroups(Context context) Return all empty groupsGroupDAO.getGroup2GroupResults(Context context, boolean flushQueries) Get a list of all direct parent - child group relations in the databaseEPersonDAO.search(Context context, String query, List<MetadataField> queryFields, List<MetadataField> sortFields, int offset, int limit) Search all EPersons by the given MetadataField objects, sorting by the given sort fields.EPersonDAO.searchNotMember(Context context, String query, List<MetadataField> queryFields, Group excludeGroup, List<MetadataField> sortFields, int offset, int limit) Search all EPersons via their firstname, lastname, email (fuzzy match), limited to those EPersons which are NOT a member of the given group.intEPersonDAO.searchNotMemberCount(Context context, String query, List<MetadataField> queryFields, Group excludeGroup) Count number of EPersons that match a given search (fuzzy match) across firstname, lastname and email.intEPersonDAO.searchResultCount(Context context, String query, List<MetadataField> queryFields) Count number of EPersons who match a search on the given metadata fields. -
Uses of Context in org.dspace.eperson.dao.impl
Methods in org.dspace.eperson.dao.impl with parameters of type ContextModifier and TypeMethodDescriptionvoidGroup2GroupCacheDAOImpl.addToCache(Context context, UUID parent, UUID child) SubscriptionDAOImpl.countAllByEPerson(Context context, EPerson ePerson) SubscriptionDAOImpl.countAllByEPersonAndDso(Context context, EPerson ePerson, DSpaceObject dSpaceObject) intEPersonDAOImpl.countByGroups(Context context, Set<Group> groups) intGroupDAOImpl.countByNameLike(Context context, String groupName) intGroupDAOImpl.countByNameLikeAndNotMember(Context context, String groupName, Group excludeParent) intGroupDAOImpl.countByParent(Context context, Group parent) intintvoidvoidvoidSubscriptionDAOImpl.deleteByDSOAndEPerson(Context context, DSpaceObject dSpaceObject, EPerson eperson) voidSubscriptionDAOImpl.deleteByDspaceObject(Context context, DSpaceObject dSpaceObject) voidSubscriptionDAOImpl.deleteByEPerson(Context context, EPerson eperson) voidRegistrationDataDAOImpl.deleteByToken(Context context, String token) voidRegistrationDataDAOImpl.deleteExpiredBy(Context context, Instant instant) voidGroup2GroupCacheDAOImpl.deleteFromCache(Context context, UUID parent, UUID child) EPersonDAOImpl.findAll(Context context, MetadataField metadataSortField, String sortField, int pageSize, int offset) GroupDAOImpl.findAll(Context context, List<MetadataField> sortMetadataFields, int pageSize, int offset) SubscriptionDAOImpl.findAllOrderedByDSO(Context context, Integer limit, Integer offset) SubscriptionDAOImpl.findAllOrderedByIDAndResourceType(Context context, String resourceType, Integer limit, Integer offset) EPersonDAOImpl.findAllSubscribers(Context context) SubscriptionDAOImpl.findAllSubscriptionsBySubscriptionTypeAndFrequency(Context context, String subscriptionType, String frequencyValue) RegistrationDataDAOImpl.findBy(Context context, String email, RegistrationTypeEnum type) Group2GroupCacheDAOImpl.findByChildren(Context context, Iterable<Group> groups) EPersonDAOImpl.findByEmail(Context context, String email) RegistrationDataDAOImpl.findByEmail(Context context, String email) GroupDAOImpl.findByEPerson(Context context, EPerson ePerson) SubscriptionDAOImpl.findByEPerson(Context context, EPerson eperson, Integer limit, Integer offset) SubscriptionDAOImpl.findByEPersonAndDso(Context context, EPerson eperson, DSpaceObject dSpaceObject, Integer limit, Integer offset) EPersonDAOImpl.findByGroups(Context context, Set<Group> groups, int pageSize, int offset) GroupDAOImpl.findByIdAndMembership(Context context, UUID id, EPerson ePerson) GroupDAOImpl.findByMetadataField(Context context, String searchValue, MetadataField metadataField) GroupDAOImpl.findByName(Context context, String name) GroupDAOImpl.findByNameLike(Context context, String groupName, int offset, int limit) GroupDAOImpl.findByNameLikeAndNotMember(Context context, String groupName, Group excludeParent, int offset, int limit) EPersonDAOImpl.findByNetid(Context context, String netid) Group2GroupCacheDAOImpl.findByParent(Context context, Group group) GroupDAOImpl.findByParent(Context context, Group parent, int pageSize, int offset) Group2GroupCacheDAOImpl.findByParentAndChild(Context context, Group parent, Group child) RegistrationDataDAOImpl.findByToken(Context context, String token) EPersonDAOImpl.findNotActiveSince(Context context, Instant date) EPersonDAOImpl.findWithPasswordWithoutDigestAlgorithm(Context context) GroupDAOImpl.getEmptyGroups(Context context) GroupDAOImpl.getGroup2GroupResults(Context context, boolean flushQueries) protected jakarta.persistence.QueryEPersonDAOImpl.getSearchQuery(Context context, String queryString, String queryParam, List<MetadataField> queryFields, List<MetadataField> sortFields, String sortField) protected jakarta.persistence.QueryEPersonDAOImpl.getSearchQuery(Context context, String queryString, String queryParam, List<MetadataField> queryFields, Group excludeGroup, List<MetadataField> sortFields, String sortField, int pageSize, int offset) Build a search query across EPersons based on the given metadata fields and sorted based on the given metadata field(s) or database column.EPersonDAOImpl.search(Context context, String query, List<MetadataField> queryFields, List<MetadataField> sortFields, int offset, int limit) EPersonDAOImpl.searchNotMember(Context context, String query, List<MetadataField> queryFields, Group excludeGroup, List<MetadataField> sortFields, int offset, int limit) intEPersonDAOImpl.searchNotMemberCount(Context context, String query, List<MetadataField> queryFields, Group excludeGroup) intEPersonDAOImpl.searchResultCount(Context context, String query, List<MetadataField> queryFields) -
Uses of Context in org.dspace.eperson.service
Methods in org.dspace.eperson.service with parameters of type ContextModifier and TypeMethodDescriptionvoidadd an eperson membervoidadd group to this group.voidRegistrationDataService.addMetadata(Context context, RegistrationData registration, String schema, String element, String qualifier, String value) voidRegistrationDataService.addMetadata(Context context, RegistrationData rd, MetadataField metadataField, String value) SubscribeService.addSubscriptionParameter(Context context, Integer id, SubscriptionParameter subscriptionParameter) Adds a parameter to a subscriptionGroupService.allMemberGroups(Context context, EPerson ePerson) Get all of the groups that an eperson is a member of.GroupService.allMemberGroupsSet(Context context, EPerson ePerson) GroupService.allMembers(Context context, Group group) Get all of the EPerson objects who are a member of the specified group, or a member of a subgroup of the specified group, etc.booleanEPersonService.checkPassword(Context context, EPerson ePerson, String attempt) Check EPerson's password.RegistrationDataService.clone(Context context, RegistrationDataPatch registrationDataPatch) Counts all subscriptionsintGroupService.countAllMembers(Context context, Group group) Count all of the EPerson objects who are a member of the specified group, or a member of a subgroup of the specified group, etc.SubscribeService.countByEPersonAndDSO(Context context, EPerson ePerson, DSpaceObject dSpaceObject) Counts all subscriptions by ePerson and DSOintEPersonService.countByGroups(Context c, Set<Group> groups) Count all EPerson accounts which belong to at least one of the specified groups.intGroupService.countByParent(Context context, Group parent) Return number of groups which are a member of the given Parent group.SubscribeService.countSubscriptionsByEPerson(Context context, EPerson ePerson) Counts all subscriptions by ePersonintEPersonService.countTotal(Context context) Count all accounts.intGroupService.countTotal(Context context) Count the total number of groups in DSpaceCreate a new epersonCreate a new groupRegistrationDataMetadataService.create(Context context, RegistrationData registrationData, String schema, String element, String qualifier, String value) Creates a newRegistrationDataMetadatathat will be stored starting from the parameters of the method.RegistrationDataMetadataService.create(Context context, RegistrationData registrationData, MetadataField metadataField) Creates a newRegistrationDataMetadataRegistrationDataMetadataService.create(Context context, RegistrationData registrationData, MetadataField metadataField, String value) Creates a newRegistrationDataMetadataRegistrationDataService.create(Context context, String netId, RegistrationTypeEnum type) voidSubscribeService.deleteByDspaceObject(Context context, DSpaceObject dSpaceObject) Delete subscription by collection.voidSubscribeService.deleteByEPerson(Context context, EPerson ePerson) Delete subscription by eperson (subscriber).voidRegistrationDataService.deleteByToken(Context context, String token) voidRegistrationDataService.deleteExpiredRegistrations(Context context) voidSubscribeService.deleteSubscription(Context context, Subscription subscription) Deletes a subscriptionvoidAccountService.deleteToken(Context context, String token) booleanAccountService.existsAccountFor(Context context, String token) Checks if exists an account related to the token providedbooleanAccountService.existsAccountWithEmail(Context context, String email) Checks if exists an account related to the email providedDeprecated.Find all theEPersons in a specific order by field.Deprecated.GroupService.findAll(Context context, List<MetadataField> metadataSortFields) Deprecated.Please usefindAll(Context context, List<MetadataField> metadataFieldsSort, int pageSize, int offset)insteadGroupService.findAll(Context context, List<MetadataField> metadataSortFields, int pageSize, int offset) Finds all groups in the siteSubscribe an e-person to a collection.SubscribeService.findAllSubscriptionsBySubscriptionTypeAndFrequency(Context context, String subscriptionType, String frequencyValue) Finds all subscriptions by subscriptionType and frequencySubscribeService.findAvailableSubscriptions(Context context) Find out which collections the currently logged in e-person can subscribe toSubscribeService.findAvailableSubscriptions(Context context, EPerson eperson) Find out which collections an e-person can subscribe toRegistrationDataService.findBy(Context context, String email, RegistrationTypeEnum type) EPersonService.findByEmail(Context context, String email) Find the eperson by their email address.RegistrationDataService.findByEmail(Context context, String email) EPersonService.findByGroups(Context c, Set<Group> groups) Retrieve all EPerson accounts which belong to at least one of the specified groups.EPersonService.findByGroups(Context c, Set<Group> groups, int pageSize, int offset) Retrieve all EPerson accounts which belong to at least one of the specified groups, in a paginated fashion.Finds a subscription by idGroupService.findByMetadataField(Context context, String searchValue, MetadataField metadataField) Look up groups based on their value for a certain metadata field (NOTE: name is not stored as metadata)GroupService.findByName(Context context, String name) Find the group by its name - assumes name is uniqueEPersonService.findByNetid(Context context, String netId) Find the eperson by their netid.GroupService.findByParent(Context context, Group parent, int pageSize, int offset) Find all groups which are a member of the given Parent groupEPersonService.findByProfileItem(Context context, Item profile) Find the EPerson related to the given profile item.RegistrationDataService.findByToken(Context context, String token) EPersonService.findEPeopleWithSubscription(Context context) Retrieve all accounts which are subscribed to receive information about new items.EPersonService.findNotActiveSince(Context context, Instant date) Retrieve all accounts which have not logged in since the specified dateSubscribeService.findSubscriptionsByEPerson(Context context, EPerson eperson, Integer limit, Integer offset) Find out which collections an e-person is subscribed toSubscribeService.findSubscriptionsByEPersonAndDso(Context context, EPerson eperson, DSpaceObject dSpaceObject, Integer limit, Integer offset) Find out which collections an e-person is subscribed to and related with dsoEPersonService.findUnsalted(Context context) Retrieve all accounts which have a password but do not have a digest algorithmEPersonService.getDeleteConstraints(Context context, EPerson ePerson) Check for presence of EPerson in tables that have constraints on EPersons.GroupService.getEmptyGroups(Context context) Find all empty groups in DSpaceAccountService.getEPerson(Context context, String token) @NotNull EPersonEPersonService.getSystemEPerson(Context context) The "System EPerson" is a fake account that exists only to receive email.voidGroupService.initDefaultGroupNames(Context context) Initializes the group names for anonymous and administrator, and marks them "permanent".booleanfast check to see if an eperson is a member called with eperson id.booleanfast check to see if an eperson is a member called with eperson id.booleanfast check to see if an eperson is a member called with eperson id.booleanfast check to see if an eperson is a member called with eperson id.booleanGroupService.isParentOf(Context context, Group parentGroup, Group childGroup) Check to see if parentGroup is a direct or in-direct parent of a childGroup.booleanSubscribeService.isSubscribed(Context context, EPerson eperson, DSpaceObject dSpaceObject) Is that e-person subscribed to that collection?voidRegistrationDataService.markAsExpired(Context context, RegistrationData registrationData) AccountService.mergeRegistration(Context context, UUID userId, String token, List<String> overrides) Merge registration data with an existing EPerson or create a new one.voidGroupService.removeMember(Context context, Group group, EPerson ePerson) remove an eperson from a groupvoidGroupService.removeMember(Context context, Group groupParent, Group childGroup) remove group from this group.SubscribeService.removeSubscriptionParameter(Context context, Integer id, SubscriptionParameter subscriptionParam) Deletes a parameter from subscriptionAccountService.renewRegistrationForEmail(Context context, RegistrationDataPatch registrationDataPatch) This method creates a fresh newRegistrationDatabased on theRegistrationDataPatchrequested by a given user.Find the epeople that match the search query across firstname, lastname or email.Find the epeople that match the search query across firstname, lastname or email.Find the Groups that match the query across both Group name and Group ID.Find the Groups that match the query across both Group name and Group ID.EPersonService.searchNonMembers(Context context, String query, Group excludeGroup, int offset, int limit) Find the EPersons that match the search query which are NOT currently members of the given Group.GroupService.searchNonMembers(Context context, String query, Group excludeParentGroup, int offset, int limit) Find the groups that match the search query which are NOT currently members (subgroups) of the given parentGroupintEPersonService.searchNonMembersCount(Context context, String query, Group excludeGroup) Returns the total number of EPersons that match the search query which are NOT currently members of the given Group.intGroupService.searchNonMembersCount(Context context, String query, Group excludeParentGroup) Returns the total number of groups that match the search query which are NOT currently members (subgroups) of the given parentGroup.intEPersonService.searchResultCount(Context context, String query) Returns the total number of epeople returned by a specific query, without the overhead of creating the EPerson objects to store the results.intGroupService.searchResultCount(Context context, String query) Returns the total number of Groups returned by a specific query.voidAccountService.sendForgotPasswordInfo(Context context, String email) voidAccountService.sendRegistrationInfo(Context context, String email) voidRegistrationDataService.setRegistrationMetadataValue(Context context, RegistrationData registration, String schema, String element, String qualifier, String value) SubscribeService.subscribe(Context context, EPerson eperson, DSpaceObject dSpaceObject, List<SubscriptionParameter> subscriptionParameters, String subscriptionType) Subscribe an EPerson to a dSpaceObject (Collection or Community).voidSubscribeService.unsubscribe(Context context, EPerson eperson, DSpaceObject dSpaceObject) Unsubscribe an e-person to a collection.SubscribeService.updateSubscription(Context context, Integer id, String subscriptionType, List<SubscriptionParameter> subscriptionParameterList) Updates a subscription by id -
Uses of Context in org.dspace.event
Methods in org.dspace.event with parameters of type ContextModifier and TypeMethodDescriptionvoidConsume an event.voidConsume a content event - display it in detail.voidDispatch all events added to this Context according to configured consumers.abstract voidDispatch all events added to this Context according to configured consumers.voidSignal that there are no more events queued in this event stream and event processing for the preceding consume calls should be finished up.voidvoidFinish - free any allocated resources.voidGet the DSpace object which is the "object" of an event.Event.getSubject(Context context) Syntactic sugar to get the DSpace object which is the "subject" of an event. -
Uses of Context in org.dspace.external.service
Methods in org.dspace.external.service with parameters of type ContextModifier and TypeMethodDescriptionExternalDataService.createWorkspaceItemFromExternalDataObject(Context context, ExternalDataObject externalDataObject, Collection collection) This method will create a WorkspaceItem in the given Collection based on the given ExternalDataObject. -
Uses of Context in org.dspace.external.service.impl
Methods in org.dspace.external.service.impl with parameters of type ContextModifier and TypeMethodDescriptionExternalDataServiceImpl.createWorkspaceItemFromExternalDataObject(Context context, ExternalDataObject externalDataObject, Collection collection) -
Uses of Context in org.dspace.handle
Methods in org.dspace.handle with parameters of type ContextModifier and TypeMethodDescriptionlongHandleServiceImpl.countHandlesByPrefix(Context context, String prefix) intHandleServiceImpl.countTotal(Context context) HandleServiceImpl.createHandle(Context context, DSpaceObject dso) HandleServiceImpl.createHandle(Context context, DSpaceObject dso, String suppliedHandle) HandleServiceImpl.createHandle(Context context, DSpaceObject dso, String suppliedHandle, boolean force) protected StringCreate/mint a new handle id.HandleServiceImpl.findHandle(Context context, DSpaceObject dso) protected HandleHandleServiceImpl.findHandleInternal(Context context, String handle) Find the database row corresponding to handle.HandleServiceImpl.getHandlesForPrefix(Context context, String prefix) voidHandleServiceImpl.modifyHandleDSpaceObject(Context context, String handle, DSpaceObject newOwner) HandleServiceImpl.resolveToObject(Context context, String handle) HandleServiceImpl.resolveToURL(Context context, String handle) HandleServiceImpl.resolveUrlToHandle(Context context, String url) voidHandleServiceImpl.unbindHandle(Context context, DSpaceObject dso) intHandleServiceImpl.updateHandlesWithNewPrefix(Context context, String newPrefix, String oldPrefix) -
Uses of Context in org.dspace.handle.dao
Methods in org.dspace.handle.dao with parameters of type ContextModifier and TypeMethodDescriptionlongHandleDAO.countHandlesByPrefix(Context context, String prefix) intHandleDAO.findByHandle(Context context, String handle) HandleDAO.findByPrefix(Context context, String prefix) HandleDAO.getHandlesByDSpaceObject(Context context, DSpaceObject dso) HandleDAO.getNextHandleSuffix(Context context) intHandleDAO.updateHandlesWithNewPrefix(Context context, String newPrefix, String oldPrefix) -
Uses of Context in org.dspace.handle.dao.impl
Methods in org.dspace.handle.dao.impl with parameters of type ContextModifier and TypeMethodDescriptionlongHandleDAOImpl.countHandlesByPrefix(Context context, String prefix) intHandleDAOImpl.findByHandle(Context context, String handle) HandleDAOImpl.findByPrefix(Context context, String prefix) HandleDAOImpl.getHandlesByDSpaceObject(Context context, DSpaceObject dso) HandleDAOImpl.getNextHandleSuffix(Context context) Return next available value of Handle suffix (based on DB sequence).intHandleDAOImpl.updateHandlesWithNewPrefix(Context context, String newPrefix, String oldPrefix) -
Uses of Context in org.dspace.handle.hdlresolver
Methods in org.dspace.handle.hdlresolver with parameters of type ContextModifier and TypeMethodDescriptionHdlResolverService.listHandles(Context context, String prefix) List all available handles with `prefix`HdlResolverServiceImpl.listHandles(Context context, String prefix) HdlResolverService.resolveToURL(Context context, HdlResolverDTO hdlResolver) Converts the hdlResovler into URL fetching it from repository using the DSpace contextHdlResolverServiceImpl.resolveToURL(Context context, HdlResolverDTO hdlResolver) -
Uses of Context in org.dspace.handle.service
Methods in org.dspace.handle.service with parameters of type ContextModifier and TypeMethodDescriptionlongHandleService.countHandlesByPrefix(Context context, String prefix) intHandleService.countTotal(Context context) HandleService.createHandle(Context context, DSpaceObject dso) Creates a new handle in the database.HandleService.createHandle(Context context, DSpaceObject dso, String suppliedHandle) Creates a handle entry, but with a handle supplied by the caller (new Handle not generated)HandleService.createHandle(Context context, DSpaceObject dso, String suppliedHandle, boolean force) Creates a handle entry, but with a handle supplied by the caller (new Handle not generated)HandleService.findHandle(Context context, DSpaceObject dso) Return the handle for an Object, or null if the Object has no handle.HandleService.getHandlesForPrefix(Context context, String prefix) Return all the handles which start with prefix.voidHandleService.modifyHandleDSpaceObject(Context context, String handle, DSpaceObject newOwner) HandleService.resolveToObject(Context context, String handle) Return the object which handle maps to, or null.HandleService.resolveToURL(Context context, String handle) Return the local URL for handle, or null if handle cannot be found.HandleService.resolveUrlToHandle(Context context, String url) Try to detect a handle in a URL.voidHandleService.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.intHandleService.updateHandlesWithNewPrefix(Context context, String newPrefix, String oldPrefix) -
Uses of Context in org.dspace.harvest
Fields in org.dspace.harvest declared as ContextMethods in org.dspace.harvest with parameters of type ContextModifier and TypeMethodDescriptionvoidHarvestScheduler.addThread(Context context, HarvestedCollection harvestedCollection) Adds a thread to the ready stack.HarvestedCollectionServiceImpl.create(Context context, Collection collection) voidHarvestedCollectionServiceImpl.delete(Context context, HarvestedCollection harvestedCollection) voidHarvestedItemServiceImpl.delete(Context context, HarvestedItem harvestedItem) booleanHarvestedCollectionServiceImpl.find(Context context, Collection collection) HarvestedCollectionServiceImpl.findByStatus(Context context, int status) HarvestedCollectionServiceImpl.findNewestHarvest(Context context) HarvestedCollectionServiceImpl.findOldestHarvest(Context context) HarvestedItemServiceImpl.getItemByOAIId(Context context, String itemOaiID, Collection collection) booleanHarvestedCollectionServiceImpl.isHarvestable(Context context, Collection collection) booleanHarvestedCollectionServiceImpl.isReady(Context context, Collection collection) voidHarvestedCollectionServiceImpl.update(Context context, HarvestedCollection harvestedCollection) voidHarvestedItemServiceImpl.update(Context context, HarvestedItem harvestedItem) Constructors in org.dspace.harvest with parameters of type Context -
Uses of Context in org.dspace.harvest.dao
Methods in org.dspace.harvest.dao with parameters of type ContextModifier and TypeMethodDescriptionintHarvestedCollectionDAO.findByCollection(Context context, Collection collection) HarvestedItemDAO.findByItem(Context context, Item item) HarvestedCollectionDAO.findByLastHarvestedAndHarvestTypeAndHarvestStatusesAndHarvestTime(Context context, Instant startTime, int minimalType, int[] statuses, int expirationStatus, Instant expirationTime) HarvestedItemDAO.findByOAIId(Context context, String itemOaiID, Collection collection) HarvestedCollectionDAO.findByStatus(Context context, int status) HarvestedCollectionDAO.findByStatusAndMinimalTypeOrderByLastHarvestedAsc(Context context, int status, int type, int limit) HarvestedCollectionDAO.findByStatusAndMinimalTypeOrderByLastHarvestedDesc(Context context, int status, int type, int limit) -
Uses of Context in org.dspace.harvest.dao.impl
Methods in org.dspace.harvest.dao.impl with parameters of type ContextModifier and TypeMethodDescriptionintHarvestedCollectionDAOImpl.findByCollection(Context context, Collection collection) HarvestedItemDAOImpl.findByItem(Context context, Item item) HarvestedCollectionDAOImpl.findByLastHarvestedAndHarvestTypeAndHarvestStatusesAndHarvestTime(Context context, Instant startTime, int minimalType, int[] statuses, int expirationStatus, Instant expirationTime) HarvestedItemDAOImpl.findByOAIId(Context context, String itemOaiID, Collection collection) HarvestedCollectionDAOImpl.findByStatus(Context context, int status) HarvestedCollectionDAOImpl.findByStatusAndMinimalTypeOrderByLastHarvestedAsc(Context context, int status, int type, int limit) HarvestedCollectionDAOImpl.findByStatusAndMinimalTypeOrderByLastHarvestedDesc(Context context, int status, int type, int limit) protected jakarta.persistence.criteria.CriteriaQueryHarvestedCollectionDAOImpl.getByStatusAndMinimalTypeCriteria(Context context, int status, int type) -
Uses of Context in org.dspace.harvest.service
Methods in org.dspace.harvest.service with parameters of type ContextModifier and TypeMethodDescriptionHarvestedCollectionService.create(Context context, Collection collection) Create a new harvest instance row for a specified collection.Create a new harvested item row for a specified item id.voidHarvestedCollectionService.delete(Context context, HarvestedCollection harvestedCollection) voidHarvestedItemService.delete(Context context, HarvestedItem harvestedItem) booleanHarvestedCollectionService.find(Context context, Collection collection) Find the harvest settings corresponding to this collectionFind the harvest parameters corresponding to the specified DSpace itemFind all collections that are set up for harvestingHarvestedCollectionService.findByStatus(Context context, int status) Find all collections with the specified status flag.HarvestedCollectionService.findNewestHarvest(Context context) Find the collection that was harvested most recently.HarvestedCollectionService.findOldestHarvest(Context context) Find the collection that was harvested the longest time ago.Find all collections that are ready for harvestingHarvestedItemService.getItemByOAIId(Context context, String itemOaiID, Collection collection) Retrieve a DSpace Item that corresponds to this particular combination of owning collection and OAI ID.booleanHarvestedCollectionService.isHarvestable(Context context, Collection collection) Returns whether the specified collection is harvestable, i.e. whether its harvesting options are set up correctly.booleanHarvestedCollectionService.isReady(Context context, Collection collection) Returns whether the specified collection is ready for immediate harvest.voidHarvestedCollectionService.update(Context context, HarvestedCollection harvestedCollection) voidHarvestedItemService.update(Context context, HarvestedItem harvestedItem) -
Uses of Context in org.dspace.health
Methods in org.dspace.health with parameters of type ContextModifier and TypeMethodDescriptionItemCheck.getCollectionSizesInfo(Context context) ItemCheck.getCommunities(Context context) ItemCheck.getObjectSizesInfo(Context context) -
Uses of Context in org.dspace.identifier
Methods in org.dspace.identifier with parameters of type ContextModifier and TypeMethodDescriptionvoidDOIIdentifierProvider.checkMintable(Context context, DSpaceObject dso) Checks to see if an item can have a DOI minted, using the configured logical filtervoidDOIIdentifierProvider.checkMintable(Context context, Filter filter, DSpaceObject dso) Checks to see if an item can have a DOI minted, using the configured logical filterabstract voidFilteredIdentifierProvider.checkMintable(Context context, DSpaceObject dso) Check configured item filters to see if this identifier is allowed to be mintedabstract voidFilteredIdentifierProvider.checkMintable(Context context, Filter filter, DSpaceObject dso) Check configured item filters to see if this identifier is allowed to be mintedprotected StringVersionedHandleIdentifierProvider.createNewIdentifier(Context context, DSpaceObject dso, String handleId) protected StringVersionedHandleIdentifierProviderWithCanonicalHandles.createNewIdentifier(Context context, DSpaceObject dso, String handleId) voidDOIIdentifierProvider.delete(Context context, DSpaceObject dso) Delete all DOIs for a DSpaceObjectvoidDOIIdentifierProvider.delete(Context context, DSpaceObject dso, String identifier) Delete a specific DOI for a given DSpaceObjectvoidvoidEZIDIdentifierProvider.delete(Context context, DSpaceObject dso) voidEZIDIdentifierProvider.delete(Context context, DSpaceObject dso, String identifier) voidHandleIdentifierProvider.delete(Context context, DSpaceObject dso) voidHandleIdentifierProvider.delete(Context context, DSpaceObject dso, String identifier) abstract voidIdentifierProvider.delete(Context context, DSpaceObject dso) Unbind this type of identifier(s) from an object.abstract voidIdentifierProvider.delete(Context context, DSpaceObject dso, String identifier) Unbind the given identifier from an object.voidIdentifierServiceImpl.delete(Context context, DSpaceObject dso) voidIdentifierServiceImpl.delete(Context context, DSpaceObject dso, String identifier) voidVersionedHandleIdentifierProvider.delete(Context context, DSpaceObject dso) voidVersionedHandleIdentifierProvider.delete(Context context, DSpaceObject dso, String identifier) voidVersionedHandleIdentifierProviderWithCanonicalHandles.delete(Context context, DSpaceObject dso) voidVersionedHandleIdentifierProviderWithCanonicalHandles.delete(Context context, DSpaceObject dso, String identifier) voidDOIIdentifierProvider.deleteOnline(Context context, String identifier) Delete a specific DOI in the registration agency records via the DOI ConnectorDOIServiceImpl.findDOIByDSpaceObject(Context context, DSpaceObject dso) DOIServiceImpl.findDOIByDSpaceObject(Context context, DSpaceObject dso, List<Integer> statusToExclude) protected StringVersionedHandleIdentifierProviderWithCanonicalHandles.getCanonical(Context context, Item item) DOIIdentifierProvider.getDOIByObject(Context context, DSpaceObject dso) Search the database for a DOI, using the type and id of an DSpaceObject.DOIServiceImpl.getDOIsByStatus(Context context, List<Integer> statuses) protected VersionHistoryVersionedHandleIdentifierProvider.getHistory(Context context, String identifier) protected VersionHistoryVersionedHandleIdentifierProviderWithCanonicalHandles.getHistory(Context context, String identifier) DOIIdentifierProvider.getObjectByDOI(Context context, String identifier) Returns a DSpaceObject depending on its DOI.DOIServiceImpl.getSimilarDOIsNotInState(Context context, String doiPattern, List<Integer> statuses, boolean dsoIsNotNull) DataCiteXMLCreator.getXMLString(Context context, DSpaceObject dso) protected DOIDOIIdentifierProvider.loadOrCreateDOI(Context context, DSpaceObject dso, String doiIdentifier) Load a DOI from the database or creates it if it does not exist.protected DOIDOIIdentifierProvider.loadOrCreateDOI(Context context, DSpaceObject dso, String doiIdentifier, Filter filter) Load DOI from database, or create one if it doesn't yet exist.DOIIdentifierProvider.lookup(Context context, DSpaceObject dso) Look up a DOI identifier for a given DSpaceObjectEZIDIdentifierProvider.lookup(Context context, DSpaceObject object) HandleIdentifierProvider.lookup(Context context, DSpaceObject dso) abstract StringIdentifierProvider.lookup(Context context, DSpaceObject object) Return the identifier for a DSpaceObject.IdentifierServiceImpl.lookup(Context context, DSpaceObject dso) IdentifierServiceImpl.lookup(Context context, DSpaceObject dso, Class<? extends Identifier> identifier) VersionedHandleIdentifierProvider.lookup(Context context, DSpaceObject dso) VersionedHandleIdentifierProviderWithCanonicalHandles.lookup(Context context, DSpaceObject dso) protected StringVersionedDOIIdentifierProvider.makeIdentifierBasedOnHistory(Context context, DSpaceObject dso, VersionHistory history) protected StringVersionedDOIIdentifierProvider.makeIdentifierBasedOnHistory(Context context, DSpaceObject dso, VersionHistory history, Filter filter) protected StringVersionedHandleIdentifierProvider.makeIdentifierBasedOnHistory(Context context, DSpaceObject dso, VersionHistory history) protected StringVersionedHandleIdentifierProviderWithCanonicalHandles.makeIdentifierBasedOnHistory(Context context, DSpaceObject dso, VersionHistory history) DOIIdentifierProvider.mint(Context context, DSpaceObject dso) Mint a new DOI in DSpace - this is usually the first step of registration Always apply filters if they are configuredDOIIdentifierProvider.mint(Context context, DSpaceObject dso, Filter filter) Mint a new DOI in DSpace - this is usually the first step of registrationEZIDIdentifierProvider.mint(Context context, DSpaceObject dso) abstract StringFilteredIdentifierProvider.mint(Context context, DSpaceObject dso, Filter filter) Mint a new identifier in DSpace - this is usually the first step of registrationHandleIdentifierProvider.mint(Context context, DSpaceObject dso) Creates a new handle in the database.abstract StringIdentifierProvider.mint(Context context, DSpaceObject dso) Create an identifier for a DSpaceObject.VersionedDOIIdentifierProvider.mint(Context context, DSpaceObject dso) VersionedDOIIdentifierProvider.mint(Context context, DSpaceObject dso, Filter filter) VersionedHandleIdentifierProvider.mint(Context context, DSpaceObject dso) Creates a new handle in the database.VersionedHandleIdentifierProviderWithCanonicalHandles.mint(Context context, DSpaceObject dso) Creates a new handle in the database.protected voidVersionedHandleIdentifierProviderWithCanonicalHandles.modifyHandleMetadata(Context context, DSpaceObject dso, String handle) Remove all handles from an item's metadata and add the supplied handle instead.protected voidHandleIdentifierProvider.populateHandleMetadata(Context context, DSpaceObject dso, String handle) protected voidVersionedHandleIdentifierProvider.populateHandleMetadata(Context context, DSpaceObject dso, String handle) DOIIdentifierProvider.register(Context context, DSpaceObject dso) Register a new identifier for a given DSpaceObject, never skipping or ignoring any configured filtervoidDOIIdentifierProvider.register(Context context, DSpaceObject dso, String identifier) Register a specified DOI for a given DSpaceObject, never skipping or ignoring any configured filtervoidDOIIdentifierProvider.register(Context context, DSpaceObject dso, String identifier, Filter filter) Register a specified DOI for a given DSpaceObjectDOIIdentifierProvider.register(Context context, DSpaceObject dso, Filter filter) Register a new DOI for a given DSpaceObjectEZIDIdentifierProvider.register(Context context, DSpaceObject dso) voidEZIDIdentifierProvider.register(Context context, DSpaceObject object, String identifier) abstract voidFilteredIdentifierProvider.register(Context context, DSpaceObject dso, String identifier, Filter filter) Register a specified identifier for a given DSpaceObjectabstract StringFilteredIdentifierProvider.register(Context context, DSpaceObject dso, Filter filter) Register a new identifier for a given DSpaceObjectHandleIdentifierProvider.register(Context context, DSpaceObject dso) voidHandleIdentifierProvider.register(Context context, DSpaceObject dso, String identifier) abstract StringIdentifierProvider.register(Context context, DSpaceObject item) Create and apply an identifier to a DSpaceObject.abstract voidIdentifierProvider.register(Context context, DSpaceObject object, String identifier) Create a specific identifier and apply it to an object.voidIdentifierServiceImpl.register(Context context, DSpaceObject dso) voidIdentifierServiceImpl.register(Context context, DSpaceObject dso, Class<? extends Identifier> type) voidIdentifierServiceImpl.register(Context context, DSpaceObject dso, Class<? extends Identifier> type, Filter filter) voidIdentifierServiceImpl.register(Context context, DSpaceObject object, String identifier) voidIdentifierServiceImpl.register(Context context, DSpaceObject dso, Map<Class<? extends Identifier>, Filter> typeFilters) voidVersionedDOIIdentifierProvider.register(Context context, DSpaceObject dso, String identifier) voidVersionedDOIIdentifierProvider.register(Context context, DSpaceObject dso, String identifier, Filter filter) VersionedDOIIdentifierProvider.register(Context context, DSpaceObject dso, Filter filter) VersionedHandleIdentifierProvider.register(Context context, DSpaceObject dso) voidVersionedHandleIdentifierProvider.register(Context context, DSpaceObject dso, String identifier) VersionedHandleIdentifierProviderWithCanonicalHandles.register(Context context, DSpaceObject dso) voidVersionedHandleIdentifierProviderWithCanonicalHandles.register(Context context, DSpaceObject dso, String identifier) voidDOIIdentifierProvider.registerOnline(Context context, DSpaceObject dso, String identifier) Perform the actual online / API interaction required to register the DOI online always applying filters if they are configuredvoidDOIIdentifierProvider.registerOnline(Context context, DSpaceObject dso, String identifier, Filter filter) Perform the actual online / API interaction required to register the DOI onlineprotected voidDOIIdentifierProvider.removeDOIFromObject(Context context, DSpaceObject dso, String doi) Removes a DOI out of the metadata of a DSpaceObject.voidDOIIdentifierProvider.reserve(Context context, DSpaceObject dso, String identifier) voidDOIIdentifierProvider.reserve(Context context, DSpaceObject dso, String identifier, Filter filter) Reserve a specified DOI for a given DSpaceObjectvoidEZIDIdentifierProvider.reserve(Context context, DSpaceObject dso, String identifier) abstract voidFilteredIdentifierProvider.reserve(Context context, DSpaceObject dso, String identifier, Filter filter) Reserve a specified identifier for a given DSpaceObject (eg. reserving a DOI online with a registration agency)voidHandleIdentifierProvider.reserve(Context context, DSpaceObject dso, String identifier) abstract voidIdentifierProvider.reserve(Context context, DSpaceObject dso, String identifier) Set an object's identifier.voidIdentifierServiceImpl.reserve(Context context, DSpaceObject dso) Reserves identifiers for the itemvoidIdentifierServiceImpl.reserve(Context context, DSpaceObject dso, String identifier) voidVersionedHandleIdentifierProvider.reserve(Context context, DSpaceObject dso, String identifier) voidVersionedHandleIdentifierProviderWithCanonicalHandles.reserve(Context context, DSpaceObject dso, String identifier) voidDOIIdentifierProvider.reserveOnline(Context context, DSpaceObject dso, String identifier) Perform the actual online / API interaction required to reserve the DOI online always applying filters if they are configuredvoidDOIIdentifierProvider.reserveOnline(Context context, DSpaceObject dso, String identifier, Filter filter) Perform the actual online / API interaction required to reserve the DOI onlineResolve an identifier to a DSpaceObject, if it is registeredabstract DSpaceObjectFind the object named by a given identifier.VersionedHandleIdentifierProviderWithCanonicalHandles.resolve(Context context, String identifier, String... attributes) protected voidVersionedHandleIdentifierProviderWithCanonicalHandles.restoreItAsCanonical(Context context, DSpaceObject dso, String identifier, Item item, String canonical) protected voidVersionedHandleIdentifierProvider.restoreItAsVersion(Context context, Item item, String identifier, int versionNumber) protected voidVersionedHandleIdentifierProviderWithCanonicalHandles.restoreItAsVersion(Context context, DSpaceObject dso, String identifier, Item item, String canonical, VersionHistory history) protected voidDOIIdentifierProvider.saveDOIToObject(Context context, DSpaceObject dso, String doi) Adds a DOI to the metadata of an item.voidvoidDOIIdentifierProvider.updateMetadata(Context context, DSpaceObject dso, String identifier) Update metadata for a registered object If the DOI for the item already exists, *always* skip the filter since it should only be used for allowing / disallowing reservation and registration, not metadata updates or deletionsvoidDOIIdentifierProvider.updateMetadataOnline(Context context, DSpaceObject dso, String identifier) Update metadata for a registered object in the DOI Connector to update the agency records If the DOI for the item already exists, *always* skip the filter since it should only be used for allowing / disallowing reservation and registration, not metadata updates or deletions -
Uses of Context in org.dspace.identifier.dao
Methods in org.dspace.identifier.dao with parameters of type ContextModifier and TypeMethodDescriptionDOIDAO.findByStatus(Context context, List<Integer> statuses) DOIDAO.findDOIByDSpaceObject(Context context, DSpaceObject dso) DOIDAO.findDOIByDSpaceObject(Context context, DSpaceObject dso, List<Integer> statusToExclude) DOIDAO.findSimilarNotInState(Context context, String doi, List<Integer> statuses, boolean dsoNotNull) -
Uses of Context in org.dspace.identifier.dao.impl
Methods in org.dspace.identifier.dao.impl with parameters of type ContextModifier and TypeMethodDescriptionDOIDAOImpl.findByStatus(Context context, List<Integer> statuses) DOIDAOImpl.findDOIByDSpaceObject(Context context, DSpaceObject dso) DOIDAOImpl.findDOIByDSpaceObject(Context context, DSpaceObject dso, List<Integer> statusToExclude) DOIDAOImpl.findSimilarNotInState(Context context, String doi, List<Integer> excludedStatuses, boolean dsoNotNull) -
Uses of Context in org.dspace.identifier.doi
Methods in org.dspace.identifier.doi with parameters of type ContextModifier and TypeMethodDescriptionvoidvoidvoidSends the DELETE-Request to the DOI registry.voidprotected StringDataCiteConnector.extractAlternateIdentifier(Context context, String content) voidbooleanDataCiteConnector.isDOIRegistered(Context context, String doi) booleanDOIConnector.isDOIRegistered(Context context, String doi) booleanDataCiteConnector.isDOIReserved(Context context, String doi) booleanDOIConnector.isDOIReserved(Context context, String doi) voidDataCiteConnector.registerDOI(Context context, DSpaceObject dso, String doi) voidDOIConnector.registerDOI(Context context, DSpaceObject dso, String doi) Sends a request to the DOI registry to register a DOI.voidDataCiteConnector.reserveDOI(Context context, DSpaceObject dso, String doi) voidDOIConnector.reserveDOI(Context context, DSpaceObject dso, String doi) Sends a request to the DOI registry to reserve a DOI.static voidDOIOrganiser.runCLI(Context context, DOIOrganiser organiser, String[] args) voidDataCiteConnector.updateMetadata(Context context, DSpaceObject dso, String doi) voidDOIConnector.updateMetadata(Context context, DSpaceObject dso, String doi) Sends a request to the DOI registry to update metadata for a DOI.Constructors in org.dspace.identifier.doi with parameters of type ContextModifierConstructorDescriptionDOIOrganiser(Context context, DOIIdentifierProvider provider) Constructor to be called within the main() method -
Uses of Context in org.dspace.identifier.service
Methods in org.dspace.identifier.service with parameters of type ContextModifier and TypeMethodDescriptionCreate a new DOI in storage.voidDeletes the givenDOI.voidIdentifierService.delete(Context context, DSpaceObject dso) Delete (Unbind) all identifiers registered for a specific DSpace item.voidIdentifierService.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.Retrieves the full list ofDOIs currently in storage.Find a specific DOI in storage.DOIService.findDOIByDSpaceObject(Context context, DSpaceObject dso) Find the DOI assigned to a given DSpace Object.DOIService.findDOIByDSpaceObject(Context context, DSpaceObject dso, List<Integer> statusToExclude) Find the DOI assigned to a given DSpace Object, unless it has one of a given set of statuses.DOIService.getDOIsByStatus(Context context, List<Integer> statuses) Find all DOIs that have one of a given set of statuses.DOIService.getSimilarDOIsNotInState(Context context, String doiPattern, List<Integer> statuses, boolean dsoIsNotNull) Find all DOIs that are similar to the specified pattern and not in the specified states.IdentifierService.lookup(Context context, DSpaceObject dso) Gets the identifiers all registered IdentifierProvider returns if asked to lookup the provided DSpaceObject.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.voidIdentifierService.register(Context context, DSpaceObject dso) Used to register newly-minted identifiers.voidIdentifierService.register(Context context, DSpaceObject dso, Class<? extends Identifier> type) Register identifier(s) for the given DSO just with providers that support that Identifier class, and apply the given filter if that provider extends FilteredIdentifierProvidervoidIdentifierService.register(Context context, DSpaceObject dso, Class<? extends Identifier> type, Filter filter) Register identifier(s) for the given DSO just with providers that support that Identifier class, and apply the given filter if that provider extends FilteredIdentifierProvidervoidIdentifierService.register(Context context, DSpaceObject dso, String identifier) Used to Register a specific Identifier (for example a Handle, hdl:1234.5/6).voidIdentifierService.register(Context context, DSpaceObject dso, Map<Class<? extends Identifier>, Filter> typeFilters) Register identifiers for a DSO, with a map of logical filters for each Identifier class to apply at the time of local registration.voidIdentifierService.reserve(Context context, DSpaceObject dso) Reserves any identifiers necessary based on the capabilities of all providers in the service.voidIdentifierService.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.This will resolve a DSpaceObject based on a provided Identifier.voidUpdate a DOI in storage. -
Uses of Context in org.dspace.iiif.canvasdimension
Methods in org.dspace.iiif.canvasdimension with parameters of type ContextModifier and TypeMethodDescriptionintIIIFCanvasDimensionServiceImpl.processCollection(Context context, Collection collection) intIIIFCanvasDimensionServiceImpl.processCommunity(Context context, Community community) voidIIIFCanvasDimensionServiceImpl.processItem(Context context, Item item) -
Uses of Context in org.dspace.iiif.canvasdimension.service
Methods in org.dspace.iiif.canvasdimension.service with parameters of type ContextModifier and TypeMethodDescriptionintIIIFCanvasDimensionService.processCollection(Context context, Collection collection) Set IIIF canvas dimensions on all IIIF items in a collection.intIIIFCanvasDimensionService.processCommunity(Context context, Community community) Set IIIF canvas dimensions on all IIIF items in a community and its sub-communities.voidIIIFCanvasDimensionService.processItem(Context context, Item item) Set IIIF canvas dimensions for an item. -
Uses of Context in org.dspace.iiif.consumer
Methods in org.dspace.iiif.consumer with parameters of type Context -
Uses of Context in org.dspace.license
Methods in org.dspace.license with parameters of type ContextModifier and TypeMethodDescriptionvoidCreativeCommonsServiceImpl.addLicense(Context context, Item item, String licenseUri, String licenseName, org.jdom2.Document doc) Add a new license to the itemstatic byte[]Fast stream copy routineprotected byte[]CreativeCommonsServiceImpl.getBytesFromBitstream(Context context, Item item, String bitstream_name) protected BundleCreativeCommonsServiceImpl.getCcBundle(Context context, Item item) CreativeCommonsServiceImpl.getLicenseURL(Context context, Item item) protected StringCreativeCommonsServiceImpl.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 Note: This helper method assumes that the CC bitstreams are short and easily expressed as byte arrays in RAMprotected static voidLicenseCleanup.handleItem(Context context, Item item) Process Item, correcting CC-License if encountered.voidCreativeCommonsServiceImpl.removeLicense(Context context, Item item) Remove license information, delete also the bitstreamvoidCreativeCommonsServiceImpl.removeLicenseFile(Context context, Item item) Removes the license file from the itemprotected voidCreativeCommonsServiceImpl.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 Note: This helper method assumes that the CC bitstreams are short and easily expressed as byte arrays in RAMvoidCreativeCommonsServiceImpl.setLicense(Context context, Item item, InputStream licenseStm, String mimeType) voidCreativeCommonsServiceImpl.setLicenseRDF(Context context, Item item, String licenseRdf) booleanCreativeCommonsServiceImpl.updateLicense(Context context, String licenseUri, Item item) Update the license of the item with a new one based on the provided license URI -
Uses of Context in org.dspace.license.service
Methods in org.dspace.license.service with parameters of type ContextModifier and TypeMethodDescriptionvoidCreativeCommonsService.addLicense(Context context, Item item, String licenseUri, String licenseName, org.jdom2.Document doc) Add a new license to the itemCreativeCommonsService.getLicenseURL(Context context, Item item) voidCreativeCommonsService.removeLicense(Context context, Item item) Remove license information, delete also the bitstreamvoidCreativeCommonsService.removeLicenseFile(Context context, Item item) Removes the license file from the itemvoidCreativeCommonsService.setLicense(Context context, Item item, InputStream licenseStm, String mimeType) Used by DSpaceMetsIngestervoidCreativeCommonsService.setLicenseRDF(Context context, Item item, String licenseRdf) setLicenseRDF CC Web Service method for setting the RDF bitstreambooleanCreativeCommonsService.updateLicense(Context context, String licenseUri, Item item) Update the license of the item with a new one based on the provided license URI -
Uses of Context in org.dspace.orcid.consumer
Methods in org.dspace.orcid.consumer with parameters of type Context -
Uses of Context in org.dspace.orcid.dao
Methods in org.dspace.orcid.dao with parameters of type ContextModifier and TypeMethodDescriptionlongOrcidQueueDAO.countByProfileItemId(Context context, UUID profileItemId) Count the orcid queue records with the same profileItemId.OrcidQueueDAO.findByAttemptsLessThan(Context context, int attempts) Get all the OrcidQueue records with attempts less than the given attempts.OrcidHistoryDAO.findByEntity(Context context, Item entity) Find the OrcidHistory records related to the given entity item.OrcidQueueDAO.findByEntity(Context context, Item item) Get the OrcidQueue records where the given item is the entity.OrcidQueueDAO.findByEntityAndRecordType(Context context, Item entity, String type) Find all the OrcidQueue records with the given entity and record type.OrcidTokenDAO.findByEPerson(Context context, EPerson ePerson) Find an OrcidToken by ePerson.OrcidTokenDAO.findByProfileItem(Context context, Item profileItem) Find an OrcidToken by profileItem.OrcidHistoryDAO.findByProfileItemAndEntity(Context context, UUID profileItemId, UUID entityId) Find all the ORCID history records by the given profileItem and entity uuids.OrcidQueueDAO.findByProfileItemAndEntity(Context context, Item profileItem, Item entity) Returns all the orcid queue records with the given profileItem and entity items.OrcidQueueDAO.findByProfileItemAndRecordType(Context context, Item profileItem, String type) Find all the OrcidQueue records with the given profileItem and record type.OrcidQueueDAO.findByProfileItemId(Context context, UUID profileItemId, Integer limit, Integer offset) Get the orcid queue records by the profileItem id.OrcidHistoryDAO.findByProfileItemOrEntity(Context context, Item item) Get the OrcidHistory records where the given item is the profileItem or the entityOrcidQueueDAO.findByProfileItemOrEntity(Context context, Item item) Get the OrcidQueue records where the given item is the profileItem OR the entityOrcidHistoryDAO.findSuccessfullyRecordsByEntityAndType(Context context, Item entity, String recordType) Find all the successfully Orcid history records with the given record type related to the given entity. -
Uses of Context in org.dspace.orcid.dao.impl
Methods in org.dspace.orcid.dao.impl with parameters of type ContextModifier and TypeMethodDescriptionlongOrcidQueueDAOImpl.countByProfileItemId(Context context, UUID profileItemId) OrcidQueueDAOImpl.findByAttemptsLessThan(Context context, int attempts) OrcidHistoryDAOImpl.findByEntity(Context context, Item entity) OrcidQueueDAOImpl.findByEntity(Context context, Item item) OrcidQueueDAOImpl.findByEntityAndRecordType(Context context, Item entity, String type) OrcidTokenDAOImpl.findByEPerson(Context context, EPerson ePerson) OrcidTokenDAOImpl.findByProfileItem(Context context, Item profileItem) OrcidHistoryDAOImpl.findByProfileItemAndEntity(Context context, UUID profileItemId, UUID entityId) OrcidQueueDAOImpl.findByProfileItemAndEntity(Context context, Item profileItem, Item entity) OrcidQueueDAOImpl.findByProfileItemAndRecordType(Context context, Item profileItem, String type) OrcidQueueDAOImpl.findByProfileItemId(Context context, UUID profileItemId, Integer limit, Integer offset) OrcidHistoryDAOImpl.findByProfileItemOrEntity(Context context, Item item) OrcidQueueDAOImpl.findByProfileItemOrEntity(Context context, Item item) OrcidHistoryDAOImpl.findSuccessfullyRecordsByEntityAndType(Context context, Item entity, String recordType) -
Uses of Context in org.dspace.orcid.model.factory
Methods in org.dspace.orcid.model.factory with parameters of type ContextModifier and TypeMethodDescriptionOrcidProfileSectionFactory.create(Context context, List<MetadataValue> metadataValues) Creates an instance of an ORCID object starting from the metadata valuesOptional<org.orcid.jaxb.model.v3.release.common.Contributor>OrcidCommonObjectFactory.createContributor(Context context, MetadataValue metadataValue, org.orcid.jaxb.model.common.ContributorRole role) Creates an instance ofContributorfrom the given metadata value.Optional<org.orcid.jaxb.model.v3.release.common.Country>OrcidCommonObjectFactory.createCountry(Context context, MetadataValue metadataValue) Creates an instance ofCountryfrom the given metadata value.Optional<org.orcid.jaxb.model.v3.release.record.FundingContributor>OrcidCommonObjectFactory.createFundingContributor(Context context, MetadataValue metadataValue, org.orcid.jaxb.model.common.FundingContributorRole role) Creates an instance ofFundingContributorfrom the given metadata value.org.orcid.jaxb.model.v3.release.record.ActivityOrcidEntityFactory.createOrcidObject(Context context, Item item) Creates an ORCID activity from the given object.Optional<org.orcid.jaxb.model.v3.release.common.Organization>OrcidCommonObjectFactory.createOrganization(Context context, Item orgUnit) Creates an instance ofOrganizationfrom the given orgUnit item.Optional<org.orcid.jaxb.model.v3.release.common.Url>Creates an instance ofUrlfrom the given item.OrcidProfileSectionFactory.getDescription(Context context, Item item, String signature) Returns a description of the item's metadata values related to the given signature.OrcidProfileSectionFactory.getMetadataSignatures(Context context, Item item) Given the input item's metadata values generate a metadata signature for each metadata field groups handled by this factory or for each metadata fields if the factory is configured with single metadata fields. -
Uses of Context in org.dspace.orcid.model.factory.impl
Methods in org.dspace.orcid.model.factory.impl with parameters of type ContextModifier and TypeMethodDescriptionprotected ObjectOrcidPersonExternalIdentifierFactory.create(Context context, MetadataValue metadataValue) OrcidSimpleValueObjectFactory.create(Context context, List<MetadataValue> metadataValues) protected ObjectOrcidSimpleValueObjectFactory.create(Context context, MetadataValue metadataValue) Create an instance of ORCID profile section based on the configured profile section type, taking the value from the given metadataValue.Optional<org.orcid.jaxb.model.v3.release.common.Contributor>OrcidCommonObjectFactoryImpl.createContributor(Context context, MetadataValue metadataValue, org.orcid.jaxb.model.common.ContributorRole role) Optional<org.orcid.jaxb.model.v3.release.common.Country>OrcidCommonObjectFactoryImpl.createCountry(Context context, MetadataValue metadataValue) Optional<org.orcid.jaxb.model.v3.release.record.FundingContributor>OrcidCommonObjectFactoryImpl.createFundingContributor(Context context, MetadataValue metadataValue, org.orcid.jaxb.model.common.FundingContributorRole role) org.orcid.jaxb.model.v3.release.record.ActivityOrcidFundingFactory.createOrcidObject(Context context, Item item) org.orcid.jaxb.model.v3.release.record.ActivityOrcidWorkFactory.createOrcidObject(Context context, Item item) Optional<org.orcid.jaxb.model.v3.release.common.Organization>OrcidCommonObjectFactoryImpl.createOrganization(Context context, Item orgUnit) Optional<org.orcid.jaxb.model.v3.release.common.Url>OrcidSimpleValueObjectFactory.getDescription(Context context, Item item, String signature) OrcidSimpleValueObjectFactory.getMetadataSignatures(Context context, Item item) -
Uses of Context in org.dspace.orcid.service
Methods in org.dspace.orcid.service with parameters of type ContextModifier and TypeMethodDescriptionlongOrcidQueueService.countByProfileItemId(Context context, UUID profileItemId) Returns the number of records on the OrcidQueue associated with the given profileItemId.Create a new OrcidHistory records related to the given profileItem and entity items.Create an OrcidQueue record with the given profileItem and entity.Creates a new OrcidToken entity for the given ePerson and accessToken.Creates a new OrcidToken entity for the given ePerson and accessToken.OrcidQueueService.createEntityDeletionRecord(Context context, Item profileItem, String description, String type, String putCode) Create an OrcidQueue record with the given profileItem to delete a record on ORCID related to the given entity type with the given putCode.OrcidQueueService.createEntityInsertionRecord(Context context, Item profileItem, Item entity) Create an OrcidQueue record with the given profileItem and entity to push new data to ORCID.OrcidQueueService.createEntityUpdateRecord(Context context, Item profileItem, Item entity, String putCode) Create an OrcidQueue record with the given profileItem to update a record on ORCID with the given putCode.org.orcid.jaxb.model.v3.release.record.ActivityOrcidEntityFactoryService.createOrcidObject(Context context, Item item) Builds an ORCID Activity object starting from the given item.OrcidProfileSectionFactoryService.createOrcidObject(Context context, List<MetadataValue> metadataValues, OrcidProfileSectionType type) Builds an ORCID object starting from the given metadata values compliance to the given profile section type.OrcidQueueService.createProfileDeletionRecord(Context context, Item profile, String description, String recordType, String metadata, String putCode) Create an OrcidQueue record with the profile to remove data from ORCID.OrcidQueueService.createProfileInsertionRecord(Context context, Item profile, String description, String recordType, String metadata) Create an OrcidQueue record with the profile to add data to ORCID.voidOrcidHistoryService.delete(Context context, OrcidHistory orcidHistory) Delete an OrcidHistoryvoidOrcidQueueService.delete(Context context, OrcidQueue orcidQueue) Delete an OrcidQueuevoidOrcidTokenService.delete(Context context, OrcidToken orcidToken) Delete the given ORCID token entity.voidDelete all the ORCID token entities.voidOrcidQueueService.deleteByEntityAndRecordType(Context context, Item entity, String recordType) Delete all the OrcidQueue records with the given entity and record type.voidOrcidTokenService.deleteByEPerson(Context context, EPerson ePerson) Deletes the ORCID token entity related to the given EPerson.voidOrcidQueueService.deleteById(Context context, Integer id) Delete the OrcidQueue record with the given id.voidOrcidTokenService.deleteByProfileItem(Context context, Item profileItem) Deletes the ORCID token entity related to the given profile item.voidOrcidQueueService.deleteByProfileItemAndRecordType(Context context, Item profileItem, String recordType) Delete all the OrcidQueue records with the given profileItem and record type.Get an OrcidHistory from the database.Get an OrcidQueue from the database.Find all the ORCID history records.Find all the ORCID queue records.OrcidQueueService.findByAttemptsLessThan(Context context, int attempts) Get all the OrcidQueue records with attempts less than the given attempts.OrcidHistoryService.findByEntity(Context context, Item entity) Find the OrcidHistory records related to the given entity item.OrcidQueueService.findByEntity(Context context, Item item) Get the OrcidQueue records where the given item is the entity.OrcidTokenService.findByEPerson(Context context, EPerson ePerson) Find an OrcidToken by ePerson.OrcidTokenService.findByProfileItem(Context context, Item profileItem) Find an OrcidToken by profileItem.OrcidQueueService.findByProfileItemAndEntity(Context context, Item profileItem, Item entity) Get the orcid queue records by the profileItem and entity.OrcidQueueService.findByProfileItemId(Context context, UUID profileItemId) Get the orcid queue records by the profileItem id.OrcidQueueService.findByProfileItemId(Context context, UUID profileItemId, Integer limit, Integer offset) Get the orcid queue records by the profileItem id.OrcidHistoryService.findByProfileItemOrEntity(Context context, Item item) Get the OrcidHistory records where the given item is the profile item OR the entityOrcidQueueService.findByProfileItemOrEntity(Context context, Item item) Get the OrcidQueue records where the given item is the profileItem OR the entityMetadataSignatureGenerator.findBySignature(Context context, Item item, String signature) Returns the metadata values traceable by the given item related with the given signature.OrcidHistoryService.findLastPutCode(Context context, Item profileItem, Item entity) Find the last put code related to the given profileItem and entity item.OrcidHistoryService.findLastPutCodes(Context context, Item entity) Find all the last put code related to the entity item each associated with the profileItem to which it refers.OrcidSynchronizationService.findProfilesByOrcid(Context context, String orcid) Returns all the profiles with the given orcid id.OrcidHistoryService.findSuccessfullyRecordsByEntityAndType(Context context, Item entity, String recordType) Find all the successfully Orcid history records with the given record type related to the given entity.MetadataSignatureGenerator.generate(Context context, List<MetadataValue> metadataValues) Generate a signature related to the given metadata values.booleanOrcidSynchronizationService.isLinkedToOrcid(Context context, Item item) Check if the given item is linked to an ORCID profile.voidOrcidSynchronizationService.linkProfile(Context context, Item profile, OrcidTokenResponseDTO token) Configure the given profile with the data present in the given ORCID token.voidOrcidQueueService.recalculateOrcidQueue(Context context, Item profileItem, OrcidEntityType entityType, OrcidEntitySyncPreference preference) Recalculates the ORCID queue records linked to the given profileItem as regards the entities of the given type.booleanOrcidSynchronizationService.setEntityPreference(Context context, Item profile, OrcidEntityType entityType, OrcidEntitySyncPreference value) Set the synchronization preference for the given profile related to the given ORCID entity type.booleanOrcidSynchronizationService.setProfilePreference(Context context, Item profile, List<OrcidProfileSyncPreference> values) Update the profile's synchronization preference for the given profile.booleanOrcidSynchronizationService.setSynchronizationMode(Context context, Item profile, OrcidSynchronizationMode value) Set the ORCID synchronization mode for the given profile.OrcidHistoryService.synchronizeWithOrcid(Context context, OrcidQueue orcidQueue, boolean forceAddition) Synchronize the entity related to the given orcidQueue record with ORCID.voidOrcidSynchronizationService.unlinkProfile(Context context, Item profile) Disconnect the given profile from ORCID.voidOrcidHistoryService.update(Context context, OrcidHistory orcidHistory) Update the OrcidHistoryvoidOrcidQueueService.update(Context context, OrcidQueue orcidQueue) Update the OrcidQueue -
Uses of Context in org.dspace.orcid.service.impl
Methods in org.dspace.orcid.service.impl with parameters of type ContextModifier and TypeMethodDescriptionlongOrcidQueueServiceImpl.countByProfileItemId(Context context, UUID profileItemId) OrcidTokenServiceImpl.create(Context context, EPerson ePerson, Item profileItem, String accessToken) OrcidQueueServiceImpl.createEntityDeletionRecord(Context context, Item profileItem, String description, String type, String putCode) OrcidQueueServiceImpl.createEntityInsertionRecord(Context context, Item profileItem, Item entity) OrcidQueueServiceImpl.createEntityUpdateRecord(Context context, Item profileItem, Item entity, String putCode) org.orcid.jaxb.model.v3.release.record.ActivityOrcidEntityFactoryServiceImpl.createOrcidObject(Context context, Item item) OrcidProfileSectionFactoryServiceImpl.createOrcidObject(Context context, List<MetadataValue> metadataValues, OrcidProfileSectionType type) OrcidQueueServiceImpl.createProfileDeletionRecord(Context context, Item profile, String description, String recordType, String metadata, String putCode) OrcidQueueServiceImpl.createProfileInsertionRecord(Context context, Item profile, String description, String recordType, String metadata) voidOrcidHistoryServiceImpl.delete(Context context, OrcidHistory orcidHistory) voidOrcidQueueServiceImpl.delete(Context context, OrcidQueue orcidQueue) voidOrcidTokenServiceImpl.delete(Context context, OrcidToken orcidToken) voidvoidOrcidQueueServiceImpl.deleteByEntityAndRecordType(Context context, Item entity, String recordType) voidOrcidTokenServiceImpl.deleteByEPerson(Context context, EPerson ePerson) voidOrcidQueueServiceImpl.deleteById(Context context, Integer id) voidOrcidTokenServiceImpl.deleteByProfileItem(Context context, Item profileItem) voidOrcidQueueServiceImpl.deleteByProfileItemAndRecordType(Context context, Item profileItem, String recordType) OrcidQueueServiceImpl.findByAttemptsLessThan(Context context, int attempts) OrcidHistoryServiceImpl.findByEntity(Context context, Item entity) OrcidQueueServiceImpl.findByEntity(Context context, Item item) OrcidTokenServiceImpl.findByEPerson(Context context, EPerson ePerson) OrcidTokenServiceImpl.findByProfileItem(Context context, Item profileItem) OrcidQueueServiceImpl.findByProfileItemAndEntity(Context context, Item profileItem, Item entity) OrcidQueueServiceImpl.findByProfileItemId(Context context, UUID profileItemId) OrcidQueueServiceImpl.findByProfileItemId(Context context, UUID profileItemId, Integer limit, Integer offset) OrcidHistoryServiceImpl.findByProfileItemOrEntity(Context context, Item profileItem) OrcidQueueServiceImpl.findByProfileItemOrEntity(Context context, Item item) PlainMetadataSignatureGeneratorImpl.findBySignature(Context context, Item item, String signature) OrcidHistoryServiceImpl.findLastPutCode(Context context, Item profileItem, Item entity) OrcidHistoryServiceImpl.findLastPutCodes(Context context, Item entity) OrcidSynchronizationServiceImpl.findProfilesByOrcid(Context context, String orcid) OrcidHistoryServiceImpl.findSuccessfullyRecordsByEntityAndType(Context context, Item entity, String recordType) PlainMetadataSignatureGeneratorImpl.generate(Context context, List<MetadataValue> metadataValues) booleanOrcidSynchronizationServiceImpl.isLinkedToOrcid(Context context, Item item) voidOrcidSynchronizationServiceImpl.linkProfile(Context context, Item profile, OrcidTokenResponseDTO token) voidOrcidQueueServiceImpl.recalculateOrcidQueue(Context context, Item profileItem, OrcidEntityType orcidEntityType, OrcidEntitySyncPreference preference) booleanOrcidSynchronizationServiceImpl.setEntityPreference(Context context, Item profile, OrcidEntityType type, OrcidEntitySyncPreference value) booleanOrcidSynchronizationServiceImpl.setProfilePreference(Context context, Item profile, List<OrcidProfileSyncPreference> values) booleanOrcidSynchronizationServiceImpl.setSynchronizationMode(Context context, Item profile, OrcidSynchronizationMode value) OrcidHistoryServiceImpl.synchronizeWithOrcid(Context context, OrcidQueue orcidQueue, boolean forceAddition) voidOrcidSynchronizationServiceImpl.unlinkProfile(Context context, Item profile) voidOrcidHistoryServiceImpl.update(Context context, OrcidHistory orcidHistory) voidOrcidQueueServiceImpl.update(Context context, OrcidQueue orcidQueue) -
Uses of Context in org.dspace.profile
Methods in org.dspace.profile with parameters of type ContextModifier and TypeMethodDescriptionvoidResearcherProfileServiceImpl.changeVisibility(Context context, ResearcherProfile profile, boolean visible) ResearcherProfileServiceImpl.createAndReturn(Context context, EPerson ePerson) voidResearcherProfileServiceImpl.deleteById(Context context, UUID id) voidOrcidMetadataCopyingAction.perform(Context context, ResearcherProfile researcherProfile, EPerson owner) -
Uses of Context in org.dspace.profile.service
Methods in org.dspace.profile.service with parameters of type ContextModifier and TypeMethodDescriptionvoidResearcherProfileService.changeVisibility(Context context, ResearcherProfile profile, boolean visible) Changes the visibility of the given profile using the given new visible value.Claims and links an eperson to an existing DSpaceObjectResearcherProfileService.createAndReturn(Context context, EPerson ePerson) Create a new researcher profile for the given ePerson.voidResearcherProfileService.deleteById(Context context, UUID id) Delete the profile with the given id.Find the ResearcherProfile by UUID.voidAfterResearcherProfileCreationAction.perform(Context context, ResearcherProfile researcherProfile, EPerson owner) Perform some actions on the given researcher profile and returns the updated profile. -
Uses of Context in org.dspace.qaevent
Methods in org.dspace.qaevent with parameters of type ContextModifier and TypeMethodDescriptionvoidQualityAssuranceAction.applyCorrection(Context context, Item item, Item relatedItem, QAMessageDTO message) Perform a correction on the given item.voidvoidQAEventAutomaticProcessingEvaluation.evaluateAutomaticProcessing(Context context, QAEvent qaEvent) Evaluate aQAEventto decide which, if any,AutomaticProcessingActionshould be performedQAScoreAutomaticProcessingEvaluation.evaluateAutomaticProcessing(Context context, QAEvent qaEvent) void -
Uses of Context in org.dspace.qaevent.action
Methods in org.dspace.qaevent.action with parameters of type ContextModifier and TypeMethodDescriptionvoidAMetadataMapAction.applyCorrection(Context context, Item item, Item relatedItem, QAMessageDTO message) Apply the correction on one metadata field of the given item based on the openaire message type.voidASimpleMetadataAction.applyCorrection(Context context, Item item, Item relatedItem, QAMessageDTO message) voidQAEntityOpenaireMetadataAction.applyCorrection(Context context, Item item, Item relatedItem, QAMessageDTO message) voidQAReinstateRequestAction.applyCorrection(Context context, Item item, Item relatedItem, QAMessageDTO message) voidQAWithdrawnRequestAction.applyCorrection(Context context, Item item, Item relatedItem, QAMessageDTO message) -
Uses of Context in org.dspace.qaevent.dao
Methods in org.dspace.qaevent.dao with parameters of type ContextModifier and TypeMethodDescriptionReturns all the stored QAEventProcessed entities.QAEventsDAO.findByEPerson(Context context, EPerson ePerson) Returns the stored QAEventProcessed entities by eperson.QAEventsDAO.findByItem(Context context, Item item) Returns the stored QAEventProcessed entities by item.booleanQAEventsDAO.isEventStored(Context context, String checksum) Check if an event with the given checksum is already stored.QAEventsDAO.searchByEventId(Context context, String eventId, Integer start, Integer size) Search a page of quality assurance broker events by notification ID.booleanQAEventsDAO.storeEvent(Context context, String checksum, EPerson eperson, Item item) Store an event related to the given checksum. -
Uses of Context in org.dspace.qaevent.dao.impl
Methods in org.dspace.qaevent.dao.impl with parameters of type ContextModifier and TypeMethodDescriptionQAEventsDAOImpl.findByEPerson(Context context, EPerson ePerson) QAEventsDAOImpl.findByItem(Context context, Item item) booleanQAEventsDAOImpl.isEventStored(Context context, String checksum) QAEventsDAOImpl.searchByEventId(Context context, String eventId, Integer start, Integer size) booleanQAEventsDAOImpl.storeEvent(Context context, String checksum, EPerson eperson, Item item) -
Uses of Context in org.dspace.qaevent.security
Methods in org.dspace.qaevent.security with parameters of type ContextModifier and TypeMethodDescriptionbooleanAdministratorsOnlyQASecurity.canSeeQAEvent(Context context, EPerson user, QAEvent qaEvent) booleanQASecurity.canSeeQAEvent(Context context, EPerson user, QAEvent qaEvent) Returntrueit the user is potentially allowed to see events in the qasource that adopt this security strategybooleanUserBasedFilterQASecurity.canSeeQAEvent(Context context, EPerson user, QAEvent qaEvent) booleanAdministratorsOnlyQASecurity.canSeeQASource(Context context, EPerson user) booleanQASecurity.canSeeQASource(Context context, EPerson user) Returntrueit the user is potentially allowed to see events in the qasource that adopt this security strategybooleanUserBasedFilterQASecurity.canSeeQASource(Context context, EPerson user) AdministratorsOnlyQASecurity.generateFilterQuery(Context context, EPerson currentUser) QASecurity.generateFilterQuery(Context context, EPerson user) Return a SOLR queries that can be applied querying the qaevent SOLR core to retrieve only the qaevents visible to the provided userUserBasedFilterQASecurity.generateFilterQuery(Context context, EPerson user) -
Uses of Context in org.dspace.qaevent.service
Methods in org.dspace.qaevent.service with parameters of type ContextModifier and TypeMethodDescriptionvoidAccept the given event.booleanQAEventSecurityService.canSeeEvent(Context context, EPerson user, QAEvent qaEvent) Check if the specified user can see a specific QAEvent.booleanQAEventSecurityService.canSeeSource(Context context, EPerson user, String sourceName) Check if the specified user can see a specific QASourcelongQAEventService.countEventsByTopic(Context context, String sourceName, String topic) Find all the events by topic.longQAEventService.countEventsByTopicAndTarget(Context context, String source, String topic, UUID target) Count the QA events related to the specified topic and targetlongQAEventService.countSources(Context context) Count all the event's sources.longQAEventService.countSourcesByTarget(Context context, UUID target) Count all the event's sources related to a specific itemlongQAEventService.countTopicsBySource(Context context, String source) Count all the event's topics related to the given source.longQAEventService.countTopicsBySourceAndTarget(Context context, String source, UUID target) Count all the event's topics related to the given source referring to a specific itemvoidDiscard the given event.QAEventService.findAllSources(Context context, long offset, int pageSize) Find all the event's sources.QAEventService.findAllSourcesByTarget(Context context, UUID target, long offset, int pageSize) Find all the event's sources related to a specific itemQAEventService.findAllTopics(Context context, long offset, long count, String orderField, boolean ascending) Find all the event's topics.QAEventService.findAllTopicsBySource(Context context, String source, long offset, long count, String orderField, boolean ascending) Find all the event's topics related to the given source.QAEventService.findAllTopicsBySourceAndTarget(Context context, String source, UUID target, long offset, long pageSize, String orderField, boolean ascending) Find all the event's topics related to the given source for a specific itemQAEventService.findEventsByTopic(Context context, String sourceName, String topic, long offset, int size, String orderField, boolean ascending) Find all the events by topic.QAEventService.findEventsByTopicAndTarget(Context context, String source, String topic, UUID target, long offset, int pageSize) Find a list of QA events according to the pagination parameters for the specified topic and target sorted by trust descendingQAEventService.findSource(Context context, String source) Find a specific source by the given name.QAEventService.findSource(Context context, String source, UUID target) Find a specific source by the given name including the stats focused on the target item.QAEventService.findTopicBySourceAndNameAndTarget(Context context, String sourceName, String topicName, UUID target) Find a specific topic by its name, source and optionally a target.QAEventSecurityService.generateQAEventFilterQuery(Context context, EPerson user, String sourceName) Generate a query to restrict the qa events returned by other search/find method to the only ones visible to the specified userbooleanQAEventService.qaEventsInSource(Context context, EPerson user, String eventId, String source) Check if a qaevent with the provided id is visible to the current user according to the source securityvoidReject the given event.voidStore the given event. -
Uses of Context in org.dspace.qaevent.service.impl
Methods in org.dspace.qaevent.service.impl with parameters of type ContextModifier and TypeMethodDescriptionvoidbooleanQAEventSecurityServiceImpl.canSeeEvent(Context context, EPerson user, QAEvent qaEvent) booleanQAEventSecurityServiceImpl.canSeeSource(Context context, EPerson user, String qaSource) longQAEventServiceImpl.countEventsByTopic(Context context, String sourceName, String topic) longQAEventServiceImpl.countEventsByTopicAndTarget(Context context, String sourceName, String topic, UUID target) longQAEventServiceImpl.countSources(Context context) longQAEventServiceImpl.countSourcesByTarget(Context context, UUID target) longQAEventServiceImpl.countTopicsBySource(Context context, String sourceName) longQAEventServiceImpl.countTopicsBySourceAndTarget(Context context, String source, UUID target) voidQAEventServiceImpl.findAllSources(Context context, long offset, int pageSize) QAEventServiceImpl.findAllSourcesByTarget(Context context, UUID target, long offset, int pageSize) QAEventServiceImpl.findAllTopics(Context context, long offset, long count, String orderField, boolean ascending) QAEventServiceImpl.findAllTopicsBySource(Context context, String source, long offset, long count, String orderField, boolean ascending) QAEventServiceImpl.findAllTopicsBySourceAndTarget(Context context, String source, UUID target, long offset, long pageSize, String orderField, boolean ascending) QAEventServiceImpl.findEventsByTopic(Context context, String sourceName, String topic, long offset, int pageSize, String orderField, boolean ascending) QAEventServiceImpl.findEventsByTopicAndTarget(Context context, String source, String topic, UUID target, long offset, int pageSize) QAEventServiceImpl.findSource(Context context, String sourceName) QAEventServiceImpl.findSource(Context context, String sourceName, UUID target) QAEventServiceImpl.findTopicBySourceAndNameAndTarget(Context context, String sourceName, String topicName, UUID target) QAEventSecurityServiceImpl.generateQAEventFilterQuery(Context context, EPerson user, String qaSource) booleanQAEventServiceImpl.qaEventsInSource(Context context, EPerson user, String eventId, String source) voidvoid -
Uses of Context in org.dspace.rdf
Fields in org.dspace.rdf declared as ContextMethods in org.dspace.rdf with parameters of type ContextModifier and TypeMethodDescriptionvoidvoidRDFConsumer.consumeBitstream(Context ctx, Event event) voidRDFConsumer.consumeBundles(Context ctx, Event event) voidRDFConsumer.consumeCommunityCollectionItem(Context ctx, Event event) voidRDFConsumer.consumeSite(Context ctx, Event event) static org.apache.jena.rdf.model.ModelRDFUtil.convert(Context context, DSpaceObject dso) Converts the the provided DSpaceObject into RDF and returns the model.static org.apache.jena.rdf.model.ModelRDFUtil.convertAndStore(Context context, DSpaceObject dso) Converts a DSpaceObject into RDF data and stores them using the configuredRDFStorage.static voidThis is a shortcut to generate an RDF identifier for a DSpaceObject and to delete the identified data from the named graph.voidvoidstatic StringRDFUtil.generateIdentifier(Context context, int type, UUID id, String handle, List<String> identifier) Generates a URI identifying the provided DSpaceObject.static StringRDFUtil.generateIdentifier(Context context, DSpaceObject dso) Generates a URI identifying the provided DSpaceObject.static voidRDFUtil.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 booleanRDFUtil.isPublicBoolean(Context context, DSpaceObject dso) Does the same asisPublic(Context, DSpaceObject)but returns a boolean instead of throwing exceptions.protected voidRDFizer.overrideContext(Context context) This method allows you to override the context used for conversion and to determine which DSpaceObjects should be deleted from the triplestore, consider well if this is really necessary. -
Uses of Context in org.dspace.rdf.conversion
Methods in org.dspace.rdf.conversion with parameters of type ContextModifier and TypeMethodDescriptionSimpleDSORelationsConverterPlugin.bitstreamURI(Context context, Bitstream bitstream) This methods generates a link to the provided Bitstream.org.apache.jena.rdf.model.ModelConverterPlugin.convert(Context context, DSpaceObject dso) Convert the specified DSpaceObject or a part of it into RDF.org.apache.jena.rdf.model.ModelMetadataConverterPlugin.convert(Context context, DSpaceObject dso) org.apache.jena.rdf.model.ModelRDFConverter.convert(Context context, DSpaceObject dso) org.apache.jena.rdf.model.ModelRDFConverterImpl.convert(Context context, DSpaceObject dso) org.apache.jena.rdf.model.ModelSimpleDSORelationsConverterPlugin.convert(Context context, DSpaceObject dso) org.apache.jena.rdf.model.ModelStaticDSOConverterPlugin.convert(Context context, DSpaceObject dso) org.apache.jena.rdf.model.ModelSimpleDSORelationsConverterPlugin.convertCollection(Context context, Collection collection) org.apache.jena.rdf.model.ModelSimpleDSORelationsConverterPlugin.convertCommunity(Context context, Community community) org.apache.jena.rdf.model.ModelSimpleDSORelationsConverterPlugin.convertItem(Context context, Item item) org.apache.jena.rdf.model.ModelSimpleDSORelationsConverterPlugin.convertSite(Context context, Site site) -
Uses of Context in org.dspace.rdf.storage
Methods in org.dspace.rdf.storage with parameters of type ContextModifier and TypeMethodDescriptionDOIURIGenerator.generateIdentifier(Context context, int type, UUID id, String handle, List<String> identifiers) DOIURIGenerator.generateIdentifier(Context context, DSpaceObject dso) HandleURIGenerator.generateIdentifier(Context context, int type, UUID id, String handle, List<String> identifiers) HandleURIGenerator.generateIdentifier(Context context, DSpaceObject dso) LocalURIGenerator.generateIdentifier(Context context, int type, UUID id, String handle, List<String> identifiers) LocalURIGenerator.generateIdentifier(Context context, DSpaceObject dso) URIGenerator.generateIdentifier(Context context, int type, UUID id, String handle, List<String> identifiers) Generate a URI that can be used to identify the specified DSpaceObject in RDF data.URIGenerator.generateIdentifier(Context context, DSpaceObject dso) Shortcut forgenerateIdentifier(context, dso.getType(), dso.getID(), dso.getHandle()). -
Uses of Context in org.dspace.scripts
Methods in org.dspace.scripts with parameters of type ContextModifier and TypeMethodDescriptionvoidProcessServiceImpl.appendFile(Context context, Process process, InputStream is, String type, String fileName) voidintProcessServiceImpl.countByUser(Context context, EPerson user) intProcessServiceImpl.countSearch(Context context, ProcessQueryParameterContainer processQueryParameterContainer) intProcessServiceImpl.countTotal(Context context) ProcessServiceImpl.create(Context context, EPerson ePerson, String scriptName, List<DSpaceCommandLineParameter> parameters, Set<Group> specialGroups) voidProcessServiceImpl.createLogBitstream(Context context, Process process) voidvoidvoidProcessServiceImpl.failRunningProcesses(Context context) ProcessServiceImpl.findAllSortByScript(Context context) ProcessServiceImpl.findAllSortByStartTime(Context context) ProcessServiceImpl.findByStatusAndCreationTimeOlderThan(Context context, List<ProcessStatus> statuses, Instant date) ProcessServiceImpl.findByUser(Context context, EPerson eperson, int limit, int offset) ProcessServiceImpl.getBitstream(Context context, Process process, String type) ProcessServiceImpl.getBitstreamByName(Context context, Process process, String bitstreamName) ProcessServiceImpl.getBitstreams(Context context, Process process) ProcessServiceImpl.getFileTypesForProcessBitstreams(Context context, Process process) ScriptServiceImpl.getScriptConfigurations(Context context) ProcessServiceImpl.search(Context context, ProcessQueryParameterContainer processQueryParameterContainer, int limit, int offset) voidvoid -
Uses of Context in org.dspace.scripts.configuration
Methods in org.dspace.scripts.configuration with parameters of type ContextModifier and TypeMethodDescriptionbooleanScriptConfiguration.isAllowedToExecute(Context context, List<DSpaceCommandLineParameter> commandLineParameters) This method will return if the script is allowed to execute in the given context. -
Uses of Context in org.dspace.scripts.handler
Methods in org.dspace.scripts.handler with parameters of type ContextModifier and TypeMethodDescriptionDSpaceRunnableHandler.getFileStream(Context context, String fileName) This method will grab the InputStream for the file defined by the given file name.voidDSpaceRunnableHandler.writeFilestream(Context context, String fileName, InputStream inputStream, String type) This method will write the InputStream to either a file on the filesystem or a bitstream in the database depending on whether it's coming from a CommandLine call or REST call respectively -
Uses of Context in org.dspace.scripts.handler.impl
Methods in org.dspace.scripts.handler.impl with parameters of type ContextModifier and TypeMethodDescriptionCommandLineDSpaceRunnableHandler.getFileStream(Context context, String fileName) voidCommandLineDSpaceRunnableHandler.writeFilestream(Context context, String fileName, InputStream inputStream, String type) -
Uses of Context in org.dspace.scripts.service
Methods in org.dspace.scripts.service with parameters of type ContextModifier and TypeMethodDescriptionvoidProcessService.appendFile(Context context, Process process, InputStream is, String type, String fileName) The method will create a bitstream from the given inputstream with the given type as metadata and given name as name and attach it to the given processvoidThis method will perform the logic needed to update the Process object in the database to represent a complete stateintProcessService.countByUser(Context context, EPerson user) Count all the processes which is related to the given user.intProcessService.countSearch(Context context, ProcessQueryParameterContainer processQueryParameterContainer) Count all the processes which match the requirements.intProcessService.countTotal(Context context) Returns the total amount of Process objects in the dataaseProcessService.create(Context context, EPerson ePerson, String scriptName, List<DSpaceCommandLineParameter> parameters, Set<Group> specialGroups) This method will create a Process object in the databasevoidProcessService.createLogBitstream(Context context, Process process) voidThis method will delete the given Process object from the databasevoidThis method will perform the logic needed to update the Process object in the database to represent a failed statevoidProcessService.failRunningProcesses(Context context) Cleans up running processes by failing them an attaching their logs to the process objects.This method will retrieve a Process object from the Database with the given IDReturns a list of all Process objects in the databaseReturns a list of all Process objects in the databaseProcessService.findAllSortByScript(Context context) Returns a list of all Process objects in the database sorted by script nameProcessService.findAllSortByStartTime(Context context) Returns a list of all Process objects in the database sorted by start time The most recent one will be shown firstProcessService.findByStatusAndCreationTimeOlderThan(Context context, List<ProcessStatus> statuses, Instant date) Find all the processes with one of the given status and with a creation time older than the specified date.ProcessService.findByUser(Context context, EPerson user, int limit, int offset) Returns a list of all Process objects in the database by the given user.ProcessService.getBitstream(Context context, Process process, String type) This method will return the Bitstream for a given process with a given typeProcessService.getBitstreamByName(Context context, Process process, String bitstreamName) This method will return the Bitstream that matches the given name for the given ProcessProcessService.getBitstreams(Context context, Process process) This method will return all the Bitstreams for a given processProcessService.getFileTypesForProcessBitstreams(Context context, Process process) This will return a list of Strings where each String represents the type of a Bitstream in the Process givenScriptService.getScriptConfigurations(Context context) This method will return a list of ScriptConfiguration objects for which the given Context is authorizedProcessService.search(Context context, ProcessQueryParameterContainer processQueryParameterContainer, int limit, int offset) Returns a list of all Processes in the database which match the given field requirements.voidThis method will perform the logic needed to update the Process object in the database to represent a started state.voidThis method will be used to update the given Process object in the database -
Uses of Context in org.dspace.search
Fields in org.dspace.search declared as ContextModifier and TypeFieldDescriptionHarvestedItemInfo.contextContext used when creating this objectMethods in org.dspace.search with parameters of type ContextModifier and TypeMethodDescriptionstatic HarvestedItemInfoGet harvested item info for a single item.static List<HarvestedItemInfo>Harvest.harvest(Context context, DSpaceObject scope, String startDate, String endDate, int offset, int limit, boolean items, boolean collections, boolean withdrawn, boolean nonAnon) Obtain information about items that have been created, modified or withdrawn within a given date range. -
Uses of Context in org.dspace.service
Methods in org.dspace.service with parameters of type ContextModifier and TypeMethodDescriptionvoidvoidPersist a collection of model objects.voidPersist a model object. -
Uses of Context in org.dspace.statistics
Methods in org.dspace.statistics with parameters of type ContextModifier and TypeMethodDescriptionprotected voidSolrLoggerServiceImpl.addDocumentsToFile(Context context, org.apache.solr.common.SolrDocumentList docs, File exportOutput) voidvoidvoidSolrLoggerServiceImpl.queryFacetDate(String query, String filterQuery, int max, String dateType, String dateStart, String dateEnd, boolean showTotal, Context context, int facetMinCount) -
Uses of Context in org.dspace.statistics.content
Methods in org.dspace.statistics.content with parameters of type ContextModifier and TypeMethodDescriptionabstract DatasetStatisticsData.createDataset(Context context, int facetMinCount) Run the accumulated query and return its results.StatisticsDataSearches.createDataset(Context context, int facetMinCount) StatisticsDataVisits.createDataset(Context context, int facetMinCount) StatisticsDataWorkflow.createDataset(Context context, int facetMinCount) StatisticsDataVisits.getAttributes(String value, StatisticsDataVisits.DatasetQuery datasetQuery, Context context) StatisticsDisplay.getDataset(Context context, int facetMinCount) protected StringStatisticsDataVisits.getResultName(String value, StatisticsDataVisits.DatasetQuery datasetQuery, Context context) Gets the name of the DSO (example for collection: ((Collection) dso).getname();protected voidStatisticsDataVisits.processAxis(Context context, DatasetGenerator datasetGenerator, List<StatisticsDataVisits.DatasetQuery> queries) -
Uses of Context in org.dspace.statistics.export
Methods in org.dspace.statistics.export with parameters of type ContextModifier and TypeMethodDescriptionCreates a new OpenURLTrackerReturns all OpenURLTrackers from the databasevoidFailedOpenURLTrackerServiceImpl.remove(Context context, OpenURLTracker openURLTracker) Removes an OpenURLTracker from the database -
Uses of Context in org.dspace.statistics.export.processor
Constructors in org.dspace.statistics.export.processor with parameters of type ContextModifierConstructorDescriptionBitstreamEventProcessor(Context context, jakarta.servlet.http.HttpServletRequest request, Bitstream bitstream) Creates a new BitstreamEventProcessor that will set the params and obtain the parent item of the bitstreamItemEventProcessor(Context context, jakarta.servlet.http.HttpServletRequest request, Item item) Creates a new ItemEventProcessor that will set the params -
Uses of Context in org.dspace.statistics.export.service
Methods in org.dspace.statistics.export.service with parameters of type ContextModifier and TypeMethodDescriptionCreates a new OpenURLTrackerReturns all OpenURLTrackers from the databasevoidWill log the failed url in the databasevoidLog a failed url in the databasevoidOpenUrlService.processUrl(Context c, String urlStr) Process the urlvoidOpenUrlServiceImpl.processUrl(Context c, String urlStr) Processes the url When the contacting the url fails, the url will be logged in a db tablevoidFailedOpenURLTrackerService.remove(Context context, OpenURLTracker openURLTracker) Removes an OpenURLTracker from the databasevoidOpenUrlService.reprocessFailedQueue(Context context) Will process all urls stored in the database and try contacting them againvoidOpenUrlServiceImpl.reprocessFailedQueue(Context context) Reprocess all url trackers present in the databaseprotected voidOpenUrlServiceImpl.tryReprocessFailed(Context context, OpenURLTracker tracker) Retry to send a failed url -
Uses of Context in org.dspace.statistics.service
Methods in org.dspace.statistics.service with parameters of type Context -
Uses of Context in org.dspace.statistics.util
Methods in org.dspace.statistics.util with parameters of type ContextModifier and TypeMethodDescriptionprotected voidRead lines from the statistics file and load their data into solr.Constructors in org.dspace.statistics.util with parameters of type ContextModifierConstructorDescriptionClassicDSpaceLogConverter(Context c, boolean v, boolean nE) Create an instance of the converter utility -
Uses of Context in org.dspace.storage.bitstore
Methods in org.dspace.storage.bitstore with parameters of type ContextModifier and TypeMethodDescriptionBitstreamStorageServiceImpl.computeChecksum(Context context, Bitstream bitstream) voidBitstreamStorageServiceImpl.migrate(Context context, Integer assetstoreSource, Integer assetstoreDestination, boolean deleteOld, Integer batchCommitSize) Migrates all assets off of one assetstore to anothervoidBitstreamStorageServiceImpl.printStores(Context context) BitstreamStorageServiceImpl.register(Context context, Bitstream bitstream, int assetstore, String bitstreamPath) Register a bitstream already in storage.BitstreamStorageServiceImpl.store(Context context, Bitstream bitstream, InputStream is) -
Uses of Context in org.dspace.storage.bitstore.service
Methods in org.dspace.storage.bitstore.service with parameters of type ContextModifier and TypeMethodDescriptionClone the given bitstream to a new bitstream with a new ID.BitstreamStorageService.computeChecksum(Context context, Bitstream bitstream) voidBitstreamStorageService.migrate(Context context, Integer assetstoreSource, Integer assetstoreDestination, boolean deleteOld, Integer batchCommitSize) Migrate all the assets from assetstoreSource to assetstoreDestinationvoidBitstreamStorageService.printStores(Context context) Print out (log/out) a listing of the assetstores configured, and how many assets they containBitstreamStorageService.register(Context context, Bitstream bitstream, int assetstore, String bitstreamPath) Register a bitstream already in storage.Retrieve the bits for the bitstream with ID.BitstreamStorageService.store(Context context, Bitstream bitstream, InputStream is) Store a stream of bits. -
Uses of Context in org.dspace.submit.consumer
Methods in org.dspace.submit.consumer with parameters of type Context -
Uses of Context in org.dspace.submit.listener
Methods in org.dspace.submit.listener with parameters of type ContextModifier and TypeMethodDescriptionprotected StringSimpleMetadataListener.generateExternalId(Context context, ExternalDataProvider prov, Item item, Set<String> changedMetadata, String m) This is the simpler implementation, it assumes that the value of the metadata listened by the DataProvider can be used directly as identifier.MetadataListener.getExternalDataObject(Context context, Item item, Set<String> changedMetadata) Retrieve an ExternalDataObject to enrich the current item using the current metadata and the information about which listened metadata are changedSimpleMetadataListener.getExternalDataObject(Context context, Item item, Set<String> changedMetadata) -
Uses of Context in org.dspace.submit.migration
Methods in org.dspace.submit.migration with parameters of type ContextModifier and TypeMethodDescriptionbooleanSubmissionFormsMigrationScriptConfiguration.isAllowedToExecute(Context context, List<DSpaceCommandLineParameter> commandLineParameters) -
Uses of Context in org.dspace.submit.model
Methods in org.dspace.submit.model with parameters of type ContextModifier and TypeMethodDescriptionvoidAccessConditionOption.createResourcePolicy(Context context, DSpaceObject obj, String name, String description, LocalDate startDate, LocalDate endDate) Create a new resource policy for a DSpaceObjectvoidAccessConditionOption.updateResourcePolicy(Context context, ResourcePolicy resourcePolicy) Validate ResourcePolicy and after update itvoidAccessConditionOption.validateResourcePolicy(Context context, String name, LocalDate startDate, LocalDate endDate) Validate the policy properties, throws exceptions if any is not valid. -
Uses of Context in org.dspace.submit.service
Methods in org.dspace.submit.service with parameters of type ContextModifier and TypeMethodDescriptionSubmissionConfigService.getCollectionsBySubmissionConfig(Context context, String submitName) SubmissionConfigServiceImpl.getCollectionsBySubmissionConfig(Context context, String submitName) -
Uses of Context in org.dspace.subscriptions
Methods in org.dspace.subscriptions that return ContextMethods in org.dspace.subscriptions with parameters of type ContextModifier and TypeMethodDescriptionvoidContentGenerator.notifyForSubscriptions(Context context, EPerson ePerson, List<IndexableObject> indexableComm, List<IndexableObject> indexableColl) voidSubscriptionEmailNotificationService.perform(Context context, DSpaceRunnableHandler handler, String subscriptionType, String frequency) Performs sending of e-mails to subscribers by frequency value and SubscriptionTypevoidSubscriptionEmailNotificationServiceImpl.perform(Context context, DSpaceRunnableHandler handler, String subscriptionType, String frequency) voidSubscriptionEmailNotification.setContext(Context context) -
Uses of Context in org.dspace.subscriptions.objectupdates
Methods in org.dspace.subscriptions.objectupdates with parameters of type ContextModifier and TypeMethodDescriptionCollectionUpdates.findUpdates(Context context, DSpaceObject dSpaceObject, String frequency) CommunityUpdates.findUpdates(Context context, DSpaceObject dSpaceObject, String frequency) -
Uses of Context in org.dspace.subscriptions.service
Methods in org.dspace.subscriptions.service with parameters of type ContextModifier and TypeMethodDescriptionDSpaceObjectUpdates.findUpdates(Context context, DSpaceObject dSpaceObject, String frequency) Send an email to some addresses, concerning a Subscription, using a given dso.voidSubscriptionGenerator.notifyForSubscriptions(Context c, EPerson ePerson, List<T> comm, List<T> coll) -
Uses of Context in org.dspace.supervision
Methods in org.dspace.supervision with parameters of type ContextModifier and TypeMethodDescriptionvoidSupervisionOrderServiceImpl.delete(Context context, SupervisionOrder supervisionOrder) SupervisionOrderServiceImpl.findByItem(Context context, Item item) SupervisionOrderServiceImpl.findByItemAndGroup(Context context, Item item, Group group) booleanSupervisionOrderServiceImpl.isSupervisor(Context context, EPerson ePerson, Item item) voidSupervisionOrderServiceImpl.update(Context context, List<SupervisionOrder> supervisionOrders) voidSupervisionOrderServiceImpl.update(Context context, SupervisionOrder supervisionOrder) -
Uses of Context in org.dspace.supervision.dao
Methods in org.dspace.supervision.dao with parameters of type ContextModifier and TypeMethodDescriptionSupervisionOrderDao.findByItem(Context context, Item item) find all Supervision Orders related to the itemSupervisionOrderDao.findByItemAndGroup(Context context, Item item, Group group) find the Supervision Order related to the item and group -
Uses of Context in org.dspace.supervision.dao.impl
Methods in org.dspace.supervision.dao.impl with parameters of type ContextModifier and TypeMethodDescriptionSupervisionOrderDaoImpl.findByItem(Context context, Item item) SupervisionOrderDaoImpl.findByItemAndGroup(Context context, Item item, Group group) -
Uses of Context in org.dspace.supervision.service
Methods in org.dspace.supervision.service with parameters of type ContextModifier and TypeMethodDescriptionCreates a new SupervisionOrderFind all supervision orders currently storedSupervisionOrderService.findByItem(Context context, Item item) Find all supervision orders for a given ItemSupervisionOrderService.findByItemAndGroup(Context context, Item item, Group group) Find a supervision order depending on given Item and GroupbooleanSupervisionOrderService.isSupervisor(Context context, EPerson ePerson, Item item) Checks if an EPerson is supervisor of an Item -
Uses of Context in org.dspace.usage
Methods in org.dspace.usage that return ContextMethods in org.dspace.usage with parameters of type ContextConstructors in org.dspace.usage with parameters of type ContextModifierConstructorDescriptionUsageEvent(UsageEvent.Action action, jakarta.servlet.http.HttpServletRequest request, Context context, DSpaceObject object) UsageEvent(UsageEvent.Action action, jakarta.servlet.http.HttpServletRequest request, Context context, DSpaceObject object, String referrer) UsageEvent(UsageEvent.Action action, String ip, String userAgent, String xforwardedfor, Context context, DSpaceObject object) UsageSearchEvent(UsageEvent.Action action, jakarta.servlet.http.HttpServletRequest request, Context context, DSpaceObject object) UsageWorkflowEvent(Context context, Item item, InProgressSubmission workflowItem, String workflowStep, String oldState, Collection scope, EPerson actor) -
Uses of Context in org.dspace.util
Methods in org.dspace.util with parameters of type ContextModifier and TypeMethodDescriptionFrontendUrlService.generateUrl(Context context, Item item) Generates front-end url for specified item. -
Uses of Context in org.dspace.versioning
Methods in org.dspace.versioning with parameters of type ContextModifier and TypeMethodDescriptionvoidVersionHistoryServiceImpl.add(Context context, VersionHistory versionHistory, Version version) booleanVersionHistoryServiceImpl.canSeeDraftVersion(Context context, VersionHistory versionHistory) voidprotected voidAbstractVersionProvider.copyMetadata(Context context, Item itemNew, Item nativeItem) protected voidDefaultItemVersionProvider.copyRelationships(Context context, Item newItem, Item oldItem) Copy all relationships of the old item to the new item.intVersioningServiceImpl.countVersionsByHistoryWithItem(Context context, VersionHistory versionHistory) protected voidAbstractVersionProvider.createBundlesAndAddBitstreams(Context c, Item itemNew, Item nativeItem) DefaultItemVersionProvider.createNewItemAndAddItInWorkspace(Context context, Item nativeItem) ItemVersionProvider.createNewItemAndAddItInWorkspace(Context c, Item item) VersioningServiceImpl.createNewVersion(Context c, Item item) VersioningServiceImpl.createNewVersion(Context c, Item item, String summary) VersioningServiceImpl.createNewVersion(Context context, VersionHistory history, Item item, String summary, Instant date, int versionNumber) protected VersionVersioningServiceImpl.createVersion(Context c, VersionHistory vh, Item item, String summary, ZonedDateTime date) voidVersionHistoryServiceImpl.delete(Context context, VersionHistory versionHistory) voidvoidDefaultItemVersionProvider.deleteVersionedItem(Context c, Version versionToDelete, VersionHistory history) voidItemVersionProvider.deleteVersionedItem(Context c, Version versionToDelete, VersionHistory history) voidVersionHistoryServiceImpl.findByItem(Context context, Item item) voidprotected List<Relationship>VersioningConsumer.getAllRelationships(Context ctx, Item item, RelationshipType relationshipType) Get all relationships of the given type linked to the given item.protected EntityTypeVersioningConsumer.getEntityType(Context ctx, Item item) Get the entity type (stored in metadata field dspace.entity.type) of any item.VersionHistoryServiceImpl.getFirstVersion(Context context, VersionHistory versionHistory) VersionHistoryServiceImpl.getLatestVersion(Context context, VersionHistory versionHistory) VersionHistoryServiceImpl.getNext(Context c, VersionHistory versionHistory, Version version) protected intVersioningServiceImpl.getNextVersionNumer(Context c, VersionHistory vh) VersionHistoryServiceImpl.getPrevious(Context context, VersionHistory versionHistory, Version version) protected List<RelationshipType>VersioningConsumer.getRelationshipTypes(Context ctx, EntityType entityType) Get all relationship types that have the given entity type on their left and/or right side.VersionHistoryServiceImpl.getVersion(Context context, VersionHistory versionHistory, Item item) VersioningServiceImpl.getVersion(Context c, int versionID) VersioningServiceImpl.getVersion(Context c, Item item) VersioningServiceImpl.getVersionsByHistory(Context c, VersionHistory vh) VersioningServiceImpl.getVersionsByHistoryWithItems(Context c, VersionHistory vh, int offset, int limit) booleanVersionHistoryServiceImpl.hasNext(Context context, VersionHistory versionHistory, Item item) booleanVersionHistoryServiceImpl.hasNext(Context context, VersionHistory versionHistory, Version version) booleanVersionHistoryServiceImpl.hasVersionHistory(Context context, Item item) booleanVersionHistoryServiceImpl.isFirstVersion(Context context, Item item) booleanVersionHistoryServiceImpl.isFirstVersion(Context context, VersionHistory versionHistory, Version version) booleanVersionHistoryServiceImpl.isLastVersion(Context context, Item item) booleanVersionHistoryServiceImpl.isLastVersion(Context context, VersionHistory versionHistory, Version version) protected voidVersioningConsumer.reindexRelationship(Context ctx, RelationshipVersioningUtils.LatestVersionStatusChangelog changelog, Relationship relationship) If theRelationship.latestVersionStatusof the relationship has changed, an "item modified" event should be fired for both the left and right item of the relationship.voidVersioningServiceImpl.removeVersion(Context c, Item item) VersioningServiceImpl.restoreVersion(Context c, Version version) VersioningServiceImpl.restoreVersion(Context c, Version version, String summary) protected voidVersioningConsumer.unarchiveItem(Context ctx, Item item) voidVersionHistoryServiceImpl.update(Context context, List<VersionHistory> versionHistories) voidVersionHistoryServiceImpl.update(Context context, VersionHistory versionHistory) voidDefaultItemVersionProvider.updateItemState(Context c, Item itemNew, Item previousItem) Copy all data (minus a few exceptions) from the old item to the new item.ItemVersionProvider.updateItemState(Context c, Item itemNew, Item previousItem) Copy all data (minus a few exceptions) from the old item to the new item.protected voidVersioningConsumer.updateRelationships(Context ctx, Item latestItem, Item previousItem) UpdateRelationship.latestVersionStatusof the relationships of both the old version and the new version of the item.VersioningServiceImpl.updateVersion(Context c, Item item, String summary) -
Uses of Context in org.dspace.versioning.dao
Methods in org.dspace.versioning.dao with parameters of type ContextModifier and TypeMethodDescriptionintVersionDAO.countVersionsByHistoryWithItem(Context context, VersionHistory versionHistory) This method count versions of an version history that have items assigned.VersionDAO.findByItem(Context context, Item item) VersionHistoryDAO.findByItem(Context context, Item item) VersionDAO.findVersionsWithItems(Context context, VersionHistory versionHistory, int offset, int limit) This method returns all versions of an version history that have items assigned.intVersionDAO.getNextVersionNumber(Context c, VersionHistory vh) -
Uses of Context in org.dspace.versioning.dao.impl
Methods in org.dspace.versioning.dao.impl with parameters of type ContextModifier and TypeMethodDescriptionintVersionDAOImpl.countVersionsByHistoryWithItem(Context context, VersionHistory versionHistory) VersionDAOImpl.findByItem(Context context, Item item) VersionHistoryDAOImpl.findByItem(Context context, Item item) VersionDAOImpl.findVersionsWithItems(Context context, VersionHistory versionHistory, int offset, int limit) intVersionDAOImpl.getNextVersionNumber(Context c, VersionHistory vh) -
Uses of Context in org.dspace.versioning.service
Methods in org.dspace.versioning.service with parameters of type ContextModifier and TypeMethodDescriptionvoidVersionHistoryService.add(Context context, VersionHistory versionHistory, Version version) booleanVersionHistoryService.canSeeDraftVersion(Context context, VersionHistory versionHistory) This method has a scope to verify if the logged user has permission to see the attribute 'draftVersion' of the latest version.intVersioningService.countVersionsByHistoryWithItem(Context context, VersionHistory versionHistory) This method count versions of an version history that have items assigned.VersioningService.createNewVersion(Context c, Item itemId) VersioningService.createNewVersion(Context c, Item itemId, String summary) VersioningService.createNewVersion(Context context, VersionHistory history, Item item, String summary, Instant date, int versionNumber) voidDelete a VersionVersionHistoryService.findByItem(Context context, Item item) VersionHistoryService.getFirstVersion(Context context, VersionHistory versionHistory) VersionHistoryService.getLatestVersion(Context context, VersionHistory versionHistory) VersionHistoryService.getNext(Context context, VersionHistory versionHistory, Version version) VersionHistoryService.getPrevious(Context context, VersionHistory versionHistory, Version version) VersionHistoryService.getVersion(Context context, VersionHistory versionHistory, Item item) VersioningService.getVersion(Context c, int versionID) VersioningService.getVersion(Context c, Item item) VersioningService.getVersionsByHistory(Context c, VersionHistory vh) Returns all versions of a version history.VersioningService.getVersionsByHistoryWithItems(Context c, VersionHistory vh, int offset, int limit) Return a paginated list of versions of a version history.booleanVersionHistoryService.hasNext(Context context, VersionHistory versionHistory, Item item) booleanVersionHistoryService.hasNext(Context context, VersionHistory versionHistory, Version version) booleanVersionHistoryService.hasVersionHistory(Context context, Item item) booleanVersionHistoryService.isFirstVersion(Context context, Item item) booleanVersionHistoryService.isFirstVersion(Context context, VersionHistory versionHistory, Version version) booleanVersionHistoryService.isLastVersion(Context context, Item item) booleanVersionHistoryService.isLastVersion(Context context, VersionHistory versionHistory, Version version) voidVersioningService.removeVersion(Context c, Item item) VersioningService.restoreVersion(Context c, Version version) VersioningService.restoreVersion(Context c, Version version, String summary) voidUpdate the VersionVersioningService.updateVersion(Context c, Item itemId, String summary) -
Uses of Context in org.dspace.web
Methods in org.dspace.web that return ContextModifier and TypeMethodDescriptionstatic ContextContextUtil.obtainContext(jakarta.servlet.http.HttpServletRequest request) Obtain a new context object.static ContextContextUtil.obtainCurrentRequestContext()Shortcut for#obtainContext(Request)using theRequestServiceto retrieve the current thread request -
Uses of Context in org.dspace.workflow
Methods in org.dspace.workflow with parameters of type ContextModifier and TypeMethodDescriptionabort() aborts a workflow, completely deleting it (administrator do this) (it will basically do a reject from any state - the item ends up back in the user's PersonalWorkspaceWorkflowItemService.create(Context context, Item item, Collection collection) Wrap an Item in a WorkflowItem to place it in a Collection's workflow.WorkflowService.createWorkflowRoleGroup(Context context, Collection collection, String roleName) This method will create the workflowRoleGroup for a collection and the given rolenamevoidDelete the specified workflow item.voidWorkflowItemService.deleteByCollection(Context context, Collection collection) Delete all workflow items present in the specified collection.voidWorkflowService.deleteCollection(Context context, Collection collection) voidWorkflowService.deleteWorkflowByWorkflowItem(Context c, T wi, EPerson e) Deletes workflow task item in correct order.Get a workflow item from the database.return all workflowitemsWorkflowItemService.findByCollection(Context context, Collection collection) Get all workflow items for a particular collection.WorkflowItemService.findByItem(Context context, Item item) Check to see if a particular item is currently under Workflow.WorkflowItemService.findBySubmitter(Context context, EPerson ep) Get all workflow items that were original submissions by a particular e-person.WorkflowService.getEPersonDeleteConstraints(Context context, EPerson ePerson) WorkflowService.getWorkflowRoleGroup(Context context, Collection collection, String roleName, Group roleGroup) voidWorkflowService.restartWorkflow(Context context, XmlWorkflowItem wi, EPerson decliner, String provenance) WorkflowService.sendWorkflowItemBackSubmission(Context c, T workflowItem, EPerson e, String provenance, String rejection_message) WorkflowService.start(Context context, WorkspaceItem wsi) Move an Item from a submitter's workspace into a collection's workflow - in a single transaction do away with the WorkspaceItem and turn it into a WorkflowItem.WorkflowService.startWithoutNotify(Context c, WorkspaceItem wsi) Start the workflow normally, but disable notifications for the first workflow step. -
Uses of Context in org.dspace.xmlworkflow
Methods in org.dspace.xmlworkflow with parameters of type ContextModifier and TypeMethodDescriptionXmlWorkflowServiceImpl.abort(Context c, XmlWorkflowItem wi, EPerson e) protected voidXmlWorkflowServiceImpl.activateFirstStep(Context context, Workflow wf, Step firstStep, XmlWorkflowItem wfi) Activate the first step in a workflow for a WorkflowItem.voidWorkflowRequirementsServiceImpl.addClaimedUser(Context context, XmlWorkflowItem wfi, Step step, EPerson user) voidWorkflowRequirementsServiceImpl.addFinishedUser(Context c, XmlWorkflowItem wfi, EPerson user) protected voidXmlWorkflowServiceImpl.addGroupPolicyToItem(Context context, Item item, int action, Group group, String policyType) protected voidXmlWorkflowServiceImpl.addPolicyToItem(Context context, Item item, int action, EPerson epa, String policyType) voidXmlWorkflowServiceImpl.alertUsersOnTaskActivation(Context c, XmlWorkflowItem wfi, String emailTemplate, List<EPerson> epa, String... arguments) protected ItemXmlWorkflowServiceImpl.archive(Context context, XmlWorkflowItem wfi) Commit the contained item to the main archive.voidWorkflowRequirementsServiceImpl.clearInProgressUsers(Context c, XmlWorkflowItem wfi) static voidWorkflowUtils.createCollectionWorkflowRole(Context context, Collection collection, String roleId, Group group) Creates a role for a collection by linking a group of epersons to a role IDvoidXmlWorkflowServiceImpl.createOwnedTask(Context context, XmlWorkflowItem wi, Step step, WorkflowActionConfig action, EPerson e) voidXmlWorkflowServiceImpl.createPoolTasks(Context context, XmlWorkflowItem wi, RoleMembers assignees, Step step, WorkflowActionConfig action) XmlWorkflowServiceImpl.createWorkflowRoleGroup(Context context, Collection collection, String roleName) voidXmlWorkflowServiceImpl.deleteAllPooledTasks(Context context, XmlWorkflowItem wi) voidXmlWorkflowServiceImpl.deleteAllTasks(Context context, XmlWorkflowItem wi) WORKFLOW TASK MANAGEMENTvoidXmlWorkflowServiceImpl.deleteClaimedTask(Context c, XmlWorkflowItem wi, ClaimedTask task) voidXmlWorkflowServiceImpl.deleteCollection(Context context, Collection collection) voidXmlWorkflowServiceImpl.deletePooledTask(Context context, XmlWorkflowItem wi, PoolTask task) static voidWorkflowUtils.deleteRoleGroup(Context context, Collection collection, String roleID) voidXmlWorkflowServiceImpl.deleteWorkflowByWorkflowItem(Context context, XmlWorkflowItem wi, EPerson e) XmlWorkflowServiceImpl.doState(Context c, EPerson user, jakarta.servlet.http.HttpServletRequest request, int workflowItemId, Workflow workflow, WorkflowActionConfig currentActionConfig) XmlWorkflowFactoryImpl.getAllNonMappedCollectionsHandles(Context context) RoleMembers.getAllUniqueMembers(Context context) XmlWorkflowFactoryImpl.getCollectionHandlesMappedToWorkflow(Context context, String workflowName) XmlWorkflowServiceImpl.getEPersonDeleteConstraints(Context context, EPerson ePerson) Role.getMembers(Context context, XmlWorkflowItem wfi) static GroupWorkflowUtils.getRoleGroup(Context context, Collection collection, Role role) XmlWorkflowServiceImpl.getWorkflowRoleGroup(Context context, Collection collection, String roleName, Group roleGroup) protected voidXmlWorkflowServiceImpl.grantGroupAllItemPolicies(Context context, Item item, Group group, String policyType) protected voidXmlWorkflowServiceImpl.grantSubmitterReadPolicies(Context context, Item item) voidXmlWorkflowServiceImpl.grantUserAllItemPolicies(Context context, Item item, EPerson epa, String policyType) protected voidXmlWorkflowServiceImpl.logWorkflowEvent(Context c, String workflowId, String previousStepId, String previousActionConfigId, XmlWorkflowItem wfi, EPerson actor, Step newStep, WorkflowActionConfig newActionConfig) protected voidXmlWorkflowServiceImpl.notifyOfArchive(Context context, Item item, Collection coll) notify the submitter that the item is archivedvoidXmlWorkflowServiceImpl.notifyOfCuration(Context c, XmlWorkflowItem wi, List<EPerson> ePeople, String taskName, String action, String message) protected voidXmlWorkflowServiceImpl.notifyOfReject(Context c, XmlWorkflowItem wi, EPerson e, String reason) protected WorkflowActionConfigXmlWorkflowServiceImpl.processNextStep(Context c, EPerson user, Workflow workflow, ActionResult currentOutcome, XmlWorkflowItem wfi, Step nextStep) XmlWorkflowServiceImpl.processOutcome(Context c, EPerson user, Workflow workflow, Step currentStep, WorkflowActionConfig currentActionConfig, ActionResult currentOutcome, XmlWorkflowItem wfi, boolean enteredNewStep) protected voidXmlWorkflowServiceImpl.recordStart(Context context, Item myitem, Action action) voidWorkflowRequirementsServiceImpl.removeClaimedUser(Context context, XmlWorkflowItem wfi, EPerson user, String stepID) protected voidXmlWorkflowServiceImpl.removeGroupItemPolicies(Context context, Item item, Group e) voidXmlWorkflowServiceImpl.removeUserItemPolicies(Context context, Item item, EPerson e) voidXmlWorkflowServiceImpl.restartWorkflow(Context context, XmlWorkflowItem wi, EPerson decliner, String provenance) protected WorkspaceItemXmlWorkflowServiceImpl.returnToWorkspace(Context c, XmlWorkflowItem wfi) Return the workflow item to the workspace of the submitter.protected voidXmlWorkflowServiceImpl.revokeReviewerPolicies(Context context, Item item) XmlWorkflowServiceImpl.sendWorkflowItemBackSubmission(Context context, XmlWorkflowItem wi, EPerson e, String provenance, String rejection_message) XmlWorkflowServiceImpl.start(Context context, WorkspaceItem wsi) XmlWorkflowServiceImpl.startWithoutNotify(Context context, WorkspaceItem wsi) -
Uses of Context in org.dspace.xmlworkflow.factory
Methods in org.dspace.xmlworkflow.factory with parameters of type ContextModifier and TypeMethodDescriptionXmlWorkflowFactory.getAllNonMappedCollectionsHandles(Context context) Returns list of collections that are not mapped to any configured workflow, and thus use the default workflowXmlWorkflowFactory.getCollectionHandlesMappedToWorkflow(Context context, String workflowName) Return a list of collections that are mapped to the given workflow in the workflow configuration -
Uses of Context in org.dspace.xmlworkflow.service
Methods in org.dspace.xmlworkflow.service with parameters of type ContextModifier and TypeMethodDescriptionvoidWorkflowRequirementsService.addClaimedUser(Context context, XmlWorkflowItem wfi, Step step, EPerson user) Adds a claimed user in the metadata.voidWorkflowRequirementsService.addFinishedUser(Context context, XmlWorkflowItem wfi, EPerson user) Adds a finished user in the metadata.voidXmlWorkflowService.alertUsersOnTaskActivation(Context c, XmlWorkflowItem wfi, String emailTemplate, List<EPerson> epa, String... arguments) Send an email to some addresses, concerning a WorkflowItem, using a given template.voidWorkflowRequirementsService.clearInProgressUsers(Context context, XmlWorkflowItem wfi) voidXmlWorkflowService.createOwnedTask(Context context, XmlWorkflowItem wi, Step step, WorkflowActionConfig action, EPerson e) Create a claim on a task action for a given EPerson.voidXmlWorkflowService.createPoolTasks(Context context, XmlWorkflowItem wi, RoleMembers assignees, Step step, WorkflowActionConfig action) Create the task pool for a given item and workflow step.voidXmlWorkflowService.deleteAllPooledTasks(Context c, XmlWorkflowItem wi) Deletes all pooled tasks from a WorkflowItem.voidXmlWorkflowService.deleteAllTasks(Context context, XmlWorkflowItem wi) Deletes all tasks from a WorkflowItem.voidXmlWorkflowService.deleteClaimedTask(Context c, XmlWorkflowItem wi, ClaimedTask task) Deletes a completed task of a step.voidXmlWorkflowService.deletePooledTask(Context context, XmlWorkflowItem wi, PoolTask task) Deletes a pooled (uncompleted) task from the task pool of a step.XmlWorkflowService.doState(Context c, EPerson user, jakarta.servlet.http.HttpServletRequest request, int workflowItemId, Workflow workflow, WorkflowActionConfig currentActionConfig) Executes a workflow action and returns the next.voidXmlWorkflowService.grantUserAllItemPolicies(Context context, Item item, EPerson epa, String actionType) Grant a user full powers over an Item.voidXmlWorkflowService.notifyOfCuration(Context c, XmlWorkflowItem wi, List<EPerson> ePeople, String taskName, String action, String message) Send email to interested parties when curation tasks run.XmlWorkflowService.processOutcome(Context c, EPerson user, Workflow workflow, Step currentStep, WorkflowActionConfig currentActionConfig, ActionResult currentOutcome, XmlWorkflowItem wfi, boolean enteredNewStep) Select the next action based on the outcome of a current action.voidWorkflowRequirementsService.removeClaimedUser(Context context, XmlWorkflowItem wfi, EPerson user, String stepID) voidXmlWorkflowService.removeUserItemPolicies(Context context, Item item, EPerson e) -
Uses of Context in org.dspace.xmlworkflow.state
Methods in org.dspace.xmlworkflow.state with parameters of type ContextModifier and TypeMethodDescriptionWorkflow.getNextStep(Context context, XmlWorkflowItem wfi, Step currentStep, int outcome) Find the Step that follows a given Step given an outcome.booleanStep.isFinished(Context c, XmlWorkflowItem wfi) Check if enough users have finished this step for it to continuebooleanStep.isValidStep(Context context, XmlWorkflowItem wfi) Is this step "valid"? -
Uses of Context in org.dspace.xmlworkflow.state.actions
Methods in org.dspace.xmlworkflow.state.actions with parameters of type ContextModifier and TypeMethodDescriptionabstract voidAction.activate(Context c, XmlWorkflowItem wf) Called when a workflow item becomes eligible for this Action.voidAction.addApprovedProvenance(Context c, XmlWorkflowItem wfi) Adds info in the metadata field dc.description.provenance about item being approved containing in which step it was approved, which user approved it and the timevoidAction.alertUsersOnActivation(Context c, XmlWorkflowItem wfi, RoleMembers members) Notify action role members that an item requires action.abstract ActionResultAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) Called when the action is to be performed.abstract booleanAction.isAuthorized(Context context, jakarta.servlet.http.HttpServletRequest request, XmlWorkflowItem wfi) Is this client authorized to act on this item? -
Uses of Context in org.dspace.xmlworkflow.state.actions.processingaction
Methods in org.dspace.xmlworkflow.state.actions.processingaction with parameters of type ContextModifier and TypeMethodDescriptionvoidAcceptEditRejectAction.activate(Context c, XmlWorkflowItem wf) voidFinalEditAction.activate(Context c, XmlWorkflowItem wf) voidReviewAction.activate(Context c, XmlWorkflowItem wfItem) voidScoreEvaluationAction.activate(Context c, XmlWorkflowItem wf) voidScoreReviewAction.activate(Context c, XmlWorkflowItem wf) voidSelectReviewerAction.activate(Context c, XmlWorkflowItem wf) voidSingleUserReviewAction.activate(Context c, XmlWorkflowItem wfItem) AcceptEditRejectAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) FinalEditAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) ReviewAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) ScoreEvaluationAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) ScoreReviewAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) SelectReviewerAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) SingleUserReviewAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) booleanProcessingAction.isAuthorized(Context context, jakarta.servlet.http.HttpServletRequest request, XmlWorkflowItem wfi) AcceptEditRejectAction.processAccept(Context c, XmlWorkflowItem wfi) ReviewAction.processAccept(Context c, XmlWorkflowItem wfi) SingleUserReviewAction.processAccept(Context c, XmlWorkflowItem wfi) Accept the workflow item => last step in workflow so will be archived Info on step & reviewer will be added on metadata dc.description.provenance of resulting itemFinalEditAction.processMainPage(Context c, XmlWorkflowItem wfi, jakarta.servlet.http.HttpServletRequest request) ProcessingAction.processRejectPage(Context c, XmlWorkflowItem wfi, jakarta.servlet.http.HttpServletRequest request) Process result when option {@link this#SUBMIT_REJECT} is selectedAcceptEditRejectAction.processSubmitterIsDeletedPage(Context c, XmlWorkflowItem wfi, jakarta.servlet.http.HttpServletRequest request) ReviewAction.processSubmitterIsDeletedPage(Context c, XmlWorkflowItem wfi, jakarta.servlet.http.HttpServletRequest request) -
Uses of Context in org.dspace.xmlworkflow.state.actions.userassignment
Methods in org.dspace.xmlworkflow.state.actions.userassignment with parameters of type ContextModifier and TypeMethodDescriptionvoidAssignAction.activate(Context c, XmlWorkflowItem wfItem) voidAssignOriginalSubmitterAction.activate(Context c, XmlWorkflowItem wf) voidAutoAssignAction.activate(Context c, XmlWorkflowItem wfItem) voidClaimAction.activate(Context context, XmlWorkflowItem wfItem) voidInheritUsersAction.activate(Context c, XmlWorkflowItem wfItem) voidNoUserSelectionAction.activate(Context c, XmlWorkflowItem wf) voidAssignOriginalSubmitterAction.alertUsersOnActivation(Context c, XmlWorkflowItem wfi, RoleMembers roleMembers) voidClaimAction.alertUsersOnActivation(Context c, XmlWorkflowItem wfi, RoleMembers roleMembers) protected voidAssignOriginalSubmitterAction.createTaskForEPerson(Context c, XmlWorkflowItem wfi, Step step, WorkflowActionConfig actionConfig, EPerson user) Create a claimed task for the user IF this user doesn't have a claimed action for this workflow itemprotected voidAutoAssignAction.createTaskForEPerson(Context c, XmlWorkflowItem wfi, Step step, WorkflowActionConfig actionConfig, EPerson user) Create a claimed task for the user IF this user doesn't have a claimed action for this workflow itemAssignAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) AssignOriginalSubmitterAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) AutoAssignAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) ClaimAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) InheritUsersAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) NoUserSelectionAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) booleanUserSelectionAction.isAuthorized(Context context, jakarta.servlet.http.HttpServletRequest request, XmlWorkflowItem wfi) booleanAssignAction.isValidUserSelection(Context context, XmlWorkflowItem wfi, boolean hasUI) booleanAssignOriginalSubmitterAction.isValidUserSelection(Context context, XmlWorkflowItem wfi, boolean hasUI) booleanAutoAssignAction.isValidUserSelection(Context context, XmlWorkflowItem wfi, boolean hasUI) booleanClaimAction.isValidUserSelection(Context context, XmlWorkflowItem wfi, boolean hasUI) booleanInheritUsersAction.isValidUserSelection(Context context, XmlWorkflowItem wfi, boolean hasUI) booleanNoUserSelectionAction.isValidUserSelection(Context context, XmlWorkflowItem wfi, boolean hasUI) abstract booleanUserSelectionAction.isValidUserSelection(Context context, XmlWorkflowItem wfi, boolean hasUI) Check user constraints (enough users, group exists, ...).voidAssignAction.regenerateTasks(Context c, XmlWorkflowItem wfi, RoleMembers roleMembers) voidAssignOriginalSubmitterAction.regenerateTasks(Context c, XmlWorkflowItem wfi, RoleMembers roleMembers) voidAutoAssignAction.regenerateTasks(Context c, XmlWorkflowItem wfi, RoleMembers roleMembers) voidClaimAction.regenerateTasks(Context c, XmlWorkflowItem wfi, RoleMembers roleMembers) voidInheritUsersAction.regenerateTasks(Context c, XmlWorkflowItem wfi, RoleMembers roleMembers) voidNoUserSelectionAction.regenerateTasks(Context c, XmlWorkflowItem wfi, RoleMembers roleMembers) abstract voidUserSelectionAction.regenerateTasks(Context c, XmlWorkflowItem wfi, RoleMembers roleMembers) Should a person have the option to repool the task the tasks will have to be regenerated -
Uses of Context in org.dspace.xmlworkflow.storedcomponents
Methods in org.dspace.xmlworkflow.storedcomponents with parameters of type ContextModifier and TypeMethodDescriptionintintXmlWorkflowItemServiceImpl.countAllInCollection(Context context, Collection collection) intXmlWorkflowItemServiceImpl.countBySubmitter(Context context, EPerson ep) CollectionRoleServiceImpl.create(Context context, Collection collection, String roleId, Group group) XmlWorkflowItemServiceImpl.create(Context context, Item item, Collection collection) voidClaimedTaskServiceImpl.delete(Context context, ClaimedTask claimedTask) voidCollectionRoleServiceImpl.delete(Context context, CollectionRole collectionRole) voidInProgressUserServiceImpl.delete(Context context, InProgressUser inProgressUser) voidvoidWorkflowItemRoleServiceImpl.delete(Context context, WorkflowItemRole workflowItemRole) voidXmlWorkflowItemServiceImpl.delete(Context context, XmlWorkflowItem workflowItem) voidCollectionRoleServiceImpl.deleteByCollection(Context context, Collection collection) voidXmlWorkflowItemServiceImpl.deleteByCollection(Context context, Collection collection) voidPoolTaskServiceImpl.deleteByEperson(Context context, EPerson ePerson) voidWorkflowItemRoleServiceImpl.deleteByEPerson(Context context, EPerson ePerson) voidClaimedTaskServiceImpl.deleteByWorkflowItem(Context context, XmlWorkflowItem workflowItem) voidPoolTaskServiceImpl.deleteByWorkflowItem(Context context, XmlWorkflowItem xmlWorkflowItem) voidWorkflowItemRoleServiceImpl.deleteForWorkflowItem(Context context, XmlWorkflowItem xmlWorkflowItem) voidXmlWorkflowItemServiceImpl.deleteWrapper(Context context, XmlWorkflowItem workflowItem) ClaimedTaskServiceImpl.find(Context context, EPerson ePerson, XmlWorkflowItem workflowItem, String stepID, String actionID) ClaimedTaskServiceImpl.find(Context context, XmlWorkflowItem workflowItem) ClaimedTaskServiceImpl.find(Context context, XmlWorkflowItem workflowItem, String stepID) ClaimedTaskServiceImpl.find(Context context, XmlWorkflowItem workflowItem, String stepID, String actionID) CollectionRoleServiceImpl.find(Context context, Collection collection, String role) PoolTaskServiceImpl.find(Context context, XmlWorkflowItem workflowItem) WorkflowItemRoleServiceImpl.find(Context context, XmlWorkflowItem workflowItem, String role) XmlWorkflowItemServiceImpl.findAllInCollection(Context context, Integer page, Integer pagesize, Collection collection) ClaimedTaskServiceImpl.findAllInStep(Context context, String stepID) CollectionRoleServiceImpl.findByCollection(Context context, Collection collection) XmlWorkflowItemServiceImpl.findByCollection(Context context, Collection collection) ClaimedTaskServiceImpl.findByEperson(Context context, EPerson ePerson) InProgressUserServiceImpl.findByEperson(Context context, EPerson ePerson) PoolTaskServiceImpl.findByEperson(Context context, EPerson ePerson) PoolTaskServiceImpl.findByEPerson(Context context, EPerson ePerson) WorkflowItemRoleServiceImpl.findByEPerson(Context context, EPerson ePerson) CollectionRoleServiceImpl.findByGroup(Context context, Group group) PoolTaskServiceImpl.findByGroup(Context context, Group group) PoolTaskServiceImpl.findByGroups(Context context, EPerson ePerson, List<Group> groups) XmlWorkflowItemServiceImpl.findByItem(Context context, Item item) XmlWorkflowItemServiceImpl.findBySubmitter(Context context, EPerson ep) XmlWorkflowItemServiceImpl.findBySubmitter(Context context, EPerson ep, Integer pageNumber, Integer pageSize) ClaimedTaskServiceImpl.findByWorkflowIdAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) PoolTaskServiceImpl.findByWorkflowIdAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) ClaimedTaskServiceImpl.findByWorkflowItem(Context context, XmlWorkflowItem workflowItem) InProgressUserServiceImpl.findByWorkflowItem(Context context, XmlWorkflowItem workflowItem) WorkflowItemRoleServiceImpl.findByWorkflowItem(Context context, XmlWorkflowItem xmlWorkflowItem) InProgressUserServiceImpl.findByWorkflowItemAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) intInProgressUserServiceImpl.getNumberOfFinishedUsers(Context context, XmlWorkflowItem workflowItem) intInProgressUserServiceImpl.getNumberOfInProgressUsers(Context context, XmlWorkflowItem workflowItem) voidXmlWorkflowItemServiceImpl.move(Context context, XmlWorkflowItem inProgressSubmission, Collection fromCollection, Collection toCollection) voidClaimedTaskServiceImpl.update(Context context, List<ClaimedTask> claimedTasks) voidClaimedTaskServiceImpl.update(Context context, ClaimedTask claimedTask) voidCollectionRoleServiceImpl.update(Context context, CollectionRole collectionRole) voidInProgressUserServiceImpl.update(Context context, List<InProgressUser> inProgressUsers) voidInProgressUserServiceImpl.update(Context context, InProgressUser inProgressUser) voidvoidvoidWorkflowItemRoleServiceImpl.update(Context context, List<WorkflowItemRole> workflowItemRoles) voidWorkflowItemRoleServiceImpl.update(Context context, WorkflowItemRole workflowItemRole) voidXmlWorkflowItemServiceImpl.update(Context context, XmlWorkflowItem workflowItem) -
Uses of Context in org.dspace.xmlworkflow.storedcomponents.dao
Methods in org.dspace.xmlworkflow.storedcomponents.dao with parameters of type ContextModifier and TypeMethodDescriptionintintXmlWorkflowItemDAO.countAllInCollection(Context context, Collection collection) intXmlWorkflowItemDAO.countBySubmitter(Context context, EPerson ep) Count the number of workflow items from a specific submitterintInProgressUserDAO.countFinishedUsers(Context context, XmlWorkflowItem workflowItem) intInProgressUserDAO.countInProgressUsers(Context context, XmlWorkflowItem workflowItem) voidCollectionRoleDAO.deleteByCollection(Context context, Collection collection) XmlWorkflowItemDAO.findAllInCollection(Context context, Integer offset, Integer limit, Collection collection) Find all the workflow items in a specific collection using the pagination parameters (offset, limit)CollectionRoleDAO.findByCollection(Context context, Collection collection) XmlWorkflowItemDAO.findByCollection(Context context, Collection collection) CollectionRoleDAO.findByCollectionAndRole(Context context, Collection collection, String role) ClaimedTaskDAO.findByEperson(Context context, EPerson ePerson) InProgressUserDAO.findByEperson(Context context, EPerson ePerson) PoolTaskDAO.findByEPerson(Context context, EPerson ePerson) WorkflowItemRoleDAO.findByEPerson(Context context, EPerson ePerson) ClaimedTaskDAO.findByEPersonAndWorkflowItemAndStepIdAndActionId(Context context, EPerson ePerson, XmlWorkflowItem workflowItem, String stepID, String actionID) CollectionRoleDAO.findByGroup(Context context, Group group) PoolTaskDAO.findByGroup(Context context, Group group) XmlWorkflowItemDAO.findByItem(Context context, Item item) ClaimedTaskDAO.findByStep(Context context, String stepID) XmlWorkflowItemDAO.findBySubmitter(Context context, EPerson ep) XmlWorkflowItemDAO.findBySubmitter(Context context, EPerson ep, Integer offset, Integer limit) Return all the workflow items from a specific submitter respecting the pagination parametersClaimedTaskDAO.findByWorkflowItem(Context context, XmlWorkflowItem workflowItem) Find all claimed tasks for a given workflow item.InProgressUserDAO.findByWorkflowItem(Context context, XmlWorkflowItem workflowItem) PoolTaskDAO.findByWorkflowItem(Context context, XmlWorkflowItem workflowItem) WorkflowItemRoleDAO.findByWorkflowItem(Context context, XmlWorkflowItem workflowItem) ClaimedTaskDAO.findByWorkflowItemAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) Find the single task for a given workflow item which is claimed by a given EPerson.InProgressUserDAO.findByWorkflowItemAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) PoolTaskDAO.findByWorkflowItemAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) PoolTaskDAO.findByWorkflowItemAndGroup(Context context, Group group, XmlWorkflowItem workflowItem) WorkflowItemRoleDAO.findByWorkflowItemAndRole(Context context, XmlWorkflowItem workflowItem, String role) ClaimedTaskDAO.findByWorkflowItemAndStepId(Context context, XmlWorkflowItem workflowItem, String stepID) ClaimedTaskDAO.findByWorkflowItemAndStepIdAndActionId(Context c, XmlWorkflowItem workflowItem, String stepID, String actionID) -
Uses of Context in org.dspace.xmlworkflow.storedcomponents.dao.impl
Methods in org.dspace.xmlworkflow.storedcomponents.dao.impl with parameters of type ContextModifier and TypeMethodDescriptionintintXmlWorkflowItemDAOImpl.countAllInCollection(Context context, Collection collection) intXmlWorkflowItemDAOImpl.countBySubmitter(Context context, EPerson ep) intInProgressUserDAOImpl.countFinishedUsers(Context context, XmlWorkflowItem workflowItem) intInProgressUserDAOImpl.countInProgressUsers(Context context, XmlWorkflowItem workflowItem) voidCollectionRoleDAOImpl.deleteByCollection(Context context, Collection collection) XmlWorkflowItemDAOImpl.findAllInCollection(Context context, Integer offset, Integer limit, Collection collection) CollectionRoleDAOImpl.findByCollection(Context context, Collection collection) XmlWorkflowItemDAOImpl.findByCollection(Context context, Collection collection) CollectionRoleDAOImpl.findByCollectionAndRole(Context context, Collection collection, String role) ClaimedTaskDAOImpl.findByEperson(Context context, EPerson ePerson) InProgressUserDAOImpl.findByEperson(Context context, EPerson ePerson) PoolTaskDAOImpl.findByEPerson(Context context, EPerson ePerson) WorkflowItemRoleDAOImpl.findByEPerson(Context context, EPerson ePerson) ClaimedTaskDAOImpl.findByEPersonAndWorkflowItemAndStepIdAndActionId(Context context, EPerson ePerson, XmlWorkflowItem workflowItem, String stepID, String actionID) CollectionRoleDAOImpl.findByGroup(Context context, Group group) PoolTaskDAOImpl.findByGroup(Context context, Group group) XmlWorkflowItemDAOImpl.findByItem(Context context, Item item) ClaimedTaskDAOImpl.findByStep(Context context, String stepID) XmlWorkflowItemDAOImpl.findBySubmitter(Context context, EPerson ep) XmlWorkflowItemDAOImpl.findBySubmitter(Context context, EPerson ep, Integer offset, Integer limit) ClaimedTaskDAOImpl.findByWorkflowItem(Context context, XmlWorkflowItem workflowItem) InProgressUserDAOImpl.findByWorkflowItem(Context context, XmlWorkflowItem workflowItem) PoolTaskDAOImpl.findByWorkflowItem(Context context, XmlWorkflowItem workflowItem) WorkflowItemRoleDAOImpl.findByWorkflowItem(Context context, XmlWorkflowItem workflowItem) ClaimedTaskDAOImpl.findByWorkflowItemAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) InProgressUserDAOImpl.findByWorkflowItemAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) PoolTaskDAOImpl.findByWorkflowItemAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) PoolTaskDAOImpl.findByWorkflowItemAndGroup(Context context, Group group, XmlWorkflowItem workflowItem) WorkflowItemRoleDAOImpl.findByWorkflowItemAndRole(Context context, XmlWorkflowItem workflowItem, String role) ClaimedTaskDAOImpl.findByWorkflowItemAndStepId(Context context, XmlWorkflowItem workflowItem, String stepID) ClaimedTaskDAOImpl.findByWorkflowItemAndStepIdAndActionId(Context context, XmlWorkflowItem workflowItem, String stepID, String actionID) -
Uses of Context in org.dspace.xmlworkflow.storedcomponents.service
Methods in org.dspace.xmlworkflow.storedcomponents.service with parameters of type ContextModifier and TypeMethodDescriptionintreturn how many workflow items appear in the databaseintXmlWorkflowItemService.countAllInCollection(Context context, Collection collection) return how many workflow items that appear in the collectionintXmlWorkflowItemService.countBySubmitter(Context context, EPerson ep) Count the number of workflow items from a specific submitterCollectionRoleService.create(Context context, Collection collection, String roleId, Group group) voidCollectionRoleService.delete(Context context, CollectionRole collectionRole) voidCollectionRoleService.deleteByCollection(Context context, Collection collection) voidPoolTaskService.deleteByEperson(Context context, EPerson ePerson) voidWorkflowItemRoleService.deleteByEPerson(Context context, EPerson ePerson) voidClaimedTaskService.deleteByWorkflowItem(Context context, XmlWorkflowItem workflowItem) voidPoolTaskService.deleteByWorkflowItem(Context context, XmlWorkflowItem xmlWorkflowItem) voidWorkflowItemRoleService.deleteForWorkflowItem(Context context, XmlWorkflowItem wfi) ClaimedTaskService.find(Context context, EPerson ePerson, XmlWorkflowItem workflowItem, String stepID, String actionID) ClaimedTaskService.find(Context context, XmlWorkflowItem workflowItem) Find all claimed tasks for a given workflow item.ClaimedTaskService.find(Context context, XmlWorkflowItem workflowItem, String stepID) ClaimedTaskService.find(Context context, XmlWorkflowItem workflowItem, String stepID, String actionID) CollectionRoleService.find(Context context, Collection collection, String role) PoolTaskService.find(Context context, XmlWorkflowItem workflowItem) WorkflowItemRoleService.find(Context context, XmlWorkflowItem workflowItem, String role) return all workflowitems for a certain pageXmlWorkflowItemService.findAllInCollection(Context context, Integer page, Integer pagesize, Collection collection) return all workflowitems for a certain page with a certain collectionClaimedTaskService.findAllInStep(Context context, String stepID) CollectionRoleService.findByCollection(Context context, Collection collection) ClaimedTaskService.findByEperson(Context context, EPerson ePerson) InProgressUserService.findByEperson(Context context, EPerson ePerson) PoolTaskService.findByEperson(Context context, EPerson ePerson) PoolTaskService.findByEPerson(Context context, EPerson ePerson) WorkflowItemRoleService.findByEPerson(Context context, EPerson ePerson) CollectionRoleService.findByGroup(Context context, Group group) PoolTaskService.findByGroup(Context context, Group group) This method will return a list of PoolTask for the given groupXmlWorkflowItemService.findBySubmitter(Context context, EPerson ep, Integer pageNumber, Integer pageSize) Return all the workflow items from a specific submitter respecting the pagination parametersClaimedTaskService.findByWorkflowIdAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) Find the single task for a given workflow item claimed by a given EPerson.PoolTaskService.findByWorkflowIdAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) ClaimedTaskService.findByWorkflowItem(Context context, XmlWorkflowItem workflowItem) InProgressUserService.findByWorkflowItem(Context context, XmlWorkflowItem workflowItem) WorkflowItemRoleService.findByWorkflowItem(Context context, XmlWorkflowItem xmlWorkflowItem) InProgressUserService.findByWorkflowItemAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) intInProgressUserService.getNumberOfFinishedUsers(Context context, XmlWorkflowItem workflowItem) intInProgressUserService.getNumberOfInProgressUsers(Context context, XmlWorkflowItem workflowItem) voidCollectionRoleService.update(Context context, CollectionRole collectionRole)
EPersonService.findAll(org.dspace.core.Context,int).