public class ProductBulkService extends TemplateBulkService<Product,Integer,Object,ProductsRequest,Product[]>
| Modifier and Type | Field and Description |
|---|---|
static String |
COUNT_BASE_PATH |
static String |
READ_BASE_PATH |
static String |
WRITE_BASE_PATH |
FILTER_QUERY_FORMAT| Constructor and Description |
|---|
ProductBulkService(javax.ws.rs.client.WebTarget target) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCountPath(Object context) |
String |
getReadPath(Object context) |
Class<Product[]> |
getResponseClass() |
List<Product> |
getResult(Product[] products) |
String |
getWritePath(Object context) |
ProductsRequest |
getWriteRequest(List<Product> items) |
count, getRequestEntity, initBuilder, read, read, writepublic static final String WRITE_BASE_PATH
public static final String READ_BASE_PATH
public static final String COUNT_BASE_PATH
public ProductBulkService(javax.ws.rs.client.WebTarget target)
public String getWritePath(Object context)
getWritePath in class TemplateBulkService<Product,Integer,Object,ProductsRequest,Product[]>public String getReadPath(Object context)
getReadPath in class TemplateBulkService<Product,Integer,Object,ProductsRequest,Product[]>public String getCountPath(Object context)
getCountPath in class TemplateBulkService<Product,Integer,Object,ProductsRequest,Product[]>public Class<Product[]> getResponseClass()
getResponseClass in class TemplateBulkService<Product,Integer,Object,ProductsRequest,Product[]>public ProductsRequest getWriteRequest(List<Product> items)
getWriteRequest in class TemplateBulkService<Product,Integer,Object,ProductsRequest,Product[]>public List<Product> getResult(Product[] products)
getResult in class TemplateBulkService<Product,Integer,Object,ProductsRequest,Product[]>Copyright © 2017 Netgrid. All rights reserved.