Package com.soffid.iam.model
Interface PrinterEntityDao
-
- All Known Implementing Classes:
PrinterEntityDaoBase,PrinterEntityDaoImpl
public interface PrinterEntityDaoDAO for Entity PrinterEntity- See Also:
es.caib.seycon.ng.model.ImpressoraEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreate(PrinterEntity entity)Adds an instance ofPrinterEntityto the persistent store.voidcreate(Collection<? extends PrinterEntity> entities)Creates a collection ofPrinterEntityand adds it to the persistent store.PrinterEntityfindByName(CriteriaSearchConfiguration criteria, String name)CriteriaSearchConfiguration finderPrinterEntityfindByName(String name)Operation findByNameList<PrinterEntity>findPrintersByCriteria(CriteriaSearchConfiguration criteria, String model, String name, String local, String host)CriteriaSearchConfiguration finderList<PrinterEntity>findPrintersByCriteria(String model, String name, String local, String host)Operation findPrintersByCriteriaPrinterEntityimpressoraToEntity(es.caib.seycon.ng.comu.Impressora instance)Transforms fromImpressoraobjectvoidimpressoraToEntity(es.caib.seycon.ng.comu.Impressora source, PrinterEntity target, boolean copyIfNull)Copy data fromImpressoraobjectList<PrinterEntity>impressoraToEntityList(Collection<es.caib.seycon.ng.comu.Impressora> instances)Transforms fromImpressoralistPrinterEntityload(Long id)Loads an instance ofPrinterEntityfrom the persistent store.List<PrinterEntity>loadAll()Loads all instances ofPrinterEntityfrom the persistent store.PrinterEntitynewPrinterEntity()Creates an instance ofPrinterEntity.PrinterEntityprinterToEntity(com.soffid.iam.api.Printer instance)Transforms fromPrinterobjectvoidprinterToEntity(com.soffid.iam.api.Printer source, PrinterEntity target, boolean copyIfNull)Copy data fromPrinterobjectList<PrinterEntity>printerToEntityList(Collection<com.soffid.iam.api.Printer> instances)Transforms fromPrinterlistList<PrinterEntity>query(String query, Parameter[] parameters)Query ofPrinterEntityfrom the persistent store.List<PrinterEntity>query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofPrinterEntityfrom the persistent store.voidremove(PrinterEntity entity)Removes an instance ofPrinterEntityfrom the persistent store.voidremove(Long id)Removes an instance ofPrinterEntityfrom the persistent store.voidremove(Collection<? extends PrinterEntity> entities)Removes a collection ofPrinterEntityfrom the persistent store.es.caib.seycon.ng.comu.ImpressoratoImpressora(PrinterEntity entity)Transforms toImpressoraobjectvoidtoImpressora(PrinterEntity source, es.caib.seycon.ng.comu.Impressora target)Copy data toImpressoraobjectList<es.caib.seycon.ng.comu.Impressora>toImpressoraList(Collection<PrinterEntity> entities)Transforms toImpressoralistcom.soffid.iam.api.PrintertoPrinter(PrinterEntity entity)Transforms toPrinterobjectvoidtoPrinter(PrinterEntity source, com.soffid.iam.api.Printer target)Copy data toPrinterobjectList<com.soffid.iam.api.Printer>toPrinterList(Collection<PrinterEntity> entities)Transforms toPrinterlistvoidupdate(PrinterEntity entity)Updates an instance ofPrinterEntityat the persistent store.voidupdate(Collection<? extends PrinterEntity> entities)Updates a collection ofPrinterEntityin the persistent store.
-
-
-
Method Detail
-
findByName
PrinterEntity findByName(String name)
Operation findByName- Parameters:
name-- Returns:
-
findByName
PrinterEntity findByName(CriteriaSearchConfiguration criteria, String name)
CriteriaSearchConfiguration finder
-
findPrintersByCriteria
List<PrinterEntity> findPrintersByCriteria(String model, String name, String local, String host)
Operation findPrintersByCriteria- Parameters:
model-name-local-host-- Returns:
-
findPrintersByCriteria
List<PrinterEntity> findPrintersByCriteria(CriteriaSearchConfiguration criteria, String model, String name, String local, String host)
CriteriaSearchConfiguration finder
-
toPrinter
void toPrinter(PrinterEntity source, com.soffid.iam.api.Printer target)
Copy data toPrinterobject
-
toPrinter
com.soffid.iam.api.Printer toPrinter(PrinterEntity entity)
Transforms toPrinterobject
-
toPrinterList
List<com.soffid.iam.api.Printer> toPrinterList(Collection<PrinterEntity> entities)
Transforms toPrinterlist
-
printerToEntity
void printerToEntity(com.soffid.iam.api.Printer source, PrinterEntity target, boolean copyIfNull)Copy data fromPrinterobject
-
printerToEntity
PrinterEntity printerToEntity(com.soffid.iam.api.Printer instance)
Transforms fromPrinterobject
-
printerToEntityList
List<PrinterEntity> printerToEntityList(Collection<com.soffid.iam.api.Printer> instances)
Transforms fromPrinterlist
-
toImpressora
void toImpressora(PrinterEntity source, es.caib.seycon.ng.comu.Impressora target)
Copy data toImpressoraobject
-
toImpressora
es.caib.seycon.ng.comu.Impressora toImpressora(PrinterEntity entity)
Transforms toImpressoraobject
-
toImpressoraList
List<es.caib.seycon.ng.comu.Impressora> toImpressoraList(Collection<PrinterEntity> entities)
Transforms toImpressoralist
-
impressoraToEntity
void impressoraToEntity(es.caib.seycon.ng.comu.Impressora source, PrinterEntity target, boolean copyIfNull)Copy data fromImpressoraobject
-
impressoraToEntity
PrinterEntity impressoraToEntity(es.caib.seycon.ng.comu.Impressora instance)
Transforms fromImpressoraobject
-
impressoraToEntityList
List<PrinterEntity> impressoraToEntityList(Collection<es.caib.seycon.ng.comu.Impressora> instances)
Transforms fromImpressoralist
-
newPrinterEntity
PrinterEntity newPrinterEntity()
Creates an instance ofPrinterEntity.
-
create
void create(PrinterEntity entity)
Adds an instance ofPrinterEntityto the persistent store.
-
update
void update(PrinterEntity entity)
Updates an instance ofPrinterEntityat the persistent store.
-
remove
void remove(PrinterEntity entity)
Removes an instance ofPrinterEntityfrom the persistent store.
-
load
PrinterEntity load(Long id)
Loads an instance ofPrinterEntityfrom the persistent store.
-
loadAll
List<PrinterEntity> loadAll()
Loads all instances ofPrinterEntityfrom the persistent store.
-
create
void create(Collection<? extends PrinterEntity> entities)
Creates a collection ofPrinterEntityand adds it to the persistent store.
-
update
void update(Collection<? extends PrinterEntity> entities)
Updates a collection ofPrinterEntityin the persistent store.
-
remove
void remove(Collection<? extends PrinterEntity> entities)
Removes a collection ofPrinterEntityfrom the persistent store.
-
remove
void remove(Long id)
Removes an instance ofPrinterEntityfrom the persistent store.
-
query
List<PrinterEntity> query(String query, Parameter[] parameters)
Query ofPrinterEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters
-
query
List<PrinterEntity> query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofPrinterEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return
-
-