Package org.dspace.eperson
Class RegistrationDataServiceImpl
java.lang.Object
org.dspace.eperson.RegistrationDataServiceImpl
- All Implemented Interfaces:
RegistrationDataService,DSpaceCRUDService<RegistrationData>
Service implementation for the RegistrationData object.
This class is responsible for all business logic calls for the RegistrationData object and is autowired by spring.
This class should never be accessed directly.
- Author:
- kevinvandevelde at atmire.com
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(Context context, RegistrationData registrationData) voiddeleteByToken(Context context, String token) findByEmail(Context context, String email) findByToken(Context context, String token) voidupdate(Context context, List<RegistrationData> registrationDataRecords) Persist a collection of model objects.voidupdate(Context context, RegistrationData registrationData) Persist a model object.
-
Field Details
-
registrationDataDAO
-
-
Constructor Details
-
RegistrationDataServiceImpl
protected RegistrationDataServiceImpl()
-
-
Method Details
-
create
- Specified by:
createin interfaceDSpaceCRUDService<RegistrationData>- Throws:
SQLExceptionAuthorizeException
-
findByToken
- Specified by:
findByTokenin interfaceRegistrationDataService- Throws:
SQLException
-
findByEmail
- Specified by:
findByEmailin interfaceRegistrationDataService- Throws:
SQLException
-
deleteByToken
- Specified by:
deleteByTokenin interfaceRegistrationDataService- Throws:
SQLException
-
find
- Specified by:
findin interfaceDSpaceCRUDService<RegistrationData>- Throws:
SQLException
-
update
public void update(Context context, RegistrationData registrationData) throws SQLException, AuthorizeException Description copied from interface:DSpaceCRUDServicePersist a model object.- Specified by:
updatein interfaceDSpaceCRUDService<RegistrationData>registrationData- object to be persisted.- Throws:
SQLException- passed through.AuthorizeException- passed through.
-
update
public void update(Context context, List<RegistrationData> registrationDataRecords) throws SQLException, AuthorizeException Description copied from interface:DSpaceCRUDServicePersist a collection of model objects.- Specified by:
updatein interfaceDSpaceCRUDService<RegistrationData>registrationDataRecords- object to be persisted.- Throws:
SQLException- passed through.AuthorizeException- passed through.
-
delete
public void delete(Context context, RegistrationData registrationData) throws SQLException, AuthorizeException - Specified by:
deletein interfaceDSpaceCRUDService<RegistrationData>- Throws:
SQLExceptionAuthorizeException
-