Package com.skava.business.factoryimpl
Class UserConsentHistoryFactoryImpl
java.lang.Object
com.skava.business.factoryimpl.UserConsentHistoryFactoryImpl
- All Implemented Interfaces:
UserConsentHistoryFactory
@Component
public class UserConsentHistoryFactoryImpl
extends Object
implements UserConsentHistoryFactory
This service class implements UserConsentFactory and handles the transformation of DTO to Domain
and Domain to DTO objects.
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateUserConsentHistoryList
(List<UserConsentHistoryDomain> userConsentHistoryDomainList) This method converts theList
ofUserConsentHistoryDomain
object to theList
ofUserConsentHistory
object.
-
Constructor Details
-
UserConsentHistoryFactoryImpl
public UserConsentHistoryFactoryImpl()
-
-
Method Details
-
createUserConsentHistoryList
public List<UserConsentHistory> createUserConsentHistoryList(List<UserConsentHistoryDomain> userConsentHistoryDomainList) This method converts theList
ofUserConsentHistoryDomain
object to theList
ofUserConsentHistory
object.- Specified by:
createUserConsentHistoryList
in interfaceUserConsentHistoryFactory
- Parameters:
userConsentHistoryDomainList
- HoldsList
ofUserConsentHistoryDomain
object which is used to convert UserConsentHistoryDomain list to UserConsentHistory list object.- Returns:
- The
List
ofUserConsentHistory
object.
-