com.rapidtransform.core.service.impl
Class CRUDServiceImpl<Type>
java.lang.Object
com.rapidtransform.core.service.impl.ServiceImpl
com.rapidtransform.core.service.impl.CRUDServiceImpl<Type>
- All Implemented Interfaces:
- CRUDService<Type>, Service
- Direct Known Subclasses:
- MetaCRUDServiceImpl
public abstract class CRUDServiceImpl<Type>
- extends ServiceImpl
- implements CRUDService<Type>
- Author:
- S. Werner
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CRUDServiceImpl
public CRUDServiceImpl()
CRUDServiceImpl
public CRUDServiceImpl(java.lang.Class<Type> persistentClass)
setPersistentClass
public void setPersistentClass(java.lang.Class<Type> persistentClass)
getPersistentClass
public java.lang.Class<Type> getPersistentClass()
setDao
public void setDao(GenericDAO<Type,java.lang.Long> genericDao)
getDao
public GenericDAO<Type,java.lang.Long> getDao()
getLog
public abstract org.apache.commons.logging.Log getLog()
create
public Type create()
throws ConveloException
- Specified by:
create
in interface CRUDService<Type>
- Throws:
ConveloException
save
@Transactional
public Type save(Type entity)
- Specified by:
save
in interface CRUDService<Type>
find
public Type find(java.lang.Long id)
- Specified by:
find
in interface CRUDService<Type>
findAll
public java.util.List<Type> findAll()
- Specified by:
findAll
in interface CRUDService<Type>