add some FIXME notes for the getRecordContent() method

This commit is contained in:
Rodica Sutu
2017-01-04 18:56:52 +02:00
parent 0db14b8427
commit 38e5c8004e

View File

@@ -71,6 +71,7 @@ public class RecordsAPI extends RMModelRequest
* <li>{@code recordId} does not exist</li> * <li>{@code recordId} does not exist</li>
* </ul> * </ul>
*/ */
//FIXME Add a generic method to support retrieving binary content
public <T> T getRecordContentText(String recordId) throws Exception public <T> T getRecordContentText(String recordId) throws Exception
{ {
mandatoryString("recordId", recordId); mandatoryString("recordId", recordId);
@@ -98,6 +99,8 @@ public class RecordsAPI extends RMModelRequest
* <li>{@code recordId} does not exist</li> * <li>{@code recordId} does not exist</li>
* </ul> * </ul>
*/ */
//FIXME Add a generic method to support retrieving binary content as we might end up
//FIXME with too many methods for differents content types
public RestHtmlResponse getRecordContent(String recordId) throws Exception public RestHtmlResponse getRecordContent(String recordId) throws Exception
{ {
mandatoryString("recordId", recordId); mandatoryString("recordId", recordId);