Package com.soffid.iam.model
Class UserPrinterEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.UserPrinterEntityDaoBase
-
- All Implemented Interfaces:
UserPrinterEntityDao,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
UserPrinterEntityDaoImpl
public abstract class UserPrinterEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements UserPrinterEntityDao
DAO Base for Entity UserPrinterEntity
-
-
Constructor Summary
Constructors Constructor Description UserPrinterEntityDaoBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate(UserPrinterEntity entity)Adds an instance ofUserPrinterEntityto the persistent store.voidcreate(Collection<? extends UserPrinterEntity> entities)Creates a collection ofUserPrinterEntityand adds it to the persistent store.List<UserPrinterEntity>findByPrinter(CriteriaSearchConfiguration criteria, String printer)CriteriaSearchConfiguration implementationList<UserPrinterEntity>findByPrinter(String printer)Operation findByPrinterList<UserPrinterEntity>findByPrinter(String queryString, CriteriaSearchConfiguration criteria, String printer)Internal implementationList<UserPrinterEntity>findByUser(CriteriaSearchConfiguration criteria, String userName)CriteriaSearchConfiguration implementationList<UserPrinterEntity>findByUser(String userName)Operation findByUserList<UserPrinterEntity>findByUser(String queryString, CriteriaSearchConfiguration criteria, String userName)Internal implementationUserPrinterEntityfindUserByUserAndPrinter(CriteriaSearchConfiguration criteria, String userName, String printer)CriteriaSearchConfiguration implementationUserPrinterEntityfindUserByUserAndPrinter(String queryString, CriteriaSearchConfiguration criteria, String userName, String printer)Internal implementationUserPrinterEntityfindUserByUserAndPrinter(String userName, String printer)Operation findUserByUserAndPrinterAuditEntityDaogetAuditEntityDao()Gets reference toauditoriaEntityDao.PrinterEntityDaogetPrinterEntityDao()Gets reference toimpressoraEntityDao.TaskEntityDaogetTaskEntityDao()Gets reference totasqueEntityDao.UserEntityDaogetUserEntityDao()Gets reference tousuariEntityDao.UserPrinterEntityload(Long id)Loads an instance ofUserPrinterEntityfrom the persistent store.List<UserPrinterEntity>loadAll()Loads all instances ofUserPrinterEntityfrom the persistent store.UserPrinterEntitynewUserPrinterEntity()Creates an instance ofUserPrinterEntity.UserPrinterEntityprinterUserToEntity(com.soffid.iam.api.PrinterUser instance)Transforms fromPrinterUserobjectvoidprinterUserToEntity(com.soffid.iam.api.PrinterUser source, UserPrinterEntity target, boolean copyIfNull)Copy data fromPrinterUserobjectList<UserPrinterEntity>printerUserToEntityList(Collection<com.soffid.iam.api.PrinterUser> instances)Transforms fromPrinterUserlistList<UserPrinterEntity>query(String queryString, Parameter[] parameters)Query ofUserPrinterEntityfrom the persistent store.List<UserPrinterEntity>query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofUserPrinterEntityfrom the persistent store.voidremove(UserPrinterEntity entity)Removes an instance ofUserPrinterEntityfrom the persistent store.voidremove(Long id)Removes an instance ofUserPrinterEntityfrom the persistent store.voidremove(Collection<? extends UserPrinterEntity> entities)Removes a collection ofUserPrinterEntityfrom the persistent store.voidsetAuditEntityDao(AuditEntityDao auditoriaEntityDao)Sets reference toauditoriaEntityDao.voidsetPrinterEntityDao(PrinterEntityDao impressoraEntityDao)Sets reference toimpressoraEntityDao.voidsetTaskEntityDao(TaskEntityDao tasqueEntityDao)Sets reference totasqueEntityDao.voidsetUserEntityDao(UserEntityDao usuariEntityDao)Sets reference tousuariEntityDao.com.soffid.iam.api.PrinterUsertoPrinterUser(UserPrinterEntity entity)Transforms toPrinterUserobjectvoidtoPrinterUser(UserPrinterEntity source, com.soffid.iam.api.PrinterUser target)Copy data toPrinterUserobjectList<com.soffid.iam.api.PrinterUser>toPrinterUserList(Collection<UserPrinterEntity> instances)Transforms toPrinterUserlistes.caib.seycon.ng.comu.UsuariImpressoratoUsuariImpressora(UserPrinterEntity entity)Transforms toPrinterUserobjectvoidtoUsuariImpressora(UserPrinterEntity source, es.caib.seycon.ng.comu.UsuariImpressora target)Copy data toUsuariImpressoraobjectList<es.caib.seycon.ng.comu.UsuariImpressora>toUsuariImpressoraList(Collection<UserPrinterEntity> instances)Transforms toUsuariImpressoralistvoidupdate(UserPrinterEntity entity)Updates an instance ofUserPrinterEntityat the persistent store.voidupdate(Collection<? extends UserPrinterEntity> entities)Updates a collection ofUserPrinterEntityin the persistent store.UserPrinterEntityusuariImpressoraToEntity(es.caib.seycon.ng.comu.UsuariImpressora instance)Transforms fromUsuariImpressoraobjectvoidusuariImpressoraToEntity(es.caib.seycon.ng.comu.UsuariImpressora source, UserPrinterEntity target, boolean copyIfNull)Copy data fromUsuariImpressoraobjectList<UserPrinterEntity>usuariImpressoraToEntityList(Collection<es.caib.seycon.ng.comu.UsuariImpressora> instances)Transforms fromPrinterUserlist-
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.
-
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.
-
setUserEntityDao
public void setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao.
-
getUserEntityDao
public UserEntityDao getUserEntityDao()
Gets reference tousuariEntityDao.
-
findUserByUserAndPrinter
public UserPrinterEntity findUserByUserAndPrinter(String userName, String printer)
Operation findUserByUserAndPrinter- Specified by:
findUserByUserAndPrinterin interfaceUserPrinterEntityDao- Parameters:
userName-printer-- Returns:
-
findUserByUserAndPrinter
public UserPrinterEntity findUserByUserAndPrinter(CriteriaSearchConfiguration criteria, String userName, String printer)
CriteriaSearchConfiguration implementation- Specified by:
findUserByUserAndPrinterin interfaceUserPrinterEntityDao
-
findUserByUserAndPrinter
public UserPrinterEntity findUserByUserAndPrinter(String queryString, CriteriaSearchConfiguration criteria, String userName, String printer)
Internal implementation
-
findByPrinter
public List<UserPrinterEntity> findByPrinter(String printer)
Operation findByPrinter- Specified by:
findByPrinterin interfaceUserPrinterEntityDao- Parameters:
printer-- Returns:
-
findByPrinter
public List<UserPrinterEntity> findByPrinter(CriteriaSearchConfiguration criteria, String printer)
CriteriaSearchConfiguration implementation- Specified by:
findByPrinterin interfaceUserPrinterEntityDao
-
findByPrinter
public List<UserPrinterEntity> findByPrinter(String queryString, CriteriaSearchConfiguration criteria, String printer)
Internal implementation
-
findByUser
public List<UserPrinterEntity> findByUser(String userName)
Operation findByUser- Specified by:
findByUserin interfaceUserPrinterEntityDao- Parameters:
userName-- Returns:
-
findByUser
public List<UserPrinterEntity> findByUser(CriteriaSearchConfiguration criteria, String userName)
CriteriaSearchConfiguration implementation- Specified by:
findByUserin interfaceUserPrinterEntityDao
-
findByUser
public List<UserPrinterEntity> findByUser(String queryString, CriteriaSearchConfiguration criteria, String userName)
Internal implementation
-
toPrinterUser
public void toPrinterUser(UserPrinterEntity source, com.soffid.iam.api.PrinterUser target)
Copy data toPrinterUserobject- Specified by:
toPrinterUserin interfaceUserPrinterEntityDao
-
toPrinterUser
public com.soffid.iam.api.PrinterUser toPrinterUser(UserPrinterEntity entity)
Transforms toPrinterUserobject- Specified by:
toPrinterUserin interfaceUserPrinterEntityDao
-
toPrinterUserList
public List<com.soffid.iam.api.PrinterUser> toPrinterUserList(Collection<UserPrinterEntity> instances)
Transforms toPrinterUserlist- Specified by:
toPrinterUserListin interfaceUserPrinterEntityDao
-
printerUserToEntity
public void printerUserToEntity(com.soffid.iam.api.PrinterUser source, UserPrinterEntity target, boolean copyIfNull)Copy data fromPrinterUserobject- Specified by:
printerUserToEntityin interfaceUserPrinterEntityDao
-
printerUserToEntity
public UserPrinterEntity printerUserToEntity(com.soffid.iam.api.PrinterUser instance)
Transforms fromPrinterUserobject- Specified by:
printerUserToEntityin interfaceUserPrinterEntityDao
-
printerUserToEntityList
public List<UserPrinterEntity> printerUserToEntityList(Collection<com.soffid.iam.api.PrinterUser> instances)
Transforms fromPrinterUserlist- Specified by:
printerUserToEntityListin interfaceUserPrinterEntityDao
-
toUsuariImpressora
public void toUsuariImpressora(UserPrinterEntity source, es.caib.seycon.ng.comu.UsuariImpressora target)
Description copied from interface:UserPrinterEntityDaoCopy data toUsuariImpressoraobject- Specified by:
toUsuariImpressorain interfaceUserPrinterEntityDao
-
toUsuariImpressora
public es.caib.seycon.ng.comu.UsuariImpressora toUsuariImpressora(UserPrinterEntity entity)
Transforms toPrinterUserobject- Specified by:
toUsuariImpressorain interfaceUserPrinterEntityDao
-
toUsuariImpressoraList
public List<es.caib.seycon.ng.comu.UsuariImpressora> toUsuariImpressoraList(Collection<UserPrinterEntity> instances)
Transforms toUsuariImpressoralist- Specified by:
toUsuariImpressoraListin interfaceUserPrinterEntityDao
-
usuariImpressoraToEntity
public void usuariImpressoraToEntity(es.caib.seycon.ng.comu.UsuariImpressora source, UserPrinterEntity target, boolean copyIfNull)Copy data fromUsuariImpressoraobject- Specified by:
usuariImpressoraToEntityin interfaceUserPrinterEntityDao
-
usuariImpressoraToEntity
public UserPrinterEntity usuariImpressoraToEntity(es.caib.seycon.ng.comu.UsuariImpressora instance)
Transforms fromUsuariImpressoraobject- Specified by:
usuariImpressoraToEntityin interfaceUserPrinterEntityDao
-
usuariImpressoraToEntityList
public List<UserPrinterEntity> usuariImpressoraToEntityList(Collection<es.caib.seycon.ng.comu.UsuariImpressora> instances)
Transforms fromPrinterUserlist- Specified by:
usuariImpressoraToEntityListin interfaceUserPrinterEntityDao
-
newUserPrinterEntity
public UserPrinterEntity newUserPrinterEntity()
Creates an instance ofUserPrinterEntity.- Specified by:
newUserPrinterEntityin interfaceUserPrinterEntityDao
-
load
public UserPrinterEntity load(Long id)
Loads an instance ofUserPrinterEntityfrom the persistent store.- Specified by:
loadin interfaceUserPrinterEntityDao
-
loadAll
public List<UserPrinterEntity> loadAll()
Loads all instances ofUserPrinterEntityfrom the persistent store.- Specified by:
loadAllin interfaceUserPrinterEntityDao
-
create
public void create(UserPrinterEntity entity)
Adds an instance ofUserPrinterEntityto the persistent store.- Specified by:
createin interfaceUserPrinterEntityDao
-
update
public void update(UserPrinterEntity entity)
Updates an instance ofUserPrinterEntityat the persistent store.- Specified by:
updatein interfaceUserPrinterEntityDao
-
remove
public void remove(UserPrinterEntity entity)
Removes an instance ofUserPrinterEntityfrom the persistent store.- Specified by:
removein interfaceUserPrinterEntityDao
-
create
public void create(Collection<? extends UserPrinterEntity> entities)
Creates a collection ofUserPrinterEntityand adds it to the persistent store.- Specified by:
createin interfaceUserPrinterEntityDao
-
update
public void update(Collection<? extends UserPrinterEntity> entities)
Updates a collection ofUserPrinterEntityin the persistent store.- Specified by:
updatein interfaceUserPrinterEntityDao
-
remove
public void remove(Collection<? extends UserPrinterEntity> entities)
Removes a collection ofUserPrinterEntityfrom the persistent store.- Specified by:
removein interfaceUserPrinterEntityDao
-
remove
public void remove(Long id)
Removes an instance ofUserPrinterEntityfrom the persistent store.- Specified by:
removein interfaceUserPrinterEntityDao
-
query
public List<UserPrinterEntity> query(String queryString, Parameter[] parameters)
Query ofUserPrinterEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
queryin interfaceUserPrinterEntityDao
-
query
public List<UserPrinterEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofUserPrinterEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return- Specified by:
queryin interfaceUserPrinterEntityDao
-
-