Class VotesFactoryImpl
java.lang.Object
com.skava.ratingandreviews.factory.impl.VotesFactoryImpl
- All Implemented Interfaces:
VotesFactory
Class VotesFactoryImpl
this class provides the implementation of the VotesFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateVotesEntity
(VotesRequest request) method createVotesEntity this method is used to create VotesEntity with the help of VotesRequest from which the values can be derived and the stored inside the VotesEntity.createVotesResponce
(VotesEntity votesEntity) method createVotesResponce this method is used to create VotesResponce with the help of VotesEntity from which the values can be derived and the stored inside the VotesEntity.
-
Constructor Details
-
VotesFactoryImpl
@Autowired public VotesFactoryImpl(com.skava.core.auth.AuthTokenHandler authTokenHandler)
-
-
Method Details
-
createVotesEntity
method createVotesEntity this method is used to create VotesEntity with the help of VotesRequest from which the values can be derived and the stored inside the VotesEntity.- Specified by:
createVotesEntity
in interfaceVotesFactory
- Parameters:
request
- - Holds the VotesRequest- Returns:
- VotesEntity
-
createVotesResponce
method createVotesResponce this method is used to create VotesResponce with the help of VotesEntity from which the values can be derived and the stored inside the VotesEntity.- Specified by:
createVotesResponce
in interfaceVotesFactory
- Parameters:
votesEntity
- - Holds the VotesEntity- Returns:
- VotesResponse
-