org.zeroexchange.dao.role
Class RoleDAOImpl
java.lang.Object
org.zeroexchange.dao.HibernateSessionHolder
org.zeroexchange.dao.BaseHibernateDAO<String,T>
org.zeroexchange.dao.BaseStringPKDAO<Role>
org.zeroexchange.dao.role.RoleDAOImpl
- All Implemented Interfaces:
- DAO<String,Role>, RoleDAO, StringPKDAO<Role>
public class RoleDAOImpl
- extends BaseStringPKDAO<Role>
- implements RoleDAO
Role DAO implementation.
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoleDAOImpl
public RoleDAOImpl()
getEntityClass
public Class<Role> getEntityClass()
-
- Specified by:
getEntityClass
in class BaseHibernateDAO<String,Role>
getRole
public Role getRole(String roleId)
throws DAOOperationException
- Returns role by id of throws an exception if not exists.
- Specified by:
getRole
in interface RoleDAO
- Throws:
DAOOperationException
Copyright © 2013. All Rights Reserved.