com.adaptrex.core.ext.data
Class Store
java.lang.Object
com.adaptrex.core.ext.data.Store
public class Store
- extends Object
|
Method Summary |
Store |
associations(String association)
|
Store |
autoLoad()
|
Store |
autoSync()
|
Store |
buffered()
|
Store |
clearOnPageLoad()
|
Store |
clearRemovedOnLoad()
|
Store |
exclude(String items)
|
Store |
filter(String property,
String value)
|
Config |
getConfig()
|
List<Map<String,Object>> |
getData()
|
ModelDefinition |
getModelDefinition()
Store Output
Store instances are created to ultimately retrieve a store
definition, a model defitnion and data. |
StoreDefinition |
getStoreDefinition()
|
Integer |
getTotalCount()
Additional info required for Ext responses |
Store |
group(String property)
|
Store |
group(String property,
String direction)
|
Store |
group(String property,
String direction,
String root)
|
Store |
include(String items)
|
Store |
inline()
|
Store |
leadingBufferZone(Integer leadingBufferZone)
|
Store |
modelName(String modelName)
|
Store |
pageSize(Integer pageSize)
|
Store |
param(String key,
Object value)
|
Store |
proxy(String restPath)
|
Store |
purgePageCount(Integer purgePageCount)
|
Store |
remoteFilter(Boolean remoteFilter)
|
Store |
remoteGroup()
|
Store |
remoteSort()
|
void |
setTotalCount(Integer totalCount)
|
Store |
sort(String property)
|
Store |
sort(String property,
String direction)
|
Store |
sort(String property,
String direction,
String root)
|
Store |
sortOnFilter(Boolean sortOnFilter)
|
Store |
start(Integer start)
Store Configuration
In general, these configuration methods allow users to interact directly with
the store to configure the Config object related to this store. |
Store |
trailingBufferZone(Integer trailingBufferZone)
|
Store |
where(String where)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Store
public Store(String entityName)
Store
public Store(Class<?> clazz)
Store
public Store(String entityName,
String namespace)
Store
public Store(Class<?> clazz,
String namespace)
Store
public Store(String entityName,
ExtConfig extConfig)
getConfig
public Config getConfig()
getModelDefinition
public ModelDefinition getModelDefinition()
- Store Output
Store instances are created to ultimately retrieve a store
definition, a model defitnion and data.
getStoreDefinition
public StoreDefinition getStoreDefinition()
getData
public List<Map<String,Object>> getData()
start
public Store start(Integer start)
- Store Configuration
In general, these configuration methods allow users to interact directly with
the store to configure the Config object related to this store. The Config
object contains options shared between all store and model components.
pageSize
public Store pageSize(Integer pageSize)
inline
public Store inline()
autoSync
public Store autoSync()
autoLoad
public Store autoLoad()
clearOnPageLoad
public Store clearOnPageLoad()
clearRemovedOnLoad
public Store clearRemovedOnLoad()
buffered
public Store buffered()
leadingBufferZone
public Store leadingBufferZone(Integer leadingBufferZone)
trailingBufferZone
public Store trailingBufferZone(Integer trailingBufferZone)
purgePageCount
public Store purgePageCount(Integer purgePageCount)
proxy
public Store proxy(String restPath)
remoteGroup
public Store remoteGroup()
remoteSort
public Store remoteSort()
remoteFilter
public Store remoteFilter(Boolean remoteFilter)
sortOnFilter
public Store sortOnFilter(Boolean sortOnFilter)
group
public Store group(String property)
group
public Store group(String property,
String direction)
group
public Store group(String property,
String direction,
String root)
sort
public Store sort(String property)
sort
public Store sort(String property,
String direction)
sort
public Store sort(String property,
String direction,
String root)
where
public Store where(String where)
filter
public Store filter(String property,
String value)
param
public Store param(String key,
Object value)
include
public Store include(String items)
exclude
public Store exclude(String items)
associations
public Store associations(String association)
modelName
public Store modelName(String modelName)
getTotalCount
public Integer getTotalCount()
- Additional info required for Ext responses
setTotalCount
public void setTotalCount(Integer totalCount)
Copyright © 2012 Adaptrex, LLC. All Rights Reserved.