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 void
create(UserPrinterEntity entity)
Adds an instance ofUserPrinterEntity
to the persistent store.void
create(Collection<? extends UserPrinterEntity> entities)
Creates a collection ofUserPrinterEntity
and 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 implementationUserPrinterEntity
findUserByUserAndPrinter(CriteriaSearchConfiguration criteria, String userName, String printer)
CriteriaSearchConfiguration implementationUserPrinterEntity
findUserByUserAndPrinter(String queryString, CriteriaSearchConfiguration criteria, String userName, String printer)
Internal implementationUserPrinterEntity
findUserByUserAndPrinter(String userName, String printer)
Operation findUserByUserAndPrinterAuditEntityDao
getAuditEntityDao()
Gets reference toauditoriaEntityDao
.PrinterEntityDao
getPrinterEntityDao()
Gets reference toimpressoraEntityDao
.TaskEntityDao
getTaskEntityDao()
Gets reference totasqueEntityDao
.UserEntityDao
getUserEntityDao()
Gets reference tousuariEntityDao
.UserPrinterEntity
load(Long id)
Loads an instance ofUserPrinterEntity
from the persistent store.List<UserPrinterEntity>
loadAll()
Loads all instances ofUserPrinterEntity
from the persistent store.UserPrinterEntity
newUserPrinterEntity()
Creates an instance ofUserPrinterEntity
.UserPrinterEntity
printerUserToEntity(com.soffid.iam.api.PrinterUser instance)
Transforms fromPrinterUser
objectvoid
printerUserToEntity(com.soffid.iam.api.PrinterUser source, UserPrinterEntity target, boolean copyIfNull)
Copy data fromPrinterUser
objectList<UserPrinterEntity>
printerUserToEntityList(Collection<com.soffid.iam.api.PrinterUser> instances)
Transforms fromPrinterUser
listList<UserPrinterEntity>
query(String queryString, Parameter[] parameters)
Query ofUserPrinterEntity
from the persistent store.List<UserPrinterEntity>
query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofUserPrinterEntity
from the persistent store.void
remove(UserPrinterEntity entity)
Removes an instance ofUserPrinterEntity
from the persistent store.void
remove(Long id)
Removes an instance ofUserPrinterEntity
from the persistent store.void
remove(Collection<? extends UserPrinterEntity> entities)
Removes a collection ofUserPrinterEntity
from the persistent store.void
setAuditEntityDao(AuditEntityDao auditoriaEntityDao)
Sets reference toauditoriaEntityDao
.void
setPrinterEntityDao(PrinterEntityDao impressoraEntityDao)
Sets reference toimpressoraEntityDao
.void
setTaskEntityDao(TaskEntityDao tasqueEntityDao)
Sets reference totasqueEntityDao
.void
setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao
.com.soffid.iam.api.PrinterUser
toPrinterUser(UserPrinterEntity entity)
Transforms toPrinterUser
objectvoid
toPrinterUser(UserPrinterEntity source, com.soffid.iam.api.PrinterUser target)
Copy data toPrinterUser
objectList<com.soffid.iam.api.PrinterUser>
toPrinterUserList(Collection<UserPrinterEntity> instances)
Transforms toPrinterUser
listes.caib.seycon.ng.comu.UsuariImpressora
toUsuariImpressora(UserPrinterEntity entity)
Transforms toPrinterUser
objectvoid
toUsuariImpressora(UserPrinterEntity source, es.caib.seycon.ng.comu.UsuariImpressora target)
Copy data toUsuariImpressora
objectList<es.caib.seycon.ng.comu.UsuariImpressora>
toUsuariImpressoraList(Collection<UserPrinterEntity> instances)
Transforms toUsuariImpressora
listvoid
update(UserPrinterEntity entity)
Updates an instance ofUserPrinterEntity
at the persistent store.void
update(Collection<? extends UserPrinterEntity> entities)
Updates a collection ofUserPrinterEntity
in the persistent store.UserPrinterEntity
usuariImpressoraToEntity(es.caib.seycon.ng.comu.UsuariImpressora instance)
Transforms fromUsuariImpressora
objectvoid
usuariImpressoraToEntity(es.caib.seycon.ng.comu.UsuariImpressora source, UserPrinterEntity target, boolean copyIfNull)
Copy data fromUsuariImpressora
objectList<UserPrinterEntity>
usuariImpressoraToEntityList(Collection<es.caib.seycon.ng.comu.UsuariImpressora> instances)
Transforms fromPrinterUser
list-
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:
findUserByUserAndPrinter
in interfaceUserPrinterEntityDao
- Parameters:
userName
-printer
-- Returns:
-
findUserByUserAndPrinter
public UserPrinterEntity findUserByUserAndPrinter(CriteriaSearchConfiguration criteria, String userName, String printer)
CriteriaSearchConfiguration implementation- Specified by:
findUserByUserAndPrinter
in 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:
findByPrinter
in interfaceUserPrinterEntityDao
- Parameters:
printer
-- Returns:
-
findByPrinter
public List<UserPrinterEntity> findByPrinter(CriteriaSearchConfiguration criteria, String printer)
CriteriaSearchConfiguration implementation- Specified by:
findByPrinter
in 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:
findByUser
in interfaceUserPrinterEntityDao
- Parameters:
userName
-- Returns:
-
findByUser
public List<UserPrinterEntity> findByUser(CriteriaSearchConfiguration criteria, String userName)
CriteriaSearchConfiguration implementation- Specified by:
findByUser
in 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 toPrinterUser
object- Specified by:
toPrinterUser
in interfaceUserPrinterEntityDao
-
toPrinterUser
public com.soffid.iam.api.PrinterUser toPrinterUser(UserPrinterEntity entity)
Transforms toPrinterUser
object- Specified by:
toPrinterUser
in interfaceUserPrinterEntityDao
-
toPrinterUserList
public List<com.soffid.iam.api.PrinterUser> toPrinterUserList(Collection<UserPrinterEntity> instances)
Transforms toPrinterUser
list- Specified by:
toPrinterUserList
in interfaceUserPrinterEntityDao
-
printerUserToEntity
public void printerUserToEntity(com.soffid.iam.api.PrinterUser source, UserPrinterEntity target, boolean copyIfNull)
Copy data fromPrinterUser
object- Specified by:
printerUserToEntity
in interfaceUserPrinterEntityDao
-
printerUserToEntity
public UserPrinterEntity printerUserToEntity(com.soffid.iam.api.PrinterUser instance)
Transforms fromPrinterUser
object- Specified by:
printerUserToEntity
in interfaceUserPrinterEntityDao
-
printerUserToEntityList
public List<UserPrinterEntity> printerUserToEntityList(Collection<com.soffid.iam.api.PrinterUser> instances)
Transforms fromPrinterUser
list- Specified by:
printerUserToEntityList
in interfaceUserPrinterEntityDao
-
toUsuariImpressora
public void toUsuariImpressora(UserPrinterEntity source, es.caib.seycon.ng.comu.UsuariImpressora target)
Description copied from interface:UserPrinterEntityDao
Copy data toUsuariImpressora
object- Specified by:
toUsuariImpressora
in interfaceUserPrinterEntityDao
-
toUsuariImpressora
public es.caib.seycon.ng.comu.UsuariImpressora toUsuariImpressora(UserPrinterEntity entity)
Transforms toPrinterUser
object- Specified by:
toUsuariImpressora
in interfaceUserPrinterEntityDao
-
toUsuariImpressoraList
public List<es.caib.seycon.ng.comu.UsuariImpressora> toUsuariImpressoraList(Collection<UserPrinterEntity> instances)
Transforms toUsuariImpressora
list- Specified by:
toUsuariImpressoraList
in interfaceUserPrinterEntityDao
-
usuariImpressoraToEntity
public void usuariImpressoraToEntity(es.caib.seycon.ng.comu.UsuariImpressora source, UserPrinterEntity target, boolean copyIfNull)
Copy data fromUsuariImpressora
object- Specified by:
usuariImpressoraToEntity
in interfaceUserPrinterEntityDao
-
usuariImpressoraToEntity
public UserPrinterEntity usuariImpressoraToEntity(es.caib.seycon.ng.comu.UsuariImpressora instance)
Transforms fromUsuariImpressora
object- Specified by:
usuariImpressoraToEntity
in interfaceUserPrinterEntityDao
-
usuariImpressoraToEntityList
public List<UserPrinterEntity> usuariImpressoraToEntityList(Collection<es.caib.seycon.ng.comu.UsuariImpressora> instances)
Transforms fromPrinterUser
list- Specified by:
usuariImpressoraToEntityList
in interfaceUserPrinterEntityDao
-
newUserPrinterEntity
public UserPrinterEntity newUserPrinterEntity()
Creates an instance ofUserPrinterEntity
.- Specified by:
newUserPrinterEntity
in interfaceUserPrinterEntityDao
-
load
public UserPrinterEntity load(Long id)
Loads an instance ofUserPrinterEntity
from the persistent store.- Specified by:
load
in interfaceUserPrinterEntityDao
-
loadAll
public List<UserPrinterEntity> loadAll()
Loads all instances ofUserPrinterEntity
from the persistent store.- Specified by:
loadAll
in interfaceUserPrinterEntityDao
-
create
public void create(UserPrinterEntity entity)
Adds an instance ofUserPrinterEntity
to the persistent store.- Specified by:
create
in interfaceUserPrinterEntityDao
-
update
public void update(UserPrinterEntity entity)
Updates an instance ofUserPrinterEntity
at the persistent store.- Specified by:
update
in interfaceUserPrinterEntityDao
-
remove
public void remove(UserPrinterEntity entity)
Removes an instance ofUserPrinterEntity
from the persistent store.- Specified by:
remove
in interfaceUserPrinterEntityDao
-
create
public void create(Collection<? extends UserPrinterEntity> entities)
Creates a collection ofUserPrinterEntity
and adds it to the persistent store.- Specified by:
create
in interfaceUserPrinterEntityDao
-
update
public void update(Collection<? extends UserPrinterEntity> entities)
Updates a collection ofUserPrinterEntity
in the persistent store.- Specified by:
update
in interfaceUserPrinterEntityDao
-
remove
public void remove(Collection<? extends UserPrinterEntity> entities)
Removes a collection ofUserPrinterEntity
from the persistent store.- Specified by:
remove
in interfaceUserPrinterEntityDao
-
remove
public void remove(Long id)
Removes an instance ofUserPrinterEntity
from the persistent store.- Specified by:
remove
in interfaceUserPrinterEntityDao
-
query
public List<UserPrinterEntity> query(String queryString, Parameter[] parameters)
Query ofUserPrinterEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
query
in interfaceUserPrinterEntityDao
-
query
public List<UserPrinterEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofUserPrinterEntity
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 interfaceUserPrinterEntityDao
-
-