Errai 3.0.1-SNAPSHOT

Uses of Class
org.jboss.errai.jpa.client.local.Key

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
<X,T> Key<X,T>
Key.get(ErraiEntityManager em, Class<X> entityClass, T id)
          Returns a Key instance for the entity type of the given class.
<X> Key<X,?>
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.
<X> Key<X,?>
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.
<X> X
ErraiEntityManager.find(Key<X,?> key, Map<String,Object> properties)
          Retrieves the entity instance identified by the given Key.
<X> X
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.
<X,Y> void
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
<X,Y> boolean
StorageBackend.contains(Key<X,Y> key)
          Tests if this backend contains data for the given key.
<X,Y> boolean
WebStorageBackend.contains(Key<X,Y> key)
           
<X> X
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.
<X> X
WebStorageBackend.get(Key<X,?> requestedKey)
           
<X> boolean
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.
<X> boolean
WebStorageBackend.isModified(Key<X,?> key, X value)
           
<X> void
StorageBackend.put(Key<X,?> key, X value)
          Stores the given Errai-Marshalling-Capable value under the given key.
<X> void
WebStorageBackend.put(Key<X,?> key, X value)
           
<X> void
StorageBackend.remove(Key<X,?> key)
          Removes the key and its associated value (if any) from this storage backend.
<X> void
WebStorageBackend.remove(Key<X,?> key)
           
 


Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.