lumis.portal.serviceinterface.menu
Class ServiceInterfaceMenuGroupTypeDaoHib

Package class diagram package ServiceInterfaceMenuGroupTypeDaoHib
java.lang.Object
  extended by lumis.portal.dao.hibernate.GenericHibernateManualUpdateDao<ServiceInterfaceMenuGroupTypeConfig,String>
      extended by lumis.portal.serviceinterface.menu.ServiceInterfaceMenuGroupTypeDaoHib
All Implemented Interfaces:
IServiceInterfaceMenuGroupTypeDao

public class ServiceInterfaceMenuGroupTypeDaoHib
extends GenericHibernateManualUpdateDao<ServiceInterfaceMenuGroupTypeConfig,String>
implements IServiceInterfaceMenuGroupTypeDao

Since:
4.0.0

Constructor Summary
ServiceInterfaceMenuGroupTypeDaoHib()
           
 
Method Summary
 void addOrUpdate(ServiceInterfaceMenuGroupTypeConfig config, ITransaction transaction)
           
 boolean delete(String menuGroupTypeId, ITransaction transaction)
          Deletes the bean with the given id from persistence.
 ServiceInterfaceMenuGroupTypeConfig get(String menuGroupTypeId, ITransaction transaction)
          Returns the bean with the given id.
protected  String getIdentifier(ServiceInterfaceMenuGroupTypeConfig config)
           
 
Methods inherited from class lumis.portal.dao.hibernate.GenericHibernateManualUpdateDao
add, evict, findByCriteria, findByCriteria, getPersistentClass, setReadOnly, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceInterfaceMenuGroupTypeDaoHib

public ServiceInterfaceMenuGroupTypeDaoHib()
Method Detail

getIdentifier

protected String getIdentifier(ServiceInterfaceMenuGroupTypeConfig config)
Specified by:
getIdentifier in class GenericHibernateManualUpdateDao<ServiceInterfaceMenuGroupTypeConfig,String>

addOrUpdate

public void addOrUpdate(ServiceInterfaceMenuGroupTypeConfig config,
                        ITransaction transaction)
                 throws DaoException,
                        PortalException
Specified by:
addOrUpdate in interface IServiceInterfaceMenuGroupTypeDao
Overrides:
addOrUpdate in class GenericHibernateManualUpdateDao<ServiceInterfaceMenuGroupTypeConfig,String>
Throws:
DaoException
PortalException

delete

public boolean delete(String menuGroupTypeId,
                      ITransaction transaction)
               throws DaoException,
                      PortalException
Description copied from class: GenericHibernateManualUpdateDao
Deletes the bean with the given id from persistence.

Specified by:
delete in interface IServiceInterfaceMenuGroupTypeDao
Overrides:
delete in class GenericHibernateManualUpdateDao<ServiceInterfaceMenuGroupTypeConfig,String>
Parameters:
menuGroupTypeId - 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:
DaoException
PortalException

get

public ServiceInterfaceMenuGroupTypeConfig get(String menuGroupTypeId,
                                               ITransaction transaction)
                                        throws DaoException,
                                               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 IServiceInterfaceMenuGroupTypeDao
Overrides:
get in class GenericHibernateManualUpdateDao<ServiceInterfaceMenuGroupTypeConfig,String>
Parameters:
menuGroupTypeId - the bean's id.
transaction - the transaction for persistence access. Must be a ITransactionHibernate.
Returns:
the bean.
Throws:
DaoException
PortalException


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.