Package com.soffid.iam.model
Class PamRuleEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.PamRuleEntityDaoBase
-
- All Implemented Interfaces:
PamRuleEntityDao
,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
PamRuleEntityDaoImpl
public abstract class PamRuleEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements PamRuleEntityDao
DAO Base for Entity PamRuleEntity
-
-
Constructor Summary
Constructors Constructor Description PamRuleEntityDaoBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(PamRuleEntity entity)
Adds an instance ofPamRuleEntity
to the persistent store.void
create(Collection<? extends PamRuleEntity> entities)
Creates a collection ofPamRuleEntity
and adds it to the persistent store.PamRuleEntity
findByName(CriteriaSearchConfiguration criteria, String name)
CriteriaSearchConfiguration implementationPamRuleEntity
findByName(String name)
Operation findByNamePamRuleEntity
findByName(String queryString, CriteriaSearchConfiguration criteria, String name)
Internal implementationIssueEntityDao
getIssueEntityDao()
Gets reference toissueEntityDao
.PamActionEntityDao
getPamActionEntityDao()
Gets reference topamActionEntityDao
.TenantEntityDao
getTenantEntityDao()
Gets reference totenantEntityDao
.PamRuleEntity
load(Long id)
Loads an instance ofPamRuleEntity
from the persistent store.List<PamRuleEntity>
loadAll()
Loads all instances ofPamRuleEntity
from the persistent store.PamRuleEntity
newPamRuleEntity()
Creates an instance ofPamRuleEntity
.PamRuleEntity
pamRuleToEntity(com.soffid.iam.api.PamRule instance)
Transforms fromPamRule
objectvoid
pamRuleToEntity(com.soffid.iam.api.PamRule source, PamRuleEntity target, boolean copyIfNull)
Copy data fromPamRule
objectList<PamRuleEntity>
pamRuleToEntityList(Collection<com.soffid.iam.api.PamRule> instances)
Transforms fromPamRule
listList<PamRuleEntity>
query(String queryString, Parameter[] parameters)
Query ofPamRuleEntity
from the persistent store.List<PamRuleEntity>
query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofPamRuleEntity
from the persistent store.void
remove(PamRuleEntity entity)
Removes an instance ofPamRuleEntity
from the persistent store.void
remove(Long id)
Removes an instance ofPamRuleEntity
from the persistent store.void
remove(Collection<? extends PamRuleEntity> entities)
Removes a collection ofPamRuleEntity
from the persistent store.void
setIssueEntityDao(IssueEntityDao issueEntityDao)
Sets reference toissueEntityDao
.void
setPamActionEntityDao(PamActionEntityDao pamActionEntityDao)
Sets reference topamActionEntityDao
.void
setTenantEntityDao(TenantEntityDao tenantEntityDao)
Sets reference totenantEntityDao
.com.soffid.iam.api.PamRule
toPamRule(PamRuleEntity entity)
Transforms toPamRule
objectvoid
toPamRule(PamRuleEntity source, com.soffid.iam.api.PamRule target)
Copy data toPamRule
objectList<com.soffid.iam.api.PamRule>
toPamRuleList(Collection<PamRuleEntity> instances)
Transforms toPamRule
listvoid
update(PamRuleEntity entity)
Updates an instance ofPamRuleEntity
at the persistent store.void
update(Collection<? extends PamRuleEntity> entities)
Updates a collection ofPamRuleEntity
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
-
setIssueEntityDao
public void setIssueEntityDao(IssueEntityDao issueEntityDao)
Sets reference toissueEntityDao
.
-
getIssueEntityDao
public IssueEntityDao getIssueEntityDao()
Gets reference toissueEntityDao
.
-
setPamActionEntityDao
public void setPamActionEntityDao(PamActionEntityDao pamActionEntityDao)
Sets reference topamActionEntityDao
.
-
getPamActionEntityDao
public PamActionEntityDao getPamActionEntityDao()
Gets reference topamActionEntityDao
.
-
setTenantEntityDao
public void setTenantEntityDao(TenantEntityDao tenantEntityDao)
Sets reference totenantEntityDao
.
-
getTenantEntityDao
public TenantEntityDao getTenantEntityDao()
Gets reference totenantEntityDao
.
-
findByName
public PamRuleEntity findByName(String name)
Operation findByName- Specified by:
findByName
in interfacePamRuleEntityDao
- Parameters:
name
-- Returns:
-
findByName
public PamRuleEntity findByName(CriteriaSearchConfiguration criteria, String name)
CriteriaSearchConfiguration implementation- Specified by:
findByName
in interfacePamRuleEntityDao
-
findByName
public PamRuleEntity findByName(String queryString, CriteriaSearchConfiguration criteria, String name)
Internal implementation
-
toPamRule
public void toPamRule(PamRuleEntity source, com.soffid.iam.api.PamRule target)
Copy data toPamRule
object- Specified by:
toPamRule
in interfacePamRuleEntityDao
-
toPamRule
public com.soffid.iam.api.PamRule toPamRule(PamRuleEntity entity)
Transforms toPamRule
object- Specified by:
toPamRule
in interfacePamRuleEntityDao
-
toPamRuleList
public List<com.soffid.iam.api.PamRule> toPamRuleList(Collection<PamRuleEntity> instances)
Transforms toPamRule
list- Specified by:
toPamRuleList
in interfacePamRuleEntityDao
-
pamRuleToEntity
public void pamRuleToEntity(com.soffid.iam.api.PamRule source, PamRuleEntity target, boolean copyIfNull)
Copy data fromPamRule
object- Specified by:
pamRuleToEntity
in interfacePamRuleEntityDao
-
pamRuleToEntity
public PamRuleEntity pamRuleToEntity(com.soffid.iam.api.PamRule instance)
Transforms fromPamRule
object- Specified by:
pamRuleToEntity
in interfacePamRuleEntityDao
-
pamRuleToEntityList
public List<PamRuleEntity> pamRuleToEntityList(Collection<com.soffid.iam.api.PamRule> instances)
Transforms fromPamRule
list- Specified by:
pamRuleToEntityList
in interfacePamRuleEntityDao
-
newPamRuleEntity
public PamRuleEntity newPamRuleEntity()
Creates an instance ofPamRuleEntity
.- Specified by:
newPamRuleEntity
in interfacePamRuleEntityDao
-
load
public PamRuleEntity load(Long id)
Loads an instance ofPamRuleEntity
from the persistent store.- Specified by:
load
in interfacePamRuleEntityDao
-
loadAll
public List<PamRuleEntity> loadAll()
Loads all instances ofPamRuleEntity
from the persistent store.- Specified by:
loadAll
in interfacePamRuleEntityDao
-
create
public void create(PamRuleEntity entity)
Adds an instance ofPamRuleEntity
to the persistent store.- Specified by:
create
in interfacePamRuleEntityDao
-
update
public void update(PamRuleEntity entity)
Updates an instance ofPamRuleEntity
at the persistent store.- Specified by:
update
in interfacePamRuleEntityDao
-
remove
public void remove(PamRuleEntity entity)
Removes an instance ofPamRuleEntity
from the persistent store.- Specified by:
remove
in interfacePamRuleEntityDao
-
create
public void create(Collection<? extends PamRuleEntity> entities)
Creates a collection ofPamRuleEntity
and adds it to the persistent store.- Specified by:
create
in interfacePamRuleEntityDao
-
update
public void update(Collection<? extends PamRuleEntity> entities)
Updates a collection ofPamRuleEntity
in the persistent store.- Specified by:
update
in interfacePamRuleEntityDao
-
remove
public void remove(Collection<? extends PamRuleEntity> entities)
Removes a collection ofPamRuleEntity
from the persistent store.- Specified by:
remove
in interfacePamRuleEntityDao
-
remove
public void remove(Long id)
Removes an instance ofPamRuleEntity
from the persistent store.- Specified by:
remove
in interfacePamRuleEntityDao
-
query
public List<PamRuleEntity> query(String queryString, Parameter[] parameters)
Query ofPamRuleEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
query
in interfacePamRuleEntityDao
-
query
public List<PamRuleEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofPamRuleEntity
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 interfacePamRuleEntityDao
-
-