Package com.skava.business.factory
Interface ConsentFactory
- All Known Implementing Classes:
ConsentFactoryImpl
public interface ConsentFactory
An interface to define the factory for creating Consent objects.
- Author:
- Infosys Equinox
-
Method Summary
Modifier and TypeMethodDescriptioncreateConsent
(ConsentEntity consent, CollectionEntity collectionEntity) This method converts theConsentEntity
object toConsent
object.createConsent
(ConsentDomain consent) This method converts theConsentDomain
object toConsent
object.
-
Method Details
-
createConsent
This method converts theConsentDomain
object toConsent
object.- Parameters:
consent
- HoldsConsentDomain
object which is used to transfer consent domain to consent.- Returns:
- The
Consent
object.
-
createConsent
This method converts theConsentEntity
object toConsent
object.- Parameters:
consent
- HoldsConsentEntity
object which is used to transform consent entity to consent object.collectionEntity
- HoldsCollectionEntity
object which is used to transform consent entity to consent object.- Returns:
- The
Consent
object.
-