Package lumis.portal.file
Class FilesDaoJdbc
- java.lang.Object
-
- lumis.portal.file.FilesDaoJdbc
-
-
Constructor Summary
Constructors Constructor Description FilesDaoJdbc()
-
Method Summary
All Methods Instance Methods Concrete 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
-
get
public FilesConfig get(String filesId, ITransaction transaction) throws PortalException
Description copied from interface:IFilesDao
Get the files.- Specified by:
get
in interfaceIFilesDao
- 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 interfaceIFilesDao
- Throws:
PortalException
-
delete
public void delete(String filesId, ITransaction transaction) throws PortalException
Description copied from interface:IFilesDao
Delete the files.- Specified by:
delete
in interfaceIFilesDao
- 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 interfaceIFilesDao
- 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 interfaceIFilesDao
- Parameters:
filesId
- the files id.transaction
- the transaction for persistence access.- Throws:
PortalException
-
-