Class 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  
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • mongoTemplate

        @Autowired
        private org.springframework.data.mongodb.core.MongoTemplate mongoTemplate
    • Constructor Detail

      • SellersProxyImpl

        public SellersProxyImpl()
    • 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 interface SellersProxy
        Parameters:
        id - identification for database entity
        Returns:
        data as entity wrapped in optional