Package org.dspace.eperson.service
Interface RegistrationDataMetadataService
- All Superinterfaces:
DSpaceCRUDService<RegistrationDataMetadata>
- All Known Implementing Classes:
RegistrationDataMetadataServiceImpl
public interface RegistrationDataMetadataService
extends DSpaceCRUDService<RegistrationDataMetadata>
This class contains business-logic to handle
RegistrationDataMetadata.- Author:
- Vincenzo Mecca (vins01-4science - vincenzo.mecca at 4science.com)
-
Method Summary
Modifier and TypeMethodDescriptioncreate(Context context, RegistrationData registrationData, String schema, String element, String qualifier, String value) Creates a newRegistrationDataMetadatathat will be stored starting from the parameters of the method.create(Context context, RegistrationData registrationData, MetadataField metadataField) Creates a newRegistrationDataMetadatacreate(Context context, RegistrationData registrationData, MetadataField metadataField, String value) Creates a newRegistrationDataMetadata
-
Method Details
-
create
RegistrationDataMetadata create(Context context, RegistrationData registrationData, String schema, String element, String qualifier, String value) throws SQLException Creates a newRegistrationDataMetadatathat will be stored starting from the parameters of the method.- Parameters:
context- - the DSpace ContextregistrationData- - the Registration data that will contain the metadataschema- - the schema of the metadata fieldelement- - the element of the metadata fieldqualifier- - the qualifier of the metadata fieldvalue- - the value of that metadata- Returns:
- the newly created RegistrationDataMetadata
- Throws:
SQLException
-
create
RegistrationDataMetadata create(Context context, RegistrationData registrationData, MetadataField metadataField) throws SQLException Creates a newRegistrationDataMetadata- Parameters:
context- - the DSpace ContextregistrationData- - the RegistrationData that will contain that metadatametadataField- - the metadataField- Returns:
- the newly created RegistrationDataMetadata
- Throws:
SQLException
-
create
RegistrationDataMetadata create(Context context, RegistrationData registrationData, MetadataField metadataField, String value) throws SQLException Creates a newRegistrationDataMetadata- Parameters:
context- - the DSpace ContextregistrationData- - the RegistrationData that will contain that metadatametadataField- - the metadataField that will be storedvalue- - the value that will be placed inside the RegistrationDataMetadata- Returns:
- the newly created
RegistrationDataMetadata - Throws:
SQLException
-