Package com.soffid.iam.model
Class HostAttributeEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.HostAttributeEntityDaoBase
-
- All Implemented Interfaces:
HostAttributeEntityDao,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
HostAttributeEntityDaoImpl
public abstract class HostAttributeEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements HostAttributeEntityDao
DAO Base for Entity HostAttributeEntity
-
-
Constructor Summary
Constructors Constructor Description HostAttributeEntityDaoBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate(HostAttributeEntity entity)Adds an instance ofHostAttributeEntityto the persistent store.voidcreate(Collection<? extends HostAttributeEntity> entities)Creates a collection ofHostAttributeEntityand adds it to the persistent store.List<HostAttributeEntity>findByNameAndValue(CriteriaSearchConfiguration criteria, String name, String value)CriteriaSearchConfiguration implementationList<HostAttributeEntity>findByNameAndValue(String queryString, CriteriaSearchConfiguration criteria, String name, String value)Internal implementationList<HostAttributeEntity>findByNameAndValue(String name, String value)Operation findByNameAndValueAuditEntityDaogetAuditEntityDao()Gets reference toauditoriaEntityDao.com.soffid.iam.service.AuthorizationServicegetAuthorizationService()Gets reference toautoritzacioService.HostEntityDaogetHostEntityDao()Gets reference tomaquinaEntityDao.MetaDataEntityDaogetMetaDataEntityDao()Gets reference totipusDadaEntityDao.HostAttributeEntityload(Long id)Loads an instance ofHostAttributeEntityfrom the persistent store.List<HostAttributeEntity>loadAll()Loads all instances ofHostAttributeEntityfrom the persistent store.HostAttributeEntitynewHostAttributeEntity()Creates an instance ofHostAttributeEntity.List<HostAttributeEntity>query(String queryString, Parameter[] parameters)Query ofHostAttributeEntityfrom the persistent store.List<HostAttributeEntity>query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofHostAttributeEntityfrom the persistent store.voidremove(HostAttributeEntity entity)Removes an instance ofHostAttributeEntityfrom the persistent store.voidremove(Long id)Removes an instance ofHostAttributeEntityfrom the persistent store.voidremove(Collection<? extends HostAttributeEntity> entities)Removes a collection ofHostAttributeEntityfrom the persistent store.voidsetAuditEntityDao(AuditEntityDao auditoriaEntityDao)Sets reference toauditoriaEntityDao.voidsetAuthorizationService(com.soffid.iam.service.AuthorizationService autoritzacioService)Sets reference toautoritzacioService.voidsetHostEntityDao(HostEntityDao maquinaEntityDao)Sets reference tomaquinaEntityDao.voidsetMetaDataEntityDao(MetaDataEntityDao tipusDadaEntityDao)Sets reference totipusDadaEntityDao.voidupdate(HostAttributeEntity entity)Updates an instance ofHostAttributeEntityat the persistent store.voidupdate(Collection<? extends HostAttributeEntity> entities)Updates a collection ofHostAttributeEntityin the persistent store.-
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
-
-
-
-
Method Detail
-
setAuditEntityDao
public void setAuditEntityDao(AuditEntityDao auditoriaEntityDao)
Sets reference toauditoriaEntityDao.
-
getAuditEntityDao
public AuditEntityDao getAuditEntityDao()
Gets reference toauditoriaEntityDao.
-
setAuthorizationService
public void setAuthorizationService(com.soffid.iam.service.AuthorizationService autoritzacioService)
Sets reference toautoritzacioService.
-
getAuthorizationService
public com.soffid.iam.service.AuthorizationService getAuthorizationService()
Gets reference toautoritzacioService.
-
setHostEntityDao
public void setHostEntityDao(HostEntityDao maquinaEntityDao)
Sets reference tomaquinaEntityDao.
-
getHostEntityDao
public HostEntityDao getHostEntityDao()
Gets reference tomaquinaEntityDao.
-
setMetaDataEntityDao
public void setMetaDataEntityDao(MetaDataEntityDao tipusDadaEntityDao)
Sets reference totipusDadaEntityDao.
-
getMetaDataEntityDao
public MetaDataEntityDao getMetaDataEntityDao()
Gets reference totipusDadaEntityDao.
-
findByNameAndValue
public List<HostAttributeEntity> findByNameAndValue(String name, String value)
Operation findByNameAndValue- Specified by:
findByNameAndValuein interfaceHostAttributeEntityDao- Parameters:
name-value-- Returns:
-
findByNameAndValue
public List<HostAttributeEntity> findByNameAndValue(CriteriaSearchConfiguration criteria, String name, String value)
CriteriaSearchConfiguration implementation- Specified by:
findByNameAndValuein interfaceHostAttributeEntityDao
-
findByNameAndValue
public List<HostAttributeEntity> findByNameAndValue(String queryString, CriteriaSearchConfiguration criteria, String name, String value)
Internal implementation
-
newHostAttributeEntity
public HostAttributeEntity newHostAttributeEntity()
Creates an instance ofHostAttributeEntity.- Specified by:
newHostAttributeEntityin interfaceHostAttributeEntityDao
-
load
public HostAttributeEntity load(Long id)
Loads an instance ofHostAttributeEntityfrom the persistent store.- Specified by:
loadin interfaceHostAttributeEntityDao
-
loadAll
public List<HostAttributeEntity> loadAll()
Loads all instances ofHostAttributeEntityfrom the persistent store.- Specified by:
loadAllin interfaceHostAttributeEntityDao
-
create
public void create(HostAttributeEntity entity)
Adds an instance ofHostAttributeEntityto the persistent store.- Specified by:
createin interfaceHostAttributeEntityDao
-
update
public void update(HostAttributeEntity entity)
Updates an instance ofHostAttributeEntityat the persistent store.- Specified by:
updatein interfaceHostAttributeEntityDao
-
remove
public void remove(HostAttributeEntity entity)
Removes an instance ofHostAttributeEntityfrom the persistent store.- Specified by:
removein interfaceHostAttributeEntityDao
-
create
public void create(Collection<? extends HostAttributeEntity> entities)
Creates a collection ofHostAttributeEntityand adds it to the persistent store.- Specified by:
createin interfaceHostAttributeEntityDao
-
update
public void update(Collection<? extends HostAttributeEntity> entities)
Updates a collection ofHostAttributeEntityin the persistent store.- Specified by:
updatein interfaceHostAttributeEntityDao
-
remove
public void remove(Collection<? extends HostAttributeEntity> entities)
Removes a collection ofHostAttributeEntityfrom the persistent store.- Specified by:
removein interfaceHostAttributeEntityDao
-
remove
public void remove(Long id)
Removes an instance ofHostAttributeEntityfrom the persistent store.- Specified by:
removein interfaceHostAttributeEntityDao
-
query
public List<HostAttributeEntity> query(String queryString, Parameter[] parameters)
Query ofHostAttributeEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
queryin interfaceHostAttributeEntityDao
-
query
public List<HostAttributeEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofHostAttributeEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return- Specified by:
queryin interfaceHostAttributeEntityDao
-
-