Errai 3.0.1-SNAPSHOT

org.jboss.errai.jpa.sync.client.shared
Class SyncableDataSet<E>

java.lang.Object
  extended by org.jboss.errai.jpa.sync.client.shared.SyncableDataSet<E>

@Portable
public class SyncableDataSet<E>
extends Object


Method Summary
 javax.persistence.TypedQuery<E> createQuery(javax.persistence.EntityManager em)
           
static
<E> SyncableDataSet<E>
from(String queryName, Class<E> resultType, Map<String,Object> params)
           
 Map<String,Object> getParameters()
          Returns a read-only view of this syncable data set's parameters.
 String getQueryName()
          Returns the name of the JPA named query this syncable data set is tied to.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

from

public static <E> SyncableDataSet<E> from(String queryName,
                                          Class<E> resultType,
                                          Map<String,Object> params)

createQuery

public javax.persistence.TypedQuery<E> createQuery(javax.persistence.EntityManager em)

getQueryName

public String getQueryName()
Returns the name of the JPA named query this syncable data set is tied to.

Returns:
the query name. Never null.

getParameters

public Map<String,Object> getParameters()
Returns a read-only view of this syncable data set's parameters. These should correspond with the named parameters of the JPA named query this syncable data set is tied to.

Returns:
a read-only map of the parameters in use with the query. Never null.

toString

public String toString()
Overrides:
toString in class Object

Errai 3.0.1-SNAPSHOT

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