Class SellersProxyImpl
- java.lang.Object
-
- co.mastermindcms.modules.services.SellersProxyImpl
-
- All Implemented Interfaces:
SellersProxy
@Service public class SellersProxyImpl extends java.lang.Object implements SellersProxy
-
-
Field Summary
Fields Modifier and Type Field Description private org.springframework.data.mongodb.core.MongoTemplate
mongoTemplate
-
Constructor Summary
Constructors Constructor Description SellersProxyImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<Seller>
findSellerById(java.lang.String id)
This method returns data as entity.
-
-
-
Method Detail
-
findSellerById
public java.util.Optional<Seller> findSellerById(java.lang.String id)
Description copied from interface:SellersProxy
This method returns data as entity.- Specified by:
findSellerById
in interfaceSellersProxy
- Parameters:
id
- identification for database entity- Returns:
- data as entity wrapped in optional
-
-