Package lumis.portal.file
Interface IFilesDao
-
- All Known Implementing Classes:
FilesDaoJdbc
public interface IFilesDao
Interface for files persistance- Since:
- 4.0.0
- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(FilesConfig filesConfig, ITransaction transaction)
Add the files.void
delete(java.lang.String filesId, ITransaction transaction)
Delete the files.void
deleteFilesLists(java.lang.String filesId, ITransaction transaction)
Deletes the entries in the FilesList table the has the given filesId.FilesConfig
get(java.lang.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(java.lang.String filesId, ITransaction transaction) throws PortalException
Get the files.- Parameters:
fileId
-transaction
-- Returns:
- Throws:
DaoException
PortalException
-
delete
void delete(java.lang.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(java.lang.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
-
-