Uses of Class
org.dspace.core.Context
-
-
Uses of Context in org.dspace.administer
Methods in org.dspace.administer with parameters of type Context Modifier and Type Method Description voidCommunityFiliator. defiliate(Context c, Community parent, Community child)voidCommunityFiliator. filiate(Context c, Community parent, Community child)static 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.app.bulkedit
Methods in org.dspace.app.bulkedit with parameters of type Context Modifier and Type Method Description protected 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)booleanMetadataDeletionScriptConfiguration. isAllowedToExecute(Context context)booleanMetadataExportScriptConfiguration. isAllowedToExecute(Context context)booleanMetadataImportScriptConfiguration. isAllowedToExecute(Context context)DSpaceCSVLineMetadataImport. resolveEntityRefs(Context c, DSpaceCSVLine line)Gets a copy of the given csv line with all entity target references resolved to UUID strings.List<BulkEditChange>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 Context Constructor Description DSpaceCSV(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 Modifier and Type Field Description protected ContextHarvest. contextMethods in org.dspace.app.harvest with parameters of type Context Modifier and Type Method Description booleanHarvestScriptConfiguration. isAllowedToExecute(Context context) -
Uses of Context in org.dspace.app.itemexport
Methods in org.dspace.app.itemexport with parameters of type Context Modifier and Type Method Description booleanItemExportServiceImpl. 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 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 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 Context Modifier and Type Method Description booleanItemExportService. 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 methot to create export a single Community, Collection, or ItemvoidItemExportService. createDownloadableExport(DSpaceObject dso, Context context, String additionalEmail, boolean migrate)Convenience methot 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 Context Modifier and Type Method Description protected 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? try and add it to the archive.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. 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 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....protected List<String>ItemImportServiceImpl. processContentsFile(Context c, Item i, String path, String filename)Given a contents file and an item, stuffing it with bitstreams from the contents file Returns a List of Strings with lines from the contents file that request non-default bitstream 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 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. resolveRelatedItem(Context c, String itemIdentifier)Resolve an item identifier referred to in the relationships manifest file.protected voidItemImportServiceImpl. setPermission(Context c, Group g, int actionID, Bitstream bs)Set the Permission on a Bitstream. -
Uses of Context in org.dspace.app.itemimport.service
Methods in org.dspace.app.itemimport.service with parameters of type Context Modifier and Type Method Description voidItemImportService. 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 Context Modifier and Type Method Description ItemMarkingInfoItemMarkingAvailabilityBitstreamStrategy. getItemMarkingInfo(Context context, Item item)ItemMarkingInfoItemMarkingCollectionStrategy. getItemMarkingInfo(Context context, Item item)ItemMarkingInfoItemMarkingExtractor. getItemMarkingInfo(Context context, Item item)ItemMarkingInfoItemMarkingMetadataStrategy. getItemMarkingInfo(Context context, Item item) -
Uses of Context in org.dspace.app.itemupdate
Methods in org.dspace.app.itemupdate with parameters of type Context Modifier and Type Method Description protected 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 ItemArchiveItemArchive. create(Context context, File dir, String itemField)factory method Minimal requirements for dublin_core.xml for this application is the presence of dc.identifier.uri which must contain the handle for the 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.voidAddBitstreamsAction. 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.mediafilter
Methods in org.dspace.app.mediafilter with parameters of type Context Modifier and Type Method Description voidMediaFilterServiceImpl. 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) -
Uses of Context in org.dspace.app.mediafilter.service
Methods in org.dspace.app.mediafilter.service with parameters of type Context Modifier and Type Method Description voidMediaFilterService. 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. -
Uses of Context in org.dspace.app.packager
Methods in org.dspace.app.packager with parameters of type Context Modifier and Type Method Description protected 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 Context Modifier and Type Method Description StringRequestItemServiceImpl. createRequest(Context context, Bitstream bitstream, Item item, boolean allFiles, String reqEmail, String reqName, String reqMessage)voidRequestItemServiceImpl. delete(Context context, RequestItem requestItem)List<RequestItem>RequestItemServiceImpl. findAll(Context context)RequestItemRequestItemServiceImpl. findByToken(Context context, String token)RequestItemAuthorRequestItemHelpdeskStrategy. getHelpDeskPerson(Context context, String helpDeskEmail)Return a RequestItemAuthor object for the specified helpdesk email address.RequestItemAuthorRequestItemAuthorExtractor. getRequestItemAuthor(Context context, Item item)Retrieve the auhtor to contact for a request copy of the give item.RequestItemAuthorRequestItemHelpdeskStrategy. getRequestItemAuthor(Context context, Item item)RequestItemAuthorRequestItemMetadataStrategy. getRequestItemAuthor(Context context, Item item)RequestItemAuthorRequestItemSubmitterStrategy. getRequestItemAuthor(Context context, Item item)Returns the submitter of an Item as RequestItemAuthor or null if the Submitter is deleted.booleanRequestItemServiceImpl. isRestricted(Context context, DSpaceObject o)static voidRequestItemEmailNotifier. requestOpenAccess(Context context, RequestItem ri)Send, to a repository administrator, a request to open access to a requested object.static voidRequestItemEmailNotifier. sendRequest(Context context, RequestItem ri, String responseLink)Send the request to the approver(s).static 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 Context Modifier and Type Method Description RequestItemRequestItemDAO. findByToken(Context context, String token)Fetch a request named by its unique 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 Context Modifier and Type Method Description RequestItemRequestItemDAOImpl. 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 Context Modifier and Type Method Description StringRequestItemService. 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.List<RequestItem>RequestItemService. findAll(Context context)Fetch all item requests.RequestItemRequestItemService. findByToken(Context context, String token)Retrieve a request by its token.booleanRequestItemService. isRestricted(Context context, DSpaceObject o)Is there at least one valid READ resource policy for this object?voidRequestItemService. update(Context context, RequestItem requestItem)Save updates to the record. -
Uses of Context in org.dspace.app.sherpa.submit
Methods in org.dspace.app.sherpa.submit with parameters of type Context Modifier and Type Method Description List<String>ISSNItemExtractor. getISSNs(Context context, Item item)List<String>MetadataAuthorityISSNExtractor. getISSNs(Context context, Item item)List<String>MetadataValueISSNExtractor. getISSNs(Context context, Item item)Set<String>SHERPASubmitService. getISSNs(Context context, Item item)Using the configured itemIssnExtractors from SHERPA configuration, extract ISSNs from item metadata or authority valuesbooleanSHERPASubmitService. hasISSNs(Context context, Item item)Simple boolean test that runs the getISSNs extraction method to determine whether an item has any ISSNs at allList<SHERPAResponse>SHERPASubmitService. 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 Context Modifier and Type Method Description static 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, Date myStartDate, Date 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.util
Methods in org.dspace.app.util with parameters of type Context Modifier and Type Method Description static CollectionDropDown.CollectionPathEntry[]CollectionDropDown. 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? please note that the remove action need a separate checkstatic voidAuthorizeUtil. authorizeManageAdminGroup(Context context, Community community)Can the current user create/edit the admins group of the community? please note that the remove action need a separate checkstatic 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, javax.servlet.http.HttpServletRequest request)This method will return a boolean indicating whether the current user is allowed to register a new account or notstatic 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? please note that the create/edit actions need separate checkstatic voidAuthorizeUtil. authorizeRemoveAdminGroup(Context context, Community community)Can the current user remove the admins group of the community? please note that the create/edit actions need separate checkstatic 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.WebAppWebAppServiceImpl. create(Context context, String appName, String url, Date started, int isUI)voidWebAppServiceImpl. delete(Context context, WebApp webApp)List<WebApp>WebAppServiceImpl. findAll(Context context)DSpaceObjectDSpaceObjectUtilsImpl. findDSpaceObject(Context context, UUID uuid)Retrieve a DSpaceObject from its uuid.List<Collection>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, Map<String,String> labels)DocumentOpenSearchServiceImpl. getResultsDoc(Context context, String format, String query, int totalResults, int start, int pageSize, IndexableObject scope, List<IndexableObject> results, Map<String,String> labels)StringOpenSearchServiceImpl. getResultsString(Context context, String format, String query, int totalResults, int start, int pageSize, IndexableObject scope, List<IndexableObject> results, Map<String,String> labels)booleanMetadataExposureServiceImpl. isHidden(Context context, String schema, String element, String qualifier)voidSyndicationFeed. populate(javax.servlet.http.HttpServletRequest request, Context context, IndexableObject dso, List<IndexableObject> items, Map<String,String> labels)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 AdminDSpaceObjectOpenSearchServiceImpl. resolveScope(Context context, String scope)Constructors in org.dspace.app.util with parameters of type Context Constructor Description GoogleBitstreamComparator(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 Context Modifier and Type Method Description WebAppWebAppService. create(Context context, String appName, String url, Date started, int isUI)voidWebAppService. delete(Context context, WebApp webApp)List<WebApp>WebAppService. findAll(Context context)DSpaceObjectDSpaceObjectUtils. findDSpaceObject(Context context, UUID uuid)Retrieve a DSpaceObject from its uuid.DocumentOpenSearchService. getResultsDoc(Context context, String format, String query, int totalResults, int start, int pageSize, IndexableObject scope, List<IndexableObject> results, Map<String,String> labels)Returns a formatted set of search results as a documentStringOpenSearchService. getResultsString(Context context, String format, String query, int totalResults, int start, int pageSize, IndexableObject scope, List<IndexableObject> results, Map<String,String> labels)Returns a formatted set of search results as a stringbooleanMetadataExposureService. isHidden(Context context, String schema, String element, String qualifier)Returns whether the given metadata field should be exposed (visible).DSpaceObjectOpenSearchService. resolveScope(Context context, String scope) -
Uses of Context in org.dspace.authenticate
Methods in org.dspace.authenticate with parameters of type Context Modifier and Type Method Description booleanAuthenticationMethod. allowSetPassword(Context context, javax.servlet.http.HttpServletRequest request, String username)Should (or can) we allow the user to change their password.booleanAuthenticationServiceImpl. allowSetPassword(Context context, javax.servlet.http.HttpServletRequest request, String username)booleanIPAuthentication. allowSetPassword(Context context, javax.servlet.http.HttpServletRequest request, String username)booleanLDAPAuthentication. allowSetPassword(Context context, javax.servlet.http.HttpServletRequest request, String username)Cannot change LDAP password through dspace, right?booleanPasswordAuthentication. allowSetPassword(Context context, javax.servlet.http.HttpServletRequest request, String username)We always allow the user to change their password.booleanShibAuthentication. allowSetPassword(Context context, javax.servlet.http.HttpServletRequest request, String email)Indicate whether or not a particular self-registering user can set themselves a password in the profile info form.booleanX509Authentication. allowSetPassword(Context context, javax.servlet.http.HttpServletRequest request, String username)We don't use EPerson password so there is no reason to change it.intAuthenticationMethod. authenticate(Context context, String username, String password, String realm, javax.servlet.http.HttpServletRequest request)Authenticate the given or implicit credentials.intAuthenticationServiceImpl. authenticate(Context context, String username, String password, String realm, javax.servlet.http.HttpServletRequest request)intIPAuthentication. authenticate(Context context, String username, String password, String realm, javax.servlet.http.HttpServletRequest request)intLDAPAuthentication. authenticate(Context context, String netid, String password, String realm, javax.servlet.http.HttpServletRequest request)intPasswordAuthentication. authenticate(Context context, String username, String password, String realm, javax.servlet.http.HttpServletRequest request)Check credentials: username must match the email address of an EPerson record, and that EPerson must be allowed to login.intShibAuthentication. authenticate(Context context, String username, String password, String realm, javax.servlet.http.HttpServletRequest request)Authenticate the given or implicit credentials.intX509Authentication. authenticate(Context context, String username, String password, String realm, javax.servlet.http.HttpServletRequest request)X509 certificate authentication.intAuthenticationServiceImpl. authenticateImplicit(Context context, String username, String password, String realm, javax.servlet.http.HttpServletRequest request)protected intAuthenticationServiceImpl. authenticateInternal(Context context, String username, String password, String realm, javax.servlet.http.HttpServletRequest request, boolean implicitOnly)protected booleanShibAuthentication. autoCreateEpersonMetadataField(Context context, String metadataName)Automatically create a new metadataField for an epersonbooleanAuthenticationMethod. canSelfRegister(Context context, javax.servlet.http.HttpServletRequest request, String username)Predicate, whether to allow new EPerson to be created.booleanAuthenticationServiceImpl. canSelfRegister(Context context, javax.servlet.http.HttpServletRequest request, String username)booleanIPAuthentication. canSelfRegister(Context context, javax.servlet.http.HttpServletRequest request, String username)booleanLDAPAuthentication. canSelfRegister(Context context, javax.servlet.http.HttpServletRequest request, String username)Let a real auth method return true if it wants.booleanPasswordAuthentication. canSelfRegister(Context context, javax.servlet.http.HttpServletRequest request, String email)Look to see if this email address is allowed to register.booleanShibAuthentication. canSelfRegister(Context context, javax.servlet.http.HttpServletRequest request, String username)Indicate whether or not a particular user can self-register, based on e-mail address.booleanX509Authentication. canSelfRegister(Context context, javax.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 EPersonShibAuthentication. findEPerson(Context context, javax.servlet.http.HttpServletRequest request)Identify an existing EPerson based upon the shibboleth attributes provided on the request object.List<Group>AuthenticationMethod. getSpecialGroups(Context context, javax.servlet.http.HttpServletRequest request)Get list of extra groups that user implicitly belongs to.List<Group>AuthenticationServiceImpl. getSpecialGroups(Context context, javax.servlet.http.HttpServletRequest request)List<Group>IPAuthentication. getSpecialGroups(Context context, javax.servlet.http.HttpServletRequest request)List<Group>LDAPAuthentication. getSpecialGroups(Context context, javax.servlet.http.HttpServletRequest request)List<Group>PasswordAuthentication. getSpecialGroups(Context context, javax.servlet.http.HttpServletRequest request)Add authenticated users to the group defined in authentication-password.cfg by the login.specialgroup key.List<Group>ShibAuthentication. getSpecialGroups(Context context, javax.servlet.http.HttpServletRequest request)Get list of extra groups that user implicitly belongs to.List<Group>X509Authentication. getSpecialGroups(Context context, javax.servlet.http.HttpServletRequest request)Return special groups configured in dspace.cfg for X509 certificate authentication.voidAuthenticationMethod. initEPerson(Context context, javax.servlet.http.HttpServletRequest request, EPerson eperson)Initialize a new EPerson record for a self-registered new user.voidAuthenticationServiceImpl. initEPerson(Context context, javax.servlet.http.HttpServletRequest request, EPerson eperson)voidIPAuthentication. initEPerson(Context context, javax.servlet.http.HttpServletRequest request, EPerson eperson)voidLDAPAuthentication. initEPerson(Context context, javax.servlet.http.HttpServletRequest request, EPerson eperson)Nothing here, initialization is done when auto-registering.voidPasswordAuthentication. initEPerson(Context context, javax.servlet.http.HttpServletRequest request, EPerson eperson)Nothing extra to initialize.voidShibAuthentication. initEPerson(Context context, javax.servlet.http.HttpServletRequest request, EPerson eperson)Initialize a new e-person record for a self-registered new user.voidX509Authentication. initEPerson(Context context, javax.servlet.http.HttpServletRequest request, EPerson eperson)Nothing extra to initialize.protected voidShibAuthentication. initialize(Context context)Initialize Shibboleth Authentication.StringAuthenticationMethod. loginPageURL(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Get an external login page to which to redirect.StringIPAuthentication. loginPageURL(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)StringLDAPAuthentication. loginPageURL(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)StringPasswordAuthentication. loginPageURL(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Returns URL of password-login servlet.StringShibAuthentication. loginPageURL(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Get login page to which to redirect.StringX509Authentication. loginPageURL(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Returns URL of password-login servlet.protected EPersonShibAuthentication. registerNewEPerson(Context context, javax.servlet.http.HttpServletRequest request)Register a new eperson object.protected intShibAuthentication. swordCompatibility(Context context, String username, String password, javax.servlet.http.HttpServletRequest request)Provide password-based authentication to enable sword compatibility.protected voidShibAuthentication. updateEPerson(Context context, javax.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 Context Modifier and Type Method Description booleanAuthenticationService. allowSetPassword(Context context, javax.servlet.http.HttpServletRequest request, String username)Predicate, can user set EPerson password.intAuthenticationService. authenticate(Context context, String username, String password, String realm, javax.servlet.http.HttpServletRequest request)Test credentials for authenticity.intAuthenticationService. authenticateImplicit(Context context, String username, String password, String realm, javax.servlet.http.HttpServletRequest request)Test credentials for authenticity, using only Implicit methods.booleanAuthenticationService. canSelfRegister(Context context, javax.servlet.http.HttpServletRequest request, String username)Predicate, can a new EPerson be created.List<Group>AuthenticationService. getSpecialGroups(Context context, javax.servlet.http.HttpServletRequest request)Get list of extra groups that user implicitly belongs to.voidAuthenticationService. initEPerson(Context context, javax.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 Context Modifier and Type Method Description protected List<AuthorityValue>AuthorityValueServiceImpl. find(Context context, String queryString)List<AuthorityValue>AuthorityValueServiceImpl. findAll(Context context)List<AuthorityValue>AuthorityValueServiceImpl. findByAuthorityMetadata(Context context, String schema, String element, String qualifier, String value)List<AuthorityValue>AuthorityValueServiceImpl. findByExactValue(Context context, String field, String value)List<AuthorityValue>AuthorityValueServiceImpl. findByName(Context context, String schema, String element, String qualifier, String name)AuthorityValueAuthorityValueServiceImpl. findByOrcidID(Context context, String orcid_id)AuthorityValueAuthorityValueServiceImpl. findByUID(Context context, String authorityID)Item.ANY does not work here.List<AuthorityValue>AuthorityValueServiceImpl. findByValue(Context context, String field, String value)List<AuthorityValue>AuthorityValueServiceImpl. findByValue(Context context, String schema, String element, String qualifier, String value)List<AuthorityValue>AuthorityValueServiceImpl. findOrcidHolders(Context context)AuthorityValueAuthorityValueServiceImpl. generate(Context context, String authorityKey, String content, String field)voidAuthorityServiceImpl. indexItem(Context context, Item item)voidAuthorityValue. updateItem(Context context, Item currentItem, MetadataValue value)Replace an item's DCValue with this authorityConstructors in org.dspace.authority with parameters of type Context Constructor Description UpdateAuthorities(Context context) -
Uses of Context in org.dspace.authority.indexer
Methods in org.dspace.authority.indexer with parameters of type Context Modifier and Type Method Description voidAuthorityConsumer. consume(Context ctx, Event event)voidAuthorityConsumer. end(Context ctx)voidAuthorityConsumer. finish(Context ctx)List<AuthorityValue>AuthorityIndexerInterface. getAuthorityValues(Context context, Item item)List<AuthorityValue>AuthorityIndexerInterface. getAuthorityValues(Context context, Item item, Map<String,AuthorityValue> cache)List<AuthorityValue>DSpaceAuthorityIndexer. getAuthorityValues(Context context, Item item)List<AuthorityValue>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 Context Modifier and Type Method Description List<AuthorityValue>AuthorityValueService. findAll(Context context)List<AuthorityValue>AuthorityValueService. findByAuthorityMetadata(Context context, String schema, String element, String qualifier, String value)List<AuthorityValue>AuthorityValueService. findByExactValue(Context context, String field, String value)List<AuthorityValue>AuthorityValueService. findByName(Context context, String schema, String element, String qualifier, String name)AuthorityValueAuthorityValueService. findByOrcidID(Context context, String orcid_id)AuthorityValueAuthorityValueService. findByUID(Context context, String authorityID)List<AuthorityValue>AuthorityValueService. findByValue(Context context, String field, String value)List<AuthorityValue>AuthorityValueService. findByValue(Context context, String schema, String element, String qualifier, String value)List<AuthorityValue>AuthorityValueService. findOrcidHolders(Context context)AuthorityValueAuthorityValueService. generate(Context context, String authorityKey, String content, String field)voidAuthorityService. indexItem(Context context, Item item)Add anItemto the authority index. -
Uses of Context in org.dspace.authorize
Methods in org.dspace.authorize with parameters of type Context Modifier and Type Method Description voidAuthorizeServiceImpl. 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)ResourcePolicyResourcePolicyServiceImpl. 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)ResourcePolicyResourcePolicyServiceImpl. create(Context context)Create a new ResourcePolicyResourcePolicyAuthorizeServiceImpl. createOrModifyPolicy(ResourcePolicy policy, Context context, String name, Group group, EPerson ePerson, Date embargoDate, int action, String reason, DSpaceObject dso)ResourcePolicyAuthorizeServiceImpl. createResourcePolicy(Context context, DSpaceObject dso, Group group, EPerson eperson, int type, String rpType)ResourcePolicyAuthorizeServiceImpl. createResourcePolicy(Context context, DSpaceObject dso, Group group, EPerson eperson, int type, String rpType, String rpName, String rpDescription, Date startDate, Date endDate)voidResourcePolicyServiceImpl. delete(Context context, ResourcePolicy resourcePolicy)Delete an ResourcePolicyResourcePolicyResourcePolicyServiceImpl. find(Context context, int id)Get an ResourcePolicy from the database.List<ResourcePolicy>ResourcePolicyServiceImpl. find(Context c, DSpaceObject o)List<ResourcePolicy>ResourcePolicyServiceImpl. find(Context c, DSpaceObject o, int actionId)List<ResourcePolicy>ResourcePolicyServiceImpl. find(Context c, DSpaceObject o, String type)List<ResourcePolicy>ResourcePolicyServiceImpl. find(Context c, DSpaceObject dso, Group group, int action)List<ResourcePolicy>ResourcePolicyServiceImpl. find(Context context, EPerson ePerson)List<ResourcePolicy>ResourcePolicyServiceImpl. find(Context c, EPerson e, List<Group> groups, int action, int type_id)List<ResourcePolicy>ResourcePolicyServiceImpl. find(Context context, Group group)List<Collection>AuthorizeServiceImpl. findAdminAuthorizedCollection(Context context, String query, int offset, int limit)Finds collections for which the logged in user has ADMIN rights.List<Community>AuthorizeServiceImpl. findAdminAuthorizedCommunity(Context context, String query, int offset, int limit)Finds communities for which the logged in user has ADMIN rights.List<ResourcePolicy>ResourcePolicyServiceImpl. findByEPerson(Context context, EPerson ePerson, int offset, int limit)List<ResourcePolicy>ResourcePolicyServiceImpl. findByEPersonAndResourceUuid(Context context, EPerson eperson, UUID resourceUuid, int offset, int limit)List<ResourcePolicy>ResourcePolicyServiceImpl. findByGroup(Context context, Group group, int offset, int limit)List<ResourcePolicy>ResourcePolicyServiceImpl. findByGroupAndResourceUuid(Context context, Group group, UUID resourceUuid, int offset, int limit)List<ResourcePolicy>ResourcePolicyServiceImpl. findByResouceUuid(Context context, UUID resourceUuid, int offset, int limit)List<ResourcePolicy>ResourcePolicyServiceImpl. findByResouceUuidAndActionId(Context context, UUID resourceUuid, int actionId, int offset, int limit)ResourcePolicyAuthorizeServiceImpl. findByTypeGroupAction(Context c, DSpaceObject dso, Group group, int action)List<ResourcePolicy>ResourcePolicyServiceImpl. findByTypeGroupActionExceptId(Context context, DSpaceObject dso, Group group, int action, int notPolicyID)List<ResourcePolicy>ResourcePolicyServiceImpl. findExceptRpType(Context c, DSpaceObject o, int actionID, String rpType)List<ResourcePolicy>AuthorizeServiceImpl. findPoliciesByDSOAndType(Context c, DSpaceObject o, String type)voidAuthorizeServiceImpl. generateAutomaticPolicies(Context context, Date embargoDate, String reason, DSpaceObject dso, Collection owningCollection)Generate Policies policies READ for the date in input adding reason.List<Group>AuthorizeServiceImpl. getAuthorizedGroups(Context c, DSpaceObject o, int actionID)List<ResourcePolicy>AuthorizeServiceImpl. getPolicies(Context c, DSpaceObject o)List<ResourcePolicy>AuthorizeServiceImpl. getPoliciesActionFilter(Context c, DSpaceObject o, int actionID)List<ResourcePolicy>AuthorizeServiceImpl. getPoliciesActionFilterExceptRpType(Context c, DSpaceObject o, int actionID, String rpType)List<ResourcePolicy>AuthorizeServiceImpl. getPoliciesForGroup(Context c, Group g)voidAuthorizeServiceImpl. inheritPolicies(Context c, DSpaceObject src, DSpaceObject dest)booleanAuthorizeServiceImpl. isAdmin(Context c)booleanAuthorizeServiceImpl. isAdmin(Context c, DSpaceObject o)booleanAuthorizeServiceImpl. isAdmin(Context c, EPerson e)booleanAuthorizeServiceImpl. 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.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)voidAuthorizeServiceImpl. removePoliciesActionFilter(Context context, DSpaceObject dso, int actionID)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, Date startDate, Date 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, Date startDate, Date 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 Context Modifier and Type Method Description intResourcePolicyDAO. 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. 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)List<ResourcePolicy>ResourcePolicyDAO. findByDso(Context context, DSpaceObject dso)List<ResourcePolicy>ResourcePolicyDAO. findByDSoAndAction(Context context, DSpaceObject dso, int actionId)List<ResourcePolicy>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 rpTypeList<ResourcePolicy>ResourcePolicyDAO. findByDsoAndType(Context context, DSpaceObject dSpaceObject, String type)List<ResourcePolicy>ResourcePolicyDAO. findByEPerson(Context context, EPerson ePerson)List<ResourcePolicy>ResourcePolicyDAO. findByEPerson(Context context, EPerson ePerson, int offset, int limit)Return a paginated list of policies that belong to an EPersonList<ResourcePolicy>ResourcePolicyDAO. findByEPersonAndResourceUuid(Context context, EPerson ePerson, UUID resourceUuid, int offset, int limit)Return a paginated list of policies related to a resourceUuid belong to an ePersonList<ResourcePolicy>ResourcePolicyDAO. findByEPersonGroupTypeIdAction(Context context, EPerson e, List<Group> groups, int action, int type_id)List<ResourcePolicy>ResourcePolicyDAO. findByGroup(Context context, Group group)List<ResourcePolicy>ResourcePolicyDAO. findByGroup(Context context, Group group, int offset, int limit)Return a paginated list of policies related to a groupList<ResourcePolicy>ResourcePolicyDAO. 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 resourceUuidList<ResourcePolicy>ResourcePolicyDAO. findByResouceUuid(Context context, UUID resourceUuid, int offset, int limit)Return a paginated list of policies related to a DSpace resourceList<ResourcePolicy>ResourcePolicyDAO. findByResouceUuidAndActionId(Context context, UUID resourceUuid, int actionId, int offset, int limit)Return a paginated list of policies related to a DSpace resource filter by actionIdList<ResourcePolicy>ResourcePolicyDAO. findByTypeGroupAction(Context context, DSpaceObject dso, Group group, int action)List<ResourcePolicy>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.ResourcePolicyResourcePolicyDAO. 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 Context Modifier and Type Method Description intResourcePolicyDAOImpl. 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. 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)List<ResourcePolicy>ResourcePolicyDAOImpl. findByDso(Context context, DSpaceObject dso)List<ResourcePolicy>ResourcePolicyDAOImpl. findByDSoAndAction(Context context, DSpaceObject dso, int actionId)List<ResourcePolicy>ResourcePolicyDAOImpl. findByDSoAndActionExceptRpType(Context context, DSpaceObject dso, int action, String rpType)List<ResourcePolicy>ResourcePolicyDAOImpl. findByDsoAndType(Context context, DSpaceObject dso, String type)List<ResourcePolicy>ResourcePolicyDAOImpl. findByEPerson(Context context, EPerson ePerson)List<ResourcePolicy>ResourcePolicyDAOImpl. findByEPerson(Context context, EPerson ePerson, int offset, int limit)List<ResourcePolicy>ResourcePolicyDAOImpl. findByEPersonAndResourceUuid(Context context, EPerson ePerson, UUID resourceUuid, int offset, int limit)List<ResourcePolicy>ResourcePolicyDAOImpl. findByEPersonGroupTypeIdAction(Context context, EPerson e, List<Group> groups, int action, int type_id)List<ResourcePolicy>ResourcePolicyDAOImpl. findByGroup(Context context, Group group)List<ResourcePolicy>ResourcePolicyDAOImpl. findByGroup(Context context, Group group, int offset, int limit)List<ResourcePolicy>ResourcePolicyDAOImpl. findByGroupAndResourceUuid(Context context, Group group, UUID resourceUuid, int offset, int limit)List<ResourcePolicy>ResourcePolicyDAOImpl. findByResouceUuid(Context context, UUID resourceUuid, int offset, int limit)List<ResourcePolicy>ResourcePolicyDAOImpl. findByResouceUuidAndActionId(Context context, UUID resourceUuid, int actionId, int offset, int limit)List<ResourcePolicy>ResourcePolicyDAOImpl. findByTypeGroupAction(Context context, DSpaceObject dso, Group group, int action)List<ResourcePolicy>ResourcePolicyDAOImpl. findByTypeGroupActionExceptId(Context context, DSpaceObject dso, Group group, int action, int notPolicyID)ResourcePolicyResourcePolicyDAOImpl. findOneById(Context context, Integer id) -
Uses of Context in org.dspace.authorize.service
Methods in org.dspace.authorize.service with parameters of type Context Modifier and Type Method Description voidAuthorizeService. 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 specif 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.ResourcePolicyResourcePolicyService. clone(Context context, ResourcePolicy resourcePolicy)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 groupResourcePolicyAuthorizeService. createOrModifyPolicy(ResourcePolicy policy, Context context, String name, Group group, EPerson ePerson, Date embargoDate, int action, String reason, DSpaceObject dso)ResourcePolicyAuthorizeService. createResourcePolicy(Context context, DSpaceObject dso, Group group, EPerson eperson, int type, String rpType)ResourcePolicyAuthorizeService. createResourcePolicy(Context context, DSpaceObject dso, Group group, EPerson eperson, int type, String rpType, String rpName, String rpDescription, Date startDate, Date endDate)List<ResourcePolicy>ResourcePolicyService. find(Context c, DSpaceObject o)List<ResourcePolicy>ResourcePolicyService. find(Context c, DSpaceObject o, int actionId)List<ResourcePolicy>ResourcePolicyService. find(Context c, DSpaceObject o, String type)List<ResourcePolicy>ResourcePolicyService. find(Context c, DSpaceObject dso, Group group, int action)List<ResourcePolicy>ResourcePolicyService. find(Context c, EPerson ePerson)Retrieve a list of ResourcePolicies by EPersonList<ResourcePolicy>ResourcePolicyService. find(Context c, EPerson e, List<Group> groups, int action, int type_id)List<ResourcePolicy>ResourcePolicyService. find(Context context, Group group)List<Collection>AuthorizeService. findAdminAuthorizedCollection(Context context, String query, int offset, int limit)Finds collections for which the current user is admin, AND which match the query.List<Community>AuthorizeService. findAdminAuthorizedCommunity(Context context, String query, int offset, int limit)Finds communities for which the current user is admin, AND which match the query.List<ResourcePolicy>ResourcePolicyService. findByEPerson(Context context, EPerson ePerson, int offset, int limit)Return a paginated list of policies that belong to an EPersonList<ResourcePolicy>ResourcePolicyService. findByEPersonAndResourceUuid(Context context, EPerson ePerson, UUID resourceUuid, int offset, int limit)Return a paginated list of policies related to a resourceUuid belong to an ePersonList<ResourcePolicy>ResourcePolicyService. findByGroup(Context context, Group group, int offset, int limit)Return a paginated list of policies related to a groupList<ResourcePolicy>ResourcePolicyService. 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 resourceUuidList<ResourcePolicy>ResourcePolicyService. findByResouceUuid(Context context, UUID resourceUuid, int offset, int limit)Return a paginated list of policies related to a DSpace resourceList<ResourcePolicy>ResourcePolicyService. findByResouceUuidAndActionId(Context context, UUID resourceUuid, int actionId, int offset, int limit)Return a paginated list of policies related to a DSpace resource filter by actionIdResourcePolicyAuthorizeService. findByTypeGroupAction(Context c, DSpaceObject dso, Group group, int action)List<ResourcePolicy>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.List<ResourcePolicy>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 rpTypeList<ResourcePolicy>AuthorizeService. findPoliciesByDSOAndType(Context c, DSpaceObject o, String type)Return a List of the policies for an objectvoidAuthorizeService. generateAutomaticPolicies(Context context, Date embargoDate, String reason, DSpaceObject dso, Collection owningCollection)Generate Policies policies READ for the date in input adding reason.List<Group>AuthorizeService. getAuthorizedGroups(Context c, DSpaceObject o, int actionID)Returns all groups authorized to perform an action on an object.List<ResourcePolicy>AuthorizeService. getPolicies(Context c, DSpaceObject o)Return a List of the policies for an objectList<ResourcePolicy>AuthorizeService. getPoliciesActionFilter(Context c, DSpaceObject o, int actionID)Return a list of policies for an object that match the actionList<ResourcePolicy>AuthorizeService. 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 rpTypeList<ResourcePolicy>AuthorizeService. 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. isAdmin(Context c)Check 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.booleanAuthorizeService. isAdmin(Context c, EPerson e)Check 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.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)voidAuthorizeService. removePoliciesActionFilter(Context context, DSpaceObject dso, int actionID)Remove all policies from an object that match a given action.voidAuthorizeService. 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) -
Uses of Context in org.dspace.browse
Methods in org.dspace.browse that return Context Modifier and Type Method Description ContextBrowserScope. getContext()Methods in org.dspace.browse with parameters of type Context Modifier and Type Method Description static BrowseDAOBrowseDAOFactory. getInstance(Context context)Get an instance of the relevant Read Only DAO class, which will conform to the BrowseDAO interfacestatic ItemCountDAOItemCountDAOFactory. getInstance(Context context)Get an instance of ItemCountDAO which supports the correct storage backend for the specific DSpace instance.voidBrowserScope. setContext(Context context)voidItemCountDAO. setContext(Context context)Set the DSpace Context to use during data accessvoidItemCountDAOSolr. setContext(Context context)Set the dspace context to useConstructors in org.dspace.browse with parameters of type Context Constructor Description BrowseEngine(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 ContextItemCounter(Context context)Construct a new item counter which will use the given DSpace ContextSolrBrowseDAO(Context context) -
Uses of Context in org.dspace.checker
Fields in org.dspace.checker declared as Context Modifier and Type Field Description protected ContextHandleDispatcher. contextprotected ContextSimpleDispatcher. contextMethods in org.dspace.checker with parameters of type Context Modifier and Type Method Description voidChecksumHistoryServiceImpl. addHistory(Context context, MostRecentChecksum mostRecentChecksum)voidChecksumResultsCollector. collect(Context context, MostRecentChecksum info)Collects results.voidResultsLogger. collect(Context context, MostRecentChecksum info)Collect a result for logging.voidCheckerConsumer. consume(Context ctx, Event event)Consume an eventvoidChecksumHistoryServiceImpl. deleteByBitstream(Context context, Bitstream bitstream)voidMostRecentChecksumServiceImpl. deleteByBitstream(Context context, Bitstream bitstream)intChecksumHistoryServiceImpl. deleteByDateAndCode(Context context, Date retentionDate, ChecksumResultCode checksumResultCode)Delete the history records from the database.voidCheckerConsumer. end(Context ctx)Signal that there are no more events queued in this event stream.List<ChecksumResult>ChecksumResultServiceImpl. findAll(Context context)Get a list of all the possible result codes.List<MostRecentChecksum>MostRecentChecksumServiceImpl. findBitstreamResultTypeReport(Context context, Date startDate, Date endDate, ChecksumResultCode resultCode)Select the most recent bitstream for a given date range with the specified status.MostRecentChecksumMostRecentChecksumServiceImpl. findByBitstream(Context context, Bitstream bitstream)ChecksumResultChecksumResultServiceImpl. findByCode(Context context, ChecksumResultCode code)Get the result description for the given result codeList<MostRecentChecksum>MostRecentChecksumServiceImpl. findNotInHistory(Context context)List<MostRecentChecksum>MostRecentChecksumServiceImpl. findNotProcessedBitstreamsReport(Context context, Date startDate, Date endDate)Find all bitstreams that were set to not be processed for the specified date range.MostRecentChecksumMostRecentChecksumServiceImpl. findOldestRecord(Context context)Get the oldest most recent checksum record.MostRecentChecksumMostRecentChecksumServiceImpl. findOldestRecord(Context context, Date lessThanDate)Returns the oldest bitstream that in the set of bitstreams that are less than the specified date.voidCheckerConsumer. finish(Context ctx)Finish - free any allocated resources.intSimpleReporterServiceImpl. getBitstreamNotFoundReport(Context context, Date startDate, Date endDate, OutputStreamWriter osw)Send the bitstream not found report for the specified date range.intSimpleReporterServiceImpl. getChangedChecksumReport(Context context, Date startDate, Date 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, Date startDate, Date endDate, OutputStreamWriter osw)Sends the Deleted bitstream report to an administrator.intSimpleReporterServiceImpl. getNotToBeProcessedReport(Context context, Date startDate, Date endDate, OutputStreamWriter osw)Send the bitstreams that were set to not be processed report for the specified date range.static ResultsPrunerResultsPruner. getPruner(Context context, String propsFile)Factory 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 Context Constructor Description CheckerCommand(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, Date 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 Context Modifier and Type Method Description voidChecksumHistoryDAO. deleteByBitstream(Context context, Bitstream bitstream)Delete all ChecksumHistory rows for the given Bitstream.voidMostRecentChecksumDAO. deleteByBitstream(Context context, Bitstream bitstream)intChecksumHistoryDAO. deleteByDateAndCode(Context context, Date retentionDate, ChecksumResultCode checksumResultCode)Delete all ChecksumHistory rows with retention date before the given and the specified result code.MostRecentChecksumMostRecentChecksumDAO. findByBitstream(Context context, Bitstream bitstream)ChecksumResultChecksumResultDAO. findByCode(Context context, ChecksumResultCode code)List<MostRecentChecksum>MostRecentChecksumDAO. findByNotProcessedInDateRange(Context context, Date startDate, Date endDate)List<MostRecentChecksum>MostRecentChecksumDAO. findByResultTypeInDateRange(Context context, Date startDate, Date endDate, ChecksumResultCode resultCode)List<MostRecentChecksum>MostRecentChecksumDAO. findNotInHistory(Context context)MostRecentChecksumMostRecentChecksumDAO. getOldestRecord(Context context)MostRecentChecksumMostRecentChecksumDAO. getOldestRecord(Context context, Date lessThanDate) -
Uses of Context in org.dspace.checker.dao.impl
Methods in org.dspace.checker.dao.impl with parameters of type Context Modifier and Type Method Description voidChecksumHistoryDAOImpl. deleteByBitstream(Context context, Bitstream bitstream)voidMostRecentChecksumDAOImpl. deleteByBitstream(Context context, Bitstream bitstream)intChecksumHistoryDAOImpl. deleteByDateAndCode(Context context, Date retentionDate, ChecksumResultCode resultCode)MostRecentChecksumMostRecentChecksumDAOImpl. findByBitstream(Context context, Bitstream bitstream)ChecksumResultChecksumResultDAOImpl. findByCode(Context context, ChecksumResultCode code)List<MostRecentChecksum>MostRecentChecksumDAOImpl. findByNotProcessedInDateRange(Context context, Date startDate, Date endDate)List<MostRecentChecksum>MostRecentChecksumDAOImpl. findByResultTypeInDateRange(Context context, Date startDate, Date endDate, ChecksumResultCode resultCode)List<MostRecentChecksum>MostRecentChecksumDAOImpl. findNotInHistory(Context context)MostRecentChecksumMostRecentChecksumDAOImpl. getOldestRecord(Context context)MostRecentChecksumMostRecentChecksumDAOImpl. getOldestRecord(Context context, Date lessThanDate) -
Uses of Context in org.dspace.checker.service
Methods in org.dspace.checker.service with parameters of type Context Modifier and Type Method Description voidChecksumHistoryService. addHistory(Context context, MostRecentChecksum mostRecentChecksum)voidChecksumHistoryService. deleteByBitstream(Context context, Bitstream bitstream)voidMostRecentChecksumService. deleteByBitstream(Context context, Bitstream bitstream)intChecksumHistoryService. deleteByDateAndCode(Context context, Date retentionDate, ChecksumResultCode result)List<ChecksumResult>ChecksumResultService. findAll(Context context)List<MostRecentChecksum>MostRecentChecksumService. findBitstreamResultTypeReport(Context context, Date startDate, Date endDate, ChecksumResultCode resultCode)MostRecentChecksumMostRecentChecksumService. findByBitstream(Context context, Bitstream bitstream)ChecksumResultChecksumResultService. findByCode(Context context, ChecksumResultCode code)List<MostRecentChecksum>MostRecentChecksumService. findNotInHistory(Context context)List<MostRecentChecksum>MostRecentChecksumService. findNotProcessedBitstreamsReport(Context context, Date startDate, Date endDate)MostRecentChecksumMostRecentChecksumService. findOldestRecord(Context context)MostRecentChecksumMostRecentChecksumService. findOldestRecord(Context context, Date lessThanDate)intSimpleReporterService. getBitstreamNotFoundReport(Context context, Date startDate, Date 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, Date startDate, Date 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, Date startDate, Date endDate, OutputStreamWriter osw)Returns the bitstreams set found to be deleted for the specified date range.intSimpleReporterService. getNotToBeProcessedReport(Context context, Date startDate, Date 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 Context Modifier and Type Method Description voidDSpaceObjectServiceImpl. 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)voidItemServiceImpl. addBundle(Context context, Item item, Bundle bundle)voidCommunityServiceImpl. 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)MetadataValueDSpaceObjectServiceImpl. addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value)MetadataValueDSpaceObjectServiceImpl. addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value, String authority, int confidence)MetadataValueDSpaceObjectServiceImpl. addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value, String authority, int confidence, int place)List<MetadataValue>DSpaceObjectServiceImpl. addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, List<String> values)List<MetadataValue>DSpaceObjectServiceImpl. addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, List<String> values, List<String> authorities, List<Integer> confidences)MetadataValueDSpaceObjectServiceImpl. addMetadata(Context context, T dso, MetadataField metadataField, String language, String value)MetadataValueDSpaceObjectServiceImpl. addMetadata(Context context, T dso, MetadataField metadataField, String language, String value, String authority, int confidence)List<MetadataValue>DSpaceObjectServiceImpl. addMetadata(Context context, T dso, MetadataField metadataField, String language, List<String> values)List<MetadataValue>DSpaceObjectServiceImpl. addMetadata(Context context, T dso, MetadataField metadataField, String lang, List<String> values, List<String> authorities, List<Integer> confidences)List<MetadataValue>DSpaceObjectServiceImpl. addMetadata(Context context, T dso, MetadataField metadataField, String lang, List<String> values, List<String> authorities, List<Integer> confidences, Supplier<Integer> placeSupplier)MetadataValueItemServiceImpl. 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. adjustBundleBitstreamPolicies(Context context, Item item, Collection collection)voidItemServiceImpl. adjustItemPolicies(Context context, Item item, Collection collection)booleanItemServiceImpl. canCreateNewVersion(Context context, Item item)voidCollectionServiceImpl. canEdit(Context context, Collection collection)voidCollectionServiceImpl. canEdit(Context context, Collection collection, boolean useInheritance)voidCommunityServiceImpl. canEdit(Context context, Community community)booleanItemServiceImpl. canEdit(Context context, Item item)booleanCollectionServiceImpl. 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)BitstreamBitstreamServiceImpl. clone(Context context, Bitstream bitstream)intItemServiceImpl. countAllItems(Context context, Collection collection)intItemServiceImpl. countAllItems(Context context, Community community)intItemServiceImpl. 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. countByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft)intRelationshipServiceImpl. countByItemRelationshipTypeAndRelatedList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft)intRelationshipServiceImpl. countByRelationshipType(Context context, RelationshipType relationshipType)LongBitstreamServiceImpl. 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)intItemServiceImpl. countItems(Context context, Collection collection)intItemServiceImpl. countItems(Context context, Community community)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)BitstreamFormatBitstreamFormatServiceImpl. create(Context context)BitstreamBitstreamServiceImpl. create(Context context, InputStream is)BitstreamBitstreamServiceImpl. create(Context context, Bundle bundle, InputStream is)BundleBundleServiceImpl. create(Context context, Item item, String name)CollectionCollectionServiceImpl. create(Context context, Community community)CollectionCollectionServiceImpl. create(Context context, Community community, String handle)CollectionCollectionServiceImpl. create(Context context, Community community, String handle, UUID uuid)CommunityCommunityServiceImpl. create(Community parent, Context context)CommunityCommunityServiceImpl. create(Community parent, Context context, String handle)CommunityCommunityServiceImpl. create(Community parent, Context context, String handle, UUID uuid)EntityTypeEntityTypeServiceImpl. create(Context context)EntityTypeEntityTypeServiceImpl. create(Context context, String entityTypeString)ItemItemServiceImpl. create(Context context, WorkspaceItem workspaceItem)ItemItemServiceImpl. create(Context context, WorkspaceItem workspaceItem, UUID uuid)MetadataFieldMetadataFieldServiceImpl. create(Context context, MetadataSchema metadataSchema, String element, String qualifier, String scopeNote)MetadataSchemaMetadataSchemaServiceImpl. create(Context context, String name, String namespace)MetadataValueMetadataValueServiceImpl. create(Context context, DSpaceObject dso, MetadataField metadataField)RelationshipRelationshipServiceImpl. create(Context context)RelationshipRelationshipServiceImpl. create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace)RelationshipRelationshipServiceImpl. create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace, String leftwardValue, String rightwardValue)RelationshipRelationshipServiceImpl. create(Context context, Relationship relationship)RelationshipTypeRelationshipTypeServiceImpl. create(Context context)RelationshipTypeRelationshipTypeServiceImpl. create(Context context, EntityType leftEntityType, EntityType rightEntityType, String leftwardType, String rightwardType, Integer leftCardinalityMinInteger, Integer leftCardinalityMaxInteger, Integer rightCardinalityMinInteger, Integer rightCardinalityMaxInteger)RelationshipTypeRelationshipTypeServiceImpl. 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)RelationshipTypeRelationshipTypeServiceImpl. create(Context context, RelationshipType relationshipType)WorkspaceItemWorkspaceItemServiceImpl. create(Context context, Collection collection, boolean template)WorkspaceItemWorkspaceItemServiceImpl. create(Context context, Collection collection, UUID uuid, boolean template)WorkspaceItemWorkspaceItemServiceImpl. create(Context c, WorkflowItem workflowItem)GroupCollectionServiceImpl. createAdministrators(Context context, Collection collection)GroupCommunityServiceImpl. createAdministrators(Context context, Community community)GroupCollectionServiceImpl. createDefaultReadGroup(Context context, Collection collection, String typeOfGroupString, int defaultRead)protected ItemItemServiceImpl. createItem(Context context)protected ItemItemServiceImpl. createItem(Context context, UUID uuid)BitstreamItemServiceImpl. createSingleBitstream(Context context, InputStream is, Item item)BitstreamItemServiceImpl. createSingleBitstream(Context context, InputStream is, Item item, String name)SiteSiteServiceImpl. createSite(Context context)CommunityCommunityServiceImpl. createSubcommunity(Context context, Community parentCommunity)CommunityCommunityServiceImpl. createSubcommunity(Context context, Community parentCommunity, String handle)CommunityCommunityServiceImpl. createSubcommunity(Context context, Community parentCommunity, String handle, UUID uuid)GroupCollectionServiceImpl. createSubmitters(Context context, Collection collection)voidCollectionServiceImpl. createTemplateItem(Context context, Collection collection)ItemItemServiceImpl. createTemplateItem(Context context, Collection collection)GroupCollectionServiceImpl. createWorkflowGroup(Context context, Collection collection, int step)voidBitstreamFormatServiceImpl. delete(Context context, BitstreamFormat bitstreamFormat)voidBitstreamServiceImpl. delete(Context context, Bitstream bitstream)voidBundleServiceImpl. delete(Context context, Bundle bundle)voidCollectionServiceImpl. delete(Context context, Collection collection)voidCommunityServiceImpl. delete(Context context, Community community)voidEntityTypeServiceImpl. delete(Context context, EntityType entityType)voidItemServiceImpl. delete(Context context, Item item)voidMetadataFieldServiceImpl. 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)voidSiteServiceImpl. delete(Context context, Site dso)voidWorkspaceItemServiceImpl. 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)DSpaceCSVMetadataDSpaceCsvExportServiceImpl. export(Context context, Iterator<Item> toExport, boolean exportAll)DSpaceCSVMetadataDSpaceCsvExportServiceImpl. export(Context context, Community community, boolean exportAll)voidBitstreamServiceImpl. expunge(Context context, Bitstream bitstream)BitstreamFormatBitstreamFormatServiceImpl. find(Context context, int id)Get a bitstream format from the database.BitstreamBitstreamServiceImpl. find(Context context, UUID id)BundleBundleServiceImpl. find(Context context, UUID id)CollectionCollectionServiceImpl. find(Context context, UUID id)CommunityCommunityServiceImpl. find(Context context, UUID id)EntityTypeEntityTypeServiceImpl. find(Context context, int id)ItemItemServiceImpl. find(Context context, UUID id)MetadataFieldMetadataFieldServiceImpl. find(Context context, int id)MetadataSchemaMetadataSchemaServiceImpl. find(Context context, int id)MetadataSchemaMetadataSchemaServiceImpl. find(Context context, String shortName)MetadataValueMetadataValueServiceImpl. find(Context context, int valueId)RelationshipRelationshipServiceImpl. find(Context context, int id)RelationshipTypeRelationshipTypeServiceImpl. find(Context context, int id)SiteSiteServiceImpl. find(Context context, UUID id)WorkspaceItemWorkspaceItemServiceImpl. find(Context context, int id)List<BitstreamFormat>BitstreamFormatServiceImpl. findAll(Context context)List<Bitstream>BitstreamServiceImpl. findAll(Context context)Iterator<Bitstream>BitstreamServiceImpl. findAll(Context context, int limit, int offset)List<Collection>CollectionServiceImpl. findAll(Context context)List<Collection>CollectionServiceImpl. findAll(Context context, Integer limit, Integer offset)List<Community>CommunityServiceImpl. findAll(Context context)List<Community>CommunityServiceImpl. findAll(Context context, Integer limit, Integer offset)List<EntityType>EntityTypeServiceImpl. findAll(Context context)List<EntityType>EntityTypeServiceImpl. findAll(Context context, Integer limit, Integer offset)Iterator<Item>ItemServiceImpl. findAll(Context context)Iterator<Item>ItemServiceImpl. findAll(Context context, Integer limit, Integer offset)List<MetadataField>MetadataFieldServiceImpl. findAll(Context context)List<MetadataSchema>MetadataSchemaServiceImpl. findAll(Context context)List<Relationship>RelationshipServiceImpl. findAll(Context context)List<Relationship>RelationshipServiceImpl. findAll(Context context, Integer limit, Integer offset)List<RelationshipType>RelationshipTypeServiceImpl. findAll(Context context)List<RelationshipType>RelationshipTypeServiceImpl. findAll(Context context, Integer limit, Integer offset)List<WorkspaceItem>WorkspaceItemServiceImpl. findAll(Context context)List<WorkspaceItem>WorkspaceItemServiceImpl. findAll(Context context, Integer limit, Integer offset)Iterator<Item>ItemServiceImpl. findAllByCollection(Context context, Collection collection)Iterator<Item>ItemServiceImpl. findAllByCollection(Context context, Collection collection, Integer limit, Integer offset)List<MetadataField>MetadataFieldServiceImpl. findAllInSchema(Context context, MetadataSchema metadataSchema)List<WorkspaceItem>WorkspaceItemServiceImpl. findAllSupervisedItems(Context context)List<Community>CommunityServiceImpl. findAllTop(Context context)Iterator<Item>ItemServiceImpl. findAllUnfiltered(Context context)List<Collection>CollectionServiceImpl. findAuthorized(Context context, Community community, int actionID)List<Community>CommunityServiceImpl. findAuthorized(Context context, List<Integer> actions)List<Community>CommunityServiceImpl. findAuthorizedGroupMapped(Context context, List<Integer> actions)List<Collection>CollectionServiceImpl. findAuthorizedOptimized(Context context, int actionID)List<Bitstream>BitstreamServiceImpl. findBitstreamsWithNoRecentChecksum(Context context)CommunityCommunityServiceImpl. findByAdminGroup(Context context, Group group)Iterator<Item>ItemServiceImpl. findByAuthorityValue(Context context, String schema, String element, String qualifier, String value)Iterator<Item>ItemServiceImpl. findByCollection(Context context, Collection collection)Iterator<Item>ItemServiceImpl. findByCollection(Context context, Collection collection, Integer limit, Integer offset)List<WorkspaceItem>WorkspaceItemServiceImpl. findByCollection(Context context, Collection collection)Iterator<Item>ItemServiceImpl. findByCollectionMapping(Context context, Collection collection, Integer limit, Integer offset)MetadataFieldMetadataFieldServiceImpl. findByElement(Context context, String metadataSchemaName, String element, String qualifier)MetadataFieldMetadataFieldServiceImpl. findByElement(Context context, MetadataSchema metadataSchema, String element, String qualifier)EntityTypeEntityTypeServiceImpl. findByEntityType(Context context, String entityType)List<RelationshipType>RelationshipTypeServiceImpl. findByEntityType(Context context, EntityType entityType)List<RelationshipType>RelationshipTypeServiceImpl. findByEntityType(Context context, EntityType entityType, boolean isLeft)List<RelationshipType>RelationshipTypeServiceImpl. findByEntityType(Context context, EntityType entityType, boolean isLeft, Integer limit, Integer offset)List<RelationshipType>RelationshipTypeServiceImpl. findByEntityType(Context context, EntityType entityType, Integer limit, Integer offset)List<WorkspaceItem>SupervisedItemServiceImpl. findbyEPerson(Context context, EPerson ep)List<WorkspaceItem>WorkspaceItemServiceImpl. findByEPerson(Context context, EPerson ep)List<WorkspaceItem>WorkspaceItemServiceImpl. findByEPerson(Context context, EPerson ep, Integer limit, Integer offset)List<MetadataValue>MetadataValueServiceImpl. findByField(Context context, MetadataField metadataField)Iterator<MetadataValue>MetadataValueServiceImpl. findByFieldAndValue(Context context, MetadataField metadataField, String value)CollectionCollectionServiceImpl. findByGroup(Context context, Group group)BitstreamBitstreamServiceImpl. findByIdOrLegacyId(Context context, String id)BundleBundleServiceImpl. findByIdOrLegacyId(Context context, String id)CollectionCollectionServiceImpl. findByIdOrLegacyId(Context context, String id)CommunityCommunityServiceImpl. findByIdOrLegacyId(Context context, String id)ItemItemServiceImpl. findByIdOrLegacyId(Context context, String id)List<Relationship>RelationshipServiceImpl. findByItem(Context context, Item item)List<Relationship>RelationshipServiceImpl. findByItem(Context context, Item item, Integer limit, Integer offset, boolean excludeTilted)WorkspaceItemWorkspaceItemServiceImpl. findByItem(Context context, Item item)List<Relationship>RelationshipServiceImpl. findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType)List<Relationship>RelationshipServiceImpl. findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft)List<Relationship>RelationshipServiceImpl. findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, int limit, int offset)List<Relationship>RelationshipServiceImpl. findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, int limit, int offset)EntityEntityServiceImpl. findByItemId(Context context, UUID itemId)EntityEntityServiceImpl. findByItemId(Context context, UUID itemId, Integer limit, Integer offset)List<Relationship>RelationshipServiceImpl. findByItemRelationshipTypeAndRelatedList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft, int offset, int limit)Iterator<Item>ItemServiceImpl. findByLastModifiedSince(Context context, Date last)List<RelationshipType>RelationshipTypeServiceImpl. findByLeftwardOrRightwardTypeName(Context context, String typeName)List<RelationshipType>RelationshipTypeServiceImpl. findByLeftwardOrRightwardTypeName(Context context, String typeName, Integer limit, Integer offset)BitstreamBitstreamServiceImpl. findByLegacyId(Context context, int id)BundleBundleServiceImpl. findByLegacyId(Context context, int id)CollectionCollectionServiceImpl. findByLegacyId(Context context, int id)CommunityCommunityServiceImpl. findByLegacyId(Context context, int id)ItemItemServiceImpl. findByLegacyId(Context context, int id)Iterator<Item>ItemServiceImpl. findByMetadataField(Context context, String schema, String element, String qualifier, String value)Returns an iterator of Items possessing the passed metadata field, or only those matching the passed value, if value is not Item.ANYIterator<Item>ItemServiceImpl. findByMetadataFieldAuthority(Context context, String mdString, String authority)Iterator<Item>ItemServiceImpl. findByMetadataQuery(Context context, List<List<MetadataField>> listFieldList, List<String> query_op, List<String> query_val, List<UUID> collectionUuids, String regexClause, int offset, int limit)BitstreamFormatBitstreamFormatServiceImpl. findByMIMEType(Context context, String mimeType)MetadataSchemaMetadataSchemaServiceImpl. findByNamespace(Context context, String namespace)List<Relationship>RelationshipServiceImpl. findByRelationshipType(Context context, RelationshipType relationshipType)List<Relationship>RelationshipServiceImpl. findByRelationshipType(Context context, RelationshipType relationshipType, Integer limit, Integer offset)BitstreamFormatBitstreamFormatServiceImpl. findByShortDescription(Context context, String desc)Iterator<Bitstream>BitstreamServiceImpl. findByStoreNumber(Context context, Integer storeNumber)MetadataFieldMetadataFieldServiceImpl. findByString(Context context, String mdString, char separator)Iterator<Item>ItemServiceImpl. findBySubmitter(Context context, EPerson eperson)Iterator<Item>ItemServiceImpl. findBySubmitter(Context context, EPerson eperson, boolean retrieveAllItems)Iterator<Item>ItemServiceImpl. findBySubmitterDateSorted(Context context, EPerson eperson, Integer limit)List<Relationship>RelationshipServiceImpl. findByTypeName(Context context, String typeName)List<Relationship>RelationshipServiceImpl. findByTypeName(Context context, String typeName, Integer limit, Integer offset)RelationshipTypeRelationshipTypeServiceImpl. findbyTypesAndTypeName(Context context, EntityType leftType, EntityType rightType, String leftwardType, String rightwardType)Iterator<MetadataValue>MetadataValueServiceImpl. findByValueLike(Context context, String value)List<Collection>CollectionServiceImpl. findCollectionsWithSubmit(String q, Context context, Community community, int offset, int limit)List<Collection>CollectionServiceImpl. findCollectionsWithSubmit(String q, Context context, Community community, String entityType, int offset, int limit)List<Collection>CollectionServiceImpl. findCollectionsWithSubscribers(Context context)List<Bitstream>BitstreamServiceImpl. findDeletedBitstreams(Context context)List<Collection>CollectionServiceImpl. findDirectMapped(Context context, int actionID)List<Bitstream>BitstreamServiceImpl. findDuplicateInternalIdentifier(Context context, Bitstream bitstream)List<MetadataField>MetadataFieldServiceImpl. findFieldsByElementNameUnqualified(Context context, String metadataSchemaName, String element)List<Collection>CollectionServiceImpl. findGroup2CommunityMapped(Context context)List<Collection>CollectionServiceImpl. findGroup2GroupMapped(Context context, int actionID)List<Collection>CollectionServiceImpl. findGroupMapped(Context context, int actionID)Iterator<Item>ItemServiceImpl. findInArchiveOrWithdrawnDiscoverableModifiedSince(Context context, Date since)Iterator<Item>ItemServiceImpl. findInArchiveOrWithdrawnNonDiscoverableModifiedSince(Context context, Date since)intRelationshipServiceImpl. findNextLeftPlaceByLeftItem(Context context, Item item)intRelationshipServiceImpl. findNextRightPlaceByRightItem(Context context, Item item)List<BitstreamFormat>BitstreamFormatServiceImpl. findNonInternal(Context context)List<RelationshipMetadataValue>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.List<RelationshipMetadataValue>RelationshipMetadataServiceImpl. findRelationshipMetadataValueForItemRelationship(Context context, Item item, String entityType, Relationship relationship, boolean enableVirtualMetadata)SiteSiteServiceImpl. findSite(Context context)List<WorkspaceItem>WorkspaceItemServiceImpl. findSupervisedItemsByEPerson(Context context, EPerson ePerson)BitstreamFormatBitstreamFormatServiceImpl. 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)DSpaceObjectBundleServiceImpl. getAdminObject(Context context, Bundle bundle, int action)DSpaceObjectCollectionServiceImpl. getAdminObject(Context context, Collection collection, int action)DSpaceObjectCommunityServiceImpl. getAdminObject(Context context, Community community, int action)DSpaceObjectDSpaceObjectServiceImpl. getAdminObject(Context context, T dso, int action)DSpaceObjectItemServiceImpl. getAdminObject(Context context, Item item, int action)List<WorkspaceItem>SupervisedItemServiceImpl. getAll(Context context)List<Collection>CommunityServiceImpl. getAllCollections(Context context, Community community)List<Community>CommunityServiceImpl. getAllParents(Context context, Collection collection)List<Community>CommunityServiceImpl. getAllParents(Context context, Community community)List<RelationshipType>EntityServiceImpl. getAllRelationshipTypes(Context context, Entity entity)List<RelationshipType>EntityServiceImpl. getAllRelationshipTypes(Context context, Entity entity, Integer limit, Integer offset)List<ResourcePolicy>BundleServiceImpl. getBitstreamPolicies(Context context, Bundle bundle)StringInstallItemServiceImpl. getBitstreamProvenanceMessage(Context context, Item myitem)List<ResourcePolicy>BundleServiceImpl. getBundlePolicies(Context context, Bundle bundle)Iterator<Bitstream>BitstreamServiceImpl. getCollectionBitstreams(Context context, Collection collection)List<Collection>ItemServiceImpl. getCollectionsNotLinked(Context context, Item item)List<Map.Entry<Collection,Long>>CollectionServiceImpl. getCollectionsWithBitstreamSizesTotal(Context context)List<Community>ItemServiceImpl. getCommunities(Context context, Item item)Iterator<Bitstream>BitstreamServiceImpl. getCommunityBitstreams(Context context, Community community)List<EntityType>EntityTypeServiceImpl. getEntityTypesByNames(Context context, List<String> names, Integer limit, Integer offset)BitstreamFormatBitstream. getFormat(Context context)Get the format of the bitstreamBitstreamFormatBitstreamServiceImpl. getFormat(Context context, Bitstream bitstream)StringBitstream. getFormatDescription(Context context)Get the description of the format - either the user's or the description of the format defined by the system.StringBitstreamServiceImpl. getFormatDescription(Context context, Bitstream bitstream)ArrayList<String>DSpaceObjectServiceImpl. getIdentifiers(Context context, T dso)Iterator<Bitstream>BitstreamServiceImpl. getItemBitstreams(Context context, Item item)List<Relationship>EntityServiceImpl. getLeftRelations(Context context, Entity entity)List<RelationshipType>EntityServiceImpl. getLeftRelationshipTypes(Context context, Entity entity)List<RelationshipType>EntityServiceImpl. getLeftRelationshipTypes(Context context, Entity entity, boolean isLeft, Integer limit, Integer offset)MetadataValueMetadataValueServiceImpl. getMinimum(Context context, int metadataFieldId)List<Bitstream>ItemServiceImpl. getNonInternalBitstreams(Context context, Item item)List<Bitstream>BitstreamServiceImpl. getNotReferencedBitstreams(Context context)DSpaceObjectBitstreamServiceImpl. getParentObject(Context context, Bitstream bitstream)DSpaceObjectBundleServiceImpl. getParentObject(Context context, Bundle bundle)DSpaceObjectCollectionServiceImpl. getParentObject(Context context, Collection collection)DSpaceObjectCommunityServiceImpl. getParentObject(Context context, Community community)DSpaceObjectDSpaceObjectServiceImpl. getParentObject(Context context, T dso)DSpaceObjectItemServiceImpl. getParentObject(Context context, Item item)List<Relationship>EntityServiceImpl. getRelationsByTypeName(Context context, String typeName)List<Relationship>EntityServiceImpl. getRelationsByTypeName(Context context, String typeName, Integer limit, Integer offset)List<RelationshipType>EntityServiceImpl. getRelationshipTypesByTypeName(Context context, String type)List<RelationshipType>EntityServiceImpl. getRelationshipTypesByTypeName(Context context, String typeName, Integer limit, Integer offset)List<Relationship>EntityServiceImpl. getRightRelations(Context context, Entity entity)List<RelationshipType>EntityServiceImpl. getRightRelationshipTypes(Context context, Entity entity)List<RelationshipType>EntityServiceImpl. getRightRelationshipTypes(Context context, Entity entity, boolean isLeft, Integer limit, Integer offset)List<Map.Entry<Integer,Long>>WorkspaceItemServiceImpl. getStageReachedCounts(Context context)List<String>EntityTypeServiceImpl. getSubmitAuthorizedTypes(Context context)BitstreamBitstreamServiceImpl. getThumbnail(Context context, Bitstream bitstream)ThumbnailItemServiceImpl. getThumbnail(Context context, Item item, boolean requireOriginal)EntityTypeEntityServiceImpl. getType(Context context, Entity entity)GroupCollectionServiceImpl. getWorkflowGroup(Context context, Collection collection, int step)GroupCollection. getWorkflowStep1(Context context)GroupCollection. getWorkflowStep2(Context context)GroupCollection. 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.BitstreamFormatBitstreamFormatServiceImpl. guessFormat(Context context, Bitstream bitstream)DSpaceCSVMetadataDSpaceCsvExportServiceImpl. 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)voidEntityTypeServiceImpl. initDefaultEntityTypeNames(Context context)ItemInstallItemServiceImpl. installItem(Context c, InProgressSubmission is)ItemInstallItemServiceImpl. 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)voidItemServiceImpl. move(Context context, Item item, Collection from, Collection to)voidItemServiceImpl. move(Context context, Item item, Collection from, Collection to, boolean inheritDefaultPolicies)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)protected voidCommunityServiceImpl. rawDelete(Context context, Community community)Internal method to remove the community and all its children from the database, and perform any pre/post-cleanupprotected voidItemServiceImpl. rawDelete(Context context, Item item)BitstreamBitstreamServiceImpl. register(Context context, int assetstore, String bitstreamPath)Register a new bitstream, with a new ID.BitstreamBitstreamServiceImpl. register(Context context, Bundle bundle, int assetstore, String bitstreamPath)voidItemServiceImpl. reinstate(Context context, Item item)voidCollectionServiceImpl. 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)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)ItemInstallItemServiceImpl. restoreItem(Context c, InProgressSubmission is, String suppliedHandle)InputStreamBitstreamServiceImpl. retrieve(Context context, Bitstream bitstream)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.BitstreamCollectionServiceImpl. setLogo(Context context, Collection collection, InputStream is)BitstreamCommunityServiceImpl. 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)voidBitstream. setName(Context context, String n)Set the name of the bitstreamvoidBundle. setName(Context context, String name)Set the name of the bundlevoidBundleServiceImpl. setOrder(Context context, Bundle bundle, UUID[] bitstreamIds)voidBitstreamFormat. setShortDescription(Context context, String s)voidBitstreamFormatServiceImpl. setShortDescription(Context context, BitstreamFormat bitstreamFormat, String shortDescription)voidBitstream. setSource(Context context, String n)Set 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)voidBitstreamServiceImpl. update(Context context, Bitstream bitstream)voidBundleServiceImpl. update(Context context, Bundle bundle)voidCollectionServiceImpl. update(Context context, Collection collection)voidCommunityServiceImpl. update(Context context, Community community)voidDSpaceObjectServiceImpl. update(Context context, T dso)voidEntityTypeServiceImpl. update(Context context, List<EntityType> entityTypes)voidEntityTypeServiceImpl. update(Context context, EntityType entityType)voidItemServiceImpl. update(Context context, Item item)voidMetadataFieldServiceImpl. 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)voidSiteServiceImpl. update(Context context, Site site)voidWorkspaceItemServiceImpl. 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)voidRelationshipServiceImpl. updatePlaceInRelationship(Context context, Relationship relationship)voidItemServiceImpl. withdraw(Context context, Item item) -
Uses of Context in org.dspace.content.crosswalk
Methods in org.dspace.content.crosswalk with parameters of type Context Modifier and Type Method Description booleanCreativeCommonsRDFStreamDisseminationCrosswalk. 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.MetadataFieldCrosswalkMetadataValidator. 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.org.jdom.ElementAIPDIMCrosswalk. disseminateElement(Context context, DSpaceObject dso)Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom.ElementAIPTechMDCrosswalk. disseminateElement(Context context, DSpaceObject dso)Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom.ElementDIMDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso)org.jdom.ElementDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso)Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom.ElementMETSDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso)org.jdom.ElementMETSRightsCrosswalk. disseminateElement(Context context, DSpaceObject dso)Actually Disseminate into METSRights schema.org.jdom.ElementMODSDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso)Disseminate an Item, Collection, or Community to MODS.org.jdom.ElementOREDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso)org.jdom.ElementParameterizedDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso, Map<String,String> parameters)Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom.ElementPREMISCrosswalk. disseminateElement(Context context, DSpaceObject dso)org.jdom.ElementQDCCrosswalk. disseminateElement(Context context, DSpaceObject dso)org.jdom.ElementRoleCrosswalk. disseminateElement(Context context, DSpaceObject dso)Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom.ElementSimpleDCDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso)org.jdom.ElementXHTMLHeadDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso)This generates a <head> element around the metadata; in general this will probably not be usedorg.jdom.ElementXSLTDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso)org.jdom.ElementXSLTDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso, Map<String,String> parameters)List<org.jdom.Element>AIPDIMCrosswalk. disseminateList(Context context, DSpaceObject dso)Execute crosswalk, returning List of XML elements.List<org.jdom.Element>AIPTechMDCrosswalk. disseminateList(Context context, DSpaceObject dso)Execute crosswalk, returning List of XML elements.List<org.jdom.Element>DIMDisseminationCrosswalk. disseminateList(Context context, DSpaceObject dso)List<org.jdom.Element>DisseminationCrosswalk. disseminateList(Context context, DSpaceObject dso)Execute crosswalk, returning List of XML elements.List<org.jdom.Element>METSDisseminationCrosswalk. disseminateList(Context context, DSpaceObject dso)List<org.jdom.Element>METSRightsCrosswalk. disseminateList(Context context, DSpaceObject dso)List<org.jdom.Element>MODSDisseminationCrosswalk. disseminateList(Context context, DSpaceObject dso)Returns object's metadata in MODS format, as List of XML structure nodes.List<org.jdom.Element>OREDisseminationCrosswalk. disseminateList(Context context, DSpaceObject dso)List<org.jdom.Element>PREMISCrosswalk. disseminateList(Context context, DSpaceObject dso)List<org.jdom.Element>QDCCrosswalk. disseminateList(Context context, DSpaceObject dso)Returns object's metadata in MODS format, as XML structure node.List<org.jdom.Element>RoleCrosswalk. disseminateList(Context context, DSpaceObject dso)Execute crosswalk, returning List of XML elements.List<org.jdom.Element>SimpleDCDisseminationCrosswalk. disseminateList(Context context, DSpaceObject dso)Returns object's metadata as XML elements.List<org.jdom.Element>XHTMLHeadDisseminationCrosswalk. disseminateList(Context context, DSpaceObject dso)Return <meta> elements that can be put in the <head> element of an XHTML document.List<org.jdom.Element>XSLTDisseminationCrosswalk. disseminateList(Context context, DSpaceObject dso)Disseminate the DSpace item, collection, or community.voidAIPDIMCrosswalk. ingest(Context context, DSpaceObject dso, List<org.jdom.Element> dimList, boolean createMissingMetadataFields)Fields correspond directly to Item.addMetadata() calls so they are simply executed.voidAIPDIMCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.Element root, boolean createMissingMetadataFields)Ingest a whole document.voidAIPTechMDCrosswalk. ingest(Context context, DSpaceObject dso, List<org.jdom.Element> dimList, boolean createMissingMetadataFields)Translate metadata with XSL stylesheet and ingest it.voidAIPTechMDCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.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.jdom.Element> metadata, boolean createMissingMetadataFields)voidDIMIngestionCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.Element root, boolean createMissingMetadataFields)voidIngestionCrosswalk. ingest(Context context, DSpaceObject dso, List<org.jdom.Element> metadata, boolean createMissingMetadataFields)Crosswalk metadata from external XML representation to DSpace internal representations.voidIngestionCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.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.jdom.Element> ml, boolean createMissingMetadataFields)Ingest a List of XML elementsvoidMETSRightsCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.Element root, boolean createMissingMetadataFields)Ingest a whole XML document, starting at specified root.voidNullIngestionCrosswalk. ingest(Context context, DSpaceObject dso, List<org.jdom.Element> ml, boolean createMissingMetadataFields)voidNullIngestionCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.Element root, boolean createMissingMetadataFields)voidNullStreamIngestionCrosswalk. ingest(Context context, DSpaceObject dso, InputStream in, String MIMEType)voidOAIDCIngestionCrosswalk. ingest(Context context, DSpaceObject dso, List<org.jdom.Element> metadata, boolean createMissingMetadataFields)voidOAIDCIngestionCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.Element root, boolean createMissingMetadataFields)voidOREIngestionCrosswalk. ingest(Context context, DSpaceObject dso, List<org.jdom.Element> metadata, boolean createMissingMetadataFields)voidOREIngestionCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.Element root, boolean createMissingMetadataFields)voidPREMISCrosswalk. ingest(Context context, DSpaceObject dso, List<org.jdom.Element> ml, boolean createMissingMetadataFields)voidPREMISCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.Element root, boolean createMissingMetadataFields)voidQDCCrosswalk. ingest(Context context, DSpaceObject dso, List<org.jdom.Element> ml, boolean createMissingMetadataFields)voidQDCCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.Element root, boolean createMissingMetadataFields)voidRoleCrosswalk. ingest(Context context, DSpaceObject dso, List<org.jdom.Element> metadata, boolean createMissingMetadataFields)Ingest a List of XML elementsvoidRoleCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.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.jdom.Element> metadata, boolean createMissingMetadataFields)Translate metadata with XSL stylesheet and ingest it.voidXSLTIngestionCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.Element root, boolean createMissingMetadataFields)Ingest a whole document.static voidXSLTIngestionCrosswalk. ingestDIM(Context context, DSpaceObject dso, List<org.jdom.Element> fields, boolean createMissingMetadataFields)static voidXSLTIngestionCrosswalk. ingestDIM(Context context, DSpaceObject dso, org.jdom.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 Context Modifier and Type Method Description intItemDAO. 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)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)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 typeLongBitstreamDAO. countByStoreNumber(Context context, Integer storeNumber)intRelationshipDAO. countByTypeName(Context context, String typeName)Count total number of relationships (rows in relationship table) given a typeNameintBitstreamDAO. countDeleted(Context context)intEntityTypeDAO. countEntityTypesByNames(Context context, List<String> names)intItemDAO. countItems(Context context, boolean includeArchived, boolean includeWithdrawn)Count number of items based on specific status flagsintItemDAO. countItems(Context context, List<Collection> collections, boolean includeArchived, boolean includeWithdrawn)Count number of unique items across several collections at once.intItemDAO. countItems(Context context, Collection collection, boolean includeArchived, boolean includeWithdrawn)Count number of items in a given collectionintItemDAO. countItems(Context context, EPerson submitter, boolean includeArchived, boolean includeWithdrawn)Count number of items from the specified submitter based on specific status flagsintBitstreamDAO. countRows(Context context)intBundleDAO. countRows(Context context)intCollectionDAO. countRows(Context context)intCommunityDAO. countRows(Context context)intItemDAO. countRows(Context context)Count total number of items (rows in item table)intMetadataValueDAO. countRows(Context context)intProcessDAO. countRows(Context context)Returns the total amount of Process objects in the dataaseintRelationshipDAO. countRows(Context context)Count total number of relationships (rows in relationship table)intWorkspaceItemDAO. countRows(Context context)intWorkspaceItemDAO. countRows(Context context, EPerson ep)intProcessDAO. countTotalWithParameters(Context context, ProcessQueryParameterContainer processQueryParameterContainer)Count all the processes which match the requirements.intBitstreamDAO. countWithNoPolicy(Context context)voidMetadataValueDAO. deleteByMetadataField(Context context, MetadataField metadataField)MetadataFieldMetadataFieldDAO. find(Context context, int metadataFieldId, MetadataSchema metadataSchema, String element, String qualifier)MetadataSchemaMetadataSchemaDAO. find(Context context, String shortName)Iterator<Bitstream>BitstreamDAO. findAll(Context context, int limit, int offset)List<Collection>CollectionDAO. findAll(Context context, MetadataField order)List<Collection>CollectionDAO. findAll(Context context, MetadataField order, Integer limit, Integer offset)List<Community>CommunityDAO. findAll(Context context, MetadataField sortField)List<Community>CommunityDAO. findAll(Context context, MetadataField sortField, Integer limit, Integer offset)Iterator<Item>ItemDAO. findAll(Context context, boolean archived)Iterator<Item>ItemDAO. findAll(Context context, boolean archived, boolean withdrawn)Iterator<Item>ItemDAO. findAll(Context context, boolean archived, boolean withdrawn, boolean discoverable, Date lastModified)Get all Items installed or withdrawn, discoverable, and modified since a Date.Iterator<Item>ItemDAO. findAll(Context context, boolean archived, int limit, int offset)List<Process>ProcessDAO. findAll(Context context, int limit, int offset)Returns a list of all Process objects in the databaseList<WorkspaceItem>WorkspaceItemDAO. findAll(Context context)List<WorkspaceItem>WorkspaceItemDAO. findAll(Context context, Integer limit, Integer offset)Iterator<Item>ItemDAO. findAllByCollection(Context context, Collection collection)Iterator<Item>ItemDAO. findAllByCollection(Context context, Collection collection, Integer limit, Integer offset)List<MetadataField>MetadataFieldDAO. findAllInSchema(Context context, MetadataSchema metadataSchema)List<Community>CommunityDAO. findAllNoParent(Context context, MetadataField sortField)List<Process>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 nameList<Process>ProcessDAO. 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.Iterator<Item>ItemDAO. findArchivedByCollection(Context context, Collection collection, Integer limit, Integer offset)Iterator<Item>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 collectionList<Collection>CollectionDAO. findAuthorized(Context context, EPerson ePerson, List<Integer> actions)List<Community>CommunityDAO. findAuthorized(Context context, EPerson ePerson, List<Integer> actions)List<Collection>CollectionDAO. findAuthorizedByGroup(Context context, EPerson ePerson, List<Integer> actions)List<Community>CommunityDAO. findAuthorizedByGroup(Context context, EPerson currentUser, List<Integer> actions)List<Bitstream>BitstreamDAO. findBitstreamsWithNoRecentChecksum(Context context)CommunityCommunityDAO. findByAdminGroup(Context context, Group group)Iterator<Item>ItemDAO. findByAuthorityValue(Context context, MetadataField metadataField, String authority, boolean inArchive)Iterator<Bitstream>BitstreamDAO. findByCollection(Context context, Collection collection)List<WorkspaceItem>WorkspaceItemDAO. findByCollection(Context context, Collection c)Iterator<Bitstream>BitstreamDAO. findByCommunity(Context context, Community community)MetadataFieldMetadataFieldDAO. findByElement(Context context, String metadataSchema, String element, String qualifier)MetadataFieldMetadataFieldDAO. findByElement(Context context, MetadataSchema metadataSchema, String element, String qualifier)EntityTypeEntityTypeDAO. findByEntityType(Context context, String entityType)This method returns the EntityType object that has the given entityType String as labelList<RelationshipType>RelationshipTypeDAO. 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 rightTypeList<RelationshipType>RelationshipTypeDAO. 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 rightTypeList<RelationshipType>RelationshipTypeDAO. 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 rightTypeList<RelationshipType>RelationshipTypeDAO. 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 rightTypeList<WorkspaceItem>WorkspaceItemDAO. findByEPerson(Context context, EPerson ep)List<WorkspaceItem>WorkspaceItemDAO. findByEPerson(Context context, EPerson ep, Integer limit, Integer offset)List<MetadataValue>MetadataValueDAO. findByField(Context context, MetadataField fieldId)List<BitstreamFormat>BitstreamFormatDAO. findByFileExtension(Context context, String extension)CollectionCollectionDAO. findByGroup(Context context, Group group)Iterator<Bitstream>BitstreamDAO. findByItem(Context context, Item item)List<Relationship>RelationshipDAO. findByItem(Context context, Item item, boolean excludeTilted)This method returns a list of Relationship objects that have the given Item object as a leftItem or a rightItemList<Relationship>RelationshipDAO. findByItem(Context context, Item item, Integer limit, Integer offset, boolean excludeTilted)This method returns a list of Relationship objects that have the given Item object as a leftItem or a rightItemWorkspaceItemWorkspaceItemDAO. findByItem(Context context, Item i)List<Relationship>RelationshipDAO. findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, Integer limit, Integer offset)This method returns a list of Relationship objects for the given RelationshipType object.List<Relationship>RelationshipDAO. findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, Integer limit, Integer offset)This method returns a list of Relationship objects for the given RelationshipType object.List<Relationship>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.Iterator<Item>ItemDAO. findByLastModifiedSince(Context context, Date since)Find all Items modified since a Date.List<RelationshipType>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.List<RelationshipType>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.TDSpaceObjectLegacySupportDAO. findByLegacyId(Context context, int legacyId, Class<T> clazz)Iterator<Item>ItemDAO. findByMetadataField(Context context, MetadataField metadataField, String value, boolean inArchive)Iterator<Item>ItemDAO. findByMetadataQuery(Context context, List<List<MetadataField>> listFieldList, List<String> query_op, List<String> query_val, List<UUID> collectionUuids, String regexClause, int offset, int limit)BitstreamFormatBitstreamFormatDAO. findByMIMEType(Context context, String mimeType, boolean includeInternal)MetadataSchemaMetadataSchemaDAO. findByNamespace(Context context, String namespace)List<Relationship>RelationshipDAO. findByRelationshipType(Context context, RelationshipType relationshipType)This method returns a list of Relationship objects for the given RelationshipType object.List<Relationship>RelationshipDAO. findByRelationshipType(Context context, RelationshipType relationshipType, Integer limit, Integer offset)This method returns a list of Relationship objects for the given RelationshipType object.BitstreamFormatBitstreamFormatDAO. findByShortDescription(Context context, String desc)Iterator<Bitstream>BitstreamDAO. findByStoreNumber(Context context, Integer storeNumber)Iterator<Item>ItemDAO. findBySubmitter(Context context, EPerson eperson)Iterator<Item>ItemDAO. findBySubmitter(Context context, EPerson eperson, boolean retrieveAllItems)Find all the items by a given submitter.Iterator<Item>ItemDAO. findBySubmitter(Context context, EPerson eperson, MetadataField metadataField, int limit)List<WorkspaceItem>WorkspaceItemDAO. findBySupervisedGroupMember(Context context, EPerson ePerson)CollectionCollectionDAO. findByTemplateItem(Context context, Item item)List<Relationship>RelationshipDAO. findByTypeName(Context context, String typeName)This method returns a list of Relationship objects for the given typeNameList<Relationship>RelationshipDAO. findByTypeName(Context context, String typeName, Integer limit, Integer offset)This method returns a list of Relationship objects for the given typeNameRelationshipTypeRelationshipTypeDAO. 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 parametersIterator<MetadataValue>MetadataValueDAO. findByValueLike(Context context, String value)List<Collection>CollectionDAO. findCollectionsWithSubscribers(Context context)List<Bitstream>BitstreamDAO. findDeletedBitstreams(Context context)List<Bitstream>BitstreamDAO. findDuplicateInternalIdentifier(Context context, Bitstream bitstream)List<MetadataField>MetadataFieldDAO. findFieldsByElementNameUnqualified(Context context, String metadataSchema, String element)Iterator<MetadataValue>MetadataValueDAO. findItemValuesByFieldAndValue(Context context, MetadataField metadataField, String value)intRelationshipDAO. findNextLeftPlaceByLeftItem(Context context, Item item)This method returns the next leftplace integer to use for a relationship with this item as the leftItemintRelationshipDAO. findNextRightPlaceByRightItem(Context context, Item item)This method returns the next rightplace integer to use for a relationship with this item as the rightItemList<BitstreamFormat>BitstreamFormatDAO. findNonInternal(Context context)SiteSiteDAO. findSite(Context context)List<WorkspaceItem>WorkspaceItemDAO. findWithSupervisedGroup(Context context)List<Map.Entry<Collection,Long>>CollectionDAO. getCollectionsWithBitstreamSizesTotal(Context context)List<EntityType>EntityTypeDAO. getEntityTypesByNames(Context context, List<String> names, Integer limit, Integer offset)MetadataValueMetadataValueDAO. getMinimum(Context context, int metadataFieldId)List<Bitstream>BitstreamDAO. getNotReferencedBitstreams(Context context)List<Map.Entry<Integer,Long>>WorkspaceItemDAO. getStageReachedCounts(Context context)List<Process>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 Context Modifier and Type Method Description intItemDAOImpl. countArchivedByCollectionExcludingOwning(Context context, Collection collection)intRelationshipTypeDAOImpl. countByEntityType(Context context, EntityType entityType)intRelationshipDAOImpl. countByItem(Context context, Item item)intRelationshipDAOImpl. countByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft)intRelationshipDAOImpl. countByItemAndRelationshipTypeAndList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft)intRelationshipDAOImpl. countByRelationshipType(Context context, RelationshipType relationshipType)LongBitstreamDAOImpl. countByStoreNumber(Context context, Integer storeNumber)intRelationshipDAOImpl. countByTypeName(Context context, String typeName)intBitstreamDAOImpl. countDeleted(Context context)intEntityTypeDAOImpl. countEntityTypesByNames(Context context, List<String> names)intItemDAOImpl. countItems(Context context, boolean includeArchived, boolean includeWithdrawn)intItemDAOImpl. countItems(Context context, List<Collection> collections, boolean includeArchived, boolean includeWithdrawn)intItemDAOImpl. countItems(Context context, Collection collection, boolean includeArchived, boolean includeWithdrawn)intItemDAOImpl. countItems(Context context, EPerson submitter, boolean includeArchived, boolean includeWithdrawn)intBitstreamDAOImpl. countRows(Context context)intBundleDAOImpl. countRows(Context context)intCollectionDAOImpl. countRows(Context context)intCommunityDAOImpl. countRows(Context context)intItemDAOImpl. countRows(Context context)intMetadataValueDAOImpl. countRows(Context context)intProcessDAOImpl. countRows(Context context)intRelationshipDAOImpl. countRows(Context context)intWorkspaceItemDAOImpl. countRows(Context context)intWorkspaceItemDAOImpl. countRows(Context context, EPerson ep)intProcessDAOImpl. countTotalWithParameters(Context context, ProcessQueryParameterContainer processQueryParameterContainer)intBitstreamDAOImpl. countWithNoPolicy(Context context)voidMetadataValueDAOImpl. deleteByMetadataField(Context context, MetadataField metadataField)MetadataFieldMetadataFieldDAOImpl. find(Context context, int metadataFieldId, MetadataSchema metadataSchema, String element, String qualifier)MetadataSchemaMetadataSchemaDAOImpl. find(Context context, String shortName)Get the schema corresponding with this short name.Iterator<Bitstream>BitstreamDAOImpl. findAll(Context context, int limit, int offset)List<BitstreamFormat>BitstreamFormatDAOImpl. findAll(Context context, Class clazz)List<Collection>CollectionDAOImpl. findAll(Context context, MetadataField order)Get all collections in the system.List<Collection>CollectionDAOImpl. findAll(Context context, MetadataField order, Integer limit, Integer offset)List<Community>CommunityDAOImpl. findAll(Context context, MetadataField sortField)Get a list of all communities in the system.List<Community>CommunityDAOImpl. findAll(Context context, MetadataField sortField, Integer limit, Integer offset)Iterator<Item>ItemDAOImpl. findAll(Context context, boolean archived)Iterator<Item>ItemDAOImpl. findAll(Context context, boolean archived, boolean withdrawn)Iterator<Item>ItemDAOImpl. findAll(Context context, boolean archived, boolean withdrawn, boolean discoverable, Date lastModified)Iterator<Item>ItemDAOImpl. findAll(Context context, boolean archived, int limit, int offset)List<MetadataField>MetadataFieldDAOImpl. findAll(Context context, Class<MetadataField> clazz)List<MetadataSchema>MetadataSchemaDAOImpl. findAll(Context context, Class clazz)List<Process>ProcessDAOImpl. findAll(Context context, int limit, int offset)List<WorkspaceItem>WorkspaceItemDAOImpl. findAll(Context context)List<WorkspaceItem>WorkspaceItemDAOImpl. findAll(Context context, Integer limit, Integer offset)Iterator<Item>ItemDAOImpl. findAllByCollection(Context context, Collection collection)Iterator<Item>ItemDAOImpl. findAllByCollection(Context context, Collection collection, Integer limit, Integer offset)List<MetadataField>MetadataFieldDAOImpl. findAllInSchema(Context context, MetadataSchema metadataSchema)List<Community>CommunityDAOImpl. findAllNoParent(Context context, MetadataField sortField)List<Process>ProcessDAOImpl. findAllSortByScript(Context context)List<Process>ProcessDAOImpl. findAllSortByStartTime(Context context)Iterator<Item>ItemDAOImpl. findArchivedByCollection(Context context, Collection collection, Integer limit, Integer offset)Iterator<Item>ItemDAOImpl. findArchivedByCollectionExcludingOwning(Context context, Collection collection, Integer limit, Integer offset)List<Collection>CollectionDAOImpl. findAuthorized(Context context, EPerson ePerson, List<Integer> actions)List<Community>CommunityDAOImpl. findAuthorized(Context context, EPerson ePerson, List<Integer> actions)List<Collection>CollectionDAOImpl. findAuthorizedByGroup(Context context, EPerson ePerson, List<Integer> actions)List<Community>CommunityDAOImpl. findAuthorizedByGroup(Context context, EPerson ePerson, List<Integer> actions)List<Bitstream>BitstreamDAOImpl. findBitstreamsWithNoRecentChecksum(Context context)CommunityCommunityDAOImpl. findByAdminGroup(Context context, Group group)Iterator<Item>ItemDAOImpl. findByAuthorityValue(Context context, MetadataField metadataField, String authority, boolean inArchive)Iterator<Bitstream>BitstreamDAOImpl. findByCollection(Context context, Collection collection)List<WorkspaceItem>WorkspaceItemDAOImpl. findByCollection(Context context, Collection c)Iterator<Bitstream>BitstreamDAOImpl. findByCommunity(Context context, Community community)MetadataFieldMetadataFieldDAOImpl. findByElement(Context context, String metadataSchema, String element, String qualifier)MetadataFieldMetadataFieldDAOImpl. findByElement(Context context, MetadataSchema metadataSchema, String element, String qualifier)EntityTypeEntityTypeDAOImpl. findByEntityType(Context context, String entityType)List<RelationshipType>RelationshipTypeDAOImpl. findByEntityType(Context context, EntityType entityType)List<RelationshipType>RelationshipTypeDAOImpl. findByEntityType(Context context, EntityType entityType, Boolean isLeft)List<RelationshipType>RelationshipTypeDAOImpl. findByEntityType(Context context, EntityType entityType, Boolean isLeft, Integer limit, Integer offset)List<RelationshipType>RelationshipTypeDAOImpl. findByEntityType(Context context, EntityType entityType, Integer limit, Integer offset)List<WorkspaceItem>WorkspaceItemDAOImpl. findByEPerson(Context context, EPerson ep)List<WorkspaceItem>WorkspaceItemDAOImpl. findByEPerson(Context context, EPerson ep, Integer limit, Integer offset)List<MetadataValue>MetadataValueDAOImpl. findByField(Context context, MetadataField metadataField)List<BitstreamFormat>BitstreamFormatDAOImpl. findByFileExtension(Context context, String extension)CollectionCollectionDAOImpl. findByGroup(Context context, Group group)Iterator<Bitstream>BitstreamDAOImpl. findByItem(Context context, Item item)List<Relationship>RelationshipDAOImpl. findByItem(Context context, Item item, boolean excludeTilted)List<Relationship>RelationshipDAOImpl. findByItem(Context context, Item item, Integer limit, Integer offset, boolean excludeTilted)WorkspaceItemWorkspaceItemDAOImpl. findByItem(Context context, Item i)List<Relationship>RelationshipDAOImpl. findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, boolean isLeft, Integer limit, Integer offset)List<Relationship>RelationshipDAOImpl. findByItemAndRelationshipType(Context context, Item item, RelationshipType relationshipType, Integer limit, Integer offset)List<Relationship>RelationshipDAOImpl. findByItemAndRelationshipTypeAndList(Context context, UUID focusUUID, RelationshipType relationshipType, List<UUID> items, boolean isLeft, int offset, int limit)Iterator<Item>ItemDAOImpl. findByLastModifiedSince(Context context, Date since)List<RelationshipType>RelationshipTypeDAOImpl. findByLeftwardOrRightwardTypeName(Context context, String type)List<RelationshipType>RelationshipTypeDAOImpl. findByLeftwardOrRightwardTypeName(Context context, String type, Integer limit, Integer offset)Iterator<Item>ItemDAOImpl. findByMetadataField(Context context, MetadataField metadataField, String value, boolean inArchive)Iterator<Item>ItemDAOImpl. findByMetadataQuery(Context context, List<List<MetadataField>> listFieldList, List<String> query_op, List<String> query_val, List<UUID> collectionUuids, String regexClause, int offset, int limit)Deprecated.BitstreamFormatBitstreamFormatDAOImpl. findByMIMEType(Context context, String mimeType, boolean includeInternal)Find a bitstream format by its (unique) MIME type.MetadataSchemaMetadataSchemaDAOImpl. findByNamespace(Context context, String namespace)Get the schema object corresponding to this namespace URI.List<Relationship>RelationshipDAOImpl. findByRelationshipType(Context context, RelationshipType relationshipType)List<Relationship>RelationshipDAOImpl. findByRelationshipType(Context context, RelationshipType relationshipType, Integer limit, Integer offset)BitstreamFormatBitstreamFormatDAOImpl. findByShortDescription(Context context, String desc)Find a bitstream format by its (unique) short descriptionIterator<Bitstream>BitstreamDAOImpl. findByStoreNumber(Context context, Integer storeNumber)Iterator<Item>ItemDAOImpl. findBySubmitter(Context context, EPerson eperson)Iterator<Item>ItemDAOImpl. findBySubmitter(Context context, EPerson eperson, boolean retrieveAllItems)Iterator<Item>ItemDAOImpl. findBySubmitter(Context context, EPerson eperson, MetadataField metadataField, int limit)List<WorkspaceItem>WorkspaceItemDAOImpl. findBySupervisedGroupMember(Context context, EPerson ePerson)CollectionCollectionDAOImpl. findByTemplateItem(Context context, Item item)List<Relationship>RelationshipDAOImpl. findByTypeName(Context context, String typeName)List<Relationship>RelationshipDAOImpl. findByTypeName(Context context, String typeName, Integer limit, Integer offset)RelationshipTypeRelationshipTypeDAOImpl. findbyTypesAndTypeName(Context context, EntityType leftType, EntityType rightType, String leftwardType, String rightwardType)Iterator<MetadataValue>MetadataValueDAOImpl. findByValueLike(Context context, String value)List<Collection>CollectionDAOImpl. findCollectionsWithSubscribers(Context context)List<Bitstream>BitstreamDAOImpl. findDeletedBitstreams(Context context)List<Bitstream>BitstreamDAOImpl. findDuplicateInternalIdentifier(Context context, Bitstream bitstream)List<MetadataField>MetadataFieldDAOImpl. findFieldsByElementNameUnqualified(Context context, String metadataSchema, String element)Iterator<MetadataValue>MetadataValueDAOImpl. findItemValuesByFieldAndValue(Context context, MetadataField metadataField, String value)intRelationshipDAOImpl. findNextLeftPlaceByLeftItem(Context context, Item item)intRelationshipDAOImpl. findNextRightPlaceByRightItem(Context context, Item item)List<BitstreamFormat>BitstreamFormatDAOImpl. findNonInternal(Context context)SiteSiteDAOImpl. findSite(Context context)List<WorkspaceItem>WorkspaceItemDAOImpl. findWithSupervisedGroup(Context context)List<Map.Entry<Collection,Long>>CollectionDAOImpl. getCollectionsWithBitstreamSizesTotal(Context context)List<EntityType>EntityTypeDAOImpl. getEntityTypesByNames(Context context, List<String> names, Integer limit, Integer offset)MetadataValueMetadataValueDAOImpl. getMinimum(Context context, int metadataFieldId)List<Bitstream>BitstreamDAOImpl. getNotReferencedBitstreams(Context context)List<Map.Entry<Integer,Long>>WorkspaceItemDAOImpl. getStageReachedCounts(Context context)List<Process>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 Context Modifier and Type Method Description booleanDefaultFilter. getResult(Context context, Item item)Get the result of logical evaluation for an itembooleanFilter. getResult(Context context, Item item)Get the result of logical evaluation for an itembooleanLogicalStatement. getResult(Context context, Item item)Get the result of logical evaluation for an item -
Uses of Context in org.dspace.content.logic.condition
Methods in org.dspace.content.logic.condition with parameters of type Context Modifier and Type Method Description booleanAbstractCondition. getResult(Context context, Item item)Get the result of logical evaluation for an itembooleanBitstreamCountCondition. getResult(Context context, Item item)Return true if bitstream count is within bounds of min and/or max parameters Return false if out of boundsbooleanCondition. getResult(Context context, Item item)Get the result of logical evaluation for an itembooleanInCollectionCondition. getResult(Context context, Item item)Return true if item is in one of the specified collections Return false if notbooleanInCommunityCondition. getResult(Context context, Item item)Return true if item is in one of the specified collections Return false if notbooleanIsWithdrawnCondition. getResult(Context context, Item item)Return true if item is withdrawn Return false if notbooleanMetadataValueMatchCondition. getResult(Context context, Item item)Return true if any value for a specified field in the item matches a specified regex pattern Return false if notbooleanMetadataValuesMatchCondition. getResult(Context context, Item item)Return true if any value for a specified field in the item matches any of the specified regex patterns Return false if notbooleanReadableByGroupCondition. getResult(Context context, Item item)Return 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 Context Modifier and Type Method Description booleanAbstractOperator. getResult(Context context, Item item)booleanAnd. getResult(Context context, Item item)Return true if ALL statements return true Return false otherwisebooleanNand. getResult(Context context, Item item)Return true if the result of AND'ing all sub-statements is false (ie.booleanNor. getResult(Context context, Item item)Return true if the result of OR'ing the sub-statements is false Return false otherwisebooleanNot. getResult(Context context, Item item)Return true if the result of the sub-statement is false Return false otherwisebooleanOr. getResult(Context context, Item item)Return 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 Context Modifier and Type Method Description protected 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.jdom.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.jdom.Element[] dmds, PackageParameters params)Select thedmdSecelement(s) to apply to the Item.voidDSpaceAIPIngester. crosswalkObjectDmd(Context context, DSpaceObject dso, METSManifest manifest, AbstractMETSIngester.MdrefManager callback, org.jdom.Element[] dmds, PackageParameters params)Choose DMD section(s) to crosswalk.voidDSpaceMETSIngester. crosswalkObjectDmd(Context context, DSpaceObject dso, METSManifest manifest, AbstractMETSIngester.MdrefManager callback, org.jdom.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.jdom.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)List<File>AbstractPackageDisseminator. disseminateAll(Context context, DSpaceObject dso, PackageParameters params, File pkgFile)Recursively export one or more DSpace Objects as a series of packages.List<File>PackageDisseminator. disseminateAll(Context context, DSpaceObject dso, PackageParameters params, File pkgFile)Recursively export one or more DSpace Objects as a series of packages.List<File>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 disseminateList<File>RoleDisseminator. disseminateAll(Context context, DSpaceObject dso, PackageParameters params, File pkgFile)protected List<Group>RoleDisseminator. findAssociatedGroups(Context context, DSpaceObject object)Find all Groups associated with this DSpace Object.protected List<EPerson>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.jdom.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.jdom.Element mfile, METSManifest manifest, PackageParameters params)Nothing extra to do to bitstream after ingestion.voidDSpaceMETSIngester. finishBitstream(Context context, Bitstream bs, org.jdom.Element mfile, METSManifest manifest, PackageParameters params)Take a second pass over files to correct names of derived files (e.g.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.DSpaceObjectAbstractMETSIngester. 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.DSpaceObjectAbstractMETSIngester. ingest(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license)Create a new DSpace object out of a METS content package.DSpaceObjectPackageIngester. ingest(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license)Create new DSpaceObject out of the ingested package.DSpaceObjectPDFPackager. ingest(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license)Create new Item out of the ingested package, in the indicated collection.DSpaceObjectRoleIngester. ingest(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license)List<String>AbstractPackageIngester. ingestAll(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license)Recursively create one or more DSpace Objects out of the contents of the ingested package (and all other referenced packages).List<String>PackageIngester. ingestAll(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license)Recursively create one or more DSpace Objects out of the contents of the ingested package (and all other referenced packages).List<String>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 ingestList<String>RoleIngester. 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)StringAbstractMETSDisseminator. 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)DSpaceObjectAbstractMETSIngester. replace(Context context, DSpaceObject dsoToReplace, File pkgFile, PackageParameters params)Replace an existing DSpace object with the contents of a METS-based package.DSpaceObjectPackageIngester. replace(Context context, DSpaceObject dso, File pkgFile, PackageParameters params)Replace an existing DSpace Object with contents of the ingested package.DSpaceObjectPDFPackager. replace(Context context, DSpaceObject dso, File pkgFile, PackageParameters params)Replace is not implemented.DSpaceObjectRoleIngester. replace(Context context, DSpaceObject dso, File pkgFile, PackageParameters params)List<String>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).List<String>PackageIngester. replaceAll(Context context, DSpaceObject dso, File pkgFile, PackageParameters params)Recursively replace one or more DSpace Objects out of the contents of the ingested package (and all other referenced packages).List<String>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 ingestList<String>RoleIngester. 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 Context Modifier and Type Method Description voidDSpaceObjectService. 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 bundlevoidItemService. addBundle(Context context, Item item, Bundle bundle)Add an existing bundle to this item.voidCommunityService. addCollection(Context context, Community community, Collection collection)Add an exisiting collection to the communityvoidCollectionService. addItem(Context context, Collection collection, Item item)Add an item to the collection.MetadataValueDSpaceObjectService. addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value)Add a single metadata field.MetadataValueDSpaceObjectService. addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value, String authority, int confidence)Add a single metadata field.MetadataValueDSpaceObjectService. 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.List<MetadataValue>DSpaceObjectService. addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, List<String> values)Add metadata fields.List<MetadataValue>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.MetadataValueDSpaceObjectService. addMetadata(Context context, T dso, MetadataField metadataField, String language, String value)Add a metadatafield.MetadataValueDSpaceObjectService. 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 addedList<MetadataValue>DSpaceObjectService. addMetadata(Context context, T dso, MetadataField metadataField, String language, List<String> values)Add a metadatafields.List<MetadataValue>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. adjustBundleBitstreamPolicies(Context context, Item item, Collection collection)voidItemService. adjustItemPolicies(Context context, Item item, Collection collection)booleanItemService. 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)voidCommunityService. canEdit(Context context, Community community)booleanItemService. canEdit(Context context, Item item)return 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.BitstreamBitstreamService. clone(Context context, Bitstream bitstream)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 withdrawnintItemService. 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. 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 notintRelationshipService. 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 typeLongBitstreamService. 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)intItemService. countItems(Context context, Collection collection)counts items in the given collectionintItemService. countItems(Context context, Community community)counts items in the given communityintItemService. 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 itemsBitstreamBitstreamService. create(Context context, InputStream is)Create a new bitstream, with a new ID.BitstreamBitstreamService. create(Context context, Bundle bundle, InputStream is)Create a new bitstream, with a new ID.BundleBundleService. create(Context context, Item item, String name)Create a new bundle, with a new ID and link it to the provided itemCollectionCollectionService. create(Context context, Community community)Create a new collection with a new ID.CollectionCollectionService. create(Context context, Community community, String handle)Create a new collection with the supplied handle and with a new ID.CollectionCollectionService. create(Context context, Community community, String handle, UUID uuid)Create a new collection with the supplied handle and ID.CommunityCommunityService. create(Community parent, Context context)Create a new top-level community, with a new ID.CommunityCommunityService. create(Community parent, Context context, String handle)Create a new top-level community, with a new ID.CommunityCommunityService. create(Community parent, Context context, String handle, UUID uuid)Create a new top-level community, with a new ID.EntityTypeEntityTypeService. create(Context context, String entityTypeString)This method creates an EntityType object in the database with the given entityTypeString as it's labelItemItemService. create(Context context, WorkspaceItem workspaceItem)Create a new item, with a new internal ID.ItemItemService. create(Context context, WorkspaceItem workspaceItem, UUID uuid)Create a new item, with a provided ID.MetadataFieldMetadataFieldService. create(Context context, MetadataSchema metadataSchema, String element, String qualifier, String scopeNote)Creates a new metadata field.MetadataSchemaMetadataSchemaService. create(Context context, String name, String namespace)Creates a new metadata schema in the database, using the name and namespace.MetadataValueMetadataValueService. create(Context context, DSpaceObject dso, MetadataField metadataField)Creates a new metadata value.RelationshipRelationshipService. 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 and rightward labelsRelationshipRelationshipService. 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 variablesRelationshipRelationshipService. 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 relationshipRelationshipTypeRelationshipTypeService. 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 parametersRelationshipTypeRelationshipTypeService. 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 parametersRelationshipTypeRelationshipTypeService. create(Context context, RelationshipType relationshipType)This method creates the given RelationshipType object in the database and returns itWorkspaceItemWorkspaceItemService. create(Context context, Collection collection, boolean template)Create a new workspace item, with a new ID.WorkspaceItemWorkspaceItemService. create(Context context, Collection collection, UUID uuid, boolean template)Create a new workspace item, with a new ID.WorkspaceItemWorkspaceItemService. create(Context c, WorkflowItem wfi)GroupCollectionService. createAdministrators(Context context, Collection collection)Create a default administrators group if one does not already exist.GroupCommunityService. createAdministrators(Context context, Community community)Create a default administrators group if one does not already exist.GroupCollectionService. createDefaultReadGroup(Context context, Collection collection, String typeOfGroupString, int defaultRead)This method will create a default read group for the given Collection.BitstreamItemService. createSingleBitstream(Context context, InputStream is, Item item)Convenience method, calls createSingleBitstream() with name "ORIGINAL"BitstreamItemService. createSingleBitstream(Context context, InputStream is, Item item, String name)Create a single bitstream in a new bundle.SiteSiteService. createSite(Context context)CommunityCommunityService. createSubcommunity(Context context, Community parentCommunity)Create a new sub-community within this community.CommunityCommunityService. createSubcommunity(Context context, Community parentCommunity, String handle)Create a new sub-community within this community.CommunityCommunityService. createSubcommunity(Context context, Community parentCommunity, String handle, UUID uuid)Create a new sub-community within this community.GroupCollectionService. 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.ItemItemService. createTemplateItem(Context context, Collection collection)Create an empty template item for this collection.GroupCollectionService. createWorkflowGroup(Context context, Collection collection, int step)Create a workflow group for the given step if one does not already exist.voidDSpaceObjectService. delete(Context context, T dso)voidMetadataFieldService. 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 contentsDSpaceCSVMetadataDSpaceCsvExportService. export(Context context, Iterator<Item> toExport, boolean exportAll)This method will export all the Items in the given toExport iterator to a DSpaceCSVDSpaceCSVMetadataDSpaceCsvExportService. export(Context context, Community community, boolean exportAll)This method will export all the Items within the given Community to a DSpaceCSVvoidBitstreamService. expunge(Context context, Bitstream bitstream)Remove a bitstream that has been set to "deleted" from the databaseBitstreamBitstreamService. find(Context context, UUID id)TDSpaceObjectService. find(Context context, UUID uuid)Generic find for when the precise type of an Entity is not knownMetadataFieldMetadataFieldService. find(Context context, int id)Find the field corresponding to the given numeric ID.MetadataSchemaMetadataSchemaService. find(Context context, int id)Get the schema corresponding with this numeric ID.MetadataSchemaMetadataSchemaService. find(Context context, String shortName)Get the schema corresponding with this short name.MetadataValueMetadataValueService. find(Context context, int valueId)Retrieves the metadata value from the database.WorkspaceItemWorkspaceItemService. find(Context context, int id)Get a workspace item from the database.List<BitstreamFormat>BitstreamFormatService. findAll(Context context)Retrieve all bitstream formats from the registry, ordered by IDList<Bitstream>BitstreamService. findAll(Context context)Iterator<Bitstream>BitstreamService. findAll(Context context, int limit, int offset)List<Collection>CollectionService. findAll(Context context)Get all collections in the system.List<Collection>CollectionService. findAll(Context context, Integer limit, Integer offset)Get all collections in the system.List<Community>CommunityService. findAll(Context context)Get a list of all communities in the system.List<Community>CommunityService. findAll(Context context, Integer limit, Integer offset)Get all communities in the system.List<EntityType>EntityTypeService. findAll(Context context)Retrieves all the EntityType objects currently in the systemList<EntityType>EntityTypeService. findAll(Context context, Integer limit, Integer offset)Retrieves all the EntityType objects currently in the systemIterator<Item>ItemService. findAll(Context context)Get all the items in the archive.Iterator<Item>ItemService. findAll(Context context, Integer limit, Integer offset)Get all the items in the archive.List<MetadataField>MetadataFieldService. findAll(Context context)Retrieve all metadata field types from the registryList<MetadataSchema>MetadataSchemaService. findAll(Context context)Return all metadata schemas.List<Relationship>RelationshipService. findAll(Context context)Retrieves the full list of relationships currently in the systemList<Relationship>RelationshipService. findAll(Context context, Integer limit, Integer offset)Retrieves the full list of relationships currently in the systemList<RelationshipType>RelationshipTypeService. findAll(Context context)Retrieves all RelationshipType objects currently in the systemList<RelationshipType>RelationshipTypeService. findAll(Context context, Integer limit, Integer offset)Retrieves all RelationshipType objects currently in the systemList<WorkspaceItem>WorkspaceItemService. findAll(Context context)Get all workspace items in the whole systemList<WorkspaceItem>WorkspaceItemService. findAll(Context context, Integer limit, Integer offset)Get all workspace items in the whole system, paginated.Iterator<Item>ItemService. findAllByCollection(Context context, Collection collection)Get all the items (including private and withdrawn) in this collection.Iterator<Item>ItemService. findAllByCollection(Context context, Collection collection, Integer limit, Integer offset)Get all the items (including private and withdrawn) in this collection.List<MetadataField>MetadataFieldService. findAllInSchema(Context context, MetadataSchema metadataSchema)Return all metadata fields that are found in a given schema.List<WorkspaceItem>WorkspaceItemService. findAllSupervisedItems(Context context)List<Community>CommunityService. findAllTop(Context context)Get a list of all top-level communities in the system.Iterator<Item>ItemService. findAllUnfiltered(Context context)Get all "final" items in the archive, both archived ("in archive" flag) or withdrawn items are included.List<Collection>CollectionService. 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.List<Community>CommunityService. findAuthorized(Context context, List<Integer> actions)List<Community>CommunityService. findAuthorizedGroupMapped(Context context, List<Integer> actions)List<Collection>CollectionService. findAuthorizedOptimized(Context context, int actionID)List<Bitstream>BitstreamService. findBitstreamsWithNoRecentChecksum(Context context)CommunityCommunityService. findByAdminGroup(Context context, Group group)Iterator<Item>ItemService. findByAuthorityValue(Context context, String schema, String element, String qualifier, String value)Find all the items in the archive with a given authority key value in the indicated metadata field.Iterator<Item>ItemService. findByCollection(Context context, Collection collection)Get all the archived items in this collection.Iterator<Item>ItemService. findByCollection(Context context, Collection collection, Integer limit, Integer offset)Get all the archived items in this collection.List<WorkspaceItem>WorkspaceItemService. findByCollection(Context context, Collection collection)Get all workspace items for a particular collection.Iterator<Item>ItemService. findByCollectionMapping(Context context, Collection collection, Integer limit, Integer offset)Get all the archived items mapped to this collection (excludes owning collection).MetadataFieldMetadataFieldService. findByElement(Context context, String metadataSchemaName, String element, String qualifier)MetadataFieldMetadataFieldService. findByElement(Context context, MetadataSchema metadataSchema, String element, String qualifier)Retrieves the metadata field from the database.EntityTypeEntityTypeService. findByEntityType(Context context, String entityType)Retrieves the EntityType that has the entityType String parameter as labelList<RelationshipType>RelationshipTypeService. findByEntityType(Context context, EntityType entityType)Returns a list of RelationshipType objects for which the given EntityType is equal to either the leftType or the rightTypeList<RelationshipType>RelationshipTypeService. 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 rightTypeList<RelationshipType>RelationshipTypeService. 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 rightTypeList<RelationshipType>RelationshipTypeService. findByEntityType(Context context, EntityType entityType, Integer limit, Integer offset)Returns a list of relationship types that matches provided EntityType object on any side of relationshipList<WorkspaceItem>SupervisedItemService. findbyEPerson(Context context, EPerson ep)Get items being supervised by given EPersonList<WorkspaceItem>WorkspaceItemService. findByEPerson(Context context, EPerson ep)Get all workspace items for a particular e-person.List<WorkspaceItem>WorkspaceItemService. findByEPerson(Context context, EPerson ep, Integer limit, Integer offset)Get a page of workspace items for a particular e-person.List<MetadataValue>MetadataValueService. findByField(Context context, MetadataField metadataField)Retrieves the metadata values for a given field from the database.Iterator<MetadataValue>MetadataValueService. findByFieldAndValue(Context context, MetadataField metadataField, String value)Retrieves matching MetadataValues for a given field and value.CollectionCollectionService. findByGroup(Context context, Group group)TDSpaceObjectLegacySupportService. findByIdOrLegacyId(Context context, String id)List<Relationship>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 objectList<Relationship>RelationshipService. 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 objectWorkspaceItemWorkspaceItemService. findByItem(Context context, Item item)Check to see if a particular item is currently still in a user's Workspace.List<Relationship>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 propertyList<Relationship>RelationshipService. 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 propertyList<Relationship>RelationshipService. 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 propertyEntityEntityService. 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.EntityEntityService. 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.List<Relationship>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.Iterator<Item>ItemService. findByLastModifiedSince(Context context, Date last)Find all Items modified since a Date.List<RelationshipType>RelationshipTypeService. findByLeftwardOrRightwardTypeName(Context context, String typeName)Retrieves all RelationshipType objects that have a left or right type that is equal to the given StringList<RelationshipType>RelationshipTypeService. 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 StringTDSpaceObjectLegacySupportService. 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.Iterator<Item>ItemService. findByMetadataField(Context context, String schema, String element, String qualifier, String value)Returns an iterator of Items possessing the passed metadata field, or only those matching the passed value, if value is not Item.ANYIterator<Item>ItemService. findByMetadataFieldAuthority(Context context, String mdString, String authority)Iterator<Item>ItemService. findByMetadataQuery(Context context, List<List<MetadataField>> listFieldList, List<String> query_op, List<String> query_val, List<UUID> collectionUuids, String regexClause, int offset, int limit)BitstreamFormatBitstreamFormatService. findByMIMEType(Context context, String mimeType)Find a bitstream format by its (unique) MIME type.MetadataSchemaMetadataSchemaService. findByNamespace(Context context, String namespace)Get the schema object corresponding to this namespace URI.List<Relationship>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 objectList<Relationship>RelationshipService. findByRelationshipType(Context context, RelationshipType relationshipType, Integer limit, Integer offset)This method returns a list of Relationship objets for which the relationshipType property is equal to the given RelationshipType objectBitstreamFormatBitstreamFormatService. findByShortDescription(Context context, String desc)Find a bitstream format by its (unique) short descriptionIterator<Bitstream>BitstreamService. findByStoreNumber(Context context, Integer storeNumber)MetadataFieldMetadataFieldService. 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 foundIterator<Item>ItemService. findBySubmitter(Context context, EPerson eperson)Find all the items in the archive by a given submitter.Iterator<Item>ItemService. findBySubmitter(Context context, EPerson eperson, boolean retrieveAllItems)Find all the items by a given submitter.Iterator<Item>ItemService. findBySubmitterDateSorted(Context context, EPerson eperson, Integer limit)Retrieve the list of items submitted by eperson, ordered by recently submitted, optionally limitableList<Relationship>RelationshipService. findByTypeName(Context context, String typeName)This method returns a list of Relationship objects for the given typeNameList<Relationship>RelationshipService. findByTypeName(Context context, String typeName, Integer limit, Integer offset)This method returns a list of Relationship objects for the given typeNameRelationshipTypeRelationshipTypeService. 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 RelationshipTypeIterator<MetadataValue>MetadataValueService. findByValueLike(Context context, String value)List<Collection>CollectionService. findCollectionsWithSubmit(String q, Context context, Community community, int offset, int limit)Returns Collections for which the current user has 'submit' privileges.List<Collection>CollectionService. findCollectionsWithSubmit(String q, Context context, Community community, String entityType, int offset, int limit)Returns Collections for which the current user has 'submit' privileges.List<Collection>CollectionService. findCollectionsWithSubscribers(Context context)List<Bitstream>BitstreamService. findDeletedBitstreams(Context context)Retrieve all bitstreams with the deleted flag set to trueList<Collection>CollectionService. findDirectMapped(Context context, int actionID)List<Bitstream>BitstreamService. findDuplicateInternalIdentifier(Context context, Bitstream bitstream)List<MetadataField>MetadataFieldService. findFieldsByElementNameUnqualified(Context context, String metadataSchema, String element)List<Collection>CollectionService. findGroup2CommunityMapped(Context context)List<Collection>CollectionService. findGroup2GroupMapped(Context context, int actionID)List<Collection>CollectionService. findGroupMapped(Context context, int actionID)Iterator<Item>ItemService. findInArchiveOrWithdrawnDiscoverableModifiedSince(Context context, Date since)Get all Items installed or withdrawn, discoverable, and modified since a Date.Iterator<Item>ItemService. findInArchiveOrWithdrawnNonDiscoverableModifiedSince(Context context, Date since)Get all Items installed or withdrawn, NON-discoverable, and modified since a Date.intRelationshipService. findNextLeftPlaceByLeftItem(Context context, Item item)This method returns the next leftplace integer to use for a relationship with this item as the leftItemintRelationshipService. findNextRightPlaceByRightItem(Context context, Item item)This method returns the next rightplace integer to use for a relationship with this item as the rightItemList<BitstreamFormat>BitstreamFormatService. findNonInternal(Context context)Retrieve all non-internal bitstream formats from the registry.SiteSiteService. findSite(Context context)List<WorkspaceItem>WorkspaceItemService. findSupervisedItemsByEPerson(Context context, EPerson ePerson)BitstreamFormatBitstreamFormatService. 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.DSpaceObjectDSpaceObjectService. getAdminObject(Context context, T dso, int action)Return the dspace object where an ADMIN action right is sufficient to grant the initial authorize check.List<WorkspaceItem>SupervisedItemService. getAll(Context context)Get all workspace items which are being supervisedList<Collection>CommunityService. getAllCollections(Context context, Community community)Return an array of collections of this community and its subcommunitiesList<Community>CommunityService. getAllParents(Context context, Collection collection)Return an array of parent communities of this collection.List<Community>CommunityService. getAllParents(Context context, Community community)Return an array of parent communities of this community, in ascending order.List<RelationshipType>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 variablesList<RelationshipType>EntityService. 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 variablesList<ResourcePolicy>BundleService. getBitstreamPolicies(Context context, Bundle bundle)StringInstallItemService. getBitstreamProvenanceMessage(Context context, Item myitem)Generate provenance-worthy description of the bitstreams contained in an item.List<ResourcePolicy>BundleService. getBundlePolicies(Context context, Bundle bundle)Iterator<Bitstream>BitstreamService. getCollectionBitstreams(Context context, Collection collection)List<Collection>ItemService. getCollectionsNotLinked(Context context, Item item)Get the collections this item is not in.List<Map.Entry<Collection,Long>>CollectionService. getCollectionsWithBitstreamSizesTotal(Context context)The map entry returned contains a collection as a key and sum of bitstream sizes in bytes as a valueList<Community>ItemService. getCommunities(Context context, Item item)Get the communities this item is in.Iterator<Bitstream>BitstreamService. getCommunityBitstreams(Context context, Community community)List<EntityType>EntityTypeService. getEntityTypesByNames(Context context, List<String> names, Integer limit, Integer offset)BitstreamFormatBitstreamService. getFormat(Context context, Bitstream bitstream)StringBitstreamService. 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.ArrayList<String>DSpaceObjectService. getIdentifiers(Context context, T dso)Tries to lookup all Identifiers of this DSpaceObject.Iterator<Bitstream>BitstreamService. getItemBitstreams(Context context, Item item)List<Relationship>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 alongList<RelationshipType>EntityService. getLeftRelationshipTypes(Context context, Entity entity)Retrieves the list of relationships that have a relationshiptype that contains the EntityType for the given Entity in the leftEntityTypeList<RelationshipType>EntityService. 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 leftEntityTypeMetadataValueMetadataValueService. getMinimum(Context context, int metadataFieldId)Get the minimum value of a given metadata field across all objects.List<Bitstream>ItemService. getNonInternalBitstreams(Context context, Item item)Get all non-internal bitstreams in the item.List<Bitstream>BitstreamService. getNotReferencedBitstreams(Context context)DSpaceObjectDSpaceObjectService. getParentObject(Context context, T dso)Return the dspace object that "own" the current object in the hierarchy.List<Relationship>EntityService. 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 StringList<Relationship>EntityService. 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 StringList<RelationshipType>EntityService. 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 alongList<RelationshipType>EntityService. 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 alongList<Relationship>EntityService. 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 alongList<RelationshipType>EntityService. getRightRelationshipTypes(Context context, Entity entity)Retrieves the list of relationships that have a relationshiptype that contains the EntityType for the given Entity in the rightEntityTypeList<RelationshipType>EntityService. 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 rightEntityTypeList<Map.Entry<Integer,Long>>WorkspaceItemService. getStageReachedCounts(Context context)The map entry returned contains stage reached as the key and count of items in that stage as a valueList<String>EntityTypeService. getSubmitAuthorizedTypes(Context context)Retrieves all entity types related to the collections on which the current user can depositBitstreamBitstreamService. getThumbnail(Context context, Bitstream bitstream)ThumbnailItemService. getThumbnail(Context context, Item item, boolean requireOriginal)EntityTypeEntityService. getType(Context context, Entity entity)Returns the EntityType for the Item that is attached to the Entity that is passed along to this method.GroupCollectionService. getWorkflowGroup(Context context, Collection collection, int step)Get the the workflow group corresponding to a particular workflow step.BitstreamFormatBitstreamFormatService. guessFormat(Context context, Bitstream bitstream)Attempt to identify the format of a particular bitstream.DSpaceCSVMetadataDSpaceCsvExportService. 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.voidEntityTypeService. initDefaultEntityTypeNames(Context context)Initializes the EntityType names, and marks them "permanent".ItemInstallItemService. installItem(Context context, InProgressSubmission is)Take an InProgressSubmission and turn it into a fully-archived Item, creating a new Handle.ItemInstallItemService. 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.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 onevoidBundleService. 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)BitstreamBitstreamService. register(Context context, int assetstore, String bitstreamPath)Register a new bitstream, with a new ID.BitstreamBitstreamService. register(Context context, Bundle bundle, int assetstore, String bitstreamPath)Register a new bitstream, with a new ID.voidItemService. reinstate(Context context, Item item)Reinstate 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)ItemInstallItemService. 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.InputStreamBitstreamService. retrieve(Context context, Bitstream bitstream)Retrieve the contents of the bitstreamvoidBitstreamService. setFormat(Context context, Bitstream bitstream, BitstreamFormat bitstreamFormat)Set the format of the bitstream.BitstreamCollectionService. setLogo(Context context, Collection collection, InputStream is)Give the collection a logo.BitstreamCommunityService. 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 valuevoidBundleService. setOrder(Context context, Bundle bundle, UUID[] bitstreamIds)Changes 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.voidDSpaceObjectService. update(Context context, T dso)voidInProgressSubmissionService. update(Context context, T inProgressSubmission)Update 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)voidRelationshipService. updatePlaceInRelationship(Context context, Relationship relationship)This method will update the place for the Relationship and all other relationships found by the items and relationship type of the given Relationship.voidItemService. withdraw(Context context, Item item)Withdraw the item from the archive. -
Uses of Context in org.dspace.content.virtual
Methods in org.dspace.content.virtual with parameters of type Context Modifier and Type Method Description List<String>Collected. getValues(Context context, Item item)this 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 listList<String>Concatenate. getValues(Context context, Item item)this 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 classList<String>Related. getValues(Context context, Item item)This 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.List<String>UUIDValue. getValues(Context context, Item item)List<String>VirtualMetadataConfiguration. getValues(Context context, Item item)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.core
Methods in org.dspace.core with parameters of type Context Modifier and Type Method Description intAbstractHibernateDAO. count(Context context, javax.persistence.criteria.CriteriaQuery criteriaQuery, javax.persistence.criteria.CriteriaBuilder criteriaBuilder, javax.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, javax.persistence.criteria.CriteriaQuery criteriaQuery, javax.persistence.criteria.CriteriaBuilder criteriaBuilder, javax.persistence.criteria.Root<T> root)This method will return the count of items for this query as a longTAbstractHibernateDAO. create(Context context, T t)TGenericDAO. create(Context context, T t)Create a new instance of this type in the database.javax.persistence.QueryAbstractHibernateDAO. createQuery(Context context, String query)Create a parsed query from a query expression.voidAbstractHibernateDAO. delete(Context context, T t)voidGenericDAO. delete(Context context, T t)Remove an instance from the database.List<T>AbstractHibernateDAO. executeCriteriaQuery(Context context, javax.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.List<T>AbstractHibernateDAO. findAll(Context context, Class<T> clazz)List<T>AbstractHibernateDAO. findAll(Context context, Class<T> clazz, Integer limit, Integer offset)List<T>GenericDAO. findAll(Context context, Class<T> clazz)Fetch all persisted instances of a given object type.List<T>GenericDAO. findAll(Context context, Class<T> clazz, Integer limit, Integer offset)Fetch all persisted instances of a given object type.TAbstractHibernateDAO. findByID(Context context, Class clazz, int id)TAbstractHibernateDAO. findByID(Context context, Class clazz, UUID id)TGenericDAO. findByID(Context context, Class clazz, int id)Fetch the entity identified by its legacy database identifier.TGenericDAO. findByID(Context context, Class clazz, UUID id)Fetch the entity identified by its UUID primary key.TAbstractHibernateDSODAO. findByLegacyId(Context context, int legacyId, Class<T> clazz)Find a DSO by its "legacy ID".List<T>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 hashmapList<T>AbstractHibernateDAO. findMany(Context context, String query)List<T>AbstractHibernateDAO. findMany(Context context, javax.persistence.Query query)Execute a JPA Criteria query and return a collection of results.List<T>GenericDAO. findMany(Context context, String query)Execute a JPQL query and return a collection of results.TAbstractHibernateDAO. findUnique(Context context, String query)TGenericDAO. findUnique(Context context, String query)Execute a JPQL query returning a unique result.javax.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 StringLogHelper. getHeader(Context context, String action, String extrainfo)Generate 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 contextList<T>AbstractHibernateDAO. list(Context context, javax.persistence.criteria.CriteriaQuery 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 parametersList<T>AbstractHibernateDAO. list(Context context, javax.persistence.criteria.CriteriaQuery 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 parametersvoidAbstractHibernateDAO. save(Context context, T t)voidGenericDAO. save(Context context, T t)Persist this instance in the database.TAbstractHibernateDAO. singleResult(Context context, javax.persistence.criteria.CriteriaQuery criteriaQuery)Retrieve a single result from the query.TAbstractHibernateDAO. uniqueResult(Context context, javax.persistence.criteria.CriteriaQuery criteriaQuery, boolean cacheable, Class<T> clazz)Retrieve a unique result from the query. -
Uses of Context in org.dspace.ctask.testing
Methods in org.dspace.ctask.testing with parameters of type Context Modifier and Type Method Description intPropertyParameterTestingTask. perform(Context ctx, String id) -
Uses of Context in org.dspace.curate
Fields in org.dspace.curate declared as Context Modifier and Type Field Description protected ContextCuration. contextFields in org.dspace.curate with type parameters of type Context Modifier and Type Field Description protected static ThreadLocal<Context>Curator. curationCtxMethods in org.dspace.curate that return Context Modifier and Type Method Description static ContextCurator. curationContext()Returns the context object used in the current curation thread.Methods in org.dspace.curate with parameters of type Context Modifier and Type Method Description voidCurator. curate(Context c, String id)Performs 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).booleanXmlWorkflowCuratorServiceImpl. curate(Curator curator, Context c, String wfId)booleanXmlWorkflowCuratorServiceImpl. 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)Only admin 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.intAbstractCurationTask. perform(Context ctx, String id)intCurationTask. perform(Context ctx, String id)Perform the curation task for passed idintResolvedTask. perform(Context ctx, String id)Perform the curation task for passed idintScriptedTask. performId(Context ctx, String id)Perform the curation task for passed idvoidCurator. queue(Context c, String id, String queueId)Places a curation request for the object identified by id on a managed queue named by the queueId.protected List<EPerson>XmlWorkflowCuratorServiceImpl. resolveContacts(Context c, List<String> contacts, XmlWorkflowItem wfi)Develop a list of EPerson from a list of perhaps symbolic "contact" names.booleanCurator.TaskRunner. run(Context c, String id) -
Uses of Context in org.dspace.curate.service
Methods in org.dspace.curate.service with parameters of type Context Modifier and Type Method Description booleanXmlWorkflowCuratorService. curate(Curator curator, Context c, String wfId)Determines 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 Context Modifier and Type Field Description protected ContextFullTextContentStreams. contextMethods in org.dspace.discovery with parameters of type Context Modifier and Type Method Description voidSolrServiceContentInOriginalBundleFilterPlugin. additionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document)voidSolrServiceFileInfoPlugin. additionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document)voidSolrServiceIndexCollectionSubmittersPlugin. 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)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)StringSearchService. 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.StringSolrServiceImpl. calculateExtremeValue(Context context, String valueField, String sortField, DiscoverQuery.SORT_ORDER sortOrder)voidFacetYearRange. calculateRange(Context context, List<String> filterQueries, IndexableObject scope, SearchService searchService, DiscoverQuery parentQuery)voidIndexEventConsumer. consume(Context ctx, Event event)Consume 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 indexStringSearchService. createLocationQueryForAdministrableItems(Context context)Method to create a Query that includes all communities and collections a user may administrate.StringSolrServiceImpl. createLocationQueryForAdministrableItems(Context context)voidIndexEventConsumer. end(Context ctx)Process 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 UUIDvoidIndexEventConsumer. finish(Context ctx)FacetYearRangeSearchService. getFacetYearRange(Context context, IndexableObject scope, DiscoverySearchFilterFacet facet, List<String> filterQueries, DiscoverQuery parentQuery)FacetYearRangeSolrServiceImpl. getFacetYearRange(Context context, IndexableObject scope, DiscoverySearchFilterFacet facet, List<String> filterQueries, DiscoverQuery parentQuery)List<Item>SearchService. getRelatedItems(Context context, Item item, DiscoveryMoreLikeThisConfiguration moreLikeThisConfiguration)List<Item>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)voidSolrServiceImpl. 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)booleanIndexDiscoveryScriptConfiguration. isAllowedToExecute(Context context)StringSolrServiceImpl. 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)List<IndexableObject>SearchService. search(Context context, String query, String orderfield, boolean ascending, int offset, int max, String... filterquery)DiscoverResultSearchService. search(Context context, DiscoverQuery query)Convenient method to call#search(Context, DSpaceObject, DiscoverQuery)with a null DSpace Object as scope (i.e.DiscoverResultSearchService. search(Context context, IndexableObject dso, DiscoverQuery query)Convenient method to call @see #search(Context, DSpaceObject, DiscoverQuery, boolean) with includeWithdrawn=falseList<IndexableObject>SolrServiceImpl. search(Context context, String query, int offset, int max, String... filterquery)List<IndexableObject>SolrServiceImpl. search(Context context, String query, String orderfield, boolean ascending, int offset, int max, String... filterquery)DiscoverResultSolrServiceImpl. search(Context context, DiscoverQuery discoveryQuery)DiscoverResultSolrServiceImpl. search(Context context, IndexableObject dso, DiscoverQuery discoveryQuery)DiscoverFilterQuerySearchService. toFilterQuery(Context context, String field, String operator, String value, DiscoveryConfiguration config)Transforms the given string field and value into a filter queryDiscoverFilterQuerySolrServiceImpl. 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)voidIndexingService. 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 Context Constructor Description FullTextContentStreams(Context context, Item parentItem) -
Uses of Context in org.dspace.discovery.indexobject
Methods in org.dspace.discovery.indexobject with parameters of type Context Modifier and Type Method Description voidItemIndexFactoryImpl. 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.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)Iterator<IndexableClaimedTask>ClaimedTaskIndexFactoryImpl. findAll(Context context)Iterator<IndexableCollection>CollectionIndexFactoryImpl. findAll(Context context)Iterator<IndexableCommunity>CommunityIndexFactoryImpl. findAll(Context context)Iterator<IndexableItem>ItemIndexFactoryImpl. findAll(Context context)Iterator<IndexableMetadataField>MetadataFieldIndexFactoryImpl. findAll(Context context)Iterator<IndexablePoolTask>PoolTaskIndexFactoryImpl. findAll(Context context)Iterator<IndexableWorkflowItem>WorkflowItemIndexFactoryImpl. findAll(Context context)Iterator<IndexableWorkspaceItem>WorkspaceItemIndexFactoryImpl. findAll(Context context)Optional<IndexableClaimedTask>ClaimedTaskIndexFactoryImpl. findIndexableObject(Context context, String id)Optional<IndexableCollection>CollectionIndexFactoryImpl. findIndexableObject(Context context, String id)Optional<IndexableCommunity>CommunityIndexFactoryImpl. findIndexableObject(Context context, String id)Optional<IndexableItem>ItemIndexFactoryImpl. findIndexableObject(Context context, String id)Optional<IndexableMetadataField>MetadataFieldIndexFactoryImpl. findIndexableObject(Context context, String id)Optional<IndexablePoolTask>PoolTaskIndexFactoryImpl. findIndexableObject(Context context, String id)Optional<IndexableWorkflowItem>WorkflowItemIndexFactoryImpl. findIndexableObject(Context context, String id)Optional<IndexableWorkspaceItem>WorkspaceItemIndexFactoryImpl. findIndexableObject(Context context, String id)List<String>CollectionIndexFactoryImpl. getCollectionLocations(Context context, Collection collection)ListClaimedTaskIndexFactoryImpl. getIndexableObjects(Context context, ClaimedTask object)ListCollectionIndexFactoryImpl. getIndexableObjects(Context context, Collection object)ListCommunityIndexFactoryImpl. getIndexableObjects(Context context, Community object)ListItemIndexFactoryImpl. getIndexableObjects(Context context, Item object)ListMetadataFieldIndexFactoryImpl. getIndexableObjects(Context context, MetadataField object)ListPoolTaskIndexFactoryImpl. getIndexableObjects(Context context, PoolTask object)ListWorkflowItemIndexFactoryImpl. getIndexableObjects(Context context, XmlWorkflowItem object)ListWorkspaceItemIndexFactoryImpl. getIndexableObjects(Context context, WorkspaceItem object)List<String>CollectionIndexFactoryImpl. getLocations(Context context, IndexableCollection indexableCollection)List<String>CommunityIndexFactoryImpl. getLocations(Context context, IndexableCommunity indexableDSpaceObject)List<String>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 Context Modifier and Type Method Description voidItemIndexFactory. 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.Iterator<T>IndexFactory. findAll(Context context)Retrieve all instances of a certain indexable object typeOptional<T>IndexFactory. findIndexableObject(Context context, String id)Retrieve a single indexable object using the provided identifierList<String>CollectionIndexFactory. getCollectionLocations(Context context, Collection collection)Return a list of the identifiers of the owning communities from the provided collection prepended by "m"ListIndexFactory. getIndexableObjects(Context context, S object)Retrieve all the indexable objects for the provided objectList<IndexableObject>IndexObjectFactoryFactory. getIndexableObjects(Context context, Object object)Retrieve all the indexable objects for the provided objectList<String>DSpaceObjectIndexFactory. 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.disseminate
Methods in org.dspace.disseminate with parameters of type Context Modifier and Type Method Description booleanCitationDocumentServiceImpl. canGenerateCitationVersion(Context context, Bitstream bitstream)protected voidCitationDocumentServiceImpl. generateCoverPage(Context context, org.apache.pdfbox.pdmodel.PDDocument document, org.apache.pdfbox.pdmodel.PDPage coverPage, Item item)StringCitationDocumentServiceImpl. getOwningCommunity(Context context, Item item)BooleanCitationDocumentServiceImpl. isCitationEnabledForBitstream(Bitstream bitstream, Context context)protected booleanCitationDocumentServiceImpl. isCitationEnabledThroughCollection(Context context, Bitstream bitstream)org.apache.commons.lang3.tuple.Pair<InputStream,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 Context Modifier and Type Method Description booleanCitationDocumentService. canGenerateCitationVersion(Context context, Bitstream bitstream)StringCitationDocumentService. getOwningCommunity(Context context, Item item)Get name of owning communityBooleanCitationDocumentService. 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<InputStream,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 Context Modifier and Type Method Description voidDefaultEmbargoSetter. 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.Iterator<Item>EmbargoServiceImpl. findItemsByLiftMetadata(Context context)protected voidDefaultEmbargoSetter. generatePolicies(Context context, Date embargoDate, String reason, DSpaceObject dso, Collection owningCollection)DCDateEmbargoServiceImpl. getEmbargoTermsAsDate(Context context, Item item)List<MetadataValue>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)DCDateDayTableEmbargoSetter. parseTerms(Context context, Item item, String terms)Parse the terms into a definite date.DCDateDefaultEmbargoSetter. parseTerms(Context context, Item item, String terms)Parse the terms into a definite date.DCDateEmbargoSetter. 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, Date 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 Context Modifier and Type Method Description voidEmbargoService. checkEmbargo(Context context, Item item)Iterator<Item>EmbargoService. findItemsByLiftMetadata(Context context)DCDateEmbargoService. getEmbargoTermsAsDate(Context context, Item item)Get the embargo lift date for an Item, if any.List<MetadataValue>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 Context Modifier and Type Method Description voidSupervisorServiceImpl. add(Context context, Group group, WorkspaceItem workspaceItem, int policy)voidGroupServiceImpl. addMember(Context context, Group group, EPerson e)voidGroupServiceImpl. addMember(Context context, Group groupParent, Group groupChild)List<Group>GroupServiceImpl. allMemberGroups(Context context, EPerson ePerson)Set<Group>GroupServiceImpl. allMemberGroupsSet(Context context, EPerson ePerson)List<EPerson>GroupServiceImpl. allMembers(Context c, Group g)booleanEPersonServiceImpl. checkPassword(Context context, EPerson ePerson, String attempt)voidEPersonConsumer. consume(Context context, Event event)Consume the eventintEPersonServiceImpl. countTotal(Context context)intGroupServiceImpl. countTotal(Context context)EPersonEPersonServiceImpl. create(Context context)GroupGroupServiceImpl. create(Context context)RegistrationDataRegistrationDataServiceImpl. create(Context context)voidEPersonServiceImpl. delete(Context context, EPerson ePerson)voidEPersonServiceImpl. delete(Context context, EPerson ePerson, boolean cascade)Deletes an EPerson.voidGroupServiceImpl. delete(Context context, Group group)voidRegistrationDataServiceImpl. delete(Context context, RegistrationData registrationData)voidSubscribeServiceImpl. deleteByCollection(Context context, Collection collection)voidSubscribeServiceImpl. deleteByEPerson(Context context, EPerson ePerson)voidRegistrationDataServiceImpl. deleteByToken(Context context, String token)voidAccountServiceImpl. deleteToken(Context context, String token)Delete token.voidEPersonConsumer. end(Context ctx)Handle the end of the eventEPersonEPersonServiceImpl. find(Context context, UUID id)GroupGroupServiceImpl. find(Context context, UUID id)RegistrationDataRegistrationDataServiceImpl. find(Context context, int id)List<EPerson>EPersonServiceImpl. findAll(Context context, int sortField)List<EPerson>EPersonServiceImpl. findAll(Context context, int sortField, int pageSize, int offset)List<Group>GroupServiceImpl. findAll(Context context, int sortField)Deprecated.List<Group>GroupServiceImpl. findAll(Context context, List<MetadataField> metadataSortFields)List<Group>GroupServiceImpl. findAll(Context context, List<MetadataField> metadataSortFields, int pageSize, int offset)List<Subscription>SubscribeServiceImpl. findAll(Context context)EPersonEPersonServiceImpl. findByEmail(Context context, String email)RegistrationDataRegistrationDataServiceImpl. findByEmail(Context context, String email)List<EPerson>EPersonServiceImpl. findByGroups(Context c, Set<Group> groups)EPersonEPersonServiceImpl. findByIdOrLegacyId(Context context, String id)GroupGroupServiceImpl. findByIdOrLegacyId(Context context, String id)EPersonEPersonServiceImpl. findByLegacyId(Context context, int legacyId)GroupGroupServiceImpl. findByLegacyId(Context context, int id)List<Group>GroupServiceImpl. findByMetadataField(Context context, String searchValue, MetadataField metadataField)GroupGroupServiceImpl. findByName(Context context, String name)EPersonEPersonServiceImpl. findByNetid(Context context, String netId)RegistrationDataRegistrationDataServiceImpl. findByToken(Context context, String token)List<EPerson>EPersonServiceImpl. findEPeopleWithSubscription(Context context)List<EPerson>EPersonServiceImpl. findNotActiveSince(Context context, Date date)List<EPerson>EPersonServiceImpl. findUnsalted(Context context)voidEPersonConsumer. finish(Context ctx)Finish the eventList<Collection>SubscribeServiceImpl. getAvailableSubscriptions(Context context)List<Collection>SubscribeServiceImpl. getAvailableSubscriptions(Context context, EPerson eperson)List<String>EPersonServiceImpl. getDeleteConstraints(Context context, EPerson ePerson)StringAccountServiceImpl. getEmail(Context context, String token)Return the e-mail address referred to by a token, or null if email address can't be found ignores expiration of tokenList<Group>GroupServiceImpl. getEmptyGroups(Context context)Get a list of groups with no members.EPersonAccountServiceImpl. 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.DSpaceObjectGroupServiceImpl. getParentObject(Context context, Group group)List<Subscription>SubscribeServiceImpl. getSubscriptions(Context context, EPerson eperson)voidGroupServiceImpl. initDefaultGroupNames(Context context)protected booleanGroupServiceImpl. isEPersonInGroup(Context context, Group group, EPerson ePerson)booleanGroupServiceImpl. isMember(Context context, String groupName)booleanGroupServiceImpl. isMember(Context context, EPerson eperson, String groupName)booleanGroupServiceImpl. isMember(Context context, EPerson ePerson, Group group)booleanGroupServiceImpl. isMember(Context context, Group group)booleanSupervisorServiceImpl. isOrder(Context context, WorkspaceItem workspaceItem, Group group)booleanGroupServiceImpl. isParentOf(Context context, Group parentGroup, Group childGroup)booleanSubscribeServiceImpl. isSubscribed(Context context, EPerson eperson, Collection collection)static voidSubscribeCLITool. processDaily(Context context, boolean test)Process subscriptions.voidSupervisorServiceImpl. remove(Context context, WorkspaceItem workspaceItem, Group group)voidGroupServiceImpl. removeMember(Context context, Group group, EPerson ePerson)Removes a member of a group.voidGroupServiceImpl. removeMember(Context context, Group groupParent, Group childGroup)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 groupList<EPerson>EPersonServiceImpl. search(Context context, String query)List<EPerson>EPersonServiceImpl. search(Context context, String query, int offset, int limit)List<Group>GroupServiceImpl. search(Context context, String groupIdentifier)List<Group>GroupServiceImpl. search(Context context, String groupIdentifier, int offset, int limit)intEPersonServiceImpl. searchResultCount(Context context, String query)intGroupServiceImpl. searchResultCount(Context context, String groupIdentifier)protected voidAccountServiceImpl. sendEmail(Context context, String email, boolean isRegister, RegistrationData rd)Send a DSpace message to the given email address.static voidSubscribeCLITool. sendEmail(Context context, EPerson eperson, List<Collection> collections, boolean test)Sends an email to the given e-person with details of new items in the given collections, items that appeared yesterday.voidAccountServiceImpl. sendForgotPasswordInfo(Context context, String email)Email forgot password info to the given email address.protected RegistrationDataAccountServiceImpl. sendInfo(Context context, String email, boolean isRegister, boolean send)THIS IS AN INTERNAL METHOD.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 namevoidSubscribeServiceImpl. subscribe(Context context, EPerson eperson, Collection collection)voidSubscribeServiceImpl. unsubscribe(Context context, EPerson eperson, Collection collection)voidEPersonServiceImpl. update(Context context, EPerson ePerson)voidGroupServiceImpl. update(Context context, Group group)Update the group - writing out group object and EPerson list if necessaryvoidRegistrationDataServiceImpl. update(Context context, List<RegistrationData> registrationDataRecords)voidRegistrationDataServiceImpl. update(Context context, RegistrationData registrationData)voidEPersonServiceImpl. updateLastModified(Context context, EPerson dso)voidGroupServiceImpl. updateLastModified(Context context, Group dso) -
Uses of Context in org.dspace.eperson.dao
Methods in org.dspace.eperson.dao with parameters of type Context Modifier and Type Method Description intGroupDAO. countByNameLike(Context context, String groupName)Count the number of groups that have a name that contains the given stringintEPersonDAO. countRows(Context context)intGroupDAO. countRows(Context context)Count the number of groups in DSpacevoidGroup2GroupCacheDAO. deleteAll(Context context)voidSubscriptionDAO. deleteByCollection(Context context, Collection collection)voidSubscriptionDAO. deleteByCollectionAndEPerson(Context context, Collection collection, EPerson eperson)voidSubscriptionDAO. deleteByEPerson(Context context, EPerson eperson)voidRegistrationDataDAO. deleteByToken(Context context, String token)Group2GroupCacheGroup2GroupCacheDAO. find(Context context, Group parent, Group child)List<EPerson>EPersonDAO. findAll(Context context, MetadataField metadataFieldSort, String sortColumn, int pageSize, int offset)List<Group>GroupDAO. findAll(Context context, int pageSize, int offset)Find all groups ordered by name ascendingList<Group>GroupDAO. findAll(Context context, List<MetadataField> metadataSortFields, int pageSize, int offset)Find all groups ordered by the specified metadata fields ascendingList<Subscription>SubscriptionDAO. findAllOrderedByEPerson(Context context)List<EPerson>EPersonDAO. findAllSubscribers(Context context)List<Group2GroupCache>Group2GroupCacheDAO. findByChildren(Context context, Iterable<Group> groups)SubscriptionSubscriptionDAO. findByCollectionAndEPerson(Context context, EPerson eperson, Collection collection)EPersonEPersonDAO. findByEmail(Context context, String email)RegistrationDataRegistrationDataDAO. findByEmail(Context context, String email)List<Group>GroupDAO. findByEPerson(Context context, EPerson ePerson)Find all groups that the given ePerson belongs toList<Subscription>SubscriptionDAO. findByEPerson(Context context, EPerson eperson)List<EPerson>EPersonDAO. findByGroups(Context context, Set<Group> groups)GroupGroupDAO. findByIdAndMembership(Context context, UUID id, EPerson ePerson)Find a group by its name and the membership of the given EPersonList<Group>GroupDAO. 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)GroupGroupDAO. findByName(Context context, String name)Find a group by its name (exact match)List<Group>GroupDAO. findByNameLike(Context context, String groupName, int offset, int limit)Find a group by its name (fuzzy match)EPersonEPersonDAO. findByNetid(Context context, String netid)List<Group2GroupCache>Group2GroupCacheDAO. findByParent(Context context, Group group)Group2GroupCacheGroup2GroupCacheDAO. findByParentAndChild(Context context, Group parent, Group child)RegistrationDataRegistrationDataDAO. findByToken(Context context, String token)List<EPerson>EPersonDAO. findNotActiveSince(Context context, Date date)List<EPerson>EPersonDAO. findWithPasswordWithoutDigestAlgorithm(Context context)List<Group>GroupDAO. getEmptyGroups(Context context)Return all empty groupsList<org.apache.commons.lang3.tuple.Pair<UUID,UUID>>GroupDAO. getGroup2GroupResults(Context context, boolean flushQueries)Get a list of all direct parent - child group relations in the databaseList<EPerson>EPersonDAO. search(Context context, String query, List<MetadataField> queryFields, List<MetadataField> sortFields, int offset, int limit)intEPersonDAO. searchResultCount(Context context, String query, List<MetadataField> queryFields) -
Uses of Context in org.dspace.eperson.dao.impl
Methods in org.dspace.eperson.dao.impl with parameters of type Context Modifier and Type Method Description intGroupDAOImpl. countByNameLike(Context context, String groupName)intEPersonDAOImpl. countRows(Context context)intGroupDAOImpl. countRows(Context context)voidGroupDAOImpl. delete(Context context, Group group)voidGroup2GroupCacheDAOImpl. deleteAll(Context context)voidSubscriptionDAOImpl. deleteByCollection(Context context, Collection collection)voidSubscriptionDAOImpl. deleteByCollectionAndEPerson(Context context, Collection collection, EPerson eperson)voidSubscriptionDAOImpl. deleteByEPerson(Context context, EPerson eperson)voidRegistrationDataDAOImpl. deleteByToken(Context context, String token)Group2GroupCacheGroup2GroupCacheDAOImpl. find(Context context, Group parent, Group child)List<EPerson>EPersonDAOImpl. findAll(Context context, MetadataField metadataSortField, String sortField, int pageSize, int offset)List<Group>GroupDAOImpl. findAll(Context context, int pageSize, int offset)List<Group>GroupDAOImpl. findAll(Context context, List<MetadataField> sortMetadataFields, int pageSize, int offset)List<Subscription>SubscriptionDAOImpl. findAllOrderedByEPerson(Context context)List<EPerson>EPersonDAOImpl. findAllSubscribers(Context context)List<Group2GroupCache>Group2GroupCacheDAOImpl. findByChildren(Context context, Iterable<Group> groups)SubscriptionSubscriptionDAOImpl. findByCollectionAndEPerson(Context context, EPerson eperson, Collection collection)EPersonEPersonDAOImpl. findByEmail(Context context, String email)RegistrationDataRegistrationDataDAOImpl. findByEmail(Context context, String email)List<Group>GroupDAOImpl. findByEPerson(Context context, EPerson ePerson)List<Subscription>SubscriptionDAOImpl. findByEPerson(Context context, EPerson eperson)List<EPerson>EPersonDAOImpl. findByGroups(Context context, Set<Group> groups)GroupGroupDAOImpl. findByIdAndMembership(Context context, UUID id, EPerson ePerson)List<Group>GroupDAOImpl. findByMetadataField(Context context, String searchValue, MetadataField metadataField)GroupGroupDAOImpl. findByName(Context context, String name)List<Group>GroupDAOImpl. findByNameLike(Context context, String groupName, int offset, int limit)EPersonEPersonDAOImpl. findByNetid(Context context, String netid)List<Group2GroupCache>Group2GroupCacheDAOImpl. findByParent(Context context, Group group)Group2GroupCacheGroup2GroupCacheDAOImpl. findByParentAndChild(Context context, Group parent, Group child)RegistrationDataRegistrationDataDAOImpl. findByToken(Context context, String token)List<EPerson>EPersonDAOImpl. findNotActiveSince(Context context, Date date)List<EPerson>EPersonDAOImpl. findWithPasswordWithoutDigestAlgorithm(Context context)List<Group>GroupDAOImpl. getEmptyGroups(Context context)List<org.apache.commons.lang3.tuple.Pair<UUID,UUID>>GroupDAOImpl. getGroup2GroupResults(Context context, boolean flushQueries)protected javax.persistence.QueryEPersonDAOImpl. getSearchQuery(Context context, String queryString, String queryParam, List<MetadataField> queryFields, List<MetadataField> sortFields, String sortField)protected javax.persistence.QueryEPersonDAOImpl. getSearchQuery(Context context, String queryString, String queryParam, List<MetadataField> queryFields, List<MetadataField> sortFields, String sortField, int pageSize, int offset)List<EPerson>EPersonDAOImpl. search(Context context, String query, List<MetadataField> queryFields, List<MetadataField> sortFields, int offset, int limit)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 Context Modifier and Type Method Description voidSupervisorService. add(Context context, Group group, WorkspaceItem workspaceItem, int policy)adds a supervision order to the databasevoidGroupService. addMember(Context context, Group group, EPerson e)add an eperson membervoidGroupService. addMember(Context context, Group groupParent, Group groupChild)add group to this group.List<Group>GroupService. allMemberGroups(Context context, EPerson ePerson)Get all of the groups that an eperson is a member of.Set<Group>GroupService. allMemberGroupsSet(Context context, EPerson ePerson)List<EPerson>GroupService. allMembers(Context context, Group group)Get all of the epeople who are a member of the specified group, or a member of a sub-group of the specified group, etc.booleanEPersonService. checkPassword(Context context, EPerson ePerson, String attempt)Check EPerson's password.intEPersonService. countTotal(Context context)Count all accounts.intGroupService. countTotal(Context context)Count the total number of groups in DSpaceEPersonEPersonService. create(Context context)Create a new epersonGroupGroupService. create(Context context)Create a new groupvoidSubscribeService. deleteByCollection(Context context, Collection collection)Delete subscription by collection.voidSubscribeService. deleteByEPerson(Context context, EPerson ePerson)Delete subscription by eperson (subscriber).voidRegistrationDataService. deleteByToken(Context context, String token)voidAccountService. deleteToken(Context context, String token)List<EPerson>EPersonService. findAll(Context context, int sortField)Deprecated.use the paginated methodEPersonService.findAll(org.dspace.core.Context,int).List<EPerson>EPersonService. findAll(Context context, int sortField, int pageSize, int offset)Find all theEPersons in a specific order by field.List<Group>GroupService. findAll(Context context, int sortField)Deprecated.List<Group>GroupService. findAll(Context context, List<MetadataField> metadataSortFields)Deprecated.Please usefindAll(Context context, List<MetadataField> metadataFieldsSort, int pageSize, int offset)insteadList<Group>GroupService. findAll(Context context, List<MetadataField> metadataSortFields, int pageSize, int offset)Finds all groups in the siteList<Subscription>SubscribeService. findAll(Context context)Subscribe an e-person to a collection.EPersonEPersonService. findByEmail(Context context, String email)Find the eperson by their email address.RegistrationDataRegistrationDataService. findByEmail(Context context, String email)List<EPerson>EPersonService. findByGroups(Context c, Set<Group> groups)Retrieve all accounts which belong to at least one of the specified groups.List<Group>GroupService. 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)GroupGroupService. findByName(Context context, String name)Find the group by its name - assumes name is uniqueEPersonEPersonService. findByNetid(Context context, String netId)Find the eperson by their netid.RegistrationDataRegistrationDataService. findByToken(Context context, String token)List<EPerson>EPersonService. findEPeopleWithSubscription(Context context)Retrieve all accounts which are subscribed to receive information about new items.List<EPerson>EPersonService. findNotActiveSince(Context context, Date date)Retrieve all accounts which have not logged in since the specified dateList<EPerson>EPersonService. findUnsalted(Context context)Retrieve all accounts which have a password but do not have a digest algorithmList<Collection>SubscribeService. getAvailableSubscriptions(Context context)Find out which collections the currently logged in e-person can subscribe toList<Collection>SubscribeService. getAvailableSubscriptions(Context context, EPerson eperson)Find out which collections an e-person can subscribe toList<String>EPersonService. getDeleteConstraints(Context context, EPerson ePerson)Check for presence of EPerson in tables that have constraints on EPersons.StringAccountService. getEmail(Context context, String token)List<Group>GroupService. getEmptyGroups(Context context)Find all empty groups in DSpaceEPersonAccountService. getEPerson(Context context, String token)List<Subscription>SubscribeService. getSubscriptions(Context context, EPerson eperson)Find out which collections an e-person is subscribed tovoidGroupService. initDefaultGroupNames(Context context)Initializes the group names for anonymous and administrator, and marks them "permanent".booleanGroupService. isMember(Context context, String groupName)fast check to see if an eperson is a member called with eperson id.booleanGroupService. isMember(Context context, EPerson epersonToCheck, String groupName)fast check to see if an eperson is a member called with eperson id.booleanGroupService. isMember(Context context, EPerson eperson, Group group)fast check to see if an eperson is a member called with eperson id.booleanGroupService. isMember(Context context, Group group)fast check to see if an eperson is a member called with eperson id.booleanSupervisorService. isOrder(Context context, WorkspaceItem workspaceItem, Group group)finds out if there is a supervision order that matches this set of valuesbooleanGroupService. 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, Collection collection)Is that e-person subscribed to that collection?voidSupervisorService. remove(Context context, WorkspaceItem workspaceItem, Group group)removes the requested group from the requested workspace item in terms of supervision.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.List<EPerson>EPersonService. search(Context context, String query)Find the epeople that match the search query across firstname, lastname or email.List<EPerson>EPersonService. search(Context context, String query, int offset, int limit)Find the epeople that match the search query across firstname, lastname or email.List<Group>GroupService. search(Context context, String groupIdentifier)Find the groups that match the search query across eperson_group_id or nameList<Group>GroupService. search(Context context, String groupIdentifier, int offset, int limit)Find the groups that match the search query across eperson_group_id or nameintEPersonService. 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, without the overhead of creating the Group objects to store the results.voidAccountService. sendForgotPasswordInfo(Context context, String email)voidAccountService. sendRegistrationInfo(Context context, String email)voidSubscribeService. subscribe(Context context, EPerson eperson, Collection collection)Subscribe an e-person to a collection.voidSubscribeService. unsubscribe(Context context, EPerson eperson, Collection collection)Unsubscribe an e-person to a collection. -
Uses of Context in org.dspace.event
Methods in org.dspace.event with parameters of type Context Modifier and Type Method Description voidConsumer. consume(Context ctx, Event event)Consume an event; events may get filtered at the dispatcher level, hiding it from the consumer.voidTestConsumer. consume(Context ctx, Event event)Consume a content event - display it in detail.voidBasicDispatcher. dispatch(Context ctx)Dispatch all events added to this Context according to configured consumers.abstract voidDispatcher. dispatch(Context ctx)Dispatch all events added to this Context according to configured consumers.voidConsumer. end(Context ctx)Signal that there are no more events queued in this event stream and event processing for the preceding consume calls should be finished up.voidTestConsumer. end(Context ctx)voidConsumer. finish(Context ctx)Finish - free any allocated resources.voidTestConsumer. finish(Context ctx)DSpaceObjectEvent. getObject(Context context)Get the DSpace object which is the "object" of an event.DSpaceObjectEvent. 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 Context Modifier and Type Method Description WorkspaceItemExternalDataService. 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 Context Modifier and Type Method Description WorkspaceItemExternalDataServiceImpl. createWorkspaceItemFromExternalDataObject(Context context, ExternalDataObject externalDataObject, Collection collection) -
Uses of Context in org.dspace.handle
Methods in org.dspace.handle with parameters of type Context Modifier and Type Method Description longHandleServiceImpl. countHandlesByPrefix(Context context, String prefix)intHandleServiceImpl. countTotal(Context context)StringHandleServiceImpl. createHandle(Context context, DSpaceObject dso)StringHandleServiceImpl. createHandle(Context context, DSpaceObject dso, String suppliedHandle)StringHandleServiceImpl. createHandle(Context context, DSpaceObject dso, String suppliedHandle, boolean force)protected StringHandleServiceImpl. createId(Context context)Create/mint a new handle id.StringHandleServiceImpl. findHandle(Context context, DSpaceObject dso)protected HandleHandleServiceImpl. findHandleInternal(Context context, String handle)Find the database row corresponding to handle.List<String>HandleServiceImpl. getHandlesForPrefix(Context context, String prefix)protected List<Handle>HandleServiceImpl. getInternalHandles(Context context, DSpaceObject dso)Return the handle for an Object, or null if the Object has no handle.voidHandleServiceImpl. modifyHandleDSpaceObject(Context context, String handle, DSpaceObject newOwner)DSpaceObjectHandleServiceImpl. resolveToObject(Context context, String handle)StringHandleServiceImpl. resolveToURL(Context context, String handle)StringHandleServiceImpl. 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 Context Modifier and Type Method Description longHandleDAO. countHandlesByPrefix(Context context, String prefix)intHandleDAO. countRows(Context context)HandleHandleDAO. findByHandle(Context context, String handle)List<Handle>HandleDAO. findByPrefix(Context context, String prefix)List<Handle>HandleDAO. getHandlesByDSpaceObject(Context context, DSpaceObject dso)LongHandleDAO. 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 Context Modifier and Type Method Description longHandleDAOImpl. countHandlesByPrefix(Context context, String prefix)intHandleDAOImpl. countRows(Context context)HandleHandleDAOImpl. findByHandle(Context context, String handle)List<Handle>HandleDAOImpl. findByPrefix(Context context, String prefix)List<Handle>HandleDAOImpl. getHandlesByDSpaceObject(Context context, DSpaceObject dso)LongHandleDAOImpl. 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.service
Methods in org.dspace.handle.service with parameters of type Context Modifier and Type Method Description longHandleService. countHandlesByPrefix(Context context, String prefix)intHandleService. countTotal(Context context)StringHandleService. createHandle(Context context, DSpaceObject dso)Creates a new handle in the database.StringHandleService. createHandle(Context context, DSpaceObject dso, String suppliedHandle)Creates a handle entry, but with a handle supplied by the caller (new Handle not generated)StringHandleService. 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)StringHandleService. findHandle(Context context, DSpaceObject dso)Return the handle for an Object, or null if the Object has no handle.List<String>HandleService. getHandlesForPrefix(Context context, String prefix)Return all the handles which start with prefix.voidHandleService. modifyHandleDSpaceObject(Context context, String handle, DSpaceObject newOwner)DSpaceObjectHandleService. resolveToObject(Context context, String handle)Return the object which handle maps to, or null.StringHandleService. resolveToURL(Context context, String handle)Return the local URL for handle, or null if handle cannot be found.StringHandleService. 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 Context Modifier and Type Field Description protected ContextHarvestScheduler. mainContextMethods in org.dspace.harvest with parameters of type Context Modifier and Type Method Description voidHarvestScheduler. addThread(Context context, HarvestedCollection harvestedCollection)Adds a thread to the ready stack.HarvestedCollectionHarvestedCollectionServiceImpl. create(Context context, Collection collection)HarvestedItemHarvestedItemServiceImpl. create(Context context, Item item, String itemOAIid)voidHarvestedCollectionServiceImpl. delete(Context context, HarvestedCollection harvestedCollection)voidHarvestedItemServiceImpl. delete(Context context, HarvestedItem harvestedItem)booleanHarvestedCollectionServiceImpl. exists(Context context)HarvestedCollectionHarvestedCollectionServiceImpl. find(Context context, Collection collection)HarvestedItemHarvestedItemServiceImpl. find(Context context, Item item)List<HarvestedCollection>HarvestedCollectionServiceImpl. findAll(Context context)List<HarvestedCollection>HarvestedCollectionServiceImpl. findByStatus(Context context, int status)HarvestedCollectionHarvestedCollectionServiceImpl. findNewestHarvest(Context context)HarvestedCollectionHarvestedCollectionServiceImpl. findOldestHarvest(Context context)List<HarvestedCollection>HarvestedCollectionServiceImpl. findReady(Context context)ItemHarvestedItemServiceImpl. 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 Constructor Description OAIHarvester(Context c, DSpaceObject dso, HarvestedCollection hc) -
Uses of Context in org.dspace.harvest.dao
Methods in org.dspace.harvest.dao with parameters of type Context Modifier and Type Method Description intHarvestedCollectionDAO. count(Context context)HarvestedCollectionHarvestedCollectionDAO. findByCollection(Context context, Collection collection)HarvestedItemHarvestedItemDAO. findByItem(Context context, Item item)List<HarvestedCollection>HarvestedCollectionDAO. findByLastHarvestedAndHarvestTypeAndHarvestStatusesAndHarvestTime(Context context, Date startTime, int minimalType, int[] statuses, int expirationStatus, Date expirationTime)HarvestedItemHarvestedItemDAO. findByOAIId(Context context, String itemOaiID, Collection collection)List<HarvestedCollection>HarvestedCollectionDAO. findByStatus(Context context, int status)HarvestedCollectionHarvestedCollectionDAO. findByStatusAndMinimalTypeOrderByLastHarvestedAsc(Context context, int status, int type, int limit)HarvestedCollectionHarvestedCollectionDAO. 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 Context Modifier and Type Method Description intHarvestedCollectionDAOImpl. count(Context context)HarvestedCollectionHarvestedCollectionDAOImpl. findByCollection(Context context, Collection collection)HarvestedItemHarvestedItemDAOImpl. findByItem(Context context, Item item)List<HarvestedCollection>HarvestedCollectionDAOImpl. findByLastHarvestedAndHarvestTypeAndHarvestStatusesAndHarvestTime(Context context, Date startTime, int minimalType, int[] statuses, int expirationStatus, Date expirationTime)HarvestedItemHarvestedItemDAOImpl. findByOAIId(Context context, String itemOaiID, Collection collection)List<HarvestedCollection>HarvestedCollectionDAOImpl. findByStatus(Context context, int status)HarvestedCollectionHarvestedCollectionDAOImpl. findByStatusAndMinimalTypeOrderByLastHarvestedAsc(Context context, int status, int type, int limit)HarvestedCollectionHarvestedCollectionDAOImpl. findByStatusAndMinimalTypeOrderByLastHarvestedDesc(Context context, int status, int type, int limit)protected javax.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 Context Modifier and Type Method Description HarvestedCollectionHarvestedCollectionService. create(Context context, Collection collection)Create a new harvest instance row for a specified collection.HarvestedItemHarvestedItemService. create(Context context, Item item, String itemOAIid)Create a new harvested item row for a specified item id.voidHarvestedCollectionService. delete(Context context, HarvestedCollection harvestedCollection)voidHarvestedItemService. delete(Context context, HarvestedItem harvestedItem)booleanHarvestedCollectionService. exists(Context context)HarvestedCollectionHarvestedCollectionService. find(Context context, Collection collection)Find the harvest settings corresponding to this collectionHarvestedItemHarvestedItemService. find(Context context, Item item)Find the harvest parameters corresponding to the specified DSpace itemList<HarvestedCollection>HarvestedCollectionService. findAll(Context context)Find all collections that are set up for harvestingList<HarvestedCollection>HarvestedCollectionService. findByStatus(Context context, int status)Find all collections with the specified status flag.HarvestedCollectionHarvestedCollectionService. findNewestHarvest(Context context)Find the collection that was harvested most recently.HarvestedCollectionHarvestedCollectionService. findOldestHarvest(Context context)Find the collection that was harvested the longest time ago.List<HarvestedCollection>HarvestedCollectionService. findReady(Context context)Find all collections that are ready for harvestingItemHarvestedItemService. 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.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 Context Modifier and Type Method Description StringItemCheck. getCollectionSizesInfo(Context context)List<Map.Entry<String,Integer>>ItemCheck. getCommunities(Context context)StringItemCheck. getObjectSizesInfo(Context context) -
Uses of Context in org.dspace.identifier
Methods in org.dspace.identifier with parameters of type Context Modifier and Type Method Description voidDOIIdentifierProvider. checkMintable(Context context, 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 mintedDOIDOIServiceImpl. create(Context context)protected 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 DSpaceObjectvoidEZIDIdentifierProvider. 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 ConnectorDOIDOIServiceImpl. findByDoi(Context context, String doi)DOIDOIServiceImpl. findDOIByDSpaceObject(Context context, DSpaceObject dso)DOIDOIServiceImpl. findDOIByDSpaceObject(Context context, DSpaceObject dso, List<Integer> statusToExclude)protected StringVersionedHandleIdentifierProviderWithCanonicalHandles. getCanonical(Context context, Item item)StringDOIIdentifierProvider. getDOIByObject(Context context, DSpaceObject dso)Search the database for a DOI, using the type and id of an DSpaceObject.List<DOI>DOIServiceImpl. getDOIsByStatus(Context context, List<Integer> statuses)protected VersionHistoryVersionedHandleIdentifierProvider. getHistory(Context context, String identifier)protected VersionHistoryVersionedHandleIdentifierProviderWithCanonicalHandles. getHistory(Context context, String identifier)DSpaceObjectDOIIdentifierProvider. getObjectByDOI(Context context, String identifier)Returns a DSpaceObject depending on its DOI.List<DOI>DOIServiceImpl. getSimilarDOIsNotInState(Context context, String doiPattern, List<Integer> statuses, boolean dsoIsNotNull)StringDataCiteXMLCreator. 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, boolean skipFilter)Load DOI from database, or create one if it doesn't yet exist.StringDOIIdentifierProvider. lookup(Context context, DSpaceObject dso)Look up a DOI identifier for a given DSpaceObjectStringEZIDIdentifierProvider. lookup(Context context, DSpaceObject object)StringHandleIdentifierProvider. lookup(Context context, DSpaceObject dso)abstract StringIdentifierProvider. lookup(Context context, DSpaceObject object)Return the identifier for a DSpaceObject.List<String>IdentifierServiceImpl. lookup(Context context, DSpaceObject dso)StringIdentifierServiceImpl. lookup(Context context, DSpaceObject dso, Class<? extends Identifier> identifier)StringVersionedHandleIdentifierProvider. lookup(Context context, DSpaceObject dso)StringVersionedHandleIdentifierProviderWithCanonicalHandles. lookup(Context context, DSpaceObject dso)protected StringVersionedDOIIdentifierProvider. makeIdentifierBasedOnHistory(Context context, DSpaceObject dso, VersionHistory history)protected StringVersionedHandleIdentifierProvider. makeIdentifierBasedOnHistory(Context context, DSpaceObject dso, VersionHistory history)protected StringVersionedHandleIdentifierProviderWithCanonicalHandles. makeIdentifierBasedOnHistory(Context context, DSpaceObject dso, VersionHistory history)StringDOIIdentifierProvider. 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 configuredStringDOIIdentifierProvider. mint(Context context, DSpaceObject dso, boolean skipFilter)Mint a new DOI in DSpace - this is usually the first step of registrationStringEZIDIdentifierProvider. mint(Context context, DSpaceObject dso)abstract StringFilteredIdentifierProvider. mint(Context context, DSpaceObject dso, boolean skipFilter)Mint a new identifier in DSpace - this is usually the first step of registrationStringHandleIdentifierProvider. 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.StringVersionedDOIIdentifierProvider. mint(Context context, DSpaceObject dso)StringVersionedHandleIdentifierProvider. mint(Context context, DSpaceObject dso)Creates a new handle in the database.StringVersionedHandleIdentifierProviderWithCanonicalHandles. mint(Context context, DSpaceObject dso)Creates a new handle in the database.protected voidVersionedHandleIdentifierProviderWithCanonicalHandles. modifyHandleMetadata(Context context, Item item, 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)StringDOIIdentifierProvider. register(Context context, DSpaceObject dso)Register a new identifier for a given DSpaceObject, never skipping or ignoring any configured filterStringDOIIdentifierProvider. register(Context context, DSpaceObject dso, boolean skipFilter)Register a new DOI for a given DSpaceObjectvoidDOIIdentifierProvider. 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, boolean skipFilter)Register a specified DOI for a given DSpaceObjectStringEZIDIdentifierProvider. register(Context context, DSpaceObject dso)voidEZIDIdentifierProvider. register(Context context, DSpaceObject object, String identifier)abstract StringFilteredIdentifierProvider. register(Context context, DSpaceObject dso, boolean skipFilter)Register a new identifier for a given DSpaceObjectabstract voidFilteredIdentifierProvider. register(Context context, DSpaceObject dso, String identifier, boolean skipFilter)Register a specified identifier for a given DSpaceObjectStringHandleIdentifierProvider. 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 object, String identifier)voidVersionedDOIIdentifierProvider. register(Context context, DSpaceObject dso, String identifier)StringVersionedHandleIdentifierProvider. register(Context context, DSpaceObject dso)voidVersionedHandleIdentifierProvider. register(Context context, DSpaceObject dso, String identifier)StringVersionedHandleIdentifierProviderWithCanonicalHandles. 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, boolean skipFilter)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, boolean skipFilter)Reserve a specified DOI for a given DSpaceObjectvoidEZIDIdentifierProvider. reserve(Context context, DSpaceObject dso, String identifier)abstract voidFilteredIdentifierProvider. reserve(Context context, DSpaceObject dso, String identifier, boolean skipFilter)Reserve a specified identifier for a given DSpaceObject (eg.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, boolean skipFilter)Perform the actual online / API interaction required to reserve the DOI onlineDSpaceObjectDOIIdentifierProvider. resolve(Context context, String identifier, String... attributes)Resolve an identifier to a DSpaceObject, if it is registeredDSpaceObjectEZIDIdentifierProvider. resolve(Context context, String identifier, String... attributes)DSpaceObjectHandleIdentifierProvider. resolve(Context context, String identifier, String... attributes)abstract DSpaceObjectIdentifierProvider. resolve(Context context, String identifier, String... attributes)Find the object named by a given identifier.DSpaceObjectIdentifierServiceImpl. resolve(Context context, String identifier)DSpaceObjectVersionedHandleIdentifierProvider. resolve(Context context, String identifier, String... attributes)DSpaceObjectVersionedHandleIdentifierProviderWithCanonicalHandles. 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.voidDOIServiceImpl. update(Context context, DOI doi)voidDOIIdentifierProvider. updateMetadata(Context context, DSpaceObject dso, String identifier)Update metadata for a registered object If the DOI for hte 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 hte 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 Context Modifier and Type Method Description DOIDOIDAO. findByDoi(Context context, String doi)List<DOI>DOIDAO. findByStatus(Context context, List<Integer> statuses)DOIDOIDAO. findDOIByDSpaceObject(Context context, DSpaceObject dso)DOIDOIDAO. findDOIByDSpaceObject(Context context, DSpaceObject dso, List<Integer> statusToExclude)List<DOI>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 Context Modifier and Type Method Description DOIDOIDAOImpl. findByDoi(Context context, String doi)List<DOI>DOIDAOImpl. findByStatus(Context context, List<Integer> statuses)DOIDOIDAOImpl. findDOIByDSpaceObject(Context context, DSpaceObject dso)DOIDOIDAOImpl. findDOIByDSpaceObject(Context context, DSpaceObject dso, List<Integer> statusToExclude)List<DOI>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 Context Modifier and Type Method Description voidDOIConsumer. consume(Context ctx, Event event)voidDataCiteConnector. deleteDOI(Context context, String doi)voidDOIConnector. deleteDOI(Context context, String doi)Sends the DELETE-Request to the DOI registry.voidDOIConsumer. end(Context ctx)protected StringDataCiteConnector. extractAlternateIdentifier(Context context, String content)voidDOIConsumer. finish(Context ctx)booleanDataCiteConnector. 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 Context Constructor Description DOIOrganiser(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 Context Modifier and Type Method Description DOIDOIService. create(Context context)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.DOIDOIService. findByDoi(Context context, String doi)DOIDOIService. findDOIByDSpaceObject(Context context, DSpaceObject dso)DOIDOIService. findDOIByDSpaceObject(Context context, DSpaceObject dso, List<Integer> statusToExclude)List<DOI>DOIService. getDOIsByStatus(Context context, List<Integer> statuses)List<DOI>DOIService. getSimilarDOIsNotInState(Context context, String doiPattern, List<Integer> statuses, boolean dsoIsNotNull)Find all DOIs that are similar to the specified pattern ant not in the specified states.List<String>IdentifierService. lookup(Context context, DSpaceObject dso)Gets the identifiers all registered IdentifierProvider returns if asked to lookup the provided DSpaceObject.StringIdentifierService. 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)voidIdentifierService. register(Context context, DSpaceObject dso, String identifier)Used to Register a specific Identifier (for example a Handle, hdl:1234.5/6) The provider is responsible for detecting and processing the appropriate identifier.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.DSpaceObjectIdentifierService. resolve(Context context, String identifier)This will resolve a DSpaceObject based on a provided Identifier.voidDOIService. update(Context context, DOI doi) -
Uses of Context in org.dspace.iiif
Methods in org.dspace.iiif with parameters of type Context Modifier and Type Method Description voidIIIFCacheEventConsumer. consume(Context ctx, Event event)voidIIIFCacheEventConsumer. end(Context ctx)voidIIIFCacheEventConsumer. finish(Context ctx) -
Uses of Context in org.dspace.license
Methods in org.dspace.license with parameters of type Context Modifier and Type Method Description voidCreativeCommonsServiceImpl. addLicense(Context context, Item item, String licenseUri, String licenseName, org.jdom.Document doc)Add a new license to the itemstatic byte[]LicenseCleanup. copy(Context context, Bitstream b)Fast stream copy routineprotected byte[]CreativeCommonsServiceImpl. getBytesFromBitstream(Context context, Item item, String bitstream_name)protected BundleCreativeCommonsServiceImpl. getCcBundle(Context context, Item item)StringCreativeCommonsServiceImpl. 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 Context Modifier and Type Method Description voidCreativeCommonsService. addLicense(Context context, Item item, String licenseUri, String licenseName, org.jdom.Document doc)Add a new license to the itemStringCreativeCommonsService. 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.rdf
Fields in org.dspace.rdf declared as Context Modifier and Type Field Description protected ContextRDFizer. contextMethods in org.dspace.rdf with parameters of type Context Modifier and Type Method Description voidRDFConsumer. consume(Context ctx, Event event)voidRDFConsumer. consumeBitstream(Context ctx, Event event)voidRDFConsumer. consumeBundles(Context ctx, Event event)voidRDFConsumer. consumeCommunityCollectionItem(Context ctx, Event event)voidRDFConsumer. consumeSite(Context ctx, Event event)static com.hp.hpl.jena.rdf.model.ModelRDFUtil. convert(Context context, DSpaceObject dso)Converts the the provided DSpaceObject into RDF and returns the model.static com.hp.hpl.jena.rdf.model.ModelRDFUtil. convertAndStore(Context context, DSpaceObject dso)Converts a DSpaceObject into RDF data and stores them using the configuredRDFStorage.static voidRDFUtil. delete(Context ctx, int type, UUID id, String handle, List<String> identifiers)This is a shortcut to generate an RDF identifier for a DSpaceObject and to delete the identified data from the named graph.voidRDFConsumer. end(Context ctx)voidRDFConsumer. finish(Context ctx)static 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 Context Modifier and Type Method Description StringSimpleDSORelationsConverterPlugin. bitstreamURI(Context context, Bitstream bitstream)This methods generates a link to the provided Bitstream.com.hp.hpl.jena.rdf.model.ModelConverterPlugin. convert(Context context, DSpaceObject dso)Convert the specified DSpaceObject or a part of it into RDF.com.hp.hpl.jena.rdf.model.ModelMetadataConverterPlugin. convert(Context context, DSpaceObject dso)com.hp.hpl.jena.rdf.model.ModelRDFConverter. convert(Context context, DSpaceObject dso)com.hp.hpl.jena.rdf.model.ModelRDFConverterImpl. convert(Context context, DSpaceObject dso)com.hp.hpl.jena.rdf.model.ModelSimpleDSORelationsConverterPlugin. convert(Context context, DSpaceObject dso)com.hp.hpl.jena.rdf.model.ModelStaticDSOConverterPlugin. convert(Context context, DSpaceObject dso)com.hp.hpl.jena.rdf.model.ModelSimpleDSORelationsConverterPlugin. convertCollection(Context context, Collection collection)com.hp.hpl.jena.rdf.model.ModelSimpleDSORelationsConverterPlugin. convertCommunity(Context context, Community community)com.hp.hpl.jena.rdf.model.ModelSimpleDSORelationsConverterPlugin. convertItem(Context context, Item item)com.hp.hpl.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 Context Modifier and Type Method Description StringDOIURIGenerator. generateIdentifier(Context context, int type, UUID id, String handle, List<String> identifiers)StringDOIURIGenerator. generateIdentifier(Context context, DSpaceObject dso)StringHandleURIGenerator. generateIdentifier(Context context, int type, UUID id, String handle, List<String> identifiers)StringHandleURIGenerator. generateIdentifier(Context context, DSpaceObject dso)StringLocalURIGenerator. generateIdentifier(Context context, int type, UUID id, String handle, List<String> identifiers)StringLocalURIGenerator. generateIdentifier(Context context, DSpaceObject dso)StringURIGenerator. 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.StringURIGenerator. 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 Context Modifier and Type Method Description voidProcessServiceImpl. appendFile(Context context, Process process, InputStream is, String type, String fileName)voidProcessServiceImpl. complete(Context context, Process process)intProcessServiceImpl. countSearch(Context context, ProcessQueryParameterContainer processQueryParameterContainer)intProcessServiceImpl. countTotal(Context context)ProcessProcessServiceImpl. create(Context context, EPerson ePerson, String scriptName, List<DSpaceCommandLineParameter> parameters)voidProcessServiceImpl. createLogBitstream(Context context, Process process)voidProcessServiceImpl. delete(Context context, Process process)voidProcessServiceImpl. fail(Context context, Process process)ProcessProcessServiceImpl. find(Context context, int processId)List<Process>ProcessServiceImpl. findAll(Context context)List<Process>ProcessServiceImpl. findAll(Context context, int limit, int offset)List<Process>ProcessServiceImpl. findAllSortByScript(Context context)List<Process>ProcessServiceImpl. findAllSortByStartTime(Context context)BitstreamProcessServiceImpl. getBitstream(Context context, Process process, String type)BitstreamProcessServiceImpl. getBitstreamByName(Context context, Process process, String bitstreamName)List<Bitstream>ProcessServiceImpl. getBitstreams(Context context, Process process)List<String>ProcessServiceImpl. getFileTypesForProcessBitstreams(Context context, Process process)List<ScriptConfiguration>ScriptServiceImpl. getScriptConfigurations(Context context)List<Process>ProcessServiceImpl. search(Context context, ProcessQueryParameterContainer processQueryParameterContainer, int limit, int offset)voidProcessServiceImpl. start(Context context, Process process)voidProcessServiceImpl. update(Context context, Process process) -
Uses of Context in org.dspace.scripts.configuration
Methods in org.dspace.scripts.configuration with parameters of type Context Modifier and Type Method Description abstract booleanScriptConfiguration. isAllowedToExecute(Context context)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 Context Modifier and Type Method Description Optional<InputStream>DSpaceRunnableHandler. 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 Context Modifier and Type Method Description Optional<InputStream>CommandLineDSpaceRunnableHandler. 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 Context Modifier and Type Method Description voidProcessService. 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 processvoidProcessService. complete(Context context, Process process)This method will perform the logic needed to update the Process object in the database to represent a complete stateintProcessService. 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 dataaseProcessProcessService. create(Context context, EPerson ePerson, String scriptName, List<DSpaceCommandLineParameter> parameters)This method will create a Process object in the databasevoidProcessService. createLogBitstream(Context context, Process process)voidProcessService. delete(Context context, Process process)This method will delete the given Process object from the databasevoidProcessService. fail(Context context, Process process)This method will perform the logic needed to update the Process object in the database to represent a failed stateProcessProcessService. find(Context context, int processId)This method will retrieve a Process object from the Database with the given IDList<Process>ProcessService. findAll(Context context)Returns a list of all Process objects in the databaseList<Process>ProcessService. findAll(Context context, int limit, int offset)Returns a list of all Process objects in the databaseList<Process>ProcessService. findAllSortByScript(Context context)Returns a list of all Process objects in the database sorted by script nameList<Process>ProcessService. findAllSortByStartTime(Context context)Returns a list of all Process objects in the database sorted by start time The most recent one will be shown firstBitstreamProcessService. getBitstream(Context context, Process process, String type)This method will return the Bitstream for a given process with a given typeBitstreamProcessService. getBitstreamByName(Context context, Process process, String bitstreamName)This method will return the Bitstream that matches the given name for the given ProcessList<Bitstream>ProcessService. getBitstreams(Context context, Process process)This method will return all the Bitstreams for a given processList<String>ProcessService. getFileTypesForProcessBitstreams(Context context, Process process)This will return a list of Strings where each String represents the type of a Bitstream in the Process givenList<ScriptConfiguration>ScriptService. getScriptConfigurations(Context context)This method will return a list of ScriptConfiguration objects for which the given Context is authorizedList<Process>ProcessService. search(Context context, ProcessQueryParameterContainer processQueryParameterContainer, int limit, int offset)Returns a list of all Processes in the database which match the given field requirements.voidProcessService. start(Context context, Process process)This method will perform the logic needed to update the Process object in the database to represent a started state.voidProcessService. update(Context context, Process process)This 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 Context Modifier and Type Field Description ContextHarvestedItemInfo. contextContext used when creating this objectMethods in org.dspace.search with parameters of type Context Modifier and Type Method Description static HarvestedItemInfoHarvest. getSingle(Context context, String handle, boolean collections)Get harvested item info for a single item.static List<HarvestedItemInfo>Harvest. harvest(Context context, DSpaceObject scope, String startDate, String endDate, int offset, int limit, boolean items, boolean collections, boolean withdrawn, boolean nonAnon)Obtain information about items that have been created, modified or withdrawn within a given date range. -
Uses of Context in org.dspace.service
Methods in org.dspace.service with parameters of type Context Modifier and Type Method Description TDSpaceCRUDService. create(Context context)voidDSpaceCRUDService. delete(Context context, T t)TDSpaceCRUDService. find(Context context, int id)voidDSpaceCRUDService. update(Context context, List<T> t)Persist a collection of model objects.voidDSpaceCRUDService. update(Context context, T t)Persist a model object. -
Uses of Context in org.dspace.statistics
Methods in org.dspace.statistics with parameters of type Context Modifier and Type Method Description protected voidSolrLoggerServiceImpl. addDocumentsToFile(Context context, org.apache.solr.common.SolrDocumentList docs, File exportOutput)voidStatisticsLoggingConsumer. consume(Context ctx, Event event)voidStatisticsLoggingConsumer. end(Context ctx)voidStatisticsLoggingConsumer. finish(Context ctx)protected StringSolrLoggerServiceImpl. getDateView(String name, String type, Context context)ObjectCount[]SolrLoggerServiceImpl. 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 Context Modifier and Type Method Description abstract DatasetStatisticsData. createDataset(Context context, int facetMinCount)Run the accumulated query and return its results.DatasetStatisticsDataSearches. createDataset(Context context, int facetMinCount)DatasetStatisticsDataVisits. createDataset(Context context, int facetMinCount)DatasetStatisticsDataWorkflow. createDataset(Context context, int facetMinCount)protected Map<String,String>StatisticsDataVisits. getAttributes(String value, StatisticsDataVisits.DatasetQuery datasetQuery, Context context)DatasetStatisticsDisplay. 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 Context Modifier and Type Method Description OpenURLTrackerFailedOpenURLTrackerServiceImpl. create(Context context)Creates a new OpenURLTrackerList<OpenURLTracker>FailedOpenURLTrackerServiceImpl. findAll(Context context)Returns all OpenURLTrackers from the databasebooleanRetryFailedOpenUrlTrackerScriptConfiguration. isAllowedToExecute(Context context)voidFailedOpenURLTrackerServiceImpl. 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 Context Constructor Description BitstreamEventProcessor(Context context, javax.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, javax.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 Context Modifier and Type Method Description OpenURLTrackerFailedOpenURLTrackerService. create(Context context)Creates a new OpenURLTrackerList<OpenURLTracker>FailedOpenURLTrackerService. findAll(Context context)Returns all OpenURLTrackers from the databasevoidOpenUrlService. logfailed(Context context, String url)Will log the failed url in the databasevoidOpenUrlServiceImpl. logfailed(Context context, String url)Log 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 Modifier and Type Method Description ObjectCount[]SolrLoggerService. queryFacetDate(String query, String filterQuery, int max, String dateType, String dateStart, String dateEnd, boolean showTotal, Context context, int facetMinCount)Query used to get values grouped by the date. -
Uses of Context in org.dspace.statistics.util
Methods in org.dspace.statistics.util with parameters of type Context Modifier and Type Method Description protected voidStatisticsImporter. load(String filename, Context context, boolean verbose)Read lines from the statistics file and load their data into solr.Constructors in org.dspace.statistics.util with parameters of type Context Constructor Description ClassicDSpaceLogConverter(Context c, boolean v, boolean nE)Create an instance of the converter utility -
Uses of Context in org.dspace.storage.bitstore
Methods in org.dspace.storage.bitstore with parameters of type Context Modifier and Type Method Description BitstreamBitstreamStorageServiceImpl. clone(Context context, Bitstream bitstream)MapBitstreamStorageServiceImpl. 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)UUIDBitstreamStorageServiceImpl. register(Context context, Bitstream bitstream, int assetstore, String bitstreamPath)Register a bitstream already in storage.InputStreamBitstreamStorageServiceImpl. retrieve(Context context, Bitstream bitstream)UUIDBitstreamStorageServiceImpl. 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 Context Modifier and Type Method Description BitstreamBitstreamStorageService. clone(Context context, Bitstream bitstream)Clone the given bitstream to a new bitstream with a new ID.MapBitstreamStorageService. 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 containUUIDBitstreamStorageService. register(Context context, Bitstream bitstream, int assetstore, String bitstreamPath)Register a bitstream already in storage.InputStreamBitstreamStorageService. retrieve(Context context, Bitstream bitstream)Retrieve the bits for the bitstream with ID.UUIDBitstreamStorageService. store(Context context, Bitstream bitstream, InputStream is)Store a stream of bits. -
Uses of Context in org.dspace.submit.listener
Methods in org.dspace.submit.listener with parameters of type Context Modifier and Type Method Description protected 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.ExternalDataObjectMetadataListener. 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 changedExternalDataObjectSimpleMetadataListener. 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 Context Modifier and Type Method Description booleanSubmissionFormsMigrationCliScriptConfiguration. isAllowedToExecute(Context context)booleanSubmissionFormsMigrationScriptConfiguration. isAllowedToExecute(Context context) -
Uses of Context in org.dspace.submit.model
Methods in org.dspace.submit.model with parameters of type Context Modifier and Type Method Description voidAccessConditionOption. createResourcePolicy(Context context, Bitstream b, String name, String description, Date startDate, Date endDate)Create a new resource policy for a bitstream -
Uses of Context in org.dspace.usage
Methods in org.dspace.usage that return Context Modifier and Type Method Description ContextUsageEvent. getContext()Methods in org.dspace.usage with parameters of type Context Modifier and Type Method Description voidUsageEvent. setContext(Context context)Constructors in org.dspace.usage with parameters of type Context Constructor Description UsageEvent(UsageEvent.Action action, String ip, String userAgent, String xforwardedfor, Context context, DSpaceObject object)UsageEvent(UsageEvent.Action action, javax.servlet.http.HttpServletRequest request, Context context, DSpaceObject object)UsageSearchEvent(UsageEvent.Action action, javax.servlet.http.HttpServletRequest request, Context context, DSpaceObject object)UsageWorkflowEvent(Context context, Item item, InProgressSubmission workflowItem, String workflowStep, String oldState, Collection scope, EPerson actor) -
Uses of Context in org.dspace.versioning
Methods in org.dspace.versioning with parameters of type Context Modifier and Type Method Description voidVersionHistoryServiceImpl. add(Context context, VersionHistory versionHistory, Version version)booleanVersionHistoryServiceImpl. canSeeDraftVersion(Context context, VersionHistory versionHistory)voidVersioningConsumer. consume(Context ctx, Event event)protected voidAbstractVersionProvider. copyMetadata(Context context, Item itemNew, Item nativeItem)intVersioningServiceImpl. countVersionsByHistoryWithItem(Context context, VersionHistory versionHistory)VersionHistoryVersionHistoryServiceImpl. create(Context context)protected voidAbstractVersionProvider. createBundlesAndAddBitstreams(Context c, Item itemNew, Item nativeItem)ItemDefaultItemVersionProvider. createNewItemAndAddItInWorkspace(Context context, Item nativeItem)ItemItemVersionProvider. createNewItemAndAddItInWorkspace(Context c, Item item)VersionVersioningServiceImpl. createNewVersion(Context c, Item item)VersionVersioningServiceImpl. createNewVersion(Context c, Item item, String summary)VersionVersioningServiceImpl. createNewVersion(Context context, VersionHistory history, Item item, String summary, Date date, int versionNumber)protected VersionVersioningServiceImpl. createVersion(Context c, VersionHistory vh, Item item, String summary, Date date)voidVersionHistoryServiceImpl. delete(Context context, VersionHistory versionHistory)voidVersioningServiceImpl. delete(Context c, Version version)voidDefaultItemVersionProvider. deleteVersionedItem(Context c, Version versionToDelete, VersionHistory history)voidItemVersionProvider. deleteVersionedItem(Context c, Version versionToDelete, VersionHistory history)voidVersioningConsumer. end(Context ctx)VersionHistoryVersionHistoryServiceImpl. find(Context context, int id)VersionHistoryVersionHistoryServiceImpl. findByItem(Context context, Item item)voidVersioningConsumer. finish(Context ctx)VersionVersionHistoryServiceImpl. getFirstVersion(Context context, VersionHistory versionHistory)VersionVersionHistoryServiceImpl. getLatestVersion(Context context, VersionHistory versionHistory)VersionVersionHistoryServiceImpl. getNext(Context c, VersionHistory versionHistory, Version version)protected intVersioningServiceImpl. getNextVersionNumer(Context c, VersionHistory vh)VersionVersionHistoryServiceImpl. getPrevious(Context context, VersionHistory versionHistory, Version version)VersionVersionHistoryServiceImpl. getVersion(Context context, VersionHistory versionHistory, Item item)VersionVersioningServiceImpl. getVersion(Context c, int versionID)VersionVersioningServiceImpl. getVersion(Context c, Item item)List<Version>VersioningServiceImpl. getVersionsByHistory(Context c, VersionHistory vh)List<Version>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)voidVersioningServiceImpl. removeVersion(Context c, Item item)VersionVersioningServiceImpl. restoreVersion(Context c, Version version)VersionVersioningServiceImpl. restoreVersion(Context c, Version version, String summary)voidVersionHistoryServiceImpl. update(Context context, List<VersionHistory> versionHistories)voidVersionHistoryServiceImpl. update(Context context, VersionHistory versionHistory)voidVersioningServiceImpl. update(Context context, Version version)ItemDefaultItemVersionProvider. updateItemState(Context c, Item itemNew, Item previousItem)ItemItemVersionProvider. updateItemState(Context c, Item itemNew, Item previousItem)VersionVersioningServiceImpl. 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 Context Modifier and Type Method Description intVersionDAO. countVersionsByHistoryWithItem(Context context, VersionHistory versionHistory)This method count versions of an version history that have items assigned.VersionVersionDAO. findByItem(Context context, Item item)VersionHistoryVersionHistoryDAO. findByItem(Context context, Item item)List<Version>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 Context Modifier and Type Method Description intVersionDAOImpl. countVersionsByHistoryWithItem(Context context, VersionHistory versionHistory)VersionVersionDAOImpl. findByItem(Context context, Item item)VersionHistoryVersionHistoryDAOImpl. findByItem(Context context, Item item)List<Version>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 Context Modifier and Type Method Description voidVersionHistoryService. 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.VersionVersioningService. createNewVersion(Context c, Item itemId)VersionVersioningService. createNewVersion(Context c, Item itemId, String summary)VersionVersioningService. createNewVersion(Context context, VersionHistory history, Item item, String summary, Date date, int versionNumber)voidVersioningService. delete(Context context, Version version)Delete a VersionVersionHistoryVersionHistoryService. findByItem(Context context, Item item)VersionVersionHistoryService. getFirstVersion(Context context, VersionHistory versionHistory)VersionVersionHistoryService. getLatestVersion(Context context, VersionHistory versionHistory)VersionVersionHistoryService. getNext(Context context, VersionHistory versionHistory, Version version)VersionVersionHistoryService. getPrevious(Context context, VersionHistory versionHistory, Version version)VersionVersionHistoryService. getVersion(Context context, VersionHistory versionHistory, Item item)VersionVersioningService. getVersion(Context c, int versionID)VersionVersioningService. getVersion(Context c, Item item)List<Version>VersioningService. getVersionsByHistory(Context c, VersionHistory vh)Returns all versions of a version history.List<Version>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)VersionVersioningService. restoreVersion(Context c, Version version)VersionVersioningService. restoreVersion(Context c, Version version, String summary)voidVersioningService. update(Context context, Version version)Update the VersionVersionVersioningService. updateVersion(Context c, Item itemId, String summary) -
Uses of Context in org.dspace.web
Methods in org.dspace.web that return Context Modifier and Type Method Description static ContextContextUtil. obtainContext(javax.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 Context Modifier and Type Method Description WorkspaceItemWorkflowService. abort(Context c, T wi, EPerson e)abort() aborts a workflow, completely deleting it (administrator do this) (it will basically do a reject from any state - the item ends up back in the user's PersonalWorkspaceTWorkflowItemService. create(Context context, Item item, Collection collection)Wrap an Item in a WorkflowItem to place it in a Collection's workflow.GroupWorkflowService. createWorkflowRoleGroup(Context context, Collection collection, String roleName)This method will create the workflowRoleGroup for a collection and the given rolenamevoidWorkflowItemService. delete(Context context, T workflowItem)Delete 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.TWorkflowItemService. find(Context context, int id)Get a workflow item from the database.List<T>WorkflowItemService. findAll(Context context)return all workflowitemsList<T>WorkflowItemService. findByCollection(Context context, Collection collection)Get all workflow items for a particular collection.TWorkflowItemService. findByItem(Context context, Item item)Check to see if a particular item is currently under Workflow.List<T>WorkflowItemService. findBySubmitter(Context context, EPerson ep)Get all workflow items that were original submissions by a particular e-person.List<String>WorkflowService. getEPersonDeleteConstraints(Context context, EPerson ePerson)GroupWorkflowService. getWorkflowRoleGroup(Context context, Collection collection, String roleName, Group roleGroup)WorkspaceItemWorkflowService. sendWorkflowItemBackSubmission(Context c, T workflowItem, EPerson e, String provenance, String rejection_message)TWorkflowService. 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.TWorkflowService. 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 Context Modifier and Type Method Description WorkspaceItemXmlWorkflowServiceImpl. 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)GroupXmlWorkflowServiceImpl. 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)WorkflowActionConfigXmlWorkflowServiceImpl. doState(Context c, EPerson user, javax.servlet.http.HttpServletRequest request, int workflowItemId, Workflow workflow, WorkflowActionConfig currentActionConfig)List<Collection>XmlWorkflowFactoryImpl. getAllNonMappedCollectionsHandles(Context context)ArrayList<EPerson>RoleMembers. getAllUniqueMembers(Context context)List<Collection>XmlWorkflowFactoryImpl. getCollectionHandlesMappedToWorkflow(Context context, String workflowName)List<String>XmlWorkflowServiceImpl. getEPersonDeleteConstraints(Context context, EPerson ePerson)RoleMembersRole. getMembers(Context context, XmlWorkflowItem wfi)static GroupWorkflowUtils. getRoleGroup(Context context, Collection collection, Role role)GroupXmlWorkflowServiceImpl. 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)WorkflowActionConfigXmlWorkflowServiceImpl. 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)protected WorkspaceItemXmlWorkflowServiceImpl. returnToWorkspace(Context c, XmlWorkflowItem wfi)Return the workflow item to the workspace of the submitter.protected voidXmlWorkflowServiceImpl. revokeReviewerPolicies(Context context, Item item)WorkspaceItemXmlWorkflowServiceImpl. sendWorkflowItemBackSubmission(Context context, XmlWorkflowItem wi, EPerson e, String provenance, String rejection_message)XmlWorkflowItemXmlWorkflowServiceImpl. start(Context context, WorkspaceItem wsi)XmlWorkflowItemXmlWorkflowServiceImpl. startWithoutNotify(Context context, WorkspaceItem wsi) -
Uses of Context in org.dspace.xmlworkflow.factory
Methods in org.dspace.xmlworkflow.factory with parameters of type Context Modifier and Type Method Description List<Collection>XmlWorkflowFactory. getAllNonMappedCollectionsHandles(Context context)Returns list of collections that are not mapped to any configured workflow, and thus use the default workflowList<Collection>XmlWorkflowFactory. 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 Context Modifier and Type Method Description voidWorkflowRequirementsService. 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.WorkflowActionConfigXmlWorkflowService. doState(Context c, EPerson user, javax.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.WorkflowActionConfigXmlWorkflowService. 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 Context Modifier and Type Method Description StepWorkflow. 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 Context Modifier and Type Method Description abstract voidAction. activate(Context c, XmlWorkflowItem wf)Called when a workflow item becomes eligible for this Action.voidAction. 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, javax.servlet.http.HttpServletRequest request)Called when the action is to be performed.abstract booleanAction. isAuthorized(Context context, javax.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 Context Modifier and Type Method Description voidAcceptEditRejectAction. 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)ActionResultAcceptEditRejectAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultFinalEditAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultReviewAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultScoreEvaluationAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultScoreReviewAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultSelectReviewerAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultSingleUserReviewAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)booleanProcessingAction. isAuthorized(Context context, javax.servlet.http.HttpServletRequest request, XmlWorkflowItem wfi)ActionResultAcceptEditRejectAction. processAccept(Context c, XmlWorkflowItem wfi)ActionResultReviewAction. processAccept(Context c, XmlWorkflowItem wfi)ActionResultFinalEditAction. processMainPage(Context c, XmlWorkflowItem wfi, javax.servlet.http.HttpServletRequest request)ActionResultSingleUserReviewAction. processMainPage(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultAcceptEditRejectAction. processRejectPage(Context c, XmlWorkflowItem wfi, javax.servlet.http.HttpServletRequest request)ActionResultReviewAction. processRejectPage(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultSingleUserReviewAction. processRejectPage(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultAcceptEditRejectAction. processSubmitterIsDeletedPage(Context c, XmlWorkflowItem wfi, javax.servlet.http.HttpServletRequest request)ActionResultReviewAction. processSubmitterIsDeletedPage(Context c, XmlWorkflowItem wfi, javax.servlet.http.HttpServletRequest request)ActionResultSingleUserReviewAction. processSubmitterIsDeletedPage(Context c, XmlWorkflowItem wfi, javax.servlet.http.HttpServletRequest request) -
Uses of Context in org.dspace.xmlworkflow.state.actions.userassignment
Methods in org.dspace.xmlworkflow.state.actions.userassignment with parameters of type Context Modifier and Type Method Description voidAssignAction. 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 itemActionResultAssignAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultAssignOriginalSubmitterAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultAutoAssignAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultClaimAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultInheritUsersAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultNoUserSelectionAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)booleanUserSelectionAction. isAuthorized(Context context, javax.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 Context Modifier and Type Method Description intXmlWorkflowItemServiceImpl. countAll(Context context)intXmlWorkflowItemServiceImpl. countAllInCollection(Context context, Collection collection)intXmlWorkflowItemServiceImpl. countBySubmitter(Context context, EPerson ep)ClaimedTaskClaimedTaskServiceImpl. create(Context context)CollectionRoleCollectionRoleServiceImpl. create(Context context, Collection collection, String roleId, Group group)InProgressUserInProgressUserServiceImpl. create(Context context)PoolTaskPoolTaskServiceImpl. create(Context context)WorkflowItemRoleWorkflowItemRoleServiceImpl. create(Context context)XmlWorkflowItemXmlWorkflowItemServiceImpl. 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)voidPoolTaskServiceImpl. delete(Context context, PoolTask poolTask)voidWorkflowItemRoleServiceImpl. 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)ClaimedTaskClaimedTaskServiceImpl. find(Context context, int id)ClaimedTaskClaimedTaskServiceImpl. find(Context context, EPerson ePerson, XmlWorkflowItem workflowItem, String stepID, String actionID)List<ClaimedTask>ClaimedTaskServiceImpl. find(Context context, XmlWorkflowItem workflowItem)List<ClaimedTask>ClaimedTaskServiceImpl. find(Context context, XmlWorkflowItem workflowItem, String stepID)List<ClaimedTask>ClaimedTaskServiceImpl. find(Context context, XmlWorkflowItem workflowItem, String stepID, String actionID)CollectionRoleCollectionRoleServiceImpl. find(Context context, int id)CollectionRoleCollectionRoleServiceImpl. find(Context context, Collection collection, String role)InProgressUserInProgressUserServiceImpl. find(Context context, int id)PoolTaskPoolTaskServiceImpl. find(Context context, int id)List<PoolTask>PoolTaskServiceImpl. find(Context context, XmlWorkflowItem workflowItem)WorkflowItemRoleWorkflowItemRoleServiceImpl. find(Context context, int id)List<WorkflowItemRole>WorkflowItemRoleServiceImpl. find(Context context, XmlWorkflowItem workflowItem, String role)XmlWorkflowItemXmlWorkflowItemServiceImpl. find(Context context, int id)List<ClaimedTask>ClaimedTaskServiceImpl. findAll(Context context)List<PoolTask>PoolTaskServiceImpl. findAll(Context context)List<XmlWorkflowItem>XmlWorkflowItemServiceImpl. findAll(Context context)List<XmlWorkflowItem>XmlWorkflowItemServiceImpl. findAll(Context context, Integer page, Integer pagesize)List<XmlWorkflowItem>XmlWorkflowItemServiceImpl. findAllInCollection(Context context, Integer page, Integer pagesize, Collection collection)List<ClaimedTask>ClaimedTaskServiceImpl. findAllInStep(Context context, String stepID)List<CollectionRole>CollectionRoleServiceImpl. findByCollection(Context context, Collection collection)List<XmlWorkflowItem>XmlWorkflowItemServiceImpl. findByCollection(Context context, Collection collection)List<ClaimedTask>ClaimedTaskServiceImpl. findByEperson(Context context, EPerson ePerson)List<InProgressUser>InProgressUserServiceImpl. findByEperson(Context context, EPerson ePerson)List<PoolTask>PoolTaskServiceImpl. findByEperson(Context context, EPerson ePerson)List<PoolTask>PoolTaskServiceImpl. findByEPerson(Context context, EPerson ePerson)List<WorkflowItemRole>WorkflowItemRoleServiceImpl. findByEPerson(Context context, EPerson ePerson)List<CollectionRole>CollectionRoleServiceImpl. findByGroup(Context context, Group group)List<PoolTask>PoolTaskServiceImpl. findByGroup(Context context, Group group)protected List<PoolTask>PoolTaskServiceImpl. findByGroups(Context context, EPerson ePerson, List<Group> groups)XmlWorkflowItemXmlWorkflowItemServiceImpl. findByItem(Context context, Item item)List<XmlWorkflowItem>XmlWorkflowItemServiceImpl. findBySubmitter(Context context, EPerson ep)List<XmlWorkflowItem>XmlWorkflowItemServiceImpl. findBySubmitter(Context context, EPerson ep, Integer pageNumber, Integer pageSize)ClaimedTaskClaimedTaskServiceImpl. findByWorkflowIdAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson)PoolTaskPoolTaskServiceImpl. findByWorkflowIdAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson)List<ClaimedTask>ClaimedTaskServiceImpl. findByWorkflowItem(Context context, XmlWorkflowItem workflowItem)List<InProgressUser>InProgressUserServiceImpl. findByWorkflowItem(Context context, XmlWorkflowItem workflowItem)List<WorkflowItemRole>WorkflowItemRoleServiceImpl. findByWorkflowItem(Context context, XmlWorkflowItem xmlWorkflowItem)InProgressUserInProgressUserServiceImpl. 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)voidPoolTaskServiceImpl. update(Context context, List<PoolTask> poolTasks)voidPoolTaskServiceImpl. update(Context context, PoolTask poolTask)voidWorkflowItemRoleServiceImpl. 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 Context Modifier and Type Method Description intXmlWorkflowItemDAO. countAll(Context context)intXmlWorkflowItemDAO. 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)List<XmlWorkflowItem>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)List<CollectionRole>CollectionRoleDAO. findByCollection(Context context, Collection collection)List<XmlWorkflowItem>XmlWorkflowItemDAO. findByCollection(Context context, Collection collection)CollectionRoleCollectionRoleDAO. findByCollectionAndRole(Context context, Collection collection, String role)List<ClaimedTask>ClaimedTaskDAO. findByEperson(Context context, EPerson ePerson)List<InProgressUser>InProgressUserDAO. findByEperson(Context context, EPerson ePerson)List<PoolTask>PoolTaskDAO. findByEPerson(Context context, EPerson ePerson)List<WorkflowItemRole>WorkflowItemRoleDAO. findByEPerson(Context context, EPerson ePerson)ClaimedTaskClaimedTaskDAO. findByEPersonAndWorkflowItemAndStepIdAndActionId(Context context, EPerson ePerson, XmlWorkflowItem workflowItem, String stepID, String actionID)List<CollectionRole>CollectionRoleDAO. findByGroup(Context context, Group group)List<PoolTask>PoolTaskDAO. findByGroup(Context context, Group group)XmlWorkflowItemXmlWorkflowItemDAO. findByItem(Context context, Item item)List<ClaimedTask>ClaimedTaskDAO. findByStep(Context context, String stepID)List<XmlWorkflowItem>XmlWorkflowItemDAO. findBySubmitter(Context context, EPerson ep)List<XmlWorkflowItem>XmlWorkflowItemDAO. findBySubmitter(Context context, EPerson ep, Integer offset, Integer limit)Return all the workflow items from a specific submitter respecting the pagination parametersList<ClaimedTask>ClaimedTaskDAO. findByWorkflowItem(Context context, XmlWorkflowItem workflowItem)Find all claimed tasks for a given workflow item.List<InProgressUser>InProgressUserDAO. findByWorkflowItem(Context context, XmlWorkflowItem workflowItem)List<PoolTask>PoolTaskDAO. findByWorkflowItem(Context context, XmlWorkflowItem workflowItem)List<WorkflowItemRole>WorkflowItemRoleDAO. findByWorkflowItem(Context context, XmlWorkflowItem workflowItem)ClaimedTaskClaimedTaskDAO. findByWorkflowItemAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson)Find the single task for a given workflow item which is claimed by a given EPerson.InProgressUserInProgressUserDAO. findByWorkflowItemAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson)PoolTaskPoolTaskDAO. findByWorkflowItemAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson)PoolTaskPoolTaskDAO. findByWorkflowItemAndGroup(Context context, Group group, XmlWorkflowItem workflowItem)List<WorkflowItemRole>WorkflowItemRoleDAO. findByWorkflowItemAndRole(Context context, XmlWorkflowItem workflowItem, String role)List<ClaimedTask>ClaimedTaskDAO. findByWorkflowItemAndStepId(Context context, XmlWorkflowItem workflowItem, String stepID)List<ClaimedTask>ClaimedTaskDAO. findByWorkflowItemAndStepIdAndActionId(Context c, XmlWorkflowItem workflowItem, String stepID, String actionID) -
Uses of Context in org.dspace.xmlworkflow.storedcomponents.dao.impl
-
Uses of Context in org.dspace.xmlworkflow.storedcomponents.service
Methods in org.dspace.xmlworkflow.storedcomponents.service with parameters of type Context Modifier and Type Method Description intXmlWorkflowItemService. countAll(Context context)return 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 submitterCollectionRoleCollectionRoleService. 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)ClaimedTaskClaimedTaskService. find(Context context, EPerson ePerson, XmlWorkflowItem workflowItem, String stepID, String actionID)List<ClaimedTask>ClaimedTaskService. find(Context context, XmlWorkflowItem workflowItem)Find all claimed tasks for a given workflow item.List<ClaimedTask>ClaimedTaskService. find(Context context, XmlWorkflowItem workflowItem, String stepID)List<ClaimedTask>ClaimedTaskService. find(Context context, XmlWorkflowItem workflowItem, String stepID, String actionID)CollectionRoleCollectionRoleService. find(Context context, int id)CollectionRoleCollectionRoleService. find(Context context, Collection collection, String role)List<PoolTask>PoolTaskService. find(Context context, XmlWorkflowItem workflowItem)List<WorkflowItemRole>WorkflowItemRoleService. find(Context context, XmlWorkflowItem workflowItem, String role)List<ClaimedTask>ClaimedTaskService. findAll(Context context)List<PoolTask>PoolTaskService. findAll(Context context)List<XmlWorkflowItem>XmlWorkflowItemService. findAll(Context context, Integer page, Integer pagesize)return all workflowitems for a certain pageList<XmlWorkflowItem>XmlWorkflowItemService. findAllInCollection(Context context, Integer page, Integer pagesize, Collection collection)return all workflowitems for a certain page with a certain collectionList<ClaimedTask>ClaimedTaskService. findAllInStep(Context context, String stepID)List<CollectionRole>CollectionRoleService. findByCollection(Context context, Collection collection)List<ClaimedTask>ClaimedTaskService. findByEperson(Context context, EPerson ePerson)List<InProgressUser>InProgressUserService. findByEperson(Context context, EPerson ePerson)List<PoolTask>PoolTaskService. findByEperson(Context context, EPerson ePerson)List<PoolTask>PoolTaskService. findByEPerson(Context context, EPerson ePerson)List<WorkflowItemRole>WorkflowItemRoleService. findByEPerson(Context context, EPerson ePerson)List<CollectionRole>CollectionRoleService. findByGroup(Context context, Group group)List<PoolTask>PoolTaskService. findByGroup(Context context, Group group)This method will return a list of PoolTask for the given groupList<XmlWorkflowItem>XmlWorkflowItemService. findBySubmitter(Context context, EPerson ep, Integer pageNumber, Integer pageSize)Return all the workflow items from a specific submitter respecting the pagination parametersClaimedTaskClaimedTaskService. findByWorkflowIdAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson)Find the single task for a given workflow item claimed by a given EPerson.PoolTaskPoolTaskService. findByWorkflowIdAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson)List<ClaimedTask>ClaimedTaskService. findByWorkflowItem(Context context, XmlWorkflowItem workflowItem)List<InProgressUser>InProgressUserService. findByWorkflowItem(Context context, XmlWorkflowItem workflowItem)List<WorkflowItemRole>WorkflowItemRoleService. findByWorkflowItem(Context context, XmlWorkflowItem xmlWorkflowItem)InProgressUserInProgressUserService. 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)
-