edu.uoc.tfc.dbmodel.security
Class RoleDaoImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
edu.uoc.tfc.dbmodel.security.RoleDaoBase
edu.uoc.tfc.dbmodel.security.RoleDaoImpl
- All Implemented Interfaces:
- RoleDao, org.springframework.beans.factory.InitializingBean
public class RoleDaoImpl
- extends RoleDaoBase
- See Also:
Role
Methods inherited from class edu.uoc.tfc.dbmodel.security.RoleDaoBase |
create, create, create, create, create, create, load, load, loadAll, loadAll, loadAll, loadAll, remove, remove, remove, roleVOToEntityCollection, search, search, search, search, toEntities, toRoleVOArray, toRoleVOCollection, 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 |
RoleDaoImpl
public RoleDaoImpl()
toRoleVO
public void toRoleVO(Role source,
RoleVO target)
- Description copied from interface:
RoleDao
- Copies the fields of the specified entity to the target value object. This method is similar to
toRoleVO(), 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:
toRoleVO
in interface RoleDao
- Overrides:
toRoleVO
in class RoleDaoBase
- See Also:
RoleDao.toRoleVO(edu.uoc.tfc.dbmodel.security.Role, edu.uoc.tfc.dto.security.RoleVO)
toRoleVO
public RoleVO toRoleVO(Role entity)
- Description copied from interface:
RoleDao
- Converts this DAO's entity to an object of type
RoleVO
.
- Specified by:
toRoleVO
in interface RoleDao
- Overrides:
toRoleVO
in class RoleDaoBase
- See Also:
RoleDao.toRoleVO(edu.uoc.tfc.dbmodel.security.Role)
roleVOToEntity
public Role roleVOToEntity(RoleVO roleVO)
- Description copied from interface:
RoleDao
- Converts an instance of type
RoleVO
to this DAO's entity.
- See Also:
RoleDao.roleVOToEntity(edu.uoc.tfc.dto.security.RoleVO)
roleVOToEntity
public void roleVOToEntity(RoleVO source,
Role target,
boolean copyIfNull)
- Description copied from interface:
RoleDao
- Copies the fields of
RoleVO
to the specified entity.
- Specified by:
roleVOToEntity
in interface RoleDao
- Overrides:
roleVOToEntity
in class RoleDaoBase
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.RoleDao#roleVOToEntity(edu.uoc.tfc.dto.security.RoleVO, edu.uoc.tfc.dbmodel.security.Role)