Package com.soffid.iam.model
Class RoleAttributeEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.RoleAttributeEntityDaoBase
-
- All Implemented Interfaces:
RoleAttributeEntityDao,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
RoleAttributeEntityDaoImpl
public abstract class RoleAttributeEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements RoleAttributeEntityDao
DAO Base for Entity RoleAttributeEntity
-
-
Constructor Summary
Constructors Constructor Description RoleAttributeEntityDaoBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate(RoleAttributeEntity entity)Adds an instance ofRoleAttributeEntityto the persistent store.voidcreate(Collection<? extends RoleAttributeEntity> entities)Creates a collection ofRoleAttributeEntityand adds it to the persistent store.List<RoleAttributeEntity>findByNameAndValue(CriteriaSearchConfiguration criteria, String name, String value)CriteriaSearchConfiguration implementationList<RoleAttributeEntity>findByNameAndValue(String queryString, CriteriaSearchConfiguration criteria, String name, String value)Internal implementationList<RoleAttributeEntity>findByNameAndValue(String name, String value)Operation findByNameAndValueAuditEntityDaogetAuditEntityDao()Gets reference toauditoriaEntityDao.com.soffid.iam.service.AuthorizationServicegetAuthorizationService()Gets reference toautoritzacioService.MetaDataEntityDaogetMetaDataEntityDao()Gets reference totipusDadaEntityDao.RoleEntityDaogetRoleEntityDao()Gets reference torolEntityDao.RoleAttributeEntityload(Long id)Loads an instance ofRoleAttributeEntityfrom the persistent store.List<RoleAttributeEntity>loadAll()Loads all instances ofRoleAttributeEntityfrom the persistent store.RoleAttributeEntitynewRoleAttributeEntity()Creates an instance ofRoleAttributeEntity.List<RoleAttributeEntity>query(String queryString, Parameter[] parameters)Query ofRoleAttributeEntityfrom the persistent store.List<RoleAttributeEntity>query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofRoleAttributeEntityfrom the persistent store.voidremove(RoleAttributeEntity entity)Removes an instance ofRoleAttributeEntityfrom the persistent store.voidremove(Long id)Removes an instance ofRoleAttributeEntityfrom the persistent store.voidremove(Collection<? extends RoleAttributeEntity> entities)Removes a collection ofRoleAttributeEntityfrom the persistent store.voidsetAuditEntityDao(AuditEntityDao auditoriaEntityDao)Sets reference toauditoriaEntityDao.voidsetAuthorizationService(com.soffid.iam.service.AuthorizationService autoritzacioService)Sets reference toautoritzacioService.voidsetMetaDataEntityDao(MetaDataEntityDao tipusDadaEntityDao)Sets reference totipusDadaEntityDao.voidsetRoleEntityDao(RoleEntityDao rolEntityDao)Sets reference torolEntityDao.voidupdate(RoleAttributeEntity entity)Updates an instance ofRoleAttributeEntityat the persistent store.voidupdate(Collection<? extends RoleAttributeEntity> entities)Updates a collection ofRoleAttributeEntityin 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
-
setAuditEntityDao
public void setAuditEntityDao(AuditEntityDao auditoriaEntityDao)
Sets reference toauditoriaEntityDao.
-
getAuditEntityDao
public AuditEntityDao getAuditEntityDao()
Gets reference toauditoriaEntityDao.
-
setAuthorizationService
public void setAuthorizationService(com.soffid.iam.service.AuthorizationService autoritzacioService)
Sets reference toautoritzacioService.
-
getAuthorizationService
public com.soffid.iam.service.AuthorizationService getAuthorizationService()
Gets reference toautoritzacioService.
-
setRoleEntityDao
public void setRoleEntityDao(RoleEntityDao rolEntityDao)
Sets reference torolEntityDao.
-
getRoleEntityDao
public RoleEntityDao getRoleEntityDao()
Gets reference torolEntityDao.
-
setMetaDataEntityDao
public void setMetaDataEntityDao(MetaDataEntityDao tipusDadaEntityDao)
Sets reference totipusDadaEntityDao.
-
getMetaDataEntityDao
public MetaDataEntityDao getMetaDataEntityDao()
Gets reference totipusDadaEntityDao.
-
findByNameAndValue
public List<RoleAttributeEntity> findByNameAndValue(String name, String value)
Operation findByNameAndValue- Specified by:
findByNameAndValuein interfaceRoleAttributeEntityDao- Parameters:
name-value-- Returns:
-
findByNameAndValue
public List<RoleAttributeEntity> findByNameAndValue(CriteriaSearchConfiguration criteria, String name, String value)
CriteriaSearchConfiguration implementation- Specified by:
findByNameAndValuein interfaceRoleAttributeEntityDao
-
findByNameAndValue
public List<RoleAttributeEntity> findByNameAndValue(String queryString, CriteriaSearchConfiguration criteria, String name, String value)
Internal implementation
-
newRoleAttributeEntity
public RoleAttributeEntity newRoleAttributeEntity()
Creates an instance ofRoleAttributeEntity.- Specified by:
newRoleAttributeEntityin interfaceRoleAttributeEntityDao
-
load
public RoleAttributeEntity load(Long id)
Loads an instance ofRoleAttributeEntityfrom the persistent store.- Specified by:
loadin interfaceRoleAttributeEntityDao
-
loadAll
public List<RoleAttributeEntity> loadAll()
Loads all instances ofRoleAttributeEntityfrom the persistent store.- Specified by:
loadAllin interfaceRoleAttributeEntityDao
-
create
public void create(RoleAttributeEntity entity)
Adds an instance ofRoleAttributeEntityto the persistent store.- Specified by:
createin interfaceRoleAttributeEntityDao
-
update
public void update(RoleAttributeEntity entity)
Updates an instance ofRoleAttributeEntityat the persistent store.- Specified by:
updatein interfaceRoleAttributeEntityDao
-
remove
public void remove(RoleAttributeEntity entity)
Removes an instance ofRoleAttributeEntityfrom the persistent store.- Specified by:
removein interfaceRoleAttributeEntityDao
-
create
public void create(Collection<? extends RoleAttributeEntity> entities)
Creates a collection ofRoleAttributeEntityand adds it to the persistent store.- Specified by:
createin interfaceRoleAttributeEntityDao
-
update
public void update(Collection<? extends RoleAttributeEntity> entities)
Updates a collection ofRoleAttributeEntityin the persistent store.- Specified by:
updatein interfaceRoleAttributeEntityDao
-
remove
public void remove(Collection<? extends RoleAttributeEntity> entities)
Removes a collection ofRoleAttributeEntityfrom the persistent store.- Specified by:
removein interfaceRoleAttributeEntityDao
-
remove
public void remove(Long id)
Removes an instance ofRoleAttributeEntityfrom the persistent store.- Specified by:
removein interfaceRoleAttributeEntityDao
-
query
public List<RoleAttributeEntity> query(String queryString, Parameter[] parameters)
Query ofRoleAttributeEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
queryin interfaceRoleAttributeEntityDao
-
query
public List<RoleAttributeEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofRoleAttributeEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return- Specified by:
queryin interfaceRoleAttributeEntityDao
-
-