Package com.soffid.iam.model
Interface PrinterEntityDao
-
- All Known Implementing Classes:
PrinterEntityDaoBase
,PrinterEntityDaoImpl
public interface PrinterEntityDao
DAO for Entity PrinterEntity- See Also:
es.caib.seycon.ng.model.ImpressoraEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
create(PrinterEntity entity)
Adds an instance ofPrinterEntity
to the persistent store.void
create(Collection<? extends PrinterEntity> entities)
Creates a collection ofPrinterEntity
and adds it to the persistent store.PrinterEntity
findByName(CriteriaSearchConfiguration criteria, String name)
CriteriaSearchConfiguration finderPrinterEntity
findByName(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 findPrintersByCriteriaPrinterEntity
impressoraToEntity(es.caib.seycon.ng.comu.Impressora instance)
Transforms fromImpressora
objectvoid
impressoraToEntity(es.caib.seycon.ng.comu.Impressora source, PrinterEntity target, boolean copyIfNull)
Copy data fromImpressora
objectList<PrinterEntity>
impressoraToEntityList(Collection<es.caib.seycon.ng.comu.Impressora> instances)
Transforms fromImpressora
listPrinterEntity
load(Long id)
Loads an instance ofPrinterEntity
from the persistent store.List<PrinterEntity>
loadAll()
Loads all instances ofPrinterEntity
from the persistent store.PrinterEntity
newPrinterEntity()
Creates an instance ofPrinterEntity
.PrinterEntity
printerToEntity(com.soffid.iam.api.Printer instance)
Transforms fromPrinter
objectvoid
printerToEntity(com.soffid.iam.api.Printer source, PrinterEntity target, boolean copyIfNull)
Copy data fromPrinter
objectList<PrinterEntity>
printerToEntityList(Collection<com.soffid.iam.api.Printer> instances)
Transforms fromPrinter
listList<PrinterEntity>
query(String query, Parameter[] parameters)
Query ofPrinterEntity
from the persistent store.List<PrinterEntity>
query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofPrinterEntity
from the persistent store.void
remove(PrinterEntity entity)
Removes an instance ofPrinterEntity
from the persistent store.void
remove(Long id)
Removes an instance ofPrinterEntity
from the persistent store.void
remove(Collection<? extends PrinterEntity> entities)
Removes a collection ofPrinterEntity
from the persistent store.es.caib.seycon.ng.comu.Impressora
toImpressora(PrinterEntity entity)
Transforms toImpressora
objectvoid
toImpressora(PrinterEntity source, es.caib.seycon.ng.comu.Impressora target)
Copy data toImpressora
objectList<es.caib.seycon.ng.comu.Impressora>
toImpressoraList(Collection<PrinterEntity> entities)
Transforms toImpressora
listcom.soffid.iam.api.Printer
toPrinter(PrinterEntity entity)
Transforms toPrinter
objectvoid
toPrinter(PrinterEntity source, com.soffid.iam.api.Printer target)
Copy data toPrinter
objectList<com.soffid.iam.api.Printer>
toPrinterList(Collection<PrinterEntity> entities)
Transforms toPrinter
listvoid
update(PrinterEntity entity)
Updates an instance ofPrinterEntity
at the persistent store.void
update(Collection<? extends PrinterEntity> entities)
Updates a collection ofPrinterEntity
in 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 toPrinter
object
-
toPrinter
com.soffid.iam.api.Printer toPrinter(PrinterEntity entity)
Transforms toPrinter
object
-
toPrinterList
List<com.soffid.iam.api.Printer> toPrinterList(Collection<PrinterEntity> entities)
Transforms toPrinter
list
-
printerToEntity
void printerToEntity(com.soffid.iam.api.Printer source, PrinterEntity target, boolean copyIfNull)
Copy data fromPrinter
object
-
printerToEntity
PrinterEntity printerToEntity(com.soffid.iam.api.Printer instance)
Transforms fromPrinter
object
-
printerToEntityList
List<PrinterEntity> printerToEntityList(Collection<com.soffid.iam.api.Printer> instances)
Transforms fromPrinter
list
-
toImpressora
void toImpressora(PrinterEntity source, es.caib.seycon.ng.comu.Impressora target)
Copy data toImpressora
object
-
toImpressora
es.caib.seycon.ng.comu.Impressora toImpressora(PrinterEntity entity)
Transforms toImpressora
object
-
toImpressoraList
List<es.caib.seycon.ng.comu.Impressora> toImpressoraList(Collection<PrinterEntity> entities)
Transforms toImpressora
list
-
impressoraToEntity
void impressoraToEntity(es.caib.seycon.ng.comu.Impressora source, PrinterEntity target, boolean copyIfNull)
Copy data fromImpressora
object
-
impressoraToEntity
PrinterEntity impressoraToEntity(es.caib.seycon.ng.comu.Impressora instance)
Transforms fromImpressora
object
-
impressoraToEntityList
List<PrinterEntity> impressoraToEntityList(Collection<es.caib.seycon.ng.comu.Impressora> instances)
Transforms fromImpressora
list
-
newPrinterEntity
PrinterEntity newPrinterEntity()
Creates an instance ofPrinterEntity
.
-
create
void create(PrinterEntity entity)
Adds an instance ofPrinterEntity
to the persistent store.
-
update
void update(PrinterEntity entity)
Updates an instance ofPrinterEntity
at the persistent store.
-
remove
void remove(PrinterEntity entity)
Removes an instance ofPrinterEntity
from the persistent store.
-
load
PrinterEntity load(Long id)
Loads an instance ofPrinterEntity
from the persistent store.
-
loadAll
List<PrinterEntity> loadAll()
Loads all instances ofPrinterEntity
from the persistent store.
-
create
void create(Collection<? extends PrinterEntity> entities)
Creates a collection ofPrinterEntity
and adds it to the persistent store.
-
update
void update(Collection<? extends PrinterEntity> entities)
Updates a collection ofPrinterEntity
in the persistent store.
-
remove
void remove(Collection<? extends PrinterEntity> entities)
Removes a collection ofPrinterEntity
from the persistent store.
-
remove
void remove(Long id)
Removes an instance ofPrinterEntity
from the persistent store.
-
query
List<PrinterEntity> query(String query, Parameter[] parameters)
Query ofPrinterEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters
-
query
List<PrinterEntity> query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofPrinterEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return
-
-