@Transactional public class DomainObjectAccessorImpl extends Object implements DomainObjectAccessor
Constructor and Description |
---|
DomainObjectAccessorImpl() |
Modifier and Type | Method and Description |
---|---|
void |
attachObject(DomainObjectBase obj) |
void |
clearObjectCache() |
String |
doNotFlushTemporarily() |
void |
flush() |
<T extends DomainObjectBase> |
getDomainObject(Class<T> cls,
Integer id) |
<T extends DomainObjectBase> |
getDomainObjectsWith(Class<T> cls,
Collection<com.jamasoftware.contour.data.service.restriction.Restriction> restrictions) |
<T extends DomainObjectBase> |
getDomainObjectsWithProperty(Class<T> domainClass,
String property,
Object value) |
void |
resumeNormalFlushOperation(String flushMode) |
void |
saveOrUpdateDomainObject(DomainObjectBase obj) |
void |
setGenericDao(GenericDao genericDao) |
public <T extends DomainObjectBase> T getDomainObject(Class<T> cls, Integer id)
getDomainObject
in interface DomainObjectAccessor
public <T extends DomainObjectBase> List<? extends T> getDomainObjectsWithProperty(Class<T> domainClass, String property, Object value)
getDomainObjectsWithProperty
in interface DomainObjectAccessor
public <T extends DomainObjectBase> List<? extends T> getDomainObjectsWith(Class<T> cls, Collection<com.jamasoftware.contour.data.service.restriction.Restriction> restrictions)
getDomainObjectsWith
in interface DomainObjectAccessor
public void saveOrUpdateDomainObject(DomainObjectBase obj)
saveOrUpdateDomainObject
in interface DomainObjectAccessor
public void flush()
flush
in interface DomainObjectAccessor
public void clearObjectCache()
clearObjectCache
in interface DomainObjectAccessor
public void attachObject(DomainObjectBase obj)
attachObject
in interface DomainObjectAccessor
public String doNotFlushTemporarily()
doNotFlushTemporarily
in interface DomainObjectAccessor
public void resumeNormalFlushOperation(String flushMode)
resumeNormalFlushOperation
in interface DomainObjectAccessor
public void setGenericDao(GenericDao genericDao)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.