it.geosolutions.geobatch.ftpserver.ftp
Class FTPUserDAOImpl
java.lang.Object
it.geosolutions.geobatch.ftpserver.ftp.FTPUserDAOImpl
- All Implemented Interfaces:
- FtpUserDAO
@Transactional
public class FTPUserDAOImpl
- extends java.lang.Object
- implements FtpUserDAO
Merge the results from the GBUsersDAO and HibFtpPropsDAO
TODO: todo: make sure commits and rollbacks are really transactionally distributed
- Author:
- etj
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FTPUserDAOImpl
public FTPUserDAOImpl()
existsUser
public boolean existsUser(java.lang.Long id)
throws DAOException
- Specified by:
existsUser in interface FtpUserDAO
- Throws:
DAOException
existsUser
public boolean existsUser(java.lang.String name)
throws DAOException
- Specified by:
existsUser in interface FtpUserDAO
- Throws:
DAOException
findByUserId
public FtpUser findByUserId(java.lang.Long userId)
throws DAOException
- Specified by:
findByUserId in interface FtpUserDAO
- Throws:
DAOException
findByUserName
public FtpUser findByUserName(java.lang.String userName)
throws DAOException
- Specified by:
findByUserName in interface FtpUserDAO
- Throws:
DAOException
findAll
public java.util.List<FtpUser> findAll()
throws DAOException
- Specified by:
findAll in interface FtpUserDAO
- Throws:
DAOException
save
public FtpUser save(FtpUser user)
throws DAOException
- Specified by:
save in interface FtpUserDAO
- Throws:
DAOException
delete
public void delete(java.lang.Long userId)
throws DAOException
- Specified by:
delete in interface FtpUserDAO
- Throws:
DAOException
setFtpPropsDAO
public void setFtpPropsDAO(FtpPropsDAO ftpPropsDAO)
setUserDAO
public void setUserDAO(GBUserDAO userDAO)
Copyright © 2008-2012 GeoSolutions. All Rights Reserved.