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 Details

    • findOne

      CorrectionType findOne(String id)
      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

      List<CorrectionType> findByItem(Context context, Item item) throws AuthorizeException, SQLException
      Retrieves a list of CorrectionType objects related to the provided Item.
      Parameters:
      context - Current DSpace session.
      item - Target item
      Throws:
      AuthorizeException - If authorize error
      SQLException - If a database error occurs during the operation.
    • findByTopic

      CorrectionType findByTopic(String topic)
      Retrieves a CorrectionType object associated with a specific topic.
      Parameters:
      topic - The topic for which the CorrectionType object is to be retrieved.