Package org.dspace.statistics.export
Class FailedOpenURLTrackerServiceImpl
- java.lang.Object
-
- org.dspace.statistics.export.FailedOpenURLTrackerServiceImpl
-
- All Implemented Interfaces:
FailedOpenURLTrackerService
public class FailedOpenURLTrackerServiceImpl extends Object implements FailedOpenURLTrackerService
Implementation of the service that handles the OpenURLTracker database operations
-
-
Field Summary
Fields Modifier and Type Field Description protected OpenURLTrackerDAOopenURLTrackerDAO
-
Constructor Summary
Constructors Constructor Description FailedOpenURLTrackerServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenURLTrackercreate(Context context)Creates a new OpenURLTrackerList<OpenURLTracker>findAll(Context context)Returns all OpenURLTrackers from the databasevoidremove(Context context, OpenURLTracker openURLTracker)Removes an OpenURLTracker from the database
-
-
-
Field Detail
-
openURLTrackerDAO
@Autowired(required=true) protected OpenURLTrackerDAO openURLTrackerDAO
-
-
Method Detail
-
remove
public void remove(Context context, OpenURLTracker openURLTracker) throws SQLException
Removes an OpenURLTracker from the database- Specified by:
removein interfaceFailedOpenURLTrackerService- Parameters:
context-openURLTracker-- Throws:
SQLException
-
findAll
public List<OpenURLTracker> findAll(Context context) throws SQLException
Returns all OpenURLTrackers from the database- Specified by:
findAllin interfaceFailedOpenURLTrackerService- Parameters:
context-- Returns:
- all OpenURLTrackers
- Throws:
SQLException
-
create
public OpenURLTracker create(Context context) throws SQLException
Creates a new OpenURLTracker- Specified by:
createin interfaceFailedOpenURLTrackerService- Parameters:
context-- Returns:
- the creatred OpenURLTracker
- Throws:
SQLException
-
-