org.nakedobjects.runtime.persistence.services
Class RepositoryHelper

java.lang.Object
  extended by org.nakedobjects.runtime.persistence.services.RepositoryHelper

public class RepositoryHelper
extends java.lang.Object


Constructor Summary
RepositoryHelper()
           
 
Method Summary
static java.lang.Object[] allInstances(java.lang.Class<?> cls)
           
static java.lang.Object[] allInstances(NakedObjectSpecification spec, java.lang.Class<?> cls)
           
static java.util.List<java.lang.Object> findByPersistenceQuery(PersistenceQuery persistenceQuery, java.lang.Class<?> cls)
           
static java.util.List<java.lang.Object> findByTitle(java.lang.Class<?> type, java.lang.String title)
           
static java.util.List<java.lang.Object> findByTitle(NakedObjectSpecification spec, java.lang.Class<?> cls, java.lang.String title)
           
static boolean hasInstances(java.lang.Class<?> type)
           
static boolean hasInstances(NakedObjectSpecification spec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryHelper

public RepositoryHelper()
Method Detail

allInstances

public static java.lang.Object[] allInstances(java.lang.Class<?> cls)

allInstances

public static java.lang.Object[] allInstances(NakedObjectSpecification spec,
                                              java.lang.Class<?> cls)

findByPersistenceQuery

public static java.util.List<java.lang.Object> findByPersistenceQuery(PersistenceQuery persistenceQuery,
                                                                      java.lang.Class<?> cls)

findByTitle

public static java.util.List<java.lang.Object> findByTitle(java.lang.Class<?> type,
                                                           java.lang.String title)

findByTitle

public static java.util.List<java.lang.Object> findByTitle(NakedObjectSpecification spec,
                                                           java.lang.Class<?> cls,
                                                           java.lang.String title)

hasInstances

public static boolean hasInstances(java.lang.Class<?> type)

hasInstances

public static boolean hasInstances(NakedObjectSpecification spec)


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.