it.geosolutions.geobatch.users.dao.hibernate
Class HibUserFlowAccessDAO
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
it.geosolutions.geobatch.users.dao.hibernate.DAOAbstractSpring<UserFlowAccess,java.lang.String>
it.geosolutions.geobatch.users.dao.hibernate.HibUserFlowAccessDAO
- All Implemented Interfaces:
- GenericDAO<UserFlowAccess,java.lang.String>, UserFlowAccessDAO, org.springframework.beans.factory.InitializingBean
@Transactional
public class HibUserFlowAccessDAO
- extends DAOAbstractSpring<UserFlowAccess,java.lang.String>
- implements UserFlowAccessDAO
- Author:
- ETj
| Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
|
Method Summary |
void |
add(java.lang.Long userId,
java.lang.String flowId)
|
java.util.List<java.lang.String> |
findFlows(java.lang.Long userId)
|
java.util.List<java.lang.Long> |
findUsersId(java.lang.String flowId)
|
protected void |
initDao()
|
void |
remove(java.lang.Long userId)
|
void |
remove(java.lang.Long userId,
java.lang.String flowName)
|
void |
remove(java.lang.String flowId)
|
| Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
| Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibUserFlowAccessDAO
public HibUserFlowAccessDAO()
initDao
protected void initDao()
throws java.lang.Exception
- Overrides:
initDao in class org.springframework.dao.support.DaoSupport
- Throws:
java.lang.Exception
add
public void add(java.lang.Long userId,
java.lang.String flowId)
throws DAOException
- Specified by:
add in interface UserFlowAccessDAO
- Throws:
DAOException
remove
public void remove(java.lang.Long userId,
java.lang.String flowName)
throws DAOException
- Specified by:
remove in interface UserFlowAccessDAO
- Throws:
DAOException
remove
public void remove(java.lang.Long userId)
throws DAOException
- Specified by:
remove in interface UserFlowAccessDAO
- Throws:
DAOException
remove
public void remove(java.lang.String flowId)
throws DAOException
- Specified by:
remove in interface UserFlowAccessDAO
- Throws:
DAOException
findFlows
public java.util.List<java.lang.String> findFlows(java.lang.Long userId)
throws DAOException
- Specified by:
findFlows in interface UserFlowAccessDAO
- Throws:
DAOException
findUsersId
public java.util.List<java.lang.Long> findUsersId(java.lang.String flowId)
throws DAOException
- Specified by:
findUsersId in interface UserFlowAccessDAO
- Throws:
DAOException
Copyright © 2008-2012 GeoSolutions. All Rights Reserved.