Package com.soffid.iam.model
Class PrinterGroupEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.PrinterGroupEntityDaoBase
-
- All Implemented Interfaces:
PrinterGroupEntityDao
,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
PrinterGroupEntityDaoImpl
public abstract class PrinterGroupEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements PrinterGroupEntityDao
DAO Base for Entity PrinterGroupEntity
-
-
Constructor Summary
Constructors Constructor Description PrinterGroupEntityDaoBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(PrinterGroupEntity entity)
Adds an instance ofPrinterGroupEntity
to the persistent store.void
create(Collection<? extends PrinterGroupEntity> entities)
Creates a collection ofPrinterGroupEntity
and adds it to the persistent store.List<PrinterGroupEntity>
findByGroup(CriteriaSearchConfiguration criteria, String group)
CriteriaSearchConfiguration implementationList<PrinterGroupEntity>
findByGroup(String group)
Operation findByGroupList<PrinterGroupEntity>
findByGroup(String queryString, CriteriaSearchConfiguration criteria, String group)
Internal implementationPrinterGroupEntity
findByGroupAndPrinter(CriteriaSearchConfiguration criteria, String group, String printer)
CriteriaSearchConfiguration implementationPrinterGroupEntity
findByGroupAndPrinter(String queryString, CriteriaSearchConfiguration criteria, String group, String printer)
Internal implementationPrinterGroupEntity
findByGroupAndPrinter(String group, String printer)
Operation findByGroupAndPrinterList<PrinterGroupEntity>
findByPrinter(CriteriaSearchConfiguration criteria, String printer)
CriteriaSearchConfiguration implementationList<PrinterGroupEntity>
findByPrinter(String printer)
Operation findByPrinterList<PrinterGroupEntity>
findByPrinter(String queryString, CriteriaSearchConfiguration criteria, String printer)
Internal implementationAuditEntityDao
getAuditEntityDao()
Gets reference toauditoriaEntityDao
.GroupEntityDao
getGroupEntityDao()
Gets reference togrupEntityDao
.com.soffid.iam.service.NetworkService
getNetworkService()
Gets reference toxarxaService
.PrinterEntityDao
getPrinterEntityDao()
Gets reference toimpressoraEntityDao
.TaskEntityDao
getTaskEntityDao()
Gets reference totasqueEntityDao
.PrinterGroupEntity
grupImpressoraToEntity(es.caib.seycon.ng.comu.GrupImpressora instance)
Transforms fromGrupImpressora
objectvoid
grupImpressoraToEntity(es.caib.seycon.ng.comu.GrupImpressora source, PrinterGroupEntity target, boolean copyIfNull)
Copy data fromGrupImpressora
objectList<PrinterGroupEntity>
grupImpressoraToEntityList(Collection<es.caib.seycon.ng.comu.GrupImpressora> instances)
Transforms fromPrinterGroup
listPrinterGroupEntity
load(Long id)
Loads an instance ofPrinterGroupEntity
from the persistent store.List<PrinterGroupEntity>
loadAll()
Loads all instances ofPrinterGroupEntity
from the persistent store.PrinterGroupEntity
newPrinterGroupEntity()
Creates an instance ofPrinterGroupEntity
.PrinterGroupEntity
printerGroupToEntity(com.soffid.iam.api.PrinterGroup instance)
Transforms fromPrinterGroup
objectvoid
printerGroupToEntity(com.soffid.iam.api.PrinterGroup source, PrinterGroupEntity target, boolean copyIfNull)
Copy data fromPrinterGroup
objectList<PrinterGroupEntity>
printerGroupToEntityList(Collection<com.soffid.iam.api.PrinterGroup> instances)
Transforms fromPrinterGroup
listList<PrinterGroupEntity>
query(String queryString, Parameter[] parameters)
Query ofPrinterGroupEntity
from the persistent store.List<PrinterGroupEntity>
query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofPrinterGroupEntity
from the persistent store.void
remove(PrinterGroupEntity entity)
Removes an instance ofPrinterGroupEntity
from the persistent store.void
remove(Long id)
Removes an instance ofPrinterGroupEntity
from the persistent store.void
remove(Collection<? extends PrinterGroupEntity> entities)
Removes a collection ofPrinterGroupEntity
from the persistent store.void
setAuditEntityDao(AuditEntityDao auditoriaEntityDao)
Sets reference toauditoriaEntityDao
.void
setGroupEntityDao(GroupEntityDao grupEntityDao)
Sets reference togrupEntityDao
.void
setNetworkService(com.soffid.iam.service.NetworkService xarxaService)
Sets reference toxarxaService
.void
setPrinterEntityDao(PrinterEntityDao impressoraEntityDao)
Sets reference toimpressoraEntityDao
.void
setTaskEntityDao(TaskEntityDao tasqueEntityDao)
Sets reference totasqueEntityDao
.es.caib.seycon.ng.comu.GrupImpressora
toGrupImpressora(PrinterGroupEntity entity)
Transforms toPrinterGroup
objectvoid
toGrupImpressora(PrinterGroupEntity source, es.caib.seycon.ng.comu.GrupImpressora target)
Copy data toGrupImpressora
objectList<es.caib.seycon.ng.comu.GrupImpressora>
toGrupImpressoraList(Collection<PrinterGroupEntity> instances)
Transforms toGrupImpressora
listcom.soffid.iam.api.PrinterGroup
toPrinterGroup(PrinterGroupEntity entity)
Transforms toPrinterGroup
objectvoid
toPrinterGroup(PrinterGroupEntity source, com.soffid.iam.api.PrinterGroup target)
Copy data toPrinterGroup
objectList<com.soffid.iam.api.PrinterGroup>
toPrinterGroupList(Collection<PrinterGroupEntity> instances)
Transforms toPrinterGroup
listvoid
update(PrinterGroupEntity entity)
Updates an instance ofPrinterGroupEntity
at the persistent store.void
update(Collection<? extends PrinterGroupEntity> entities)
Updates a collection ofPrinterGroupEntity
in the persistent store.-
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
-
-
-
-
Method Detail
-
setAuditEntityDao
public void setAuditEntityDao(AuditEntityDao auditoriaEntityDao)
Sets reference toauditoriaEntityDao
.
-
getAuditEntityDao
public AuditEntityDao getAuditEntityDao()
Gets reference toauditoriaEntityDao
.
-
setGroupEntityDao
public void setGroupEntityDao(GroupEntityDao grupEntityDao)
Sets reference togrupEntityDao
.
-
getGroupEntityDao
public GroupEntityDao getGroupEntityDao()
Gets reference togrupEntityDao
.
-
setPrinterEntityDao
public void setPrinterEntityDao(PrinterEntityDao impressoraEntityDao)
Sets reference toimpressoraEntityDao
.
-
getPrinterEntityDao
public PrinterEntityDao getPrinterEntityDao()
Gets reference toimpressoraEntityDao
.
-
setTaskEntityDao
public void setTaskEntityDao(TaskEntityDao tasqueEntityDao)
Sets reference totasqueEntityDao
.
-
getTaskEntityDao
public TaskEntityDao getTaskEntityDao()
Gets reference totasqueEntityDao
.
-
setNetworkService
public void setNetworkService(com.soffid.iam.service.NetworkService xarxaService)
Sets reference toxarxaService
.
-
getNetworkService
public com.soffid.iam.service.NetworkService getNetworkService()
Gets reference toxarxaService
.
-
findByGroupAndPrinter
public PrinterGroupEntity findByGroupAndPrinter(String group, String printer)
Operation findByGroupAndPrinter- Specified by:
findByGroupAndPrinter
in interfacePrinterGroupEntityDao
- Parameters:
group
-printer
-- Returns:
-
findByGroupAndPrinter
public PrinterGroupEntity findByGroupAndPrinter(CriteriaSearchConfiguration criteria, String group, String printer)
CriteriaSearchConfiguration implementation- Specified by:
findByGroupAndPrinter
in interfacePrinterGroupEntityDao
-
findByGroupAndPrinter
public PrinterGroupEntity findByGroupAndPrinter(String queryString, CriteriaSearchConfiguration criteria, String group, String printer)
Internal implementation
-
findByGroup
public List<PrinterGroupEntity> findByGroup(String group)
Operation findByGroup- Specified by:
findByGroup
in interfacePrinterGroupEntityDao
- Parameters:
group
-- Returns:
-
findByGroup
public List<PrinterGroupEntity> findByGroup(CriteriaSearchConfiguration criteria, String group)
CriteriaSearchConfiguration implementation- Specified by:
findByGroup
in interfacePrinterGroupEntityDao
-
findByGroup
public List<PrinterGroupEntity> findByGroup(String queryString, CriteriaSearchConfiguration criteria, String group)
Internal implementation
-
findByPrinter
public List<PrinterGroupEntity> findByPrinter(String printer)
Operation findByPrinter- Specified by:
findByPrinter
in interfacePrinterGroupEntityDao
- Parameters:
printer
-- Returns:
-
findByPrinter
public List<PrinterGroupEntity> findByPrinter(CriteriaSearchConfiguration criteria, String printer)
CriteriaSearchConfiguration implementation- Specified by:
findByPrinter
in interfacePrinterGroupEntityDao
-
findByPrinter
public List<PrinterGroupEntity> findByPrinter(String queryString, CriteriaSearchConfiguration criteria, String printer)
Internal implementation
-
toPrinterGroup
public void toPrinterGroup(PrinterGroupEntity source, com.soffid.iam.api.PrinterGroup target)
Copy data toPrinterGroup
object- Specified by:
toPrinterGroup
in interfacePrinterGroupEntityDao
-
toPrinterGroup
public com.soffid.iam.api.PrinterGroup toPrinterGroup(PrinterGroupEntity entity)
Transforms toPrinterGroup
object- Specified by:
toPrinterGroup
in interfacePrinterGroupEntityDao
-
toPrinterGroupList
public List<com.soffid.iam.api.PrinterGroup> toPrinterGroupList(Collection<PrinterGroupEntity> instances)
Transforms toPrinterGroup
list- Specified by:
toPrinterGroupList
in interfacePrinterGroupEntityDao
-
printerGroupToEntity
public void printerGroupToEntity(com.soffid.iam.api.PrinterGroup source, PrinterGroupEntity target, boolean copyIfNull)
Copy data fromPrinterGroup
object- Specified by:
printerGroupToEntity
in interfacePrinterGroupEntityDao
-
printerGroupToEntity
public PrinterGroupEntity printerGroupToEntity(com.soffid.iam.api.PrinterGroup instance)
Transforms fromPrinterGroup
object- Specified by:
printerGroupToEntity
in interfacePrinterGroupEntityDao
-
printerGroupToEntityList
public List<PrinterGroupEntity> printerGroupToEntityList(Collection<com.soffid.iam.api.PrinterGroup> instances)
Transforms fromPrinterGroup
list- Specified by:
printerGroupToEntityList
in interfacePrinterGroupEntityDao
-
toGrupImpressora
public void toGrupImpressora(PrinterGroupEntity source, es.caib.seycon.ng.comu.GrupImpressora target)
Description copied from interface:PrinterGroupEntityDao
Copy data toGrupImpressora
object- Specified by:
toGrupImpressora
in interfacePrinterGroupEntityDao
-
toGrupImpressora
public es.caib.seycon.ng.comu.GrupImpressora toGrupImpressora(PrinterGroupEntity entity)
Transforms toPrinterGroup
object- Specified by:
toGrupImpressora
in interfacePrinterGroupEntityDao
-
toGrupImpressoraList
public List<es.caib.seycon.ng.comu.GrupImpressora> toGrupImpressoraList(Collection<PrinterGroupEntity> instances)
Transforms toGrupImpressora
list- Specified by:
toGrupImpressoraList
in interfacePrinterGroupEntityDao
-
grupImpressoraToEntity
public void grupImpressoraToEntity(es.caib.seycon.ng.comu.GrupImpressora source, PrinterGroupEntity target, boolean copyIfNull)
Copy data fromGrupImpressora
object- Specified by:
grupImpressoraToEntity
in interfacePrinterGroupEntityDao
-
grupImpressoraToEntity
public PrinterGroupEntity grupImpressoraToEntity(es.caib.seycon.ng.comu.GrupImpressora instance)
Transforms fromGrupImpressora
object- Specified by:
grupImpressoraToEntity
in interfacePrinterGroupEntityDao
-
grupImpressoraToEntityList
public List<PrinterGroupEntity> grupImpressoraToEntityList(Collection<es.caib.seycon.ng.comu.GrupImpressora> instances)
Transforms fromPrinterGroup
list- Specified by:
grupImpressoraToEntityList
in interfacePrinterGroupEntityDao
-
newPrinterGroupEntity
public PrinterGroupEntity newPrinterGroupEntity()
Creates an instance ofPrinterGroupEntity
.- Specified by:
newPrinterGroupEntity
in interfacePrinterGroupEntityDao
-
load
public PrinterGroupEntity load(Long id)
Loads an instance ofPrinterGroupEntity
from the persistent store.- Specified by:
load
in interfacePrinterGroupEntityDao
-
loadAll
public List<PrinterGroupEntity> loadAll()
Loads all instances ofPrinterGroupEntity
from the persistent store.- Specified by:
loadAll
in interfacePrinterGroupEntityDao
-
create
public void create(PrinterGroupEntity entity)
Adds an instance ofPrinterGroupEntity
to the persistent store.- Specified by:
create
in interfacePrinterGroupEntityDao
-
update
public void update(PrinterGroupEntity entity)
Updates an instance ofPrinterGroupEntity
at the persistent store.- Specified by:
update
in interfacePrinterGroupEntityDao
-
remove
public void remove(PrinterGroupEntity entity)
Removes an instance ofPrinterGroupEntity
from the persistent store.- Specified by:
remove
in interfacePrinterGroupEntityDao
-
create
public void create(Collection<? extends PrinterGroupEntity> entities)
Creates a collection ofPrinterGroupEntity
and adds it to the persistent store.- Specified by:
create
in interfacePrinterGroupEntityDao
-
update
public void update(Collection<? extends PrinterGroupEntity> entities)
Updates a collection ofPrinterGroupEntity
in the persistent store.- Specified by:
update
in interfacePrinterGroupEntityDao
-
remove
public void remove(Collection<? extends PrinterGroupEntity> entities)
Removes a collection ofPrinterGroupEntity
from the persistent store.- Specified by:
remove
in interfacePrinterGroupEntityDao
-
remove
public void remove(Long id)
Removes an instance ofPrinterGroupEntity
from the persistent store.- Specified by:
remove
in interfacePrinterGroupEntityDao
-
query
public List<PrinterGroupEntity> query(String queryString, Parameter[] parameters)
Query ofPrinterGroupEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
query
in interfacePrinterGroupEntityDao
-
query
public List<PrinterGroupEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofPrinterGroupEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return- Specified by:
query
in interfacePrinterGroupEntityDao
-
-