|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Key | |
---|---|
org.jboss.errai.jpa.client.local | |
org.jboss.errai.jpa.client.local.backend |
Uses of Key in org.jboss.errai.jpa.client.local |
---|
Methods in org.jboss.errai.jpa.client.local that return Key | ||
---|---|---|
static Key<?,?> |
Key.fromJson(ErraiEntityManager em,
String key,
boolean failIfNotFound)
Returns a Key instance based on the given JSON string. |
|
static Key<?,?> |
Key.fromJsonObject(ErraiEntityManager em,
com.google.gwt.json.client.JSONObject key,
boolean failIfNotFound)
Returns a Key instance based on the given JSON object. |
|
static
|
Key.get(ErraiEntityManager em,
Class<X> entityClass,
T id)
Returns a Key instance for the entity type of the given class. |
|
|
ErraiEntityManager.keyFor(ErraiIdentifiableType<X> entityType,
X entity)
Creates the key that describes the given entity, generating and setting it if it is presently unset and the given entity type's ID is configured to be generated on demand. |
|
|
ErraiEntityManager.keyFor(X entity)
Creates the key that describes the given entity, generating and setting it if it is presently unset and the given entity type's ID is configured to be generated on demand. |
Methods in org.jboss.errai.jpa.client.local that return types with arguments of type Key | |
---|---|
Set<Map.Entry<Key<?,?>,Object>> |
PersistenceContext.entrySet()
Returns the set of all entities in this persistence context. |
Methods in org.jboss.errai.jpa.client.local with parameters of type Key | ||
---|---|---|
boolean |
PersistenceContext.contains(Key<?,?> key)
Returns true if this persistence context contains an entity retrievable by the given key. |
|
|
ErraiEntityManager.find(Key<X,?> key,
Map<String,Object> properties)
Retrieves the entity instance identified by the given Key. |
|
|
PersistenceContext.get(Key<X,?> key)
Looks up and returns the entity that matches the given key. |
|
boolean |
ErraiEntityManager.isKeyInUse(Key<?,?> key)
Tests if this entity manager's storage backend contains an entity that could conflict with the given key. |
|
|
PersistenceContext.put(Key<X,Y> key,
X object)
Stores the given object in the persistence context. |
|
void |
PersistenceContext.remove(Key<?,?> key)
Removes the entity having the given key from this persistence context. |
Uses of Key in org.jboss.errai.jpa.client.local.backend |
---|
Methods in org.jboss.errai.jpa.client.local.backend with parameters of type Key | ||
---|---|---|
|
StorageBackend.contains(Key<X,Y> key)
Tests if this backend contains data for the given key. |
|
|
WebStorageBackend.contains(Key<X,Y> key)
|
|
|
StorageBackend.get(Key<X,?> key)
Retrieves the value most recently stored in this backend under the given key, reconnecting referenced objects by calling back up into the owning EntityManager. |
|
|
WebStorageBackend.get(Key<X,?> requestedKey)
|
|
|
StorageBackend.isModified(Key<X,?> key,
X value)
Checks if the value currently associated with key in this backend
datastore is identical to the given one. |
|
|
WebStorageBackend.isModified(Key<X,?> key,
X value)
|
|
|
StorageBackend.put(Key<X,?> key,
X value)
Stores the given Errai-Marshalling-Capable value under the given key. |
|
|
WebStorageBackend.put(Key<X,?> key,
X value)
|
|
|
StorageBackend.remove(Key<X,?> key)
Removes the key and its associated value (if any) from this storage backend. |
|
|
WebStorageBackend.remove(Key<X,?> key)
|
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV NEXT | FRAMES NO FRAMES |