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 voidcreate(PrinterEntity impressora)Adds an instance ofPrinterEntityto the persistent store.voidcreate(Collection entities)Creates a collection ofPrinterEntityand adds it to the persistent store.voidimpressoraToEntityCustom(com.soffid.iam.api.Printer sourceVO, PrinterEntity targetEntity)PrinterEntityprinterToEntity(com.soffid.iam.api.Printer impressora)Transforms fromPrinterobjectvoidprinterToEntity(com.soffid.iam.api.Printer sourceVO, PrinterEntity targetEntity, boolean copyIfNull)Copy data fromPrinterobjectvoidremove(PrinterEntity impressora)Removes an instance ofPrinterEntityfrom the persistent store.voidremove(Collection entities)Removes a collection ofPrinterEntityfrom the persistent store.voidtoImpressoraCustom(PrinterEntity sourceEntity, com.soffid.iam.api.Printer targetVO)com.soffid.iam.api.PrintertoPrinter(PrinterEntity entity)Transforms toPrinterobjectvoidtoPrinter(PrinterEntity sourceEntity, com.soffid.iam.api.Printer targetVO)Copy data toPrinterobjectvoidupdate(PrinterEntity impressora)Updates an instance ofPrinterEntityat the persistent store.voidupdate(Collection entities)Updates a collection ofPrinterEntityin 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:PrinterEntityDaoBaseAdds an instance ofPrinterEntityto the persistent store.- Specified by:
createin interfacePrinterEntityDao- Overrides:
createin classPrinterEntityDaoBase- Throws:
RuntimeException
-
remove
public void remove(PrinterEntity impressora) throws RuntimeException
Description copied from class:PrinterEntityDaoBaseRemoves an instance ofPrinterEntityfrom the persistent store.- Specified by:
removein interfacePrinterEntityDao- Overrides:
removein classPrinterEntityDaoBase- Throws:
RuntimeException
-
update
public void update(PrinterEntity impressora) throws RuntimeException
Description copied from class:PrinterEntityDaoBaseUpdates an instance ofPrinterEntityat the persistent store.- Specified by:
updatein interfacePrinterEntityDao- Overrides:
updatein classPrinterEntityDaoBase- Throws:
RuntimeException
-
toPrinter
public void toPrinter(PrinterEntity sourceEntity, com.soffid.iam.api.Printer targetVO)
Description copied from class:PrinterEntityDaoBaseCopy data toPrinterobject- Specified by:
toPrinterin interfacePrinterEntityDao- Overrides:
toPrinterin 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:PrinterEntityDaoBaseTransforms toPrinterobject- Specified by:
toPrinterin interfacePrinterEntityDao- Overrides:
toPrinterin 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:PrinterEntityDaoBaseTransforms fromPrinterobject- Specified by:
printerToEntityin interfacePrinterEntityDao- Overrides:
printerToEntityin 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:PrinterEntityDaoBaseCopy data fromPrinterobject- Specified by:
printerToEntityin interfacePrinterEntityDao- Overrides:
printerToEntityin 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:PrinterEntityDaoBaseCreates a collection ofPrinterEntityand adds it to the persistent store.- Specified by:
createin interfacePrinterEntityDao- Overrides:
createin classPrinterEntityDaoBase
-
update
public void update(Collection entities)
Description copied from class:PrinterEntityDaoBaseUpdates a collection ofPrinterEntityin the persistent store.- Specified by:
updatein interfacePrinterEntityDao- Overrides:
updatein classPrinterEntityDaoBase
-
remove
public void remove(Collection entities)
Description copied from class:PrinterEntityDaoBaseRemoves a collection ofPrinterEntityfrom the persistent store.- Specified by:
removein interfacePrinterEntityDao- Overrides:
removein classPrinterEntityDaoBase
-
-