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> – the entity class
Methods¶
create¶
-
public RestProjection
create
(InputStream instanceBody)¶
executeLookup¶
get¶
-
public RestResponse
get
(QueryParams queryParams, boolean includeBlob)¶
get¶
-
public RestResponse
get
(Long id, boolean includeBlob)¶
setDataService¶
-
public void
setDataService
(MotechDataService<T> dataService)¶
setEntityInfoReader¶
-
public void
setEntityInfoReader
(EntityInfoReader entityInfoReader)¶
update¶
-
public RestProjection
update
(InputStream instanceBody)¶