Package com.soffid.iam.model
Class HostServiceEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.HostServiceEntityDaoBase
-
- All Implemented Interfaces:
HostServiceEntityDao
,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
HostServiceEntityDaoImpl
public abstract class HostServiceEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements HostServiceEntityDao
DAO Base for Entity HostServiceEntity
-
-
Constructor Summary
Constructors Constructor Description HostServiceEntityDaoBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(HostServiceEntity entity)
Adds an instance ofHostServiceEntity
to the persistent store.void
create(Collection<? extends HostServiceEntity> entities)
Creates a collection ofHostServiceEntity
and adds it to the persistent store.AccountEntityDao
getAccountEntityDao()
Gets reference toaccountEntityDao
.HostEntityDao
getHostEntityDao()
Gets reference tomaquinaEntityDao
.HostServiceEntity
hostServiceToEntity(com.soffid.iam.api.HostService instance)
Transforms fromHostService
objectvoid
hostServiceToEntity(com.soffid.iam.api.HostService source, HostServiceEntity target, boolean copyIfNull)
Copy data fromHostService
objectList<HostServiceEntity>
hostServiceToEntityList(Collection<com.soffid.iam.api.HostService> instances)
Transforms fromHostService
listHostServiceEntity
load(Long id)
Loads an instance ofHostServiceEntity
from the persistent store.List<HostServiceEntity>
loadAll()
Loads all instances ofHostServiceEntity
from the persistent store.HostServiceEntity
newHostServiceEntity()
Creates an instance ofHostServiceEntity
.List<HostServiceEntity>
query(String queryString, Parameter[] parameters)
Query ofHostServiceEntity
from the persistent store.List<HostServiceEntity>
query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofHostServiceEntity
from the persistent store.void
remove(HostServiceEntity entity)
Removes an instance ofHostServiceEntity
from the persistent store.void
remove(Long id)
Removes an instance ofHostServiceEntity
from the persistent store.void
remove(Collection<? extends HostServiceEntity> entities)
Removes a collection ofHostServiceEntity
from the persistent store.void
setAccountEntityDao(AccountEntityDao accountEntityDao)
Sets reference toaccountEntityDao
.void
setHostEntityDao(HostEntityDao maquinaEntityDao)
Sets reference tomaquinaEntityDao
.com.soffid.iam.api.HostService
toHostService(HostServiceEntity entity)
Transforms toHostService
objectvoid
toHostService(HostServiceEntity source, com.soffid.iam.api.HostService target)
Copy data toHostService
objectList<com.soffid.iam.api.HostService>
toHostServiceList(Collection<HostServiceEntity> instances)
Transforms toHostService
listvoid
update(HostServiceEntity entity)
Updates an instance ofHostServiceEntity
at the persistent store.void
update(Collection<? extends HostServiceEntity> entities)
Updates a collection ofHostServiceEntity
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
-
setAccountEntityDao
public void setAccountEntityDao(AccountEntityDao accountEntityDao)
Sets reference toaccountEntityDao
.
-
getAccountEntityDao
public AccountEntityDao getAccountEntityDao()
Gets reference toaccountEntityDao
.
-
setHostEntityDao
public void setHostEntityDao(HostEntityDao maquinaEntityDao)
Sets reference tomaquinaEntityDao
.
-
getHostEntityDao
public HostEntityDao getHostEntityDao()
Gets reference tomaquinaEntityDao
.
-
toHostService
public void toHostService(HostServiceEntity source, com.soffid.iam.api.HostService target)
Copy data toHostService
object- Specified by:
toHostService
in interfaceHostServiceEntityDao
-
toHostService
public com.soffid.iam.api.HostService toHostService(HostServiceEntity entity)
Transforms toHostService
object- Specified by:
toHostService
in interfaceHostServiceEntityDao
-
toHostServiceList
public List<com.soffid.iam.api.HostService> toHostServiceList(Collection<HostServiceEntity> instances)
Transforms toHostService
list- Specified by:
toHostServiceList
in interfaceHostServiceEntityDao
-
hostServiceToEntity
public void hostServiceToEntity(com.soffid.iam.api.HostService source, HostServiceEntity target, boolean copyIfNull)
Copy data fromHostService
object- Specified by:
hostServiceToEntity
in interfaceHostServiceEntityDao
-
hostServiceToEntity
public HostServiceEntity hostServiceToEntity(com.soffid.iam.api.HostService instance)
Transforms fromHostService
object- Specified by:
hostServiceToEntity
in interfaceHostServiceEntityDao
-
hostServiceToEntityList
public List<HostServiceEntity> hostServiceToEntityList(Collection<com.soffid.iam.api.HostService> instances)
Transforms fromHostService
list- Specified by:
hostServiceToEntityList
in interfaceHostServiceEntityDao
-
newHostServiceEntity
public HostServiceEntity newHostServiceEntity()
Creates an instance ofHostServiceEntity
.- Specified by:
newHostServiceEntity
in interfaceHostServiceEntityDao
-
load
public HostServiceEntity load(Long id)
Loads an instance ofHostServiceEntity
from the persistent store.- Specified by:
load
in interfaceHostServiceEntityDao
-
loadAll
public List<HostServiceEntity> loadAll()
Loads all instances ofHostServiceEntity
from the persistent store.- Specified by:
loadAll
in interfaceHostServiceEntityDao
-
create
public void create(HostServiceEntity entity)
Adds an instance ofHostServiceEntity
to the persistent store.- Specified by:
create
in interfaceHostServiceEntityDao
-
update
public void update(HostServiceEntity entity)
Updates an instance ofHostServiceEntity
at the persistent store.- Specified by:
update
in interfaceHostServiceEntityDao
-
remove
public void remove(HostServiceEntity entity)
Removes an instance ofHostServiceEntity
from the persistent store.- Specified by:
remove
in interfaceHostServiceEntityDao
-
create
public void create(Collection<? extends HostServiceEntity> entities)
Creates a collection ofHostServiceEntity
and adds it to the persistent store.- Specified by:
create
in interfaceHostServiceEntityDao
-
update
public void update(Collection<? extends HostServiceEntity> entities)
Updates a collection ofHostServiceEntity
in the persistent store.- Specified by:
update
in interfaceHostServiceEntityDao
-
remove
public void remove(Collection<? extends HostServiceEntity> entities)
Removes a collection ofHostServiceEntity
from the persistent store.- Specified by:
remove
in interfaceHostServiceEntityDao
-
remove
public void remove(Long id)
Removes an instance ofHostServiceEntity
from the persistent store.- Specified by:
remove
in interfaceHostServiceEntityDao
-
query
public List<HostServiceEntity> query(String queryString, Parameter[] parameters)
Query ofHostServiceEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
query
in interfaceHostServiceEntityDao
-
query
public List<HostServiceEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofHostServiceEntity
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 interfaceHostServiceEntityDao
-
-