Package com.soffid.iam.model
Class HostPortEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.HostPortEntityDaoBase
-
- All Implemented Interfaces:
HostPortEntityDao
,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
HostPortEntityDaoImpl
public abstract class HostPortEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements HostPortEntityDao
DAO Base for Entity HostPortEntity
-
-
Constructor Summary
Constructors Constructor Description HostPortEntityDaoBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(HostPortEntity entity)
Adds an instance ofHostPortEntity
to the persistent store.void
create(Collection<? extends HostPortEntity> entities)
Creates a collection ofHostPortEntity
and adds it to the persistent store.HostEntityDao
getHostEntityDao()
Gets reference tomaquinaEntityDao
.HostPortEntity
hostPortToEntity(com.soffid.iam.api.HostPort instance)
Transforms fromHostPort
objectvoid
hostPortToEntity(com.soffid.iam.api.HostPort source, HostPortEntity target, boolean copyIfNull)
Copy data fromHostPort
objectList<HostPortEntity>
hostPortToEntityList(Collection<com.soffid.iam.api.HostPort> instances)
Transforms fromHostPort
listHostPortEntity
load(Long id)
Loads an instance ofHostPortEntity
from the persistent store.List<HostPortEntity>
loadAll()
Loads all instances ofHostPortEntity
from the persistent store.HostPortEntity
newHostPortEntity()
Creates an instance ofHostPortEntity
.List<HostPortEntity>
query(String queryString, Parameter[] parameters)
Query ofHostPortEntity
from the persistent store.List<HostPortEntity>
query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofHostPortEntity
from the persistent store.void
remove(HostPortEntity entity)
Removes an instance ofHostPortEntity
from the persistent store.void
remove(Long id)
Removes an instance ofHostPortEntity
from the persistent store.void
remove(Collection<? extends HostPortEntity> entities)
Removes a collection ofHostPortEntity
from the persistent store.void
setHostEntityDao(HostEntityDao maquinaEntityDao)
Sets reference tomaquinaEntityDao
.com.soffid.iam.api.HostPort
toHostPort(HostPortEntity entity)
Transforms toHostPort
objectvoid
toHostPort(HostPortEntity source, com.soffid.iam.api.HostPort target)
Copy data toHostPort
objectList<com.soffid.iam.api.HostPort>
toHostPortList(Collection<HostPortEntity> instances)
Transforms toHostPort
listvoid
update(HostPortEntity entity)
Updates an instance ofHostPortEntity
at the persistent store.void
update(Collection<? extends HostPortEntity> entities)
Updates a collection ofHostPortEntity
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
-
setHostEntityDao
public void setHostEntityDao(HostEntityDao maquinaEntityDao)
Sets reference tomaquinaEntityDao
.
-
getHostEntityDao
public HostEntityDao getHostEntityDao()
Gets reference tomaquinaEntityDao
.
-
toHostPort
public void toHostPort(HostPortEntity source, com.soffid.iam.api.HostPort target)
Copy data toHostPort
object- Specified by:
toHostPort
in interfaceHostPortEntityDao
-
toHostPort
public com.soffid.iam.api.HostPort toHostPort(HostPortEntity entity)
Transforms toHostPort
object- Specified by:
toHostPort
in interfaceHostPortEntityDao
-
toHostPortList
public List<com.soffid.iam.api.HostPort> toHostPortList(Collection<HostPortEntity> instances)
Transforms toHostPort
list- Specified by:
toHostPortList
in interfaceHostPortEntityDao
-
hostPortToEntity
public void hostPortToEntity(com.soffid.iam.api.HostPort source, HostPortEntity target, boolean copyIfNull)
Copy data fromHostPort
object- Specified by:
hostPortToEntity
in interfaceHostPortEntityDao
-
hostPortToEntity
public HostPortEntity hostPortToEntity(com.soffid.iam.api.HostPort instance)
Transforms fromHostPort
object- Specified by:
hostPortToEntity
in interfaceHostPortEntityDao
-
hostPortToEntityList
public List<HostPortEntity> hostPortToEntityList(Collection<com.soffid.iam.api.HostPort> instances)
Transforms fromHostPort
list- Specified by:
hostPortToEntityList
in interfaceHostPortEntityDao
-
newHostPortEntity
public HostPortEntity newHostPortEntity()
Creates an instance ofHostPortEntity
.- Specified by:
newHostPortEntity
in interfaceHostPortEntityDao
-
load
public HostPortEntity load(Long id)
Loads an instance ofHostPortEntity
from the persistent store.- Specified by:
load
in interfaceHostPortEntityDao
-
loadAll
public List<HostPortEntity> loadAll()
Loads all instances ofHostPortEntity
from the persistent store.- Specified by:
loadAll
in interfaceHostPortEntityDao
-
create
public void create(HostPortEntity entity)
Adds an instance ofHostPortEntity
to the persistent store.- Specified by:
create
in interfaceHostPortEntityDao
-
update
public void update(HostPortEntity entity)
Updates an instance ofHostPortEntity
at the persistent store.- Specified by:
update
in interfaceHostPortEntityDao
-
remove
public void remove(HostPortEntity entity)
Removes an instance ofHostPortEntity
from the persistent store.- Specified by:
remove
in interfaceHostPortEntityDao
-
create
public void create(Collection<? extends HostPortEntity> entities)
Creates a collection ofHostPortEntity
and adds it to the persistent store.- Specified by:
create
in interfaceHostPortEntityDao
-
update
public void update(Collection<? extends HostPortEntity> entities)
Updates a collection ofHostPortEntity
in the persistent store.- Specified by:
update
in interfaceHostPortEntityDao
-
remove
public void remove(Collection<? extends HostPortEntity> entities)
Removes a collection ofHostPortEntity
from the persistent store.- Specified by:
remove
in interfaceHostPortEntityDao
-
remove
public void remove(Long id)
Removes an instance ofHostPortEntity
from the persistent store.- Specified by:
remove
in interfaceHostPortEntityDao
-
query
public List<HostPortEntity> query(String queryString, Parameter[] parameters)
Query ofHostPortEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
query
in interfaceHostPortEntityDao
-
query
public List<HostPortEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofHostPortEntity
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 interfaceHostPortEntityDao
-
-