Package com.soffid.iam.model
Interface RuleEntityDao
-
- All Known Implementing Classes:
RuleEntityDaoBase
,RuleEntityDaoImpl
public interface RuleEntityDao
DAO for Entity RuleEntity- See Also:
RuleEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
create(RuleEntity entity)
Adds an instance ofRuleEntity
to the persistent store.void
create(Collection<? extends RuleEntity> entities)
Creates a collection ofRuleEntity
and adds it to the persistent store.List<RuleEntity>
findByDescription(CriteriaSearchConfiguration criteria, String description)
CriteriaSearchConfiguration finderList<RuleEntity>
findByDescription(String description)
Operation findByDescriptionList<RuleEntity>
findByRoleId(CriteriaSearchConfiguration criteria, Long roleId)
CriteriaSearchConfiguration finderList<RuleEntity>
findByRoleId(Long roleId)
Operation findByRoleIdRuleEntity
load(Long id)
Loads an instance ofRuleEntity
from the persistent store.List<RuleEntity>
loadAll()
Loads all instances ofRuleEntity
from the persistent store.RuleEntity
newRuleEntity()
Creates an instance ofRuleEntity
.List<RuleEntity>
query(String query, Parameter[] parameters)
Query ofRuleEntity
from the persistent store.List<RuleEntity>
query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofRuleEntity
from the persistent store.void
remove(RuleEntity entity)
Removes an instance ofRuleEntity
from the persistent store.void
remove(Long id)
Removes an instance ofRuleEntity
from the persistent store.void
remove(Collection<? extends RuleEntity> entities)
Removes a collection ofRuleEntity
from the persistent store.RuleEntity
ruleToEntity(com.soffid.iam.api.Rule instance)
Transforms fromRule
objectvoid
ruleToEntity(com.soffid.iam.api.Rule source, RuleEntity target, boolean copyIfNull)
Copy data fromRule
objectList<RuleEntity>
ruleToEntityList(Collection<com.soffid.iam.api.Rule> instances)
Transforms fromRule
listcom.soffid.iam.api.Rule
toRule(RuleEntity entity)
Transforms toRule
objectvoid
toRule(RuleEntity source, com.soffid.iam.api.Rule target)
Copy data toRule
objectList<com.soffid.iam.api.Rule>
toRuleList(Collection<RuleEntity> entities)
Transforms toRule
listvoid
update(RuleEntity entity)
Updates an instance ofRuleEntity
at the persistent store.void
update(Collection<? extends RuleEntity> entities)
Updates a collection ofRuleEntity
in the persistent store.
-
-
-
Method Detail
-
findByDescription
List<RuleEntity> findByDescription(String description)
Operation findByDescription- Parameters:
description
-- Returns:
-
findByDescription
List<RuleEntity> findByDescription(CriteriaSearchConfiguration criteria, String description)
CriteriaSearchConfiguration finder
-
findByRoleId
List<RuleEntity> findByRoleId(Long roleId)
Operation findByRoleId- Parameters:
roleId
-- Returns:
-
findByRoleId
List<RuleEntity> findByRoleId(CriteriaSearchConfiguration criteria, Long roleId)
CriteriaSearchConfiguration finder
-
toRule
void toRule(RuleEntity source, com.soffid.iam.api.Rule target)
Copy data toRule
object
-
toRule
com.soffid.iam.api.Rule toRule(RuleEntity entity)
Transforms toRule
object
-
toRuleList
List<com.soffid.iam.api.Rule> toRuleList(Collection<RuleEntity> entities)
Transforms toRule
list
-
ruleToEntity
void ruleToEntity(com.soffid.iam.api.Rule source, RuleEntity target, boolean copyIfNull)
Copy data fromRule
object
-
ruleToEntity
RuleEntity ruleToEntity(com.soffid.iam.api.Rule instance)
Transforms fromRule
object
-
ruleToEntityList
List<RuleEntity> ruleToEntityList(Collection<com.soffid.iam.api.Rule> instances)
Transforms fromRule
list
-
newRuleEntity
RuleEntity newRuleEntity()
Creates an instance ofRuleEntity
.
-
create
void create(RuleEntity entity)
Adds an instance ofRuleEntity
to the persistent store.
-
update
void update(RuleEntity entity)
Updates an instance ofRuleEntity
at the persistent store.
-
remove
void remove(RuleEntity entity)
Removes an instance ofRuleEntity
from the persistent store.
-
load
RuleEntity load(Long id)
Loads an instance ofRuleEntity
from the persistent store.
-
loadAll
List<RuleEntity> loadAll()
Loads all instances ofRuleEntity
from the persistent store.
-
create
void create(Collection<? extends RuleEntity> entities)
Creates a collection ofRuleEntity
and adds it to the persistent store.
-
update
void update(Collection<? extends RuleEntity> entities)
Updates a collection ofRuleEntity
in the persistent store.
-
remove
void remove(Collection<? extends RuleEntity> entities)
Removes a collection ofRuleEntity
from the persistent store.
-
remove
void remove(Long id)
Removes an instance ofRuleEntity
from the persistent store.
-
query
List<RuleEntity> query(String query, Parameter[] parameters)
Query ofRuleEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters
-
query
List<RuleEntity> query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofRuleEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return
-
-