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 void
create(NoticeEntity entity)
Adds an instance ofNoticeEntity
to the persistent store.void
create(Collection<? extends NoticeEntity> entities)
Creates a collection ofNoticeEntity
and 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 implementationInformationSystemEntityDao
getInformationSystemEntityDao()
Gets reference toaplicacioEntityDao
.RoleEntityDao
getRoleEntityDao()
Gets reference torolEntityDao
.UserEntityDao
getUserEntityDao()
Gets reference tousuariEntityDao
.NoticeEntity
load(Long id)
Loads an instance ofNoticeEntity
from the persistent store.List<NoticeEntity>
loadAll()
Loads all instances ofNoticeEntity
from the persistent store.NoticeEntity
newNoticeEntity()
Creates an instance ofNoticeEntity
.NoticeEntity
notificacioToEntity(es.caib.seycon.ng.comu.Notificacio instance)
Transforms fromNotificacio
objectvoid
notificacioToEntity(es.caib.seycon.ng.comu.Notificacio source, NoticeEntity target, boolean copyIfNull)
Copy data fromNotificacio
objectList<NoticeEntity>
notificacioToEntityList(Collection<es.caib.seycon.ng.comu.Notificacio> instances)
Transforms fromReminder
listList<NoticeEntity>
query(String queryString, Parameter[] parameters)
Query ofNoticeEntity
from the persistent store.List<NoticeEntity>
query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofNoticeEntity
from the persistent store.void
reminderToEntity(com.soffid.iam.api.Reminder source, NoticeEntity target, boolean copyIfNull)
Copy data fromReminder
objectList<NoticeEntity>
reminderToEntityList(Collection<com.soffid.iam.api.Reminder> instances)
Transforms fromReminder
listvoid
remove(NoticeEntity entity)
Removes an instance ofNoticeEntity
from the persistent store.void
remove(Long id)
Removes an instance ofNoticeEntity
from the persistent store.void
remove(Collection<? extends NoticeEntity> entities)
Removes a collection ofNoticeEntity
from the persistent store.void
setInformationSystemEntityDao(InformationSystemEntityDao aplicacioEntityDao)
Sets reference toaplicacioEntityDao
.void
setRoleEntityDao(RoleEntityDao rolEntityDao)
Sets reference torolEntityDao
.void
setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao
.es.caib.seycon.ng.comu.Notificacio
toNotificacio(NoticeEntity entity)
Transforms toReminder
objectvoid
toNotificacio(NoticeEntity source, es.caib.seycon.ng.comu.Notificacio target)
Copy data toNotificacio
objectList<es.caib.seycon.ng.comu.Notificacio>
toNotificacioList(Collection<NoticeEntity> instances)
Transforms toNotificacio
listcom.soffid.iam.api.Reminder
toReminder(NoticeEntity entity)
Transforms toReminder
objectvoid
toReminder(NoticeEntity source, com.soffid.iam.api.Reminder target)
Copy data toReminder
objectList<com.soffid.iam.api.Reminder>
toReminderList(Collection<NoticeEntity> instances)
Transforms toReminder
listvoid
update(NoticeEntity entity)
Updates an instance ofNoticeEntity
at the persistent store.void
update(Collection<? extends NoticeEntity> entities)
Updates a collection ofNoticeEntity
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
-
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:
findAll
in interfaceNoticeEntityDao
- Returns:
-
findAll
public List<NoticeEntity> findAll(CriteriaSearchConfiguration criteria)
CriteriaSearchConfiguration implementation- Specified by:
findAll
in interfaceNoticeEntityDao
-
findAll
public List<NoticeEntity> findAll(String queryString, CriteriaSearchConfiguration criteria)
Internal implementation
-
findByApplicationCode
public List<NoticeEntity> findByApplicationCode(String informationSystem)
Operation findByApplicationCode- Specified by:
findByApplicationCode
in interfaceNoticeEntityDao
- Parameters:
informationSystem
-- Returns:
-
findByApplicationCode
public List<NoticeEntity> findByApplicationCode(CriteriaSearchConfiguration criteria, String informationSystem)
CriteriaSearchConfiguration implementation- Specified by:
findByApplicationCode
in 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 toReminder
object- Specified by:
toReminder
in interfaceNoticeEntityDao
-
toReminder
public com.soffid.iam.api.Reminder toReminder(NoticeEntity entity)
Transforms toReminder
object- Specified by:
toReminder
in interfaceNoticeEntityDao
-
toReminderList
public List<com.soffid.iam.api.Reminder> toReminderList(Collection<NoticeEntity> instances)
Transforms toReminder
list- Specified by:
toReminderList
in interfaceNoticeEntityDao
-
reminderToEntity
public void reminderToEntity(com.soffid.iam.api.Reminder source, NoticeEntity target, boolean copyIfNull)
Copy data fromReminder
object- Specified by:
reminderToEntity
in interfaceNoticeEntityDao
-
reminderToEntityList
public List<NoticeEntity> reminderToEntityList(Collection<com.soffid.iam.api.Reminder> instances)
Transforms fromReminder
list- Specified by:
reminderToEntityList
in interfaceNoticeEntityDao
-
toNotificacio
public void toNotificacio(NoticeEntity source, es.caib.seycon.ng.comu.Notificacio target)
Description copied from interface:NoticeEntityDao
Copy data toNotificacio
object- Specified by:
toNotificacio
in interfaceNoticeEntityDao
-
toNotificacio
public es.caib.seycon.ng.comu.Notificacio toNotificacio(NoticeEntity entity)
Transforms toReminder
object- Specified by:
toNotificacio
in interfaceNoticeEntityDao
-
toNotificacioList
public List<es.caib.seycon.ng.comu.Notificacio> toNotificacioList(Collection<NoticeEntity> instances)
Transforms toNotificacio
list- Specified by:
toNotificacioList
in interfaceNoticeEntityDao
-
notificacioToEntity
public void notificacioToEntity(es.caib.seycon.ng.comu.Notificacio source, NoticeEntity target, boolean copyIfNull)
Copy data fromNotificacio
object- Specified by:
notificacioToEntity
in interfaceNoticeEntityDao
-
notificacioToEntity
public NoticeEntity notificacioToEntity(es.caib.seycon.ng.comu.Notificacio instance)
Transforms fromNotificacio
object- Specified by:
notificacioToEntity
in interfaceNoticeEntityDao
-
notificacioToEntityList
public List<NoticeEntity> notificacioToEntityList(Collection<es.caib.seycon.ng.comu.Notificacio> instances)
Transforms fromReminder
list- Specified by:
notificacioToEntityList
in interfaceNoticeEntityDao
-
newNoticeEntity
public NoticeEntity newNoticeEntity()
Creates an instance ofNoticeEntity
.- Specified by:
newNoticeEntity
in interfaceNoticeEntityDao
-
load
public NoticeEntity load(Long id)
Loads an instance ofNoticeEntity
from the persistent store.- Specified by:
load
in interfaceNoticeEntityDao
-
loadAll
public List<NoticeEntity> loadAll()
Loads all instances ofNoticeEntity
from the persistent store.- Specified by:
loadAll
in interfaceNoticeEntityDao
-
create
public void create(NoticeEntity entity)
Adds an instance ofNoticeEntity
to the persistent store.- Specified by:
create
in interfaceNoticeEntityDao
-
update
public void update(NoticeEntity entity)
Updates an instance ofNoticeEntity
at the persistent store.- Specified by:
update
in interfaceNoticeEntityDao
-
remove
public void remove(NoticeEntity entity)
Removes an instance ofNoticeEntity
from the persistent store.- Specified by:
remove
in interfaceNoticeEntityDao
-
create
public void create(Collection<? extends NoticeEntity> entities)
Creates a collection ofNoticeEntity
and adds it to the persistent store.- Specified by:
create
in interfaceNoticeEntityDao
-
update
public void update(Collection<? extends NoticeEntity> entities)
Updates a collection ofNoticeEntity
in the persistent store.- Specified by:
update
in interfaceNoticeEntityDao
-
remove
public void remove(Collection<? extends NoticeEntity> entities)
Removes a collection ofNoticeEntity
from the persistent store.- Specified by:
remove
in interfaceNoticeEntityDao
-
remove
public void remove(Long id)
Removes an instance ofNoticeEntity
from the persistent store.- Specified by:
remove
in interfaceNoticeEntityDao
-
query
public List<NoticeEntity> query(String queryString, Parameter[] parameters)
Query ofNoticeEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
query
in interfaceNoticeEntityDao
-
query
public List<NoticeEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofNoticeEntity
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 interfaceNoticeEntityDao
-
-