Package com.skava.business.factoryimpl
Class UserConsentHistoryDomainFactoryImpl
java.lang.Object
com.skava.business.factoryimpl.UserConsentHistoryDomainFactoryImpl
- All Implemented Interfaces:
UserConsentHistoryDomainFactory
@Component
public class UserConsentHistoryDomainFactoryImpl
extends Object
implements UserConsentHistoryDomainFactory
This service class implements UserConsentHistoryDomainFactory and handles the transformation of Domain
to DTO objects.
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateUserConsentHistoryDomainFromEntity
(List<UserConsentHistoryEntity> userConsentHistoryEntities) This method converts theList
ofUserConsentHistoryEntity
object to theList
ofUserConsentHistoryDomain
object.
-
Constructor Details
-
UserConsentHistoryDomainFactoryImpl
public UserConsentHistoryDomainFactoryImpl()
-
-
Method Details
-
createUserConsentHistoryDomainFromEntity
public List<UserConsentHistoryDomain> createUserConsentHistoryDomainFromEntity(List<UserConsentHistoryEntity> userConsentHistoryEntities) This method converts theList
ofUserConsentHistoryEntity
object to theList
ofUserConsentHistoryDomain
object.- Specified by:
createUserConsentHistoryDomainFromEntity
in interfaceUserConsentHistoryDomainFactory
- Parameters:
userConsentHistoryEntities
- Holds theList
ofUserConsentHistoryEntity
objects which is used for creating the list ofUserConsentHistoryDomain
object.- Returns:
- The
List
ofUserConsentHistoryDomain
object
-