Package com.soffid.iam.model
Class PrinterEntityDaoImpl
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.PrinterEntityDaoBase
-
- com.soffid.iam.model.PrinterEntityDaoImpl
-
- All Implemented Interfaces:
PrinterEntityDao
,org.springframework.beans.factory.InitializingBean
public class PrinterEntityDaoImpl extends PrinterEntityDaoBase
- See Also:
es.caib.seycon.ng.model.ImpressoraEntity
-
-
Constructor Summary
Constructors Constructor Description PrinterEntityDaoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(PrinterEntity impressora)
Adds an instance ofPrinterEntity
to the persistent store.void
create(Collection entities)
Creates a collection ofPrinterEntity
and adds it to the persistent store.void
impressoraToEntityCustom(com.soffid.iam.api.Printer sourceVO, PrinterEntity targetEntity)
PrinterEntity
printerToEntity(com.soffid.iam.api.Printer impressora)
Transforms fromPrinter
objectvoid
printerToEntity(com.soffid.iam.api.Printer sourceVO, PrinterEntity targetEntity, boolean copyIfNull)
Copy data fromPrinter
objectvoid
remove(PrinterEntity impressora)
Removes an instance ofPrinterEntity
from the persistent store.void
remove(Collection entities)
Removes a collection ofPrinterEntity
from the persistent store.void
toImpressoraCustom(PrinterEntity sourceEntity, com.soffid.iam.api.Printer targetVO)
com.soffid.iam.api.Printer
toPrinter(PrinterEntity entity)
Transforms toPrinter
objectvoid
toPrinter(PrinterEntity sourceEntity, com.soffid.iam.api.Printer targetVO)
Copy data toPrinter
objectvoid
update(PrinterEntity impressora)
Updates an instance ofPrinterEntity
at the persistent store.void
update(Collection entities)
Updates a collection ofPrinterEntity
in the persistent store.-
Methods inherited from class com.soffid.iam.model.PrinterEntityDaoBase
findByName, findByName, findByName, findPrintersByCriteria, findPrintersByCriteria, findPrintersByCriteria, getAuditEntityDao, getHostEntityDao, getPrinterGroupEntityDao, getTaskEntityDao, getTenantEntityDao, getUserPrinterEntityDao, impressoraToEntity, impressoraToEntity, impressoraToEntityList, load, loadAll, newPrinterEntity, printerToEntityList, query, query, remove, setAuditEntityDao, setHostEntityDao, setPrinterGroupEntityDao, setTaskEntityDao, setTenantEntityDao, setUserPrinterEntityDao, toImpressora, toImpressora, toImpressoraList, toPrinterList
-
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(PrinterEntity impressora) throws RuntimeException
Description copied from class:PrinterEntityDaoBase
Adds an instance ofPrinterEntity
to the persistent store.- Specified by:
create
in interfacePrinterEntityDao
- Overrides:
create
in classPrinterEntityDaoBase
- Throws:
RuntimeException
-
remove
public void remove(PrinterEntity impressora) throws RuntimeException
Description copied from class:PrinterEntityDaoBase
Removes an instance ofPrinterEntity
from the persistent store.- Specified by:
remove
in interfacePrinterEntityDao
- Overrides:
remove
in classPrinterEntityDaoBase
- Throws:
RuntimeException
-
update
public void update(PrinterEntity impressora) throws RuntimeException
Description copied from class:PrinterEntityDaoBase
Updates an instance ofPrinterEntity
at the persistent store.- Specified by:
update
in interfacePrinterEntityDao
- Overrides:
update
in classPrinterEntityDaoBase
- Throws:
RuntimeException
-
toPrinter
public void toPrinter(PrinterEntity sourceEntity, com.soffid.iam.api.Printer targetVO)
Description copied from class:PrinterEntityDaoBase
Copy data toPrinter
object- Specified by:
toPrinter
in interfacePrinterEntityDao
- Overrides:
toPrinter
in classPrinterEntityDaoBase
-
toImpressoraCustom
public void toImpressoraCustom(PrinterEntity sourceEntity, com.soffid.iam.api.Printer targetVO)
-
toPrinter
public com.soffid.iam.api.Printer toPrinter(PrinterEntity entity)
Description copied from class:PrinterEntityDaoBase
Transforms toPrinter
object- Specified by:
toPrinter
in interfacePrinterEntityDao
- Overrides:
toPrinter
in classPrinterEntityDaoBase
- See Also:
es.caib.seycon.ng.model.ImpressoraEntityDao#toImpressora(es.caib.seycon.ng.model.ImpressoraEntity)
-
printerToEntity
public PrinterEntity printerToEntity(com.soffid.iam.api.Printer impressora)
Description copied from class:PrinterEntityDaoBase
Transforms fromPrinter
object- Specified by:
printerToEntity
in interfacePrinterEntityDao
- Overrides:
printerToEntity
in classPrinterEntityDaoBase
- See Also:
es.caib.seycon.ng.model.ImpressoraEntityDao#impressoraToEntity(es.caib.seycon.ng.comu.Impressora)
-
impressoraToEntityCustom
public void impressoraToEntityCustom(com.soffid.iam.api.Printer sourceVO, PrinterEntity targetEntity)
-
printerToEntity
public void printerToEntity(com.soffid.iam.api.Printer sourceVO, PrinterEntity targetEntity, boolean copyIfNull)
Description copied from class:PrinterEntityDaoBase
Copy data fromPrinter
object- Specified by:
printerToEntity
in interfacePrinterEntityDao
- Overrides:
printerToEntity
in classPrinterEntityDaoBase
- See Also:
es.caib.seycon.ng.model.ImpressoraEntityDao#impressoraToEntity(es.caib.seycon.ng.comu.Impressora, es.caib.seycon.ng.model.ImpressoraEntity)
-
create
public void create(Collection entities)
Description copied from class:PrinterEntityDaoBase
Creates a collection ofPrinterEntity
and adds it to the persistent store.- Specified by:
create
in interfacePrinterEntityDao
- Overrides:
create
in classPrinterEntityDaoBase
-
update
public void update(Collection entities)
Description copied from class:PrinterEntityDaoBase
Updates a collection ofPrinterEntity
in the persistent store.- Specified by:
update
in interfacePrinterEntityDao
- Overrides:
update
in classPrinterEntityDaoBase
-
remove
public void remove(Collection entities)
Description copied from class:PrinterEntityDaoBase
Removes a collection ofPrinterEntity
from the persistent store.- Specified by:
remove
in interfacePrinterEntityDao
- Overrides:
remove
in classPrinterEntityDaoBase
-
-