Uses of Class
org.dspace.content.MetadataValue
Packages that use MetadataValue
Package
Description
Miscellaneous utility classes.
Provides an API for reading and manipulating content in the DSpace system.
Embargo allows the deposit of Items whose content should not be made visible
until later.
Provides classes representing e-people and groups of e-people.
-
Uses of MetadataValue in org.dspace.app.itemupdate
Methods in org.dspace.app.itemupdate with parameters of type MetadataValueModifier and TypeMethodDescriptionstatic StringMetadataUtilities.getDCValueString(MetadataValue dcv) Get display of Metadatum -
Uses of MetadataValue in org.dspace.app.util
Methods in org.dspace.app.util that return MetadataValueModifier and TypeMethodDescriptionprotected MetadataValueGoogleMetadata.resolveMetadataField(String configFilter) A singular version of resolveMetadata to return only one field value instead of an aggregate.Methods in org.dspace.app.util that return types with arguments of type MetadataValueModifier and TypeMethodDescriptionprotected ArrayList<MetadataValue>GoogleMetadata.resolveMetadata(String configFilter, int returnType) Aggregate an array of DCValues present on the current item that pass the configuration filter.protected ArrayList<MetadataValue>GoogleMetadata.resolveMetadataFields(String configFilter) A plural version of resolveMetadata for aggregate fields.Methods in org.dspace.app.util with parameters of type MetadataValueModifier and TypeMethodDescriptionprotected StringGoogleMetadata.buildFieldName(MetadataValue v) Construct metadata field name out of Metadatum componentsMethod parameters in org.dspace.app.util with type arguments of type MetadataValueModifier and TypeMethodDescriptionUtil.getControlledVocabulariesDisplayValueLocalized(Item item, List<MetadataValue> values, String schema, String element, String qualifier, Locale locale) Get a list of all the respective "displayed-value(s)" from the given "stored-value(s)" for a specific metadata field of a DSpace Item, by reading submission-forms.xml -
Uses of MetadataValue in org.dspace.authority
Methods in org.dspace.authority with parameters of type MetadataValueModifier and TypeMethodDescriptionvoidAuthorityValue.updateItem(Context context, Item currentItem, MetadataValue value) Replace an item's DCValue with this authority -
Uses of MetadataValue in org.dspace.content
Subclasses of MetadataValue in org.dspace.contentModifier and TypeClassDescriptionclassThis class is used as a representation of MetadataValues for the MetadataValues that are derived from the Relationships that the item has.Fields in org.dspace.content with type parameters of type MetadataValueModifier and TypeFieldDescriptionstatic jakarta.persistence.metamodel.SingularAttribute<MetadataValue,String> MetadataValue_.authoritystatic jakarta.persistence.metamodel.EntityType<MetadataValue>MetadataValue_.class_static jakarta.persistence.metamodel.SingularAttribute<MetadataValue,Integer> MetadataValue_.confidencestatic final Comparator<MetadataValue>MetadataValueComparators.defaultComparatorThis is the default comparator that mimics the ordering applied by the standard@OrderByannotation insideDSpaceObject.getMetadata()static jakarta.persistence.metamodel.SingularAttribute<MetadataValue,DSpaceObject> MetadataValue_.dSpaceObjectstatic jakarta.persistence.metamodel.SingularAttribute<MetadataValue,Integer> MetadataValue_.idstatic jakarta.persistence.metamodel.SingularAttribute<MetadataValue,String> MetadataValue_.languagestatic jakarta.persistence.metamodel.ListAttribute<DSpaceObject,MetadataValue> DSpaceObject_.metadatastatic jakarta.persistence.metamodel.SingularAttribute<MetadataValue,MetadataField> MetadataValue_.metadataFieldstatic jakarta.persistence.metamodel.SingularAttribute<MetadataValue,Integer> MetadataValue_.placestatic jakarta.persistence.metamodel.SingularAttribute<MetadataValue,String> MetadataValue_.valueMethods in org.dspace.content that return MetadataValueModifier and TypeMethodDescriptionDSpaceObjectServiceImpl.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value) DSpaceObjectServiceImpl.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value, String authority, int confidence) DSpaceObjectServiceImpl.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value, String authority, int confidence, int place) DSpaceObjectServiceImpl.addMetadata(Context context, T dso, MetadataField metadataField, String language, String value) DSpaceObjectServiceImpl.addMetadata(Context context, T dso, MetadataField metadataField, String language, String value, String authority, int confidence) ItemServiceImpl.addMetadata(Context context, Item dso, String schema, String element, String qualifier, String lang, String value, String authority, int confidence, int place) MetadataValueServiceImpl.create(Context context, DSpaceObject dso, MetadataField metadataField) MetadataValueServiceImpl.getMinimum(Context context, int metadataFieldId) Methods in org.dspace.content that return types with arguments of type MetadataValueModifier and TypeMethodDescriptionDSpaceObjectServiceImpl.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, List<String> values) DSpaceObjectServiceImpl.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, List<String> values, List<String> authorities, List<Integer> confidences) DSpaceObjectServiceImpl.addMetadata(Context context, T dso, MetadataField metadataField, String language, List<String> values) DSpaceObjectServiceImpl.addMetadata(Context context, T dso, MetadataField metadataField, String lang, List<String> values, List<String> authorities, List<Integer> confidences) DSpaceObjectServiceImpl.addMetadata(Context context, T dso, MetadataField metadataField, String lang, List<String> values, List<String> authorities, List<Integer> confidences, Supplier<Integer> placeSupplier) Add metadata value(s) to a MetadataField of a DSpace ObjectMetadataValueServiceImpl.findByField(Context context, MetadataField metadataField) MetadataValueServiceImpl.findByFieldAndValue(Context context, MetadataField metadataField, String value) MetadataValueServiceImpl.findByValueLike(Context context, String value) protected List<MetadataValue>Item.getCachedMetadata()DSpaceObject.getMetadata()DSpaceObjectServiceImpl.getMetadata(T dso, String mdString, String authority) DSpaceObjectServiceImpl.getMetadata(T dso, String schema, String element, String qualifier, String lang) DSpaceObjectServiceImpl.getMetadata(T dso, String schema, String element, String qualifier, String lang, String authority) ItemServiceImpl.getMetadata(Item item, String schema, String element, String qualifier, String lang) This method will return a list of MetadataValue objects that contains all the regular metadata of the item passed along in the parameters as well as all the virtual metadata which will be generated and processed together with theVirtualMetadataPopulatorby processing the item's relationshipsItemServiceImpl.getMetadata(Item item, String schema, String element, String qualifier, String lang, boolean enableVirtualMetadata) DSpaceObjectServiceImpl.getMetadataByMetadataString(T dso, String mdString) static final List<MetadataValue>MetadataValueComparators.sort(List<MetadataValue> metadataValues) This method creates a newList<MetadataValue>ordered by theMetadataComparators#defaultComparator.Methods in org.dspace.content with parameters of type MetadataValueModifier and TypeMethodDescriptionprotected voidDSpaceObject.addMetadata(MetadataValue metadataValue) voidMetadataValueServiceImpl.delete(Context context, MetadataValue metadataValue) protected intDSpaceObjectServiceImpl.getMetadataValuePlace(Map<MetadataField, Integer> fieldToLastPlace, MetadataValue metadataValue) Retrieve the place of the metadata valueprotected booleanDSpaceObjectServiceImpl.match(String schema, String element, String qualifier, String language, MetadataValue metadataValue) Utility method for pattern-matching metadata elements.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 StringItemComparator.normalizeTitle(MetadataValue value) Normalize the title of a Metadatum.protected voidDSpaceObject.removeMetadata(MetadataValue metadataValue) voidMetadataValueServiceImpl.update(Context context, MetadataValue metadataValue) voidMetadataValueServiceImpl.update(Context context, MetadataValue metadataValue, boolean updateLastModified) Method parameters in org.dspace.content with type arguments of type MetadataValueModifier and TypeMethodDescriptionprotected voidDSpaceObject.removeMetadata(List<MetadataValue> metadataValues) voidDSpaceObjectServiceImpl.removeMetadataValues(Context context, T dso, List<MetadataValue> values) protected voidItem.setCachedMetadata(List<MetadataValue> cachedMetadata) voidDSpaceObject.setMetadata(List<MetadataValue> metadata) static final List<MetadataValue>MetadataValueComparators.sort(List<MetadataValue> metadataValues) This method creates a newList<MetadataValue>ordered by theMetadataComparators#defaultComparator. -
Uses of MetadataValue in org.dspace.content.authority
Methods in org.dspace.content.authority with parameters of type MetadataValueModifier and TypeMethodDescriptionChoiceAuthorityServiceImpl.getLabel(MetadataValue metadataValue, Collection collection, String locale) ChoiceAuthorityServiceImpl.getVariants(MetadataValue metadataValue, Collection collection) -
Uses of MetadataValue in org.dspace.content.authority.service
Methods in org.dspace.content.authority.service with parameters of type MetadataValueModifier and TypeMethodDescriptionChoiceAuthorityService.getLabel(MetadataValue metadataValue, Collection collection, String locale) Wrapper that calls getLabel method of the plugin corresponding to the metadata field defined by schema,element,qualifier.ChoiceAuthorityService.getVariants(MetadataValue metadataValue, Collection collection) Wrapper to call plugin's getVariants(). -
Uses of MetadataValue in org.dspace.content.dao
Methods in org.dspace.content.dao that return MetadataValueModifier and TypeMethodDescriptionMetadataValueDAO.getMinimum(Context context, int metadataFieldId) Methods in org.dspace.content.dao that return types with arguments of type MetadataValueModifier and TypeMethodDescriptionMetadataValueDAO.findByField(Context context, MetadataField fieldId) MetadataValueDAO.findByValueLike(Context context, String value) MetadataValueDAO.findItemValuesByFieldAndValue(Context context, MetadataField metadataField, String value) -
Uses of MetadataValue in org.dspace.content.dao.impl
Methods in org.dspace.content.dao.impl that return MetadataValueModifier and TypeMethodDescriptionMetadataValueDAOImpl.getMinimum(Context context, int metadataFieldId) Methods in org.dspace.content.dao.impl that return types with arguments of type MetadataValueModifier and TypeMethodDescriptionMetadataValueDAOImpl.findByField(Context context, MetadataField metadataField) MetadataValueDAOImpl.findByValueLike(Context context, String value) MetadataValueDAOImpl.findItemValuesByFieldAndValue(Context context, MetadataField metadataField, String value) -
Uses of MetadataValue in org.dspace.content.dto
Constructors in org.dspace.content.dto with parameters of type MetadataValue -
Uses of MetadataValue in org.dspace.content.service
Methods in org.dspace.content.service that return MetadataValueModifier and TypeMethodDescriptionDSpaceObjectService.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value) Add a single metadata field.DSpaceObjectService.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value, String authority, int confidence) Add a single metadata field.DSpaceObjectService.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, String value, String authority, int confidence, int place) Add a single metadata value at the given place position.DSpaceObjectService.addMetadata(Context context, T dso, MetadataField metadataField, String language, String value) Add a metadatafield.DSpaceObjectService.addMetadata(Context context, T dso, MetadataField metadataField, String language, String value, String authority, int confidence) Shortcut forDSpaceObjectService.addMetadata(Context, DSpaceObject, MetadataField, String, List, List, List)when a single value need to be addedMetadataValueService.create(Context context, DSpaceObject dso, MetadataField metadataField) Creates a new metadata value.Retrieves the metadata value from the database.MetadataValueService.getMinimum(Context context, int metadataFieldId) Get the minimum value of a given metadata field across all objects.Methods in org.dspace.content.service that return types with arguments of type MetadataValueModifier and TypeMethodDescriptionDSpaceObjectService.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, List<String> values) Add metadata fields.DSpaceObjectService.addMetadata(Context context, T dso, String schema, String element, String qualifier, String lang, List<String> values, List<String> authorities, List<Integer> confidences) Add metadata fields.DSpaceObjectService.addMetadata(Context context, T dso, MetadataField metadataField, String language, List<String> values) Add a metadatafields.DSpaceObjectService.addMetadata(Context context, T dso, MetadataField metadataField, String lang, List<String> values, List<String> authorities, List<Integer> confidences) Add metadata fields.MetadataValueService.findByField(Context context, MetadataField metadataField) Retrieves the metadata values for a given field from the database.MetadataValueService.findByFieldAndValue(Context context, MetadataField metadataField, String value) Retrieves matching MetadataValues for a given field and value.MetadataValueService.findByValueLike(Context context, String value) DSpaceObjectService.getMetadata(T dSpaceObject, String mdString, String authority) Get the value(s) of a metadata field.DSpaceObjectService.getMetadata(T dSpaceObject, String schema, String element, String qualifier, String lang) Get metadata for the DSpace Object in a chosen schema.DSpaceObjectService.getMetadata(T dSpaceObject, String schema, String element, String qualifier, String lang, String authority) Get the value(s) of a metadata field.ItemService.getMetadata(Item item, String schema, String element, String qualifier, String lang, boolean enableVirtualMetadata) Get metadata for the DSpace Object in a chosen schema.DSpaceObjectService.getMetadataByMetadataString(T dSpaceObject, String mdString) Retrieve metadata field values from a given metadata string of the form<schema prefix>.<element>[.<qualifier>|.*]Methods in org.dspace.content.service with parameters of type MetadataValueModifier and TypeMethodDescriptionvoidMetadataValueService.delete(Context context, MetadataValue metadataValue) Delete the metadata field.voidMetadataValueService.update(Context context, MetadataValue metadataValue) Update the metadata value in the database.voidMetadataValueService.update(Context context, MetadataValue metadataValue, boolean modifyParentObject) Method parameters in org.dspace.content.service with type arguments of type MetadataValueModifier and TypeMethodDescriptionvoidDSpaceObjectService.removeMetadataValues(Context context, T dso, List<MetadataValue> values) -
Uses of MetadataValue in org.dspace.content.virtual
Methods in org.dspace.content.virtual that return types with arguments of type MetadataValueModifier and TypeMethodDescriptionPotentialDuplicate.getMetadataValueList()Get metadata (sorted, field->value list) for duplicate itemMethod parameters in org.dspace.content.virtual with type arguments of type MetadataValueModifier and TypeMethodDescriptionvoidPotentialDuplicate.setMetadataValueList(List<MetadataValue> metadataValueList) Set metadata (sorted, field->value list) for duplicate item -
Uses of MetadataValue in org.dspace.contentreport
Method parameters in org.dspace.contentreport with type arguments of type MetadataValueModifier and TypeMethodDescriptionjakarta.persistence.criteria.PredicateQueryOperator.buildJpaPredicate(String val, String regexClause, JpaCriteriaBuilderKit<MetadataValue> jpaKit) -
Uses of MetadataValue in org.dspace.embargo
Methods in org.dspace.embargo that return types with arguments of type MetadataValue -
Uses of MetadataValue in org.dspace.embargo.service
Methods in org.dspace.embargo.service that return types with arguments of type MetadataValue -
Uses of MetadataValue in org.dspace.eperson
Methods in org.dspace.eperson that return types with arguments of type MetadataValueModifier and TypeMethodDescriptionRegistrationDataServiceImpl.groupEpersonMetadataByRegistrationData(EPerson ePerson, RegistrationData registrationData) -
Uses of MetadataValue in org.dspace.eperson.service
Methods in org.dspace.eperson.service that return types with arguments of type MetadataValueModifier and TypeMethodDescriptionRegistrationDataService.groupEpersonMetadataByRegistrationData(EPerson ePerson, RegistrationData registrationData) -
Uses of MetadataValue in org.dspace.orcid.model.factory
Methods in org.dspace.orcid.model.factory with parameters of type MetadataValueModifier and TypeMethodDescriptionOptional<org.orcid.jaxb.model.v3.release.common.Contributor>OrcidCommonObjectFactory.createContributor(Context context, MetadataValue metadataValue, org.orcid.jaxb.model.common.ContributorRole role) Creates an instance ofContributorfrom the given metadata value.Optional<org.orcid.jaxb.model.v3.release.common.Country>OrcidCommonObjectFactory.createCountry(Context context, MetadataValue metadataValue) Creates an instance ofCountryfrom the given metadata value.Optional<org.orcid.jaxb.model.v3.release.record.FundingContributor>OrcidCommonObjectFactory.createFundingContributor(Context context, MetadataValue metadataValue, org.orcid.jaxb.model.common.FundingContributorRole role) Creates an instance ofFundingContributorfrom the given metadata value.Optional<org.orcid.jaxb.model.v3.release.common.FuzzyDate>OrcidCommonObjectFactory.createFuzzyDate(MetadataValue metadataValue) Creates an instance ofFuzzyDateif the given metadata value represent a date with a supported format.Method parameters in org.dspace.orcid.model.factory with type arguments of type MetadataValueModifier and TypeMethodDescriptionOrcidProfileSectionFactory.create(Context context, List<MetadataValue> metadataValues) Creates an instance of an ORCID object starting from the metadata values -
Uses of MetadataValue in org.dspace.orcid.model.factory.impl
Methods in org.dspace.orcid.model.factory.impl that return types with arguments of type MetadataValueModifier and TypeMethodDescriptionprotected List<MetadataValue>AbstractOrcidProfileSectionFactory.getMetadataValues(Item item, String metadataField) Methods in org.dspace.orcid.model.factory.impl with parameters of type MetadataValueModifier and TypeMethodDescriptionprotected ObjectOrcidPersonExternalIdentifierFactory.create(Context context, MetadataValue metadataValue) protected ObjectOrcidSimpleValueObjectFactory.create(Context context, MetadataValue metadataValue) Create an instance of ORCID profile section based on the configured profile section type, taking the value from the given metadataValue.Optional<org.orcid.jaxb.model.v3.release.common.Contributor>OrcidCommonObjectFactoryImpl.createContributor(Context context, MetadataValue metadataValue, org.orcid.jaxb.model.common.ContributorRole role) Optional<org.orcid.jaxb.model.v3.release.common.Country>OrcidCommonObjectFactoryImpl.createCountry(Context context, MetadataValue metadataValue) Optional<org.orcid.jaxb.model.v3.release.record.FundingContributor>OrcidCommonObjectFactoryImpl.createFundingContributor(Context context, MetadataValue metadataValue, org.orcid.jaxb.model.common.FundingContributorRole role) Optional<org.orcid.jaxb.model.v3.release.common.FuzzyDate>OrcidCommonObjectFactoryImpl.createFuzzyDate(MetadataValue metadataValue) Method parameters in org.dspace.orcid.model.factory.impl with type arguments of type MetadataValueModifier and TypeMethodDescriptionOrcidSimpleValueObjectFactory.create(Context context, List<MetadataValue> metadataValues) -
Uses of MetadataValue in org.dspace.orcid.service
Methods in org.dspace.orcid.service that return types with arguments of type MetadataValueModifier and TypeMethodDescriptionMetadataSignatureGenerator.findBySignature(Context context, Item item, String signature) Returns the metadata values traceable by the given item related with the given signature.Method parameters in org.dspace.orcid.service with type arguments of type MetadataValueModifier and TypeMethodDescriptionOrcidProfileSectionFactoryService.createOrcidObject(Context context, List<MetadataValue> metadataValues, OrcidProfileSectionType type) Builds an ORCID object starting from the given metadata values compliance to the given profile section type.MetadataSignatureGenerator.generate(Context context, List<MetadataValue> metadataValues) Generate a signature related to the given metadata values. -
Uses of MetadataValue in org.dspace.orcid.service.impl
Methods in org.dspace.orcid.service.impl that return types with arguments of type MetadataValueModifier and TypeMethodDescriptionPlainMetadataSignatureGeneratorImpl.findBySignature(Context context, Item item, String signature) Method parameters in org.dspace.orcid.service.impl with type arguments of type MetadataValueModifier and TypeMethodDescriptionOrcidProfileSectionFactoryServiceImpl.createOrcidObject(Context context, List<MetadataValue> metadataValues, OrcidProfileSectionType type) PlainMetadataSignatureGeneratorImpl.generate(Context context, List<MetadataValue> metadataValues)