lumis.portal.file
Class FilesDaoJdbc

Package class diagram package FilesDaoJdbc
java.lang.Object
  extended by lumis.portal.file.FilesDaoJdbc
All Implemented Interfaces:
IFilesDao

public class FilesDaoJdbc
extends Object
implements IFilesDao

Stores files information

Since:
4.0.0

Constructor Summary
FilesDaoJdbc()
           
 
Method Summary
 void add(FilesConfig filesConfig, ITransaction transaction)
          Add the files.
 void delete(String filesId, ITransaction transaction)
          Delete the files.
 void deleteFilesLists(String filesId, ITransaction transaction)
          Deletes the entries in the FilesList table the has the given filesId.
 FilesConfig get(String filesId, ITransaction transaction)
          Get the files.
 void update(FilesConfig filesConfig, ITransaction transaction)
          Updates the files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilesDaoJdbc

public FilesDaoJdbc()
Method Detail

get

public FilesConfig get(String filesId,
                       ITransaction transaction)
                throws PortalException
Description copied from interface: IFilesDao
Get the files.

Specified by:
get in interface IFilesDao
Returns:
Throws:
DaoException
PortalException

add

public void add(FilesConfig filesConfig,
                ITransaction transaction)
         throws PortalException
Description copied from interface: IFilesDao
Add the files.

Specified by:
add in interface IFilesDao
Throws:
PortalException

delete

public void delete(String filesId,
                   ITransaction transaction)
            throws PortalException
Description copied from interface: IFilesDao
Delete the files.

Specified by:
delete in interface IFilesDao
Throws:
DaoException
PortalException

update

public void update(FilesConfig filesConfig,
                   ITransaction transaction)
            throws DaoException,
                   PortalException
Description copied from interface: IFilesDao
Updates the files.

Specified by:
update in interface IFilesDao
Throws:
PortalException
DaoException

deleteFilesLists

public void deleteFilesLists(String filesId,
                             ITransaction transaction)
                      throws PortalException
Description copied from interface: IFilesDao
Deletes the entries in the FilesList table the has the given filesId.

Specified by:
deleteFilesLists in interface IFilesDao
Parameters:
filesId - the files id.
transaction - the transaction for persistence access.
Throws:
PortalException


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.