lumis.portal.report
Class ReportDaoHib
java.lang.Object
lumis.portal.dao.hibernate.GenericHibernateManualUpdateDao<ReportConfig,String>
lumis.portal.report.ReportDaoHib
- All Implemented Interfaces:
- IReportDao
public class ReportDaoHib
- extends GenericHibernateManualUpdateDao<ReportConfig,String>
- implements IReportDao
Data access implementation for reports.
- Since:
- 4.1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportDaoHib
public ReportDaoHib()
getIdentifier
protected String getIdentifier(ReportConfig bean)
- Specified by:
getIdentifier
in class GenericHibernateManualUpdateDao<ReportConfig,String>
add
public void add(ReportConfig bean,
ITransaction transaction)
throws PortalException
- Description copied from class:
GenericHibernateManualUpdateDao
- Adds the bean to the persistence layer.
- Specified by:
add
in interface IReportDao
- Overrides:
add
in class GenericHibernateManualUpdateDao<ReportConfig,String>
- Parameters:
bean
- the bean to be added.transaction
- the transaction for persistence access.
- Throws:
PortalException
delete
public boolean delete(String id,
ITransaction transaction)
throws PortalException
- Description copied from class:
GenericHibernateManualUpdateDao
- Deletes the bean with the given id from persistence.
- Specified by:
delete
in interface IReportDao
- Overrides:
delete
in class GenericHibernateManualUpdateDao<ReportConfig,String>
- Parameters:
id
- the bean's id.transaction
- the transaction for persistence access. Must be
a ITransactionHibernate
.
- Returns:
- true if the bean was deleted, or false if it did not exist
- Throws:
PortalException
deleteParameters
public void deleteParameters(ReportConfig reportConfig,
ITransaction transaction)
throws PortalException
- Specified by:
deleteParameters
in interface IReportDao
- Throws:
PortalException
get
public ReportConfig get(String id,
ITransaction transaction)
throws PortalObjectNotFoundException,
PortalException
- Description copied from class:
GenericHibernateManualUpdateDao
- Returns the bean with the given id. The bean is
set as read-only, so changes on it won't persist automatically.
- Specified by:
get
in interface IReportDao
- Overrides:
get
in class GenericHibernateManualUpdateDao<ReportConfig,String>
- Parameters:
id
- the bean's id.transaction
- the transaction for persistence access. Must be
a ITransactionHibernate
.
- Returns:
- the bean.
- Throws:
PortalObjectNotFoundException
- if the corresponding bean does not exist in the persistence.
PortalException
update
public void update(ReportConfig bean,
ITransaction transaction)
throws PortalException
- Specified by:
update
in interface IReportDao
- Overrides:
update
in class GenericHibernateManualUpdateDao<ReportConfig,String>
- Throws:
PortalException
Lumisportal 4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.