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 voidcreate(ServiceEntity servei)Adds an instance ofServiceEntityto the persistent store.voidcreate(Collection entities)Creates a collection ofServiceEntityand adds it to the persistent store.voidremove(ServiceEntity servei)Removes an instance ofServiceEntityfrom the persistent store.voidremove(Collection entities)Removes a collection ofServiceEntityfrom the persistent store.ServiceEntityserviceToEntity(com.soffid.iam.api.Service servei)Transforms fromServiceobjectvoidserviceToEntity(com.soffid.iam.api.Service sourceVO, ServiceEntity targetEntity, boolean copyIfNull)Copy data fromServiceobjectcom.soffid.iam.api.ServicetoService(ServiceEntity entity)Transforms toServiceobjectvoidtoService(ServiceEntity sourceEntity, com.soffid.iam.api.Service targetVO)Copy data toServiceobjectvoidupdate(ServiceEntity servei)Updates an instance ofServiceEntityat the persistent store.voidupdate(Collection entities)Updates a collection ofServiceEntityin 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:ServiceEntityDaoBaseAdds an instance ofServiceEntityto the persistent store.- Specified by:
createin interfaceServiceEntityDao- Overrides:
createin classServiceEntityDaoBase- Throws:
RuntimeException
-
remove
public void remove(ServiceEntity servei) throws RuntimeException
Description copied from class:ServiceEntityDaoBaseRemoves an instance ofServiceEntityfrom the persistent store.- Specified by:
removein interfaceServiceEntityDao- Overrides:
removein classServiceEntityDaoBase- Throws:
RuntimeException
-
update
public void update(ServiceEntity servei) throws RuntimeException
Description copied from class:ServiceEntityDaoBaseUpdates an instance ofServiceEntityat the persistent store.- Specified by:
updatein interfaceServiceEntityDao- Overrides:
updatein classServiceEntityDaoBase- Throws:
RuntimeException
-
toService
public void toService(ServiceEntity sourceEntity, com.soffid.iam.api.Service targetVO)
Description copied from class:ServiceEntityDaoBaseCopy data toServiceobject- Specified by:
toServicein interfaceServiceEntityDao- Overrides:
toServicein classServiceEntityDaoBase
-
toService
public com.soffid.iam.api.Service toService(ServiceEntity entity)
Description copied from class:ServiceEntityDaoBaseTransforms toServiceobject- Specified by:
toServicein interfaceServiceEntityDao- Overrides:
toServicein 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:ServiceEntityDaoBaseTransforms fromServiceobject- Specified by:
serviceToEntityin interfaceServiceEntityDao- Overrides:
serviceToEntityin 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:ServiceEntityDaoBaseCopy data fromServiceobject- Specified by:
serviceToEntityin interfaceServiceEntityDao- Overrides:
serviceToEntityin 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:ServiceEntityDaoBaseCreates a collection ofServiceEntityand adds it to the persistent store.- Specified by:
createin interfaceServiceEntityDao- Overrides:
createin classServiceEntityDaoBase
-
update
public void update(Collection entities)
Description copied from class:ServiceEntityDaoBaseUpdates a collection ofServiceEntityin the persistent store.- Specified by:
updatein interfaceServiceEntityDao- Overrides:
updatein classServiceEntityDaoBase
-
remove
public void remove(Collection entities)
Description copied from class:ServiceEntityDaoBaseRemoves a collection ofServiceEntityfrom the persistent store.- Specified by:
removein interfaceServiceEntityDao- Overrides:
removein classServiceEntityDaoBase
-
-