Package com.soffid.iam.model
Class AttributeMappingEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.AttributeMappingEntityDaoBase
-
- All Implemented Interfaces:
AttributeMappingEntityDao
,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
AttributeMappingEntityDaoImpl
public abstract class AttributeMappingEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements AttributeMappingEntityDao
DAO Base for Entity AttributeMappingEntity
-
-
Constructor Summary
Constructors Constructor Description AttributeMappingEntityDaoBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeMappingEntity
attributeMappingToEntity(com.soffid.iam.api.AttributeMapping instance)
Transforms fromAttributeMapping
objectvoid
attributeMappingToEntity(com.soffid.iam.api.AttributeMapping source, AttributeMappingEntity target, boolean copyIfNull)
Copy data fromAttributeMapping
objectList<AttributeMappingEntity>
attributeMappingToEntityList(Collection<com.soffid.iam.api.AttributeMapping> instances)
Transforms fromAttributeMapping
listvoid
create(AttributeMappingEntity entity)
Adds an instance ofAttributeMappingEntity
to the persistent store.void
create(Collection<? extends AttributeMappingEntity> entities)
Creates a collection ofAttributeMappingEntity
and adds it to the persistent store.ObjectMappingEntityDao
getObjectMappingEntityDao()
Gets reference toobjectMappingEntityDao
.AttributeMappingEntity
load(Long id)
Loads an instance ofAttributeMappingEntity
from the persistent store.List<AttributeMappingEntity>
loadAll()
Loads all instances ofAttributeMappingEntity
from the persistent store.AttributeMappingEntity
newAttributeMappingEntity()
Creates an instance ofAttributeMappingEntity
.List<AttributeMappingEntity>
query(String queryString, Parameter[] parameters)
Query ofAttributeMappingEntity
from the persistent store.List<AttributeMappingEntity>
query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofAttributeMappingEntity
from the persistent store.void
remove(AttributeMappingEntity entity)
Removes an instance ofAttributeMappingEntity
from the persistent store.void
remove(Long id)
Removes an instance ofAttributeMappingEntity
from the persistent store.void
remove(Collection<? extends AttributeMappingEntity> entities)
Removes a collection ofAttributeMappingEntity
from the persistent store.void
setObjectMappingEntityDao(ObjectMappingEntityDao objectMappingEntityDao)
Sets reference toobjectMappingEntityDao
.com.soffid.iam.api.AttributeMapping
toAttributeMapping(AttributeMappingEntity entity)
Transforms toAttributeMapping
objectvoid
toAttributeMapping(AttributeMappingEntity source, com.soffid.iam.api.AttributeMapping target)
Copy data toAttributeMapping
objectList<com.soffid.iam.api.AttributeMapping>
toAttributeMappingList(Collection<AttributeMappingEntity> instances)
Transforms toAttributeMapping
listvoid
update(AttributeMappingEntity entity)
Updates an instance ofAttributeMappingEntity
at the persistent store.void
update(Collection<? extends AttributeMappingEntity> entities)
Updates a collection ofAttributeMappingEntity
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
-
setObjectMappingEntityDao
public void setObjectMappingEntityDao(ObjectMappingEntityDao objectMappingEntityDao)
Sets reference toobjectMappingEntityDao
.
-
getObjectMappingEntityDao
public ObjectMappingEntityDao getObjectMappingEntityDao()
Gets reference toobjectMappingEntityDao
.
-
toAttributeMapping
public void toAttributeMapping(AttributeMappingEntity source, com.soffid.iam.api.AttributeMapping target)
Copy data toAttributeMapping
object- Specified by:
toAttributeMapping
in interfaceAttributeMappingEntityDao
-
toAttributeMapping
public com.soffid.iam.api.AttributeMapping toAttributeMapping(AttributeMappingEntity entity)
Transforms toAttributeMapping
object- Specified by:
toAttributeMapping
in interfaceAttributeMappingEntityDao
-
toAttributeMappingList
public List<com.soffid.iam.api.AttributeMapping> toAttributeMappingList(Collection<AttributeMappingEntity> instances)
Transforms toAttributeMapping
list- Specified by:
toAttributeMappingList
in interfaceAttributeMappingEntityDao
-
attributeMappingToEntity
public void attributeMappingToEntity(com.soffid.iam.api.AttributeMapping source, AttributeMappingEntity target, boolean copyIfNull)
Copy data fromAttributeMapping
object- Specified by:
attributeMappingToEntity
in interfaceAttributeMappingEntityDao
-
attributeMappingToEntity
public AttributeMappingEntity attributeMappingToEntity(com.soffid.iam.api.AttributeMapping instance)
Transforms fromAttributeMapping
object- Specified by:
attributeMappingToEntity
in interfaceAttributeMappingEntityDao
-
attributeMappingToEntityList
public List<AttributeMappingEntity> attributeMappingToEntityList(Collection<com.soffid.iam.api.AttributeMapping> instances)
Transforms fromAttributeMapping
list- Specified by:
attributeMappingToEntityList
in interfaceAttributeMappingEntityDao
-
newAttributeMappingEntity
public AttributeMappingEntity newAttributeMappingEntity()
Creates an instance ofAttributeMappingEntity
.- Specified by:
newAttributeMappingEntity
in interfaceAttributeMappingEntityDao
-
load
public AttributeMappingEntity load(Long id)
Loads an instance ofAttributeMappingEntity
from the persistent store.- Specified by:
load
in interfaceAttributeMappingEntityDao
-
loadAll
public List<AttributeMappingEntity> loadAll()
Loads all instances ofAttributeMappingEntity
from the persistent store.- Specified by:
loadAll
in interfaceAttributeMappingEntityDao
-
create
public void create(AttributeMappingEntity entity)
Adds an instance ofAttributeMappingEntity
to the persistent store.- Specified by:
create
in interfaceAttributeMappingEntityDao
-
update
public void update(AttributeMappingEntity entity)
Updates an instance ofAttributeMappingEntity
at the persistent store.- Specified by:
update
in interfaceAttributeMappingEntityDao
-
remove
public void remove(AttributeMappingEntity entity)
Removes an instance ofAttributeMappingEntity
from the persistent store.- Specified by:
remove
in interfaceAttributeMappingEntityDao
-
create
public void create(Collection<? extends AttributeMappingEntity> entities)
Creates a collection ofAttributeMappingEntity
and adds it to the persistent store.- Specified by:
create
in interfaceAttributeMappingEntityDao
-
update
public void update(Collection<? extends AttributeMappingEntity> entities)
Updates a collection ofAttributeMappingEntity
in the persistent store.- Specified by:
update
in interfaceAttributeMappingEntityDao
-
remove
public void remove(Collection<? extends AttributeMappingEntity> entities)
Removes a collection ofAttributeMappingEntity
from the persistent store.- Specified by:
remove
in interfaceAttributeMappingEntityDao
-
remove
public void remove(Long id)
Removes an instance ofAttributeMappingEntity
from the persistent store.- Specified by:
remove
in interfaceAttributeMappingEntityDao
-
query
public List<AttributeMappingEntity> query(String queryString, Parameter[] parameters)
Query ofAttributeMappingEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
query
in interfaceAttributeMappingEntityDao
-
query
public List<AttributeMappingEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofAttributeMappingEntity
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 interfaceAttributeMappingEntityDao
-
-