lumis.portal.file
Interface IFilesDao

Package class diagram package IFilesDao
All Known Implementing Classes:
FilesDaoJdbc

public interface IFilesDao

Interface for files persistance

Since:
4.0.0

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.
 

Method Detail

add

void add(FilesConfig filesConfig,
         ITransaction transaction)
         throws PortalException
Add the files.

Parameters:
fileConfig -
transaction -
Throws:
PortalException

get

FilesConfig get(String filesId,
                ITransaction transaction)
                throws PortalException
Get the files.

Parameters:
fileId -
transaction -
Returns:
Throws:
DaoException
PortalException

delete

void delete(String filesId,
            ITransaction transaction)
            throws PortalException
Delete the files.

Parameters:
fileId -
transaction -
Throws:
DaoException
PortalException

update

void update(FilesConfig filesConfig,
            ITransaction transaction)
            throws PortalException
Updates the files.

Parameters:
fileConfig -
transaction -
Throws:
PortalException

deleteFilesLists

void deleteFilesLists(String filesId,
                      ITransaction transaction)
                      throws PortalException
Deletes the entries in the FilesList table the has the given filesId.

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.