Package com.soffid.iam.model
Class ServiceEntityDaoImpl
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.ServiceEntityDaoBase
-
- com.soffid.iam.model.ServiceEntityDaoImpl
-
- All Implemented Interfaces:
ServiceEntityDao
,org.springframework.beans.factory.InitializingBean
public class ServiceEntityDaoImpl extends ServiceEntityDaoBase
- See Also:
es.caib.seycon.ng.model.ServeiEntity
-
-
Constructor Summary
Constructors Constructor Description ServiceEntityDaoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(ServiceEntity servei)
Adds an instance ofServiceEntity
to the persistent store.void
create(Collection entities)
Creates a collection ofServiceEntity
and adds it to the persistent store.void
remove(ServiceEntity servei)
Removes an instance ofServiceEntity
from the persistent store.void
remove(Collection entities)
Removes a collection ofServiceEntity
from the persistent store.ServiceEntity
serviceToEntity(com.soffid.iam.api.Service servei)
Transforms fromService
objectvoid
serviceToEntity(com.soffid.iam.api.Service sourceVO, ServiceEntity targetEntity, boolean copyIfNull)
Copy data fromService
objectcom.soffid.iam.api.Service
toService(ServiceEntity entity)
Transforms toService
objectvoid
toService(ServiceEntity sourceEntity, com.soffid.iam.api.Service targetVO)
Copy data toService
objectvoid
update(ServiceEntity servei)
Updates an instance ofServiceEntity
at the persistent store.void
update(Collection entities)
Updates a collection ofServiceEntity
in the persistent store.-
Methods inherited from class com.soffid.iam.model.ServiceEntityDaoBase
findAllByName, findAllByName, findAllByName, findByCriteria, findByName, findByName, findByName, getAccessLogEntityDao, getAuditEntityDao, getTenantEntityDao, load, loadAll, newServiceEntity, query, query, remove, serveiToEntity, serveiToEntity, serveiToEntityList, serviceToEntityList, setAccessLogEntityDao, setAuditEntityDao, setTenantEntityDao, toServei, toServei, toServeiList, toServiceList
-
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
-
-
-
-
Method Detail
-
create
public void create(ServiceEntity servei) throws RuntimeException
Description copied from class:ServiceEntityDaoBase
Adds an instance ofServiceEntity
to the persistent store.- Specified by:
create
in interfaceServiceEntityDao
- Overrides:
create
in classServiceEntityDaoBase
- Throws:
RuntimeException
-
remove
public void remove(ServiceEntity servei) throws RuntimeException
Description copied from class:ServiceEntityDaoBase
Removes an instance ofServiceEntity
from the persistent store.- Specified by:
remove
in interfaceServiceEntityDao
- Overrides:
remove
in classServiceEntityDaoBase
- Throws:
RuntimeException
-
update
public void update(ServiceEntity servei) throws RuntimeException
Description copied from class:ServiceEntityDaoBase
Updates an instance ofServiceEntity
at the persistent store.- Specified by:
update
in interfaceServiceEntityDao
- Overrides:
update
in classServiceEntityDaoBase
- Throws:
RuntimeException
-
toService
public void toService(ServiceEntity sourceEntity, com.soffid.iam.api.Service targetVO)
Description copied from class:ServiceEntityDaoBase
Copy data toService
object- Specified by:
toService
in interfaceServiceEntityDao
- Overrides:
toService
in classServiceEntityDaoBase
-
toService
public com.soffid.iam.api.Service toService(ServiceEntity entity)
Description copied from class:ServiceEntityDaoBase
Transforms toService
object- Specified by:
toService
in interfaceServiceEntityDao
- Overrides:
toService
in classServiceEntityDaoBase
- See Also:
es.caib.seycon.ng.model.ServeiEntityDao#toServei(es.caib.seycon.ng.model.ServeiEntity)
-
serviceToEntity
public ServiceEntity serviceToEntity(com.soffid.iam.api.Service servei)
Description copied from class:ServiceEntityDaoBase
Transforms fromService
object- Specified by:
serviceToEntity
in interfaceServiceEntityDao
- Overrides:
serviceToEntity
in classServiceEntityDaoBase
- See Also:
es.caib.seycon.ng.model.ServeiEntityDao#serveiToEntity(es.caib.seycon.ng.comu.Servei)
-
serviceToEntity
public void serviceToEntity(com.soffid.iam.api.Service sourceVO, ServiceEntity targetEntity, boolean copyIfNull)
Description copied from class:ServiceEntityDaoBase
Copy data fromService
object- Specified by:
serviceToEntity
in interfaceServiceEntityDao
- Overrides:
serviceToEntity
in classServiceEntityDaoBase
- See Also:
es.caib.seycon.ng.model.ServeiEntityDao#serveiToEntity(es.caib.seycon.ng.comu.Servei, es.caib.seycon.ng.model.ServeiEntity)
-
create
public void create(Collection entities)
Description copied from class:ServiceEntityDaoBase
Creates a collection ofServiceEntity
and adds it to the persistent store.- Specified by:
create
in interfaceServiceEntityDao
- Overrides:
create
in classServiceEntityDaoBase
-
update
public void update(Collection entities)
Description copied from class:ServiceEntityDaoBase
Updates a collection ofServiceEntity
in the persistent store.- Specified by:
update
in interfaceServiceEntityDao
- Overrides:
update
in classServiceEntityDaoBase
-
remove
public void remove(Collection entities)
Description copied from class:ServiceEntityDaoBase
Removes a collection ofServiceEntity
from the persistent store.- Specified by:
remove
in interfaceServiceEntityDao
- Overrides:
remove
in classServiceEntityDaoBase
-
-