Package com.soffid.iam.model
Class SystemGroupEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.SystemGroupEntityDaoBase
-
- All Implemented Interfaces:
SystemGroupEntityDao
,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
SystemGroupEntityDaoImpl
public abstract class SystemGroupEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements SystemGroupEntityDao
DAO Base for Entity SystemGroupEntity
-
-
Constructor Summary
Constructors Constructor Description SystemGroupEntityDaoBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(SystemGroupEntity entity)
Adds an instance ofSystemGroupEntity
to the persistent store.void
create(Collection<? extends SystemGroupEntity> entities)
Creates a collection ofSystemGroupEntity
and adds it to the persistent store.Collection<SystemGroupEntity>
findBySystem(CriteriaSearchConfiguration criteria, String systemName)
CriteriaSearchConfiguration implementationCollection<SystemGroupEntity>
findBySystem(String systemName)
Operation findBySystemCollection<SystemGroupEntity>
findBySystem(String queryString, CriteriaSearchConfiguration criteria, String systemName)
Internal implementationGroupEntityDao
getGroupEntityDao()
Gets reference togrupEntityDao
.SystemEntityDao
getSystemEntityDao()
Gets reference todispatcherEntityDao
.SystemGroupEntity
grupDispatcherToEntity(es.caib.seycon.ng.comu.GrupDispatcher instance)
Transforms fromGrupDispatcher
objectvoid
grupDispatcherToEntity(es.caib.seycon.ng.comu.GrupDispatcher source, SystemGroupEntity target, boolean copyIfNull)
Copy data fromGrupDispatcher
objectList<SystemGroupEntity>
grupDispatcherToEntityList(Collection<es.caib.seycon.ng.comu.GrupDispatcher> instances)
Transforms fromSystemGroup
listSystemGroupEntity
load(Long id)
Loads an instance ofSystemGroupEntity
from the persistent store.List<SystemGroupEntity>
loadAll()
Loads all instances ofSystemGroupEntity
from the persistent store.SystemGroupEntity
newSystemGroupEntity()
Creates an instance ofSystemGroupEntity
.List<SystemGroupEntity>
query(String queryString, Parameter[] parameters)
Query ofSystemGroupEntity
from the persistent store.List<SystemGroupEntity>
query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofSystemGroupEntity
from the persistent store.void
remove(SystemGroupEntity entity)
Removes an instance ofSystemGroupEntity
from the persistent store.void
remove(Long id)
Removes an instance ofSystemGroupEntity
from the persistent store.void
remove(Collection<? extends SystemGroupEntity> entities)
Removes a collection ofSystemGroupEntity
from the persistent store.void
setGroupEntityDao(GroupEntityDao grupEntityDao)
Sets reference togrupEntityDao
.void
setSystemEntityDao(SystemEntityDao dispatcherEntityDao)
Sets reference todispatcherEntityDao
.SystemGroupEntity
systemGroupToEntity(com.soffid.iam.api.SystemGroup instance)
Transforms fromSystemGroup
objectvoid
systemGroupToEntity(com.soffid.iam.api.SystemGroup source, SystemGroupEntity target, boolean copyIfNull)
Copy data fromSystemGroup
objectList<SystemGroupEntity>
systemGroupToEntityList(Collection<com.soffid.iam.api.SystemGroup> instances)
Transforms fromSystemGroup
listes.caib.seycon.ng.comu.GrupDispatcher
toGrupDispatcher(SystemGroupEntity entity)
Transforms toSystemGroup
objectvoid
toGrupDispatcher(SystemGroupEntity source, es.caib.seycon.ng.comu.GrupDispatcher target)
Copy data toGrupDispatcher
objectList<es.caib.seycon.ng.comu.GrupDispatcher>
toGrupDispatcherList(Collection<SystemGroupEntity> instances)
Transforms toGrupDispatcher
listcom.soffid.iam.api.SystemGroup
toSystemGroup(SystemGroupEntity entity)
Transforms toSystemGroup
objectvoid
toSystemGroup(SystemGroupEntity source, com.soffid.iam.api.SystemGroup target)
Copy data toSystemGroup
objectList<com.soffid.iam.api.SystemGroup>
toSystemGroupList(Collection<SystemGroupEntity> instances)
Transforms toSystemGroup
listvoid
update(SystemGroupEntity entity)
Updates an instance ofSystemGroupEntity
at the persistent store.void
update(Collection<? extends SystemGroupEntity> entities)
Updates a collection ofSystemGroupEntity
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
-
setSystemEntityDao
public void setSystemEntityDao(SystemEntityDao dispatcherEntityDao)
Sets reference todispatcherEntityDao
.
-
getSystemEntityDao
public SystemEntityDao getSystemEntityDao()
Gets reference todispatcherEntityDao
.
-
setGroupEntityDao
public void setGroupEntityDao(GroupEntityDao grupEntityDao)
Sets reference togrupEntityDao
.
-
getGroupEntityDao
public GroupEntityDao getGroupEntityDao()
Gets reference togrupEntityDao
.
-
findBySystem
public Collection<SystemGroupEntity> findBySystem(String systemName)
Operation findBySystem- Specified by:
findBySystem
in interfaceSystemGroupEntityDao
- Parameters:
systemName
-- Returns:
-
findBySystem
public Collection<SystemGroupEntity> findBySystem(CriteriaSearchConfiguration criteria, String systemName)
CriteriaSearchConfiguration implementation- Specified by:
findBySystem
in interfaceSystemGroupEntityDao
-
findBySystem
public Collection<SystemGroupEntity> findBySystem(String queryString, CriteriaSearchConfiguration criteria, String systemName)
Internal implementation
-
toSystemGroup
public void toSystemGroup(SystemGroupEntity source, com.soffid.iam.api.SystemGroup target)
Copy data toSystemGroup
object- Specified by:
toSystemGroup
in interfaceSystemGroupEntityDao
-
toSystemGroup
public com.soffid.iam.api.SystemGroup toSystemGroup(SystemGroupEntity entity)
Transforms toSystemGroup
object- Specified by:
toSystemGroup
in interfaceSystemGroupEntityDao
-
toSystemGroupList
public List<com.soffid.iam.api.SystemGroup> toSystemGroupList(Collection<SystemGroupEntity> instances)
Transforms toSystemGroup
list- Specified by:
toSystemGroupList
in interfaceSystemGroupEntityDao
-
systemGroupToEntity
public void systemGroupToEntity(com.soffid.iam.api.SystemGroup source, SystemGroupEntity target, boolean copyIfNull)
Copy data fromSystemGroup
object- Specified by:
systemGroupToEntity
in interfaceSystemGroupEntityDao
-
systemGroupToEntity
public SystemGroupEntity systemGroupToEntity(com.soffid.iam.api.SystemGroup instance)
Transforms fromSystemGroup
object- Specified by:
systemGroupToEntity
in interfaceSystemGroupEntityDao
-
systemGroupToEntityList
public List<SystemGroupEntity> systemGroupToEntityList(Collection<com.soffid.iam.api.SystemGroup> instances)
Transforms fromSystemGroup
list- Specified by:
systemGroupToEntityList
in interfaceSystemGroupEntityDao
-
toGrupDispatcher
public void toGrupDispatcher(SystemGroupEntity source, es.caib.seycon.ng.comu.GrupDispatcher target)
Description copied from interface:SystemGroupEntityDao
Copy data toGrupDispatcher
object- Specified by:
toGrupDispatcher
in interfaceSystemGroupEntityDao
-
toGrupDispatcher
public es.caib.seycon.ng.comu.GrupDispatcher toGrupDispatcher(SystemGroupEntity entity)
Transforms toSystemGroup
object- Specified by:
toGrupDispatcher
in interfaceSystemGroupEntityDao
-
toGrupDispatcherList
public List<es.caib.seycon.ng.comu.GrupDispatcher> toGrupDispatcherList(Collection<SystemGroupEntity> instances)
Transforms toGrupDispatcher
list- Specified by:
toGrupDispatcherList
in interfaceSystemGroupEntityDao
-
grupDispatcherToEntity
public void grupDispatcherToEntity(es.caib.seycon.ng.comu.GrupDispatcher source, SystemGroupEntity target, boolean copyIfNull)
Copy data fromGrupDispatcher
object- Specified by:
grupDispatcherToEntity
in interfaceSystemGroupEntityDao
-
grupDispatcherToEntity
public SystemGroupEntity grupDispatcherToEntity(es.caib.seycon.ng.comu.GrupDispatcher instance)
Transforms fromGrupDispatcher
object- Specified by:
grupDispatcherToEntity
in interfaceSystemGroupEntityDao
-
grupDispatcherToEntityList
public List<SystemGroupEntity> grupDispatcherToEntityList(Collection<es.caib.seycon.ng.comu.GrupDispatcher> instances)
Transforms fromSystemGroup
list- Specified by:
grupDispatcherToEntityList
in interfaceSystemGroupEntityDao
-
newSystemGroupEntity
public SystemGroupEntity newSystemGroupEntity()
Creates an instance ofSystemGroupEntity
.- Specified by:
newSystemGroupEntity
in interfaceSystemGroupEntityDao
-
load
public SystemGroupEntity load(Long id)
Loads an instance ofSystemGroupEntity
from the persistent store.- Specified by:
load
in interfaceSystemGroupEntityDao
-
loadAll
public List<SystemGroupEntity> loadAll()
Loads all instances ofSystemGroupEntity
from the persistent store.- Specified by:
loadAll
in interfaceSystemGroupEntityDao
-
create
public void create(SystemGroupEntity entity)
Adds an instance ofSystemGroupEntity
to the persistent store.- Specified by:
create
in interfaceSystemGroupEntityDao
-
update
public void update(SystemGroupEntity entity)
Updates an instance ofSystemGroupEntity
at the persistent store.- Specified by:
update
in interfaceSystemGroupEntityDao
-
remove
public void remove(SystemGroupEntity entity)
Removes an instance ofSystemGroupEntity
from the persistent store.- Specified by:
remove
in interfaceSystemGroupEntityDao
-
create
public void create(Collection<? extends SystemGroupEntity> entities)
Creates a collection ofSystemGroupEntity
and adds it to the persistent store.- Specified by:
create
in interfaceSystemGroupEntityDao
-
update
public void update(Collection<? extends SystemGroupEntity> entities)
Updates a collection ofSystemGroupEntity
in the persistent store.- Specified by:
update
in interfaceSystemGroupEntityDao
-
remove
public void remove(Collection<? extends SystemGroupEntity> entities)
Removes a collection ofSystemGroupEntity
from the persistent store.- Specified by:
remove
in interfaceSystemGroupEntityDao
-
remove
public void remove(Long id)
Removes an instance ofSystemGroupEntity
from the persistent store.- Specified by:
remove
in interfaceSystemGroupEntityDao
-
query
public List<SystemGroupEntity> query(String queryString, Parameter[] parameters)
Query ofSystemGroupEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
query
in interfaceSystemGroupEntityDao
-
query
public List<SystemGroupEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofSystemGroupEntity
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 interfaceSystemGroupEntityDao
-
-