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 void
create(HostAttributeEntity entity)
Adds an instance ofHostAttributeEntity
to the persistent store.void
create(Collection<? extends HostAttributeEntity> entities)
Creates a collection ofHostAttributeEntity
and 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 findByNameAndValueAuditEntityDao
getAuditEntityDao()
Gets reference toauditoriaEntityDao
.com.soffid.iam.service.AuthorizationService
getAuthorizationService()
Gets reference toautoritzacioService
.HostEntityDao
getHostEntityDao()
Gets reference tomaquinaEntityDao
.MetaDataEntityDao
getMetaDataEntityDao()
Gets reference totipusDadaEntityDao
.HostAttributeEntity
load(Long id)
Loads an instance ofHostAttributeEntity
from the persistent store.List<HostAttributeEntity>
loadAll()
Loads all instances ofHostAttributeEntity
from the persistent store.HostAttributeEntity
newHostAttributeEntity()
Creates an instance ofHostAttributeEntity
.List<HostAttributeEntity>
query(String queryString, Parameter[] parameters)
Query ofHostAttributeEntity
from the persistent store.List<HostAttributeEntity>
query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofHostAttributeEntity
from the persistent store.void
remove(HostAttributeEntity entity)
Removes an instance ofHostAttributeEntity
from the persistent store.void
remove(Long id)
Removes an instance ofHostAttributeEntity
from the persistent store.void
remove(Collection<? extends HostAttributeEntity> entities)
Removes a collection ofHostAttributeEntity
from the persistent store.void
setAuditEntityDao(AuditEntityDao auditoriaEntityDao)
Sets reference toauditoriaEntityDao
.void
setAuthorizationService(com.soffid.iam.service.AuthorizationService autoritzacioService)
Sets reference toautoritzacioService
.void
setHostEntityDao(HostEntityDao maquinaEntityDao)
Sets reference tomaquinaEntityDao
.void
setMetaDataEntityDao(MetaDataEntityDao tipusDadaEntityDao)
Sets reference totipusDadaEntityDao
.void
update(HostAttributeEntity entity)
Updates an instance ofHostAttributeEntity
at the persistent store.void
update(Collection<? extends HostAttributeEntity> entities)
Updates a collection ofHostAttributeEntity
in 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:
findByNameAndValue
in interfaceHostAttributeEntityDao
- Parameters:
name
-value
-- Returns:
-
findByNameAndValue
public List<HostAttributeEntity> findByNameAndValue(CriteriaSearchConfiguration criteria, String name, String value)
CriteriaSearchConfiguration implementation- Specified by:
findByNameAndValue
in 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:
newHostAttributeEntity
in interfaceHostAttributeEntityDao
-
load
public HostAttributeEntity load(Long id)
Loads an instance ofHostAttributeEntity
from the persistent store.- Specified by:
load
in interfaceHostAttributeEntityDao
-
loadAll
public List<HostAttributeEntity> loadAll()
Loads all instances ofHostAttributeEntity
from the persistent store.- Specified by:
loadAll
in interfaceHostAttributeEntityDao
-
create
public void create(HostAttributeEntity entity)
Adds an instance ofHostAttributeEntity
to the persistent store.- Specified by:
create
in interfaceHostAttributeEntityDao
-
update
public void update(HostAttributeEntity entity)
Updates an instance ofHostAttributeEntity
at the persistent store.- Specified by:
update
in interfaceHostAttributeEntityDao
-
remove
public void remove(HostAttributeEntity entity)
Removes an instance ofHostAttributeEntity
from the persistent store.- Specified by:
remove
in interfaceHostAttributeEntityDao
-
create
public void create(Collection<? extends HostAttributeEntity> entities)
Creates a collection ofHostAttributeEntity
and adds it to the persistent store.- Specified by:
create
in interfaceHostAttributeEntityDao
-
update
public void update(Collection<? extends HostAttributeEntity> entities)
Updates a collection ofHostAttributeEntity
in the persistent store.- Specified by:
update
in interfaceHostAttributeEntityDao
-
remove
public void remove(Collection<? extends HostAttributeEntity> entities)
Removes a collection ofHostAttributeEntity
from the persistent store.- Specified by:
remove
in interfaceHostAttributeEntityDao
-
remove
public void remove(Long id)
Removes an instance ofHostAttributeEntity
from the persistent store.- Specified by:
remove
in interfaceHostAttributeEntityDao
-
query
public List<HostAttributeEntity> query(String queryString, Parameter[] parameters)
Query ofHostAttributeEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
query
in interfaceHostAttributeEntityDao
-
query
public List<HostAttributeEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofHostAttributeEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return- Specified by:
query
in interfaceHostAttributeEntityDao
-
-