edu.uoc.tfc.dbmodel.security
Class OperationDaoImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
edu.uoc.tfc.dbmodel.security.OperationDaoBase
edu.uoc.tfc.dbmodel.security.OperationDaoImpl
- All Implemented Interfaces:
- OperationDao, org.springframework.beans.factory.InitializingBean
public class OperationDaoImpl
- extends OperationDaoBase
- See Also:
Operation
Methods inherited from class edu.uoc.tfc.dbmodel.security.OperationDaoBase |
create, create, create, create, create, create, load, load, loadAll, loadAll, loadAll, loadAll, operationVOToEntityCollection, remove, remove, remove, search, search, search, search, toEntities, toOperationVOArray, toOperationVOCollection, update, update |
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperationDaoImpl
public OperationDaoImpl()
toOperationVO
public void toOperationVO(Operation source,
OperationVO target)
- Description copied from interface:
OperationDao
- Copies the fields of the specified entity to the target value object. This method is similar to
toOperationVO(), but it does not handle any attributes in the target
value object that are "read-only" (as those do not have setter methods exposed).
- Specified by:
toOperationVO
in interface OperationDao
- Overrides:
toOperationVO
in class OperationDaoBase
- See Also:
OperationDao.toOperationVO(edu.uoc.tfc.dbmodel.security.Operation, edu.uoc.tfc.dto.security.OperationVO)
toOperationVO
public OperationVO toOperationVO(Operation entity)
- Description copied from interface:
OperationDao
- Converts this DAO's entity to an object of type
OperationVO
.
- Specified by:
toOperationVO
in interface OperationDao
- Overrides:
toOperationVO
in class OperationDaoBase
- See Also:
OperationDao.toOperationVO(edu.uoc.tfc.dbmodel.security.Operation)
operationVOToEntity
public Operation operationVOToEntity(OperationVO operationVO)
- Description copied from interface:
OperationDao
- Converts an instance of type
OperationVO
to this DAO's entity.
- See Also:
OperationDao.operationVOToEntity(edu.uoc.tfc.dto.security.OperationVO)
operationVOToEntity
public void operationVOToEntity(OperationVO source,
Operation target,
boolean copyIfNull)
- Description copied from interface:
OperationDao
- Copies the fields of
OperationVO
to the specified entity.
- Specified by:
operationVOToEntity
in interface OperationDao
- Overrides:
operationVOToEntity
in class OperationDaoBase
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.- See Also:
edu.uoc.tfc.dbmodel.security.OperationDao#operationVOToEntity(edu.uoc.tfc.dto.security.OperationVO, edu.uoc.tfc.dbmodel.security.Operation)