it.geosolutions.geobatch.ftpserver.ftp
Interface FtpUserDAO

All Known Implementing Classes:
FTPUserDAOImpl

public interface FtpUserDAO

Author:
ETj

Method Summary
 void delete(java.lang.Long id)
           
 boolean existsUser(java.lang.Long id)
           
 boolean existsUser(java.lang.String name)
           
 java.util.List<FtpUser> findAll()
           
 FtpUser findByUserId(java.lang.Long userId)
           
 FtpUser findByUserName(java.lang.String userName)
           
 FtpUser save(FtpUser props)
           
 

Method Detail

findByUserName

FtpUser findByUserName(java.lang.String userName)
                       throws DAOException
Throws:
DAOException

findByUserId

FtpUser findByUserId(java.lang.Long userId)
                     throws DAOException
Throws:
DAOException

findAll

java.util.List<FtpUser> findAll()
                                throws DAOException
Throws:
DAOException

save

FtpUser save(FtpUser props)
             throws DAOException
Throws:
DAOException

delete

void delete(java.lang.Long id)
            throws DAOException
Throws:
DAOException

existsUser

boolean existsUser(java.lang.Long id)
                   throws DAOException
Throws:
DAOException

existsUser

boolean existsUser(java.lang.String name)
                   throws DAOException
Throws:
DAOException


Copyright © 2008-2012 GeoSolutions. All Rights Reserved.