Package com.soffid.iam.model
Class NoticeEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.NoticeEntityDaoBase
-
- All Implemented Interfaces:
NoticeEntityDao,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
NoticeEntityDaoImpl
public abstract class NoticeEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements NoticeEntityDao
DAO Base for Entity NoticeEntity
-
-
Constructor Summary
Constructors Constructor Description NoticeEntityDaoBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate(NoticeEntity entity)Adds an instance ofNoticeEntityto the persistent store.voidcreate(Collection<? extends NoticeEntity> entities)Creates a collection ofNoticeEntityand adds it to the persistent store.List<NoticeEntity>findAll()Operation findAllList<NoticeEntity>findAll(CriteriaSearchConfiguration criteria)CriteriaSearchConfiguration implementationList<NoticeEntity>findAll(String queryString, CriteriaSearchConfiguration criteria)Internal implementationList<NoticeEntity>findByApplicationCode(CriteriaSearchConfiguration criteria, String informationSystem)CriteriaSearchConfiguration implementationList<NoticeEntity>findByApplicationCode(String informationSystem)Operation findByApplicationCodeList<NoticeEntity>findByApplicationCode(String queryString, CriteriaSearchConfiguration criteria, String informationSystem)Internal implementationInformationSystemEntityDaogetInformationSystemEntityDao()Gets reference toaplicacioEntityDao.RoleEntityDaogetRoleEntityDao()Gets reference torolEntityDao.UserEntityDaogetUserEntityDao()Gets reference tousuariEntityDao.NoticeEntityload(Long id)Loads an instance ofNoticeEntityfrom the persistent store.List<NoticeEntity>loadAll()Loads all instances ofNoticeEntityfrom the persistent store.NoticeEntitynewNoticeEntity()Creates an instance ofNoticeEntity.NoticeEntitynotificacioToEntity(es.caib.seycon.ng.comu.Notificacio instance)Transforms fromNotificacioobjectvoidnotificacioToEntity(es.caib.seycon.ng.comu.Notificacio source, NoticeEntity target, boolean copyIfNull)Copy data fromNotificacioobjectList<NoticeEntity>notificacioToEntityList(Collection<es.caib.seycon.ng.comu.Notificacio> instances)Transforms fromReminderlistList<NoticeEntity>query(String queryString, Parameter[] parameters)Query ofNoticeEntityfrom the persistent store.List<NoticeEntity>query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofNoticeEntityfrom the persistent store.voidreminderToEntity(com.soffid.iam.api.Reminder source, NoticeEntity target, boolean copyIfNull)Copy data fromReminderobjectList<NoticeEntity>reminderToEntityList(Collection<com.soffid.iam.api.Reminder> instances)Transforms fromReminderlistvoidremove(NoticeEntity entity)Removes an instance ofNoticeEntityfrom the persistent store.voidremove(Long id)Removes an instance ofNoticeEntityfrom the persistent store.voidremove(Collection<? extends NoticeEntity> entities)Removes a collection ofNoticeEntityfrom the persistent store.voidsetInformationSystemEntityDao(InformationSystemEntityDao aplicacioEntityDao)Sets reference toaplicacioEntityDao.voidsetRoleEntityDao(RoleEntityDao rolEntityDao)Sets reference torolEntityDao.voidsetUserEntityDao(UserEntityDao usuariEntityDao)Sets reference tousuariEntityDao.es.caib.seycon.ng.comu.NotificaciotoNotificacio(NoticeEntity entity)Transforms toReminderobjectvoidtoNotificacio(NoticeEntity source, es.caib.seycon.ng.comu.Notificacio target)Copy data toNotificacioobjectList<es.caib.seycon.ng.comu.Notificacio>toNotificacioList(Collection<NoticeEntity> instances)Transforms toNotificaciolistcom.soffid.iam.api.RemindertoReminder(NoticeEntity entity)Transforms toReminderobjectvoidtoReminder(NoticeEntity source, com.soffid.iam.api.Reminder target)Copy data toReminderobjectList<com.soffid.iam.api.Reminder>toReminderList(Collection<NoticeEntity> instances)Transforms toReminderlistvoidupdate(NoticeEntity entity)Updates an instance ofNoticeEntityat the persistent store.voidupdate(Collection<? extends NoticeEntity> entities)Updates a collection ofNoticeEntityin the persistent store.-
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.soffid.iam.model.NoticeEntityDao
reminderToEntity
-
-
-
-
Method Detail
-
setInformationSystemEntityDao
public void setInformationSystemEntityDao(InformationSystemEntityDao aplicacioEntityDao)
Sets reference toaplicacioEntityDao.
-
getInformationSystemEntityDao
public InformationSystemEntityDao getInformationSystemEntityDao()
Gets reference toaplicacioEntityDao.
-
setRoleEntityDao
public void setRoleEntityDao(RoleEntityDao rolEntityDao)
Sets reference torolEntityDao.
-
getRoleEntityDao
public RoleEntityDao getRoleEntityDao()
Gets reference torolEntityDao.
-
setUserEntityDao
public void setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao.
-
getUserEntityDao
public UserEntityDao getUserEntityDao()
Gets reference tousuariEntityDao.
-
findAll
public List<NoticeEntity> findAll()
Operation findAll- Specified by:
findAllin interfaceNoticeEntityDao- Returns:
-
findAll
public List<NoticeEntity> findAll(CriteriaSearchConfiguration criteria)
CriteriaSearchConfiguration implementation- Specified by:
findAllin interfaceNoticeEntityDao
-
findAll
public List<NoticeEntity> findAll(String queryString, CriteriaSearchConfiguration criteria)
Internal implementation
-
findByApplicationCode
public List<NoticeEntity> findByApplicationCode(String informationSystem)
Operation findByApplicationCode- Specified by:
findByApplicationCodein interfaceNoticeEntityDao- Parameters:
informationSystem-- Returns:
-
findByApplicationCode
public List<NoticeEntity> findByApplicationCode(CriteriaSearchConfiguration criteria, String informationSystem)
CriteriaSearchConfiguration implementation- Specified by:
findByApplicationCodein interfaceNoticeEntityDao
-
findByApplicationCode
public List<NoticeEntity> findByApplicationCode(String queryString, CriteriaSearchConfiguration criteria, String informationSystem)
Internal implementation
-
toReminder
public void toReminder(NoticeEntity source, com.soffid.iam.api.Reminder target)
Copy data toReminderobject- Specified by:
toReminderin interfaceNoticeEntityDao
-
toReminder
public com.soffid.iam.api.Reminder toReminder(NoticeEntity entity)
Transforms toReminderobject- Specified by:
toReminderin interfaceNoticeEntityDao
-
toReminderList
public List<com.soffid.iam.api.Reminder> toReminderList(Collection<NoticeEntity> instances)
Transforms toReminderlist- Specified by:
toReminderListin interfaceNoticeEntityDao
-
reminderToEntity
public void reminderToEntity(com.soffid.iam.api.Reminder source, NoticeEntity target, boolean copyIfNull)Copy data fromReminderobject- Specified by:
reminderToEntityin interfaceNoticeEntityDao
-
reminderToEntityList
public List<NoticeEntity> reminderToEntityList(Collection<com.soffid.iam.api.Reminder> instances)
Transforms fromReminderlist- Specified by:
reminderToEntityListin interfaceNoticeEntityDao
-
toNotificacio
public void toNotificacio(NoticeEntity source, es.caib.seycon.ng.comu.Notificacio target)
Description copied from interface:NoticeEntityDaoCopy data toNotificacioobject- Specified by:
toNotificacioin interfaceNoticeEntityDao
-
toNotificacio
public es.caib.seycon.ng.comu.Notificacio toNotificacio(NoticeEntity entity)
Transforms toReminderobject- Specified by:
toNotificacioin interfaceNoticeEntityDao
-
toNotificacioList
public List<es.caib.seycon.ng.comu.Notificacio> toNotificacioList(Collection<NoticeEntity> instances)
Transforms toNotificaciolist- Specified by:
toNotificacioListin interfaceNoticeEntityDao
-
notificacioToEntity
public void notificacioToEntity(es.caib.seycon.ng.comu.Notificacio source, NoticeEntity target, boolean copyIfNull)Copy data fromNotificacioobject- Specified by:
notificacioToEntityin interfaceNoticeEntityDao
-
notificacioToEntity
public NoticeEntity notificacioToEntity(es.caib.seycon.ng.comu.Notificacio instance)
Transforms fromNotificacioobject- Specified by:
notificacioToEntityin interfaceNoticeEntityDao
-
notificacioToEntityList
public List<NoticeEntity> notificacioToEntityList(Collection<es.caib.seycon.ng.comu.Notificacio> instances)
Transforms fromReminderlist- Specified by:
notificacioToEntityListin interfaceNoticeEntityDao
-
newNoticeEntity
public NoticeEntity newNoticeEntity()
Creates an instance ofNoticeEntity.- Specified by:
newNoticeEntityin interfaceNoticeEntityDao
-
load
public NoticeEntity load(Long id)
Loads an instance ofNoticeEntityfrom the persistent store.- Specified by:
loadin interfaceNoticeEntityDao
-
loadAll
public List<NoticeEntity> loadAll()
Loads all instances ofNoticeEntityfrom the persistent store.- Specified by:
loadAllin interfaceNoticeEntityDao
-
create
public void create(NoticeEntity entity)
Adds an instance ofNoticeEntityto the persistent store.- Specified by:
createin interfaceNoticeEntityDao
-
update
public void update(NoticeEntity entity)
Updates an instance ofNoticeEntityat the persistent store.- Specified by:
updatein interfaceNoticeEntityDao
-
remove
public void remove(NoticeEntity entity)
Removes an instance ofNoticeEntityfrom the persistent store.- Specified by:
removein interfaceNoticeEntityDao
-
create
public void create(Collection<? extends NoticeEntity> entities)
Creates a collection ofNoticeEntityand adds it to the persistent store.- Specified by:
createin interfaceNoticeEntityDao
-
update
public void update(Collection<? extends NoticeEntity> entities)
Updates a collection ofNoticeEntityin the persistent store.- Specified by:
updatein interfaceNoticeEntityDao
-
remove
public void remove(Collection<? extends NoticeEntity> entities)
Removes a collection ofNoticeEntityfrom the persistent store.- Specified by:
removein interfaceNoticeEntityDao
-
remove
public void remove(Long id)
Removes an instance ofNoticeEntityfrom the persistent store.- Specified by:
removein interfaceNoticeEntityDao
-
query
public List<NoticeEntity> query(String queryString, Parameter[] parameters)
Query ofNoticeEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
queryin interfaceNoticeEntityDao
-
query
public List<NoticeEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofNoticeEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return- Specified by:
queryin interfaceNoticeEntityDao
-
-