Class MasterCategoryService
- java.lang.Object
-
- com.aboutyou.cloud.adminapi.service.AbstractService
-
- com.aboutyou.cloud.adminapi.service.MasterCategoryService
-
public class MasterCategoryService extends AbstractService
-
-
Constructor Summary
Constructors Constructor Description MasterCategoryService(HttpClient httpClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiCollection<MasterCategory>all()ApiCollection<MasterCategory>all(ApiOptions options)MasterCategorycreate(MasterCategory model)MasterCategorycreate(MasterCategory model, ApiOptions options)voiddelete(java.lang.Integer masterCategoryId)voiddelete(java.lang.Integer masterCategoryId, ApiOptions options)MasterCategoryget(java.lang.Integer masterCategoryId)MasterCategoryget(java.lang.Integer masterCategoryId, ApiOptions options)MasterCategoryupdate(java.lang.Integer masterCategoryId, MasterCategory model)MasterCategoryupdate(java.lang.Integer masterCategoryId, MasterCategory model, ApiOptions options)-
Methods inherited from class com.aboutyou.cloud.adminapi.service.AbstractService
request, request, requestCollection, requestCollection, resolvePath
-
-
-
-
Constructor Detail
-
MasterCategoryService
public MasterCategoryService(HttpClient httpClient)
-
-
Method Detail
-
all
public ApiCollection<MasterCategory> all() throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
all
public ApiCollection<MasterCategory> all(ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
get
public MasterCategory get(java.lang.Integer masterCategoryId) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
get
public MasterCategory get(java.lang.Integer masterCategoryId, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
create
public MasterCategory create(MasterCategory model) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
create
public MasterCategory create(MasterCategory model, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
update
public MasterCategory update(java.lang.Integer masterCategoryId, MasterCategory model) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
update
public MasterCategory update(java.lang.Integer masterCategoryId, MasterCategory model, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
delete
public void delete(java.lang.Integer masterCategoryId) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
delete
public void delete(java.lang.Integer masterCategoryId, ApiOptions options) throws ApiErrorException, ConnectionException- Throws:
ApiErrorExceptionConnectionException
-
-