ch.ralscha.extdirectspring.bean
Class ExtDirectRawJsonStoreResponse

java.lang.Object
  extended by ch.ralscha.extdirectspring.bean.ExtDirectStoreResponse<String>
      extended by ch.ralscha.extdirectspring.bean.ExtDirectRawJsonStoreResponse

public class ExtDirectRawJsonStoreResponse
extends ExtDirectStoreResponse<String>

Special response of a DirectStore request. This class is useful if your data is already in JSON format. Add the json to the records collection and the response will contain the unfiltered json. There is no validation that the added json string is valid.

Author:
Ralph Schaer

Constructor Summary
ExtDirectRawJsonStoreResponse()
           
ExtDirectRawJsonStoreResponse(Collection<String> records)
           
ExtDirectRawJsonStoreResponse(Integer total, Collection<String> records)
           
ExtDirectRawJsonStoreResponse(Integer total, Collection<String> records, Boolean success)
           
 
Method Summary
 Collection<String> getRecords()
           
 String toString()
           
 
Methods inherited from class ch.ralscha.extdirectspring.bean.ExtDirectStoreResponse
getMetaData, getTotal, isSuccess, setMetaData, setRecords, setSuccess, setTotal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtDirectRawJsonStoreResponse

public ExtDirectRawJsonStoreResponse()

ExtDirectRawJsonStoreResponse

public ExtDirectRawJsonStoreResponse(Collection<String> records)

ExtDirectRawJsonStoreResponse

public ExtDirectRawJsonStoreResponse(Integer total,
                                     Collection<String> records)

ExtDirectRawJsonStoreResponse

public ExtDirectRawJsonStoreResponse(Integer total,
                                     Collection<String> records,
                                     Boolean success)
Method Detail

getRecords

public Collection<String> getRecords()
Overrides:
getRecords in class ExtDirectStoreResponse<String>

toString

public String toString()
Overrides:
toString in class ExtDirectStoreResponse<String>


Copyright © 2010. All Rights Reserved.