Interface CorrectionTypeService
- All Known Implementing Classes:
CorrectionTypeServiceImpl
public interface CorrectionTypeService
Service interface class for the CorrectionType object.
- Author:
- Mohamed Eskander (mohamed.eskander at 4science.com)
-
Method Summary
Modifier and TypeMethodDescriptionfindAll()Retrieves a list of all CorrectionType objects available in the system.findByItem(Context context, Item item) Retrieves a list of CorrectionType objects related to the provided Item.findByTopic(String topic) Retrieves a CorrectionType object associated with a specific topic.Retrieves a CorrectionType object from the system based on a unique identifier.
-
Method Details
-
findOne
Retrieves a CorrectionType object from the system based on a unique identifier.- Parameters:
id- The unique identifier of the CorrectionType object to be retrieved.- Returns:
- The CorrectionType object corresponding to the provided identifier, or null if no object is found.
-
findAll
List<CorrectionType> findAll()Retrieves a list of all CorrectionType objects available in the system.- Returns:
- Returns a List containing all CorrectionType objects in the system.
-
findByItem
Retrieves a list of CorrectionType objects related to the provided Item.- Parameters:
context- Current DSpace session.item- Target item- Throws:
AuthorizeException- If authorize errorSQLException- If a database error occurs during the operation.
-
findByTopic
Retrieves a CorrectionType object associated with a specific topic.- Parameters:
topic- The topic for which the CorrectionType object is to be retrieved.
-