Class CorrectionTypeServiceImpl
java.lang.Object
org.dspace.correctiontype.service.impl.CorrectionTypeServiceImpl
- All Implemented Interfaces:
CorrectionTypeService
Service implementation class for the CorrectionType object.
- Author:
- Mohamed Eskander (mohamed.eskander at 4science.com)
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
CorrectionTypeServiceImpl
public CorrectionTypeServiceImpl()
-
-
Method Details
-
findOne
Description copied from interface:CorrectionTypeServiceRetrieves a CorrectionType object from the system based on a unique identifier.- Specified by:
findOnein interfaceCorrectionTypeService- 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
Description copied from interface:CorrectionTypeServiceRetrieves a list of all CorrectionType objects available in the system.- Specified by:
findAllin interfaceCorrectionTypeService- Returns:
- Returns a List containing all CorrectionType objects in the system.
-
findByItem
public List<CorrectionType> findByItem(Context context, Item item) throws AuthorizeException, SQLException Description copied from interface:CorrectionTypeServiceRetrieves a list of CorrectionType objects related to the provided Item.- Specified by:
findByItemin interfaceCorrectionTypeService- Parameters:
context- Current DSpace session.item- Target item- Throws:
AuthorizeException- If authorize errorSQLException- If a database error occurs during the operation.
-
findByTopic
Description copied from interface:CorrectionTypeServiceRetrieves a CorrectionType object associated with a specific topic.- Specified by:
findByTopicin interfaceCorrectionTypeService- Parameters:
topic- The topic for which the CorrectionType object is to be retrieved.
-