public class ProductCrudService extends TemplateCrudService<Product,Integer,Object,Product,Product>
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_PATH |
static String |
BASE_PATH_FORMAT |
| Constructor and Description |
|---|
ProductCrudService(javax.ws.rs.client.WebTarget target) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCreatePath(Object context) |
String |
getDeletePath(Integer id,
Object context) |
String |
getReadPath(Integer id,
Object context) |
Product |
getRequest(Product object) |
Class<Product> |
getResponseClass() |
Product |
getResult(Product network) |
String |
getUpdatePath(Integer id,
Object context) |
create, delete, getRequestEntity, initBuilder, read, updatepublic static final String BASE_PATH
public static final String BASE_PATH_FORMAT
public ProductCrudService(javax.ws.rs.client.WebTarget target)
public String getCreatePath(Object context)
getCreatePath in class TemplateCrudService<Product,Integer,Object,Product,Product>public String getReadPath(Integer id, Object context)
getReadPath in class TemplateCrudService<Product,Integer,Object,Product,Product>public String getUpdatePath(Integer id, Object context)
getUpdatePath in class TemplateCrudService<Product,Integer,Object,Product,Product>public String getDeletePath(Integer id, Object context)
getDeletePath in class TemplateCrudService<Product,Integer,Object,Product,Product>public Class<Product> getResponseClass()
getResponseClass in class TemplateCrudService<Product,Integer,Object,Product,Product>public Product getRequest(Product object)
getRequest in class TemplateCrudService<Product,Integer,Object,Product,Product>Copyright © 2017 Netgrid. All rights reserved.