it.geosolutions.geobatch.users.dao.hibernate
Class HibUserFlowAccessDAO

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by it.geosolutions.geobatch.users.dao.hibernate.DAOAbstractSpring<UserFlowAccess,java.lang.String>
              extended by 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

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
HibUserFlowAccessDAO()
           
 
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 it.geosolutions.geobatch.users.dao.hibernate.DAOAbstractSpring
findAll, findAll, findByCriteria, findByCriteria, findById, getPersistentClass, lock, makePersistent, makeTransient
 
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
 
Methods inherited from interface it.geosolutions.geobatch.users.dao.GenericDAO
findAll, findAll, findById, lock, makePersistent, makeTransient
 

Constructor Detail

HibUserFlowAccessDAO

public HibUserFlowAccessDAO()
Method Detail

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.