public class CouponCrudService extends TemplateCrudService<Coupon,Integer,Object,CouponRequest,Coupon>
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_PATH |
static String |
BASE_PATH_FORMAT |
| Constructor and Description |
|---|
CouponCrudService(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) |
CouponRequest |
getRequest(Coupon object) |
Class<Coupon> |
getResponseClass() |
Coupon |
getResult(Coupon 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 String getCreatePath(Object context)
getCreatePath in class TemplateCrudService<Coupon,Integer,Object,CouponRequest,Coupon>public String getReadPath(Integer id, Object context)
getReadPath in class TemplateCrudService<Coupon,Integer,Object,CouponRequest,Coupon>public String getUpdatePath(Integer id, Object context)
getUpdatePath in class TemplateCrudService<Coupon,Integer,Object,CouponRequest,Coupon>public String getDeletePath(Integer id, Object context)
getDeletePath in class TemplateCrudService<Coupon,Integer,Object,CouponRequest,Coupon>public Class<Coupon> getResponseClass()
getResponseClass in class TemplateCrudService<Coupon,Integer,Object,CouponRequest,Coupon>public CouponRequest getRequest(Coupon object)
getRequest in class TemplateCrudService<Coupon,Integer,Object,CouponRequest,Coupon>public Coupon getResult(Coupon network)
getResult in class TemplateCrudService<Coupon,Integer,Object,CouponRequest,Coupon>Copyright © 2017 Netgrid. All rights reserved.