Errai 3.0.1-SNAPSHOT

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

Packages that use ErraiEntityManager
org.jboss.errai.jpa.client.local   
org.jboss.errai.jpa.client.local.backend   
org.jboss.errai.jpa.sync.client.local   
 

Uses of ErraiEntityManager in org.jboss.errai.jpa.client.local
 

Methods in org.jboss.errai.jpa.client.local that return ErraiEntityManager
 ErraiEntityManager ErraiEntityManagerFactory.createEntityManager()
          Creates a new ErraiEntityManager configured according to the settings on the implementing factory.
 ErraiEntityManager ErraiEntityManagerProvider.get()
           
 

Methods in org.jboss.errai.jpa.client.local with parameters of type ErraiEntityManager
<T> javax.persistence.TypedQuery<T>
TypedQueryFactory.createIfCompatible(Class<T> resultType, ErraiEntityManager entityManager)
          Creates an instance of the TypedQuery associated with this factory if its result type is assignable to the given type.
protected abstract
<T> javax.persistence.TypedQuery<T>
TypedQueryFactory.createQuery(ErraiEntityManager entityManager)
          Subclasses must implement this method by returning a new instance of ErraiTypedQuery that implements the query logic for the JPA query handled by this factory.
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.
 boolean LongIdGenerator.hasNext(ErraiEntityManager entityManager)
          We assume there is always the possibility to find another unused Long value.
 boolean IntIdGenerator.hasNext(ErraiEntityManager entityManager)
          We assume there is always the possibility to find another unused Integer value.
 boolean ErraiIdGenerator.hasNext(ErraiEntityManager em)
           
 boolean BigIntegerIdGenerator.hasNext(ErraiEntityManager entityManager)
          We assume there is always the possibility to find another unused Integer value.
 void ErraiManagedType.mergeState(ErraiEntityManager em, X targetEntity, X sourceEntity)
          Copies the state of the attributes in sourceEntity into targetEntity.
 Long LongIdGenerator.next(ErraiEntityManager entityManager)
           
 Integer IntIdGenerator.next(ErraiEntityManager entityManager)
           
 T ErraiIdGenerator.next(ErraiEntityManager em)
           
 BigInteger BigIntegerIdGenerator.next(ErraiEntityManager entityManager)
           
protected
<Y> void
ErraiManagedType.parseInlineJson(X targetEntity, ErraiAttribute<? super X,Y> attr, com.google.gwt.json.client.JSONValue attrJsonValue, ErraiEntityManager eem)
           
protected
<C,E> void
ErraiManagedType.parsePluralJsonReference(X targetEntity, ErraiPluralAttribute<? super X,C,E> attr, com.google.gwt.json.client.JSONArray attrJsonValues, ErraiEntityManager eem)
           
protected
<Y> void
ErraiManagedType.parseSingularJsonReference(X targetEntity, ErraiSingularAttribute<? super X,Y> attr, com.google.gwt.json.client.JSONValue attrJsonValue, ErraiEntityManager eem)
           
 

Constructors in org.jboss.errai.jpa.client.local with parameters of type ErraiEntityManager
ErraiEntityManager(ErraiEntityManager delegateEntityManager, StorageBackendFactory namespacedStorageBackend)
          Creates an EntityManager that knows about all the same managed types and named queries as the given entity manager, but works from a different storage backend.
ErraiTypedQuery(ErraiEntityManager entityManager, Class<X> actualResultType, com.google.common.collect.ImmutableBiMap<String,javax.persistence.Parameter<?>> parameters)
           
 

Uses of ErraiEntityManager in org.jboss.errai.jpa.client.local.backend
 

Methods in org.jboss.errai.jpa.client.local.backend with parameters of type ErraiEntityManager
 StorageBackend StorageBackendFactory.createInstanceFor(ErraiEntityManager em)
          Creates a new instance of some implementation of StorageBackend which is permanently bound to the given ErraiEntityManager.
 

Constructors in org.jboss.errai.jpa.client.local.backend with parameters of type ErraiEntityManager
WebStorageBackend(ErraiEntityManager erraiEntityManager)
          Creates a WebStorageBackend that works with entities in the default storage namespace.
WebStorageBackend(ErraiEntityManager erraiEntityManager, String namespace)
          Creates a WebStorageBackend that works with entities in the given storage namespace.
 

Uses of ErraiEntityManager in org.jboss.errai.jpa.sync.client.local
 

Methods in org.jboss.errai.jpa.sync.client.local that return ErraiEntityManager
 ErraiEntityManager ClientSyncManager.getDesiredStateEm()
          Returns the persistence context that holds the "desired state" of this Client-side Sync Manager (the state that the application has set up, which we will eventually sync to the server).
 ErraiEntityManager ClientSyncManager.getExpectedStateEm()
          Returns the persistence context that holds the "expected state" of this Client-side Sync Manager (the state that we believe the entities have on the server).
 


Errai 3.0.1-SNAPSHOT

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