T - Type of the entry inside the collection@Value.Immutable public abstract class EdStoreResult<T> extends JsonViewHint
| Modifier and Type | Class and Description |
|---|---|
static class |
EdStoreResult.Builder<T> |
| Constructor and Description |
|---|
EdStoreResult() |
| Modifier and Type | Method and Description |
|---|---|
static <T> EdStoreResult.Builder<T> |
builder() |
abstract String |
message() |
abstract Map<String,Object> |
metaData() |
abstract Collection<T> |
records() |
abstract Boolean |
success() |
static <T> EdStoreResult<T> |
success(Collection<T> records) |
static <T> EdStoreResult<T> |
success(Collection<T> records,
Class<?> jsonView) |
static <T> EdStoreResult<T> |
success(Collection<T> records,
Long total) |
static <T> EdStoreResult<T> |
success(Collection<T> records,
Long total,
Class<?> jsonView) |
static <T> EdStoreResult<T> |
success(T record) |
static <T> EdStoreResult<T> |
success(T[] records) |
abstract Long |
total() |
getJsonView, setJsonView@Value.Parameter public abstract Collection<T> records()
@Nullable @Value.Parameter public abstract Long total()
@Nullable @Value.Parameter public abstract Boolean success()
@Nullable @Value.Parameter public abstract String message()
public static <T> EdStoreResult<T> success(T record)
public static <T> EdStoreResult<T> success(T[] records)
public static <T> EdStoreResult<T> success(Collection<T> records)
public static <T> EdStoreResult<T> success(Collection<T> records, Long total)
public static <T> EdStoreResult<T> success(Collection<T> records, Class<?> jsonView)
public static <T> EdStoreResult<T> success(Collection<T> records, Long total, Class<?> jsonView)
public static <T> EdStoreResult.Builder<T> builder()
Copyright © 2010–2018. All rights reserved.