public class TestPersistenceProvider extends Object implements PersistenceProvider
Constructor and Description |
---|
TestPersistenceProvider() |
Modifier and Type | Method and Description |
---|---|
<T> T |
copyInstance(T dataObject,
CopyOption... options) |
void |
delete(Object dataObject) |
<T> void |
deleteAll(Class<T> type) |
<T> void |
deleteMatching(Class<T> type,
QueryByCriteria queryByCriteria) |
<T> T |
find(Class<T> type,
Object id) |
<T> QueryResults<T> |
findAll(Class<T> type) |
<T> QueryResults<T> |
findMatching(Class<T> type,
QueryByCriteria queryByCriteria) |
void |
flush(Class<?> type) |
boolean |
handles(Class<?> type) |
<T> T |
save(T dataObject,
PersistenceOption... options) |
public TestPersistenceProvider()
public <T> T save(T dataObject, PersistenceOption... options)
save
in interface PersistenceProvider
public <T> T find(Class<T> type, Object id)
find
in interface PersistenceProvider
public <T> QueryResults<T> findMatching(Class<T> type, QueryByCriteria queryByCriteria)
findMatching
in interface PersistenceProvider
public <T> QueryResults<T> findAll(Class<T> type)
findAll
in interface PersistenceProvider
public void delete(Object dataObject)
delete
in interface PersistenceProvider
public <T> void deleteMatching(Class<T> type, QueryByCriteria queryByCriteria)
deleteMatching
in interface PersistenceProvider
public <T> void deleteAll(Class<T> type)
deleteAll
in interface PersistenceProvider
public <T> T copyInstance(T dataObject, CopyOption... options)
copyInstance
in interface PersistenceProvider
public boolean handles(Class<?> type)
handles
in interface PersistenceProvider
public void flush(Class<?> type)
flush
in interface PersistenceProvider
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.