public class ResourceApi extends Object
Constructor and Description |
---|
ResourceApi() |
Modifier and Type | Method and Description |
---|---|
void |
add(Resource resource) |
void |
deleteIds(List<Integer> ids) |
void |
disableIds(List<Integer> ids) |
void |
enableIds(List<Integer> ids) |
Resource |
get(HashMap<String,Object> filters) |
Resource |
get(int id) |
QueryResponse |
getAll(HashMap<String,Object> filters) |
void |
update(Resource resource) |
public QueryResponse getAll(HashMap<String,Object> filters)
public Resource get(int id)
public void add(Resource resource) throws McDuplicateException
McDuplicateException
public void update(Resource resource) throws McDuplicateException, McBadRequestException
Copyright © 2015–2019. All rights reserved.