org.wso2.wsas.persistence.dao
Class BaseDAO
java.lang.Object
org.wso2.wsas.persistence.dao.BaseDAO
- Direct Known Subclasses:
- AppenderDAO, KeyStoreDAO, LoggerDAO, MessageDAO, ModuleDAO, OperationDAO, SecurityScenarioDAO, SecurityTokenDAO, ServerConfigurationDAO, ServiceDAO, ServiceGroupDAO, TransportDAO, UserDAO, UserRoleDAO
- public class BaseDAO
- extends java.lang.Object
Base class for all WSO2 WSAS data access objects.
- See Also:
MessageDAO
,
ModuleDAO
,
OperationDAO
,
ServiceDAO
,
ServiceGroupDAO
,
ServerConfigurationDAO
,
UserDAO
,
UserRoleDAO
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hbConfig
protected HibernateConfig hbConfig
log
protected org.apache.log4j.Logger log
BaseDAO
public BaseDAO(HibernateConfig hbConfig)
create
public java.lang.Long create(AbstractDataObject trasientInstance)
throws DuplicateEntityException
- Throws:
DuplicateEntityException
createOrUpdate
public java.lang.Long createOrUpdate(AbstractDataObject instance)
throws DuplicateEntityException
- Throws:
DuplicateEntityException
update
public void update(AbstractDataObject abstractDO)
delete
public void delete(AbstractDataObject abstractDO)