MdsRestFacadeImpl¶
-
public class
MdsRestFacadeImpl
<T> implements MdsRestFacade<T>¶ This
org.motechproject.mds.rest.MdsRestFacade
implementation retrieves REST related metadata on initialization. It uses an instance oforg.motechproject.mds.service.MotechDataService
for operations and the jackson JSON library for parsing InputStreams.Parameters: - <T> –
Methods¶
create¶
-
public RestProjection
create
(InputStream instanceBody)¶
executeLookup¶
get¶
-
public RestResponse
get
(QueryParams queryParams, boolean includeBlob)¶
get¶
-
public RestResponse
get
(Long id, boolean includeBlob)¶
setAllEntities¶
-
public void
setAllEntities
(AllEntities allEntities)¶
setDataService¶
-
public void
setDataService
(MotechDataService<T> dataService)¶
update¶
-
public RestProjection
update
(InputStream instanceBody)¶