public class ProductManagerImpl extends Object implements ProductManager
Constructor and Description |
---|
ProductManagerImpl() |
Modifier and Type | Method and Description |
---|---|
Product |
add(Product product) |
void |
delete(String productId) |
Product |
get(String productId) |
VersionManager |
getVersionManager() |
List<Product> |
query(Product product)
模糊匹配
|
List<Product> |
query(Product product,
int start,
int limit) |
void |
setVersionManager(VersionManager versionManager) |
void |
update(Product product) |
public VersionManager getVersionManager()
public void setVersionManager(VersionManager versionManager)
public Product add(Product product)
add
in interface ProductManager
public void update(Product product)
update
in interface ProductManager
public void delete(String productId)
delete
in interface ProductManager
public Product get(String productId)
get
in interface ProductManager
public List<Product> query(Product product)
query
in interface ProductManager
public List<Product> query(Product product, int start, int limit)
query
in interface ProductManager
Copyright © 2006–2018 TinyGroup. All rights reserved.