Package com.soffid.iam.model
Class UserPrinterEntityDaoImpl
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.UserPrinterEntityDaoBase
-
- com.soffid.iam.model.UserPrinterEntityDaoImpl
-
- All Implemented Interfaces:
UserPrinterEntityDao
,org.springframework.beans.factory.InitializingBean
public class UserPrinterEntityDaoImpl extends UserPrinterEntityDaoBase
- See Also:
es.caib.seycon.ng.model.UsuariImpressoraEntity
-
-
Constructor Summary
Constructors Constructor Description UserPrinterEntityDaoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(UserPrinterEntity usuariImpressora)
Adds an instance ofUserPrinterEntity
to the persistent store.void
create(Collection entities)
Creates a collection ofUserPrinterEntity
and adds it to the persistent store.UserPrinterEntity
printerUserToEntity(com.soffid.iam.api.PrinterUser usuariImpressora)
Transforms fromPrinterUser
objectvoid
printerUserToEntity(com.soffid.iam.api.PrinterUser sourceVO, UserPrinterEntity targetEntity, boolean copyIfNull)
Copy data fromPrinterUser
objectvoid
remove(UserPrinterEntity usuariImpressora)
Removes an instance ofUserPrinterEntity
from the persistent store.void
remove(Collection entities)
Removes a collection ofUserPrinterEntity
from the persistent store.com.soffid.iam.api.PrinterUser
toPrinterUser(UserPrinterEntity entity)
Transforms toPrinterUser
objectvoid
toPrinterUser(UserPrinterEntity sourceEntity, com.soffid.iam.api.PrinterUser targetVO)
Copy data toPrinterUser
objectvoid
update(UserPrinterEntity usuariImpressora)
Updates an instance ofUserPrinterEntity
at the persistent store.void
update(Collection entities)
Updates a collection ofUserPrinterEntity
in the persistent store.-
Methods inherited from class com.soffid.iam.model.UserPrinterEntityDaoBase
findByPrinter, findByPrinter, findByPrinter, findByUser, findByUser, findByUser, findUserByUserAndPrinter, findUserByUserAndPrinter, findUserByUserAndPrinter, getAuditEntityDao, getPrinterEntityDao, getTaskEntityDao, getUserEntityDao, load, loadAll, newUserPrinterEntity, printerUserToEntityList, query, query, remove, setAuditEntityDao, setPrinterEntityDao, setTaskEntityDao, setUserEntityDao, toPrinterUserList, toUsuariImpressora, toUsuariImpressora, toUsuariImpressoraList, usuariImpressoraToEntity, usuariImpressoraToEntity, usuariImpressoraToEntityList
-
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
-
-
-
-
Method Detail
-
update
public void update(UserPrinterEntity usuariImpressora)
Description copied from class:UserPrinterEntityDaoBase
Updates an instance ofUserPrinterEntity
at the persistent store.- Specified by:
update
in interfaceUserPrinterEntityDao
- Overrides:
update
in classUserPrinterEntityDaoBase
-
create
public void create(UserPrinterEntity usuariImpressora) throws RuntimeException
Description copied from class:UserPrinterEntityDaoBase
Adds an instance ofUserPrinterEntity
to the persistent store.- Specified by:
create
in interfaceUserPrinterEntityDao
- Overrides:
create
in classUserPrinterEntityDaoBase
- Throws:
RuntimeException
-
remove
public void remove(UserPrinterEntity usuariImpressora) throws RuntimeException
Description copied from class:UserPrinterEntityDaoBase
Removes an instance ofUserPrinterEntity
from the persistent store.- Specified by:
remove
in interfaceUserPrinterEntityDao
- Overrides:
remove
in classUserPrinterEntityDaoBase
- Throws:
RuntimeException
-
toPrinterUser
public void toPrinterUser(UserPrinterEntity sourceEntity, com.soffid.iam.api.PrinterUser targetVO)
Description copied from class:UserPrinterEntityDaoBase
Copy data toPrinterUser
object- Specified by:
toPrinterUser
in interfaceUserPrinterEntityDao
- Overrides:
toPrinterUser
in classUserPrinterEntityDaoBase
-
toPrinterUser
public com.soffid.iam.api.PrinterUser toPrinterUser(UserPrinterEntity entity)
Description copied from class:UserPrinterEntityDaoBase
Transforms toPrinterUser
object- Specified by:
toPrinterUser
in interfaceUserPrinterEntityDao
- Overrides:
toPrinterUser
in classUserPrinterEntityDaoBase
- See Also:
es.caib.seycon.ng.model.UsuariImpressoraEntityDao#toUsuariImpressora(es.caib.seycon.ng.model.UsuariImpressoraEntity)
-
printerUserToEntity
public UserPrinterEntity printerUserToEntity(com.soffid.iam.api.PrinterUser usuariImpressora)
Description copied from class:UserPrinterEntityDaoBase
Transforms fromPrinterUser
object- Specified by:
printerUserToEntity
in interfaceUserPrinterEntityDao
- Overrides:
printerUserToEntity
in classUserPrinterEntityDaoBase
- See Also:
es.caib.seycon.ng.model.UsuariImpressoraEntityDao#usuariImpressoraToEntity(es.caib.seycon.ng.comu.UsuariImpressora)
-
printerUserToEntity
public void printerUserToEntity(com.soffid.iam.api.PrinterUser sourceVO, UserPrinterEntity targetEntity, boolean copyIfNull)
Description copied from class:UserPrinterEntityDaoBase
Copy data fromPrinterUser
object- Specified by:
printerUserToEntity
in interfaceUserPrinterEntityDao
- Overrides:
printerUserToEntity
in classUserPrinterEntityDaoBase
- See Also:
es.caib.seycon.ng.model.UsuariImpressoraEntityDao#usuariImpressoraToEntity(es.caib.seycon.ng.comu.UsuariImpressora, es.caib.seycon.ng.model.UsuariImpressoraEntity)
-
create
public void create(Collection entities)
Description copied from class:UserPrinterEntityDaoBase
Creates a collection ofUserPrinterEntity
and adds it to the persistent store.- Specified by:
create
in interfaceUserPrinterEntityDao
- Overrides:
create
in classUserPrinterEntityDaoBase
-
update
public void update(Collection entities)
Description copied from class:UserPrinterEntityDaoBase
Updates a collection ofUserPrinterEntity
in the persistent store.- Specified by:
update
in interfaceUserPrinterEntityDao
- Overrides:
update
in classUserPrinterEntityDaoBase
-
remove
public void remove(Collection entities)
Description copied from class:UserPrinterEntityDaoBase
Removes a collection ofUserPrinterEntity
from the persistent store.- Specified by:
remove
in interfaceUserPrinterEntityDao
- Overrides:
remove
in classUserPrinterEntityDaoBase
-
-