public class RegistrationDataServiceImpl extends Object implements RegistrationDataService
| Modifier and Type | Field and Description |
|---|---|
protected RegistrationDataDAO |
registrationDataDAO |
| Modifier | Constructor and Description |
|---|---|
protected |
RegistrationDataServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
RegistrationData |
create(Context context) |
void |
delete(Context context,
RegistrationData registrationData) |
void |
deleteByToken(Context context,
String token) |
RegistrationData |
find(Context context,
int id) |
RegistrationData |
findByEmail(Context context,
String email) |
RegistrationData |
findByToken(Context context,
String token) |
void |
update(Context context,
RegistrationData registrationData) |
@Autowired(required=true) protected RegistrationDataDAO registrationDataDAO
public RegistrationData create(Context context) throws SQLException, AuthorizeException
create in interface DSpaceCRUDService<RegistrationData>SQLExceptionAuthorizeExceptionpublic RegistrationData findByToken(Context context, String token) throws SQLException
findByToken in interface RegistrationDataServiceSQLExceptionpublic RegistrationData findByEmail(Context context, String email) throws SQLException
findByEmail in interface RegistrationDataServiceSQLExceptionpublic void deleteByToken(Context context, String token) throws SQLException
deleteByToken in interface RegistrationDataServiceSQLExceptionpublic RegistrationData find(Context context, int id) throws SQLException
find in interface DSpaceCRUDService<RegistrationData>SQLExceptionpublic void update(Context context, RegistrationData registrationData) throws SQLException, AuthorizeException
update in interface DSpaceCRUDService<RegistrationData>SQLExceptionAuthorizeExceptionpublic void delete(Context context, RegistrationData registrationData) throws SQLException, AuthorizeException
delete in interface DSpaceCRUDService<RegistrationData>SQLExceptionAuthorizeExceptionCopyright © 2016 DuraSpace. All Rights Reserved.