Package lumis.portal.file
Interface IFilesDao
-
- All Known Implementing Classes:
FilesDaoJdbc
public interface IFilesDao
Interface for files persistance- Since:
- 4.0.0
- Version:
- $Revision: 5063 $ $Date: 2006-11-14 18:14:39 -0200 (Tue, 14 Nov 2006) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
-