Package com.soffid.iam.model
Class CustomObjectAttributeEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.CustomObjectAttributeEntityDaoBase
-
- All Implemented Interfaces:
CustomObjectAttributeEntityDao
,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
CustomObjectAttributeEntityDaoImpl
public abstract class CustomObjectAttributeEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements CustomObjectAttributeEntityDao
DAO Base for Entity CustomObjectAttributeEntity
-
-
Constructor Summary
Constructors Constructor Description CustomObjectAttributeEntityDaoBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(CustomObjectAttributeEntity entity)
Adds an instance ofCustomObjectAttributeEntity
to the persistent store.void
create(Collection<? extends CustomObjectAttributeEntity> entities)
Creates a collection ofCustomObjectAttributeEntity
and adds it to the persistent store.List<CustomObjectAttributeEntity>
findByTypeNameAndValue(CriteriaSearchConfiguration criteria, String type, String name, String value)
CriteriaSearchConfiguration implementationList<CustomObjectAttributeEntity>
findByTypeNameAndValue(String queryString, CriteriaSearchConfiguration criteria, String type, String name, String value)
Internal implementationList<CustomObjectAttributeEntity>
findByTypeNameAndValue(String type, String name, String value)
Operation findByTypeNameAndValueAuditEntityDao
getAuditEntityDao()
Gets reference toauditoriaEntityDao
.com.soffid.iam.service.AuthorizationService
getAuthorizationService()
Gets reference toautoritzacioService
.CustomObjectEntityDao
getCustomObjectEntityDao()
Gets reference tocustomObjectEntityDao
.MetaDataEntityDao
getMetaDataEntityDao()
Gets reference totipusDadaEntityDao
.CustomObjectAttributeEntity
load(Long id)
Loads an instance ofCustomObjectAttributeEntity
from the persistent store.List<CustomObjectAttributeEntity>
loadAll()
Loads all instances ofCustomObjectAttributeEntity
from the persistent store.CustomObjectAttributeEntity
newCustomObjectAttributeEntity()
Creates an instance ofCustomObjectAttributeEntity
.List<CustomObjectAttributeEntity>
query(String queryString, Parameter[] parameters)
Query ofCustomObjectAttributeEntity
from the persistent store.List<CustomObjectAttributeEntity>
query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofCustomObjectAttributeEntity
from the persistent store.void
remove(CustomObjectAttributeEntity entity)
Removes an instance ofCustomObjectAttributeEntity
from the persistent store.void
remove(Long id)
Removes an instance ofCustomObjectAttributeEntity
from the persistent store.void
remove(Collection<? extends CustomObjectAttributeEntity> entities)
Removes a collection ofCustomObjectAttributeEntity
from the persistent store.void
setAuditEntityDao(AuditEntityDao auditoriaEntityDao)
Sets reference toauditoriaEntityDao
.void
setAuthorizationService(com.soffid.iam.service.AuthorizationService autoritzacioService)
Sets reference toautoritzacioService
.void
setCustomObjectEntityDao(CustomObjectEntityDao customObjectEntityDao)
Sets reference tocustomObjectEntityDao
.void
setMetaDataEntityDao(MetaDataEntityDao tipusDadaEntityDao)
Sets reference totipusDadaEntityDao
.void
update(CustomObjectAttributeEntity entity)
Updates an instance ofCustomObjectAttributeEntity
at the persistent store.void
update(Collection<? extends CustomObjectAttributeEntity> entities)
Updates a collection ofCustomObjectAttributeEntity
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
.
-
setCustomObjectEntityDao
public void setCustomObjectEntityDao(CustomObjectEntityDao customObjectEntityDao)
Sets reference tocustomObjectEntityDao
.
-
getCustomObjectEntityDao
public CustomObjectEntityDao getCustomObjectEntityDao()
Gets reference tocustomObjectEntityDao
.
-
setMetaDataEntityDao
public void setMetaDataEntityDao(MetaDataEntityDao tipusDadaEntityDao)
Sets reference totipusDadaEntityDao
.
-
getMetaDataEntityDao
public MetaDataEntityDao getMetaDataEntityDao()
Gets reference totipusDadaEntityDao
.
-
findByTypeNameAndValue
public List<CustomObjectAttributeEntity> findByTypeNameAndValue(String type, String name, String value)
Operation findByTypeNameAndValue- Specified by:
findByTypeNameAndValue
in interfaceCustomObjectAttributeEntityDao
- Parameters:
type
-name
-value
-- Returns:
-
findByTypeNameAndValue
public List<CustomObjectAttributeEntity> findByTypeNameAndValue(CriteriaSearchConfiguration criteria, String type, String name, String value)
CriteriaSearchConfiguration implementation- Specified by:
findByTypeNameAndValue
in interfaceCustomObjectAttributeEntityDao
-
findByTypeNameAndValue
public List<CustomObjectAttributeEntity> findByTypeNameAndValue(String queryString, CriteriaSearchConfiguration criteria, String type, String name, String value)
Internal implementation
-
newCustomObjectAttributeEntity
public CustomObjectAttributeEntity newCustomObjectAttributeEntity()
Creates an instance ofCustomObjectAttributeEntity
.- Specified by:
newCustomObjectAttributeEntity
in interfaceCustomObjectAttributeEntityDao
-
load
public CustomObjectAttributeEntity load(Long id)
Loads an instance ofCustomObjectAttributeEntity
from the persistent store.- Specified by:
load
in interfaceCustomObjectAttributeEntityDao
-
loadAll
public List<CustomObjectAttributeEntity> loadAll()
Loads all instances ofCustomObjectAttributeEntity
from the persistent store.- Specified by:
loadAll
in interfaceCustomObjectAttributeEntityDao
-
create
public void create(CustomObjectAttributeEntity entity)
Adds an instance ofCustomObjectAttributeEntity
to the persistent store.- Specified by:
create
in interfaceCustomObjectAttributeEntityDao
-
update
public void update(CustomObjectAttributeEntity entity)
Updates an instance ofCustomObjectAttributeEntity
at the persistent store.- Specified by:
update
in interfaceCustomObjectAttributeEntityDao
-
remove
public void remove(CustomObjectAttributeEntity entity)
Removes an instance ofCustomObjectAttributeEntity
from the persistent store.- Specified by:
remove
in interfaceCustomObjectAttributeEntityDao
-
create
public void create(Collection<? extends CustomObjectAttributeEntity> entities)
Creates a collection ofCustomObjectAttributeEntity
and adds it to the persistent store.- Specified by:
create
in interfaceCustomObjectAttributeEntityDao
-
update
public void update(Collection<? extends CustomObjectAttributeEntity> entities)
Updates a collection ofCustomObjectAttributeEntity
in the persistent store.- Specified by:
update
in interfaceCustomObjectAttributeEntityDao
-
remove
public void remove(Collection<? extends CustomObjectAttributeEntity> entities)
Removes a collection ofCustomObjectAttributeEntity
from the persistent store.- Specified by:
remove
in interfaceCustomObjectAttributeEntityDao
-
remove
public void remove(Long id)
Removes an instance ofCustomObjectAttributeEntity
from the persistent store.- Specified by:
remove
in interfaceCustomObjectAttributeEntityDao
-
query
public List<CustomObjectAttributeEntity> query(String queryString, Parameter[] parameters)
Query ofCustomObjectAttributeEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
query
in interfaceCustomObjectAttributeEntityDao
-
query
public List<CustomObjectAttributeEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofCustomObjectAttributeEntity
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 interfaceCustomObjectAttributeEntityDao
-
-