@Service public class CustomerRepository extends Object implements RecycleRepository<Customer>
| Constructor and Description |
|---|
CustomerRepository() |
| Modifier and Type | Method and Description |
|---|---|
List<Customer> |
findAll() |
Customer |
findById(long idCustomerInfo) |
Customer |
findByName(String brokerName) |
void |
recycle() |
Customer |
save(Customer customer) |
public Customer save(Customer customer)
save in interface RecycleRepository<Customer>public Customer findByName(String brokerName)
findByName in interface RecycleRepository<Customer>public Customer findById(long idCustomerInfo)
findById in interface RecycleRepository<Customer>public List<Customer> findAll()
findAll in interface RecycleRepository<Customer>public void recycle()
recycle in interface RecycleRepository<Customer>Copyright © 2019 Power TAC. All rights reserved.