Module ch.ralscha.extdirectspring
Package ch.ralscha.extdirectspring.bean
Class ExtDirectStoreResult<T>
java.lang.Object
ch.ralscha.extdirectspring.bean.JsonViewHint
ch.ralscha.extdirectspring.bean.ExtDirectStoreResult<T>
- Type Parameters:
T- Type of the entry inside the collection
- Direct Known Subclasses:
ExtDirectRawJsonStoreResult
Class representing the result of STORE_READ and STORE_MODIFY methods.
-
Constructor Summary
ConstructorsConstructorDescriptionExtDirectStoreResult(Integer total, Collection<T> records) ExtDirectStoreResult(Integer total, Collection<T> records, Boolean success) ExtDirectStoreResult(Long total, Collection<T> records) ExtDirectStoreResult(Long total, Collection<T> records, Boolean success, Class<?> jsonView) ExtDirectStoreResult(Long total, Collection<T> records, Class<?> jsonView) ExtDirectStoreResult(Collection<T> records) ExtDirectStoreResult(T record) ExtDirectStoreResult(T[] record) -
Method Summary
Modifier and TypeMethodDescriptiongetTotal()setMessage(String message) Beware, for this message to be accessible in your callback operation,
you must add in your model definition the messageProperty valuesetMetaData(MetaData metaData) setRecords(Collection<T> records) setSuccess(Boolean success) toString()Methods inherited from class ch.ralscha.extdirectspring.bean.JsonViewHint
getJsonView, setJsonView
-
Constructor Details
-
ExtDirectStoreResult
public ExtDirectStoreResult() -
ExtDirectStoreResult
-
ExtDirectStoreResult
-
ExtDirectStoreResult
-
ExtDirectStoreResult
-
ExtDirectStoreResult
-
ExtDirectStoreResult
-
ExtDirectStoreResult
-
ExtDirectStoreResult
-
-
Method Details
-
getTotal
-
getRecords
-
isSuccess
-
setTotal
-
setRecords
-
setSuccess
-
getMetaData
-
setMetaData
-
getMessage
- Returns:
- the message
-
setMessage
Beware, for this message to be accessible in your callback operation,
you must add in your model definition the messageProperty value- Parameters:
message- the message to set- Returns:
- this
ExtDirectStoreResultinstance
-
toString
-