it.geosolutions.geobatch.users.dao
Interface UserFlowAccessDAO

All Superinterfaces:
GenericDAO<UserFlowAccess,java.lang.String>
All Known Implementing Classes:
HibUserFlowAccessDAO

public interface UserFlowAccessDAO
extends GenericDAO<UserFlowAccess,java.lang.String>

Author:
ETj

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)
           
 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 interface it.geosolutions.geobatch.users.dao.GenericDAO
findAll, findAll, findById, lock, makePersistent, makeTransient
 

Method Detail

add

void add(java.lang.Long userId,
         java.lang.String flowId)
         throws DAOException
Throws:
DAOException

remove

void remove(java.lang.Long userId,
            java.lang.String flowName)
            throws DAOException
Throws:
DAOException

remove

void remove(java.lang.Long userId)
            throws DAOException
Throws:
DAOException

remove

void remove(java.lang.String flowId)
            throws DAOException
Throws:
DAOException

findFlows

java.util.List<java.lang.String> findFlows(java.lang.Long userId)
                                           throws DAOException
Throws:
DAOException

findUsersId

java.util.List<java.lang.Long> findUsersId(java.lang.String flowId)
                                           throws DAOException
Throws:
DAOException


Copyright © 2008-2012 GeoSolutions. All Rights Reserved.