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 void
create(RoleAttributeEntity entity)
Adds an instance ofRoleAttributeEntity
to the persistent store.void
create(Collection<? extends RoleAttributeEntity> entities)
Creates a collection ofRoleAttributeEntity
and 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 findByNameAndValueAuditEntityDao
getAuditEntityDao()
Gets reference toauditoriaEntityDao
.com.soffid.iam.service.AuthorizationService
getAuthorizationService()
Gets reference toautoritzacioService
.MetaDataEntityDao
getMetaDataEntityDao()
Gets reference totipusDadaEntityDao
.RoleEntityDao
getRoleEntityDao()
Gets reference torolEntityDao
.RoleAttributeEntity
load(Long id)
Loads an instance ofRoleAttributeEntity
from the persistent store.List<RoleAttributeEntity>
loadAll()
Loads all instances ofRoleAttributeEntity
from the persistent store.RoleAttributeEntity
newRoleAttributeEntity()
Creates an instance ofRoleAttributeEntity
.List<RoleAttributeEntity>
query(String queryString, Parameter[] parameters)
Query ofRoleAttributeEntity
from the persistent store.List<RoleAttributeEntity>
query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofRoleAttributeEntity
from the persistent store.void
remove(RoleAttributeEntity entity)
Removes an instance ofRoleAttributeEntity
from the persistent store.void
remove(Long id)
Removes an instance ofRoleAttributeEntity
from the persistent store.void
remove(Collection<? extends RoleAttributeEntity> entities)
Removes a collection ofRoleAttributeEntity
from the persistent store.void
setAuditEntityDao(AuditEntityDao auditoriaEntityDao)
Sets reference toauditoriaEntityDao
.void
setAuthorizationService(com.soffid.iam.service.AuthorizationService autoritzacioService)
Sets reference toautoritzacioService
.void
setMetaDataEntityDao(MetaDataEntityDao tipusDadaEntityDao)
Sets reference totipusDadaEntityDao
.void
setRoleEntityDao(RoleEntityDao rolEntityDao)
Sets reference torolEntityDao
.void
update(RoleAttributeEntity entity)
Updates an instance ofRoleAttributeEntity
at the persistent store.void
update(Collection<? extends RoleAttributeEntity> entities)
Updates a collection ofRoleAttributeEntity
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
-
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:
findByNameAndValue
in interfaceRoleAttributeEntityDao
- Parameters:
name
-value
-- Returns:
-
findByNameAndValue
public List<RoleAttributeEntity> findByNameAndValue(CriteriaSearchConfiguration criteria, String name, String value)
CriteriaSearchConfiguration implementation- Specified by:
findByNameAndValue
in 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:
newRoleAttributeEntity
in interfaceRoleAttributeEntityDao
-
load
public RoleAttributeEntity load(Long id)
Loads an instance ofRoleAttributeEntity
from the persistent store.- Specified by:
load
in interfaceRoleAttributeEntityDao
-
loadAll
public List<RoleAttributeEntity> loadAll()
Loads all instances ofRoleAttributeEntity
from the persistent store.- Specified by:
loadAll
in interfaceRoleAttributeEntityDao
-
create
public void create(RoleAttributeEntity entity)
Adds an instance ofRoleAttributeEntity
to the persistent store.- Specified by:
create
in interfaceRoleAttributeEntityDao
-
update
public void update(RoleAttributeEntity entity)
Updates an instance ofRoleAttributeEntity
at the persistent store.- Specified by:
update
in interfaceRoleAttributeEntityDao
-
remove
public void remove(RoleAttributeEntity entity)
Removes an instance ofRoleAttributeEntity
from the persistent store.- Specified by:
remove
in interfaceRoleAttributeEntityDao
-
create
public void create(Collection<? extends RoleAttributeEntity> entities)
Creates a collection ofRoleAttributeEntity
and adds it to the persistent store.- Specified by:
create
in interfaceRoleAttributeEntityDao
-
update
public void update(Collection<? extends RoleAttributeEntity> entities)
Updates a collection ofRoleAttributeEntity
in the persistent store.- Specified by:
update
in interfaceRoleAttributeEntityDao
-
remove
public void remove(Collection<? extends RoleAttributeEntity> entities)
Removes a collection ofRoleAttributeEntity
from the persistent store.- Specified by:
remove
in interfaceRoleAttributeEntityDao
-
remove
public void remove(Long id)
Removes an instance ofRoleAttributeEntity
from the persistent store.- Specified by:
remove
in interfaceRoleAttributeEntityDao
-
query
public List<RoleAttributeEntity> query(String queryString, Parameter[] parameters)
Query ofRoleAttributeEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
query
in interfaceRoleAttributeEntityDao
-
query
public List<RoleAttributeEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofRoleAttributeEntity
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 interfaceRoleAttributeEntityDao
-
-