public class UserPartialStash<T extends IUser> extends PartialStash<T>
columns, itemByPrimaryKey, items, keyNameToUniqueKeyToValue, uniqueFields
Constructor and Description |
---|
UserPartialStash() |
Modifier and Type | Method and Description |
---|---|
String |
getInitialLoadSql() |
boolean |
isPredefinedUser(T user) |
void |
loadAll()
Load all items from the datastore into the stash.
|
void |
loadForId(Long id)
Load or reload the item with the given id from the datastore into the stash
|
void |
loadPredefinedUsers()
Users are defined one of two ways:
- dynamically via the application, and stored either in the production database or the production app-date folder
- as a json file in target-path/users folder.
|
void |
save(T obj)
Save the object to the stash and the underlying data store
|
cloneInto, countForKey, detach, filterByKey, filterChain, filterChain, forId, forUniqueKey, getItems, hardDelete, init, listForKey, loadItem, onPreRead, originalForId, preRegisterItem, registerItem, registerKeys, reset, sync, syncForSave
getBucket, getController, getKeyFields, getPersister, getUniqueFields, reloadIfNewer, setKeyFields, setUniqueFields
public UserPartialStash()
public void loadAll()
Stash
loadAll
in class PartialStash<T extends IUser>
public String getInitialLoadSql()
getInitialLoadSql
in class PartialStash<T extends IUser>
public void loadForId(Long id)
Stash
loadForId
in class PartialStash<T extends IUser>
public void save(T obj)
Stash
save
in class PartialStash<T extends IUser>
public boolean isPredefinedUser(T user)
public void loadPredefinedUsers()
Copyright © 2016. All rights reserved.