org.datanucleus.store.json
Class JSONUtils

java.lang.Object
  extended by org.datanucleus.store.json.JSONUtils

public class JSONUtils
extends java.lang.Object

Series of utility methods for JSON objects.


Constructor Summary
JSONUtils()
           
 
Method Summary
static java.util.List getObjectsOfCandidateType(org.datanucleus.ObjectManager om, org.datanucleus.ManagedConnection mconn, java.lang.Class candidateClass, boolean ignoreCache)
          Convenience method to get all objects of the candidate type from the specified connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONUtils

public JSONUtils()
Method Detail

getObjectsOfCandidateType

public static java.util.List getObjectsOfCandidateType(org.datanucleus.ObjectManager om,
                                                       org.datanucleus.ManagedConnection mconn,
                                                       java.lang.Class candidateClass,
                                                       boolean ignoreCache)
Convenience method to get all objects of the candidate type from the specified connection.

Parameters:
om - ObjectManager
mconn - Managed Connection
candidateClass - Candidate
ignoreCache - Whether to ignore the cache
Returns:
List of objects of the candidate type


Copyright © 2009. All Rights Reserved.