Package com.soffid.iam.model
Interface RuleEntityDao
-
- All Known Implementing Classes:
RuleEntityDaoBase,RuleEntityDaoImpl
public interface RuleEntityDaoDAO for Entity RuleEntity- See Also:
RuleEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreate(RuleEntity entity)Adds an instance ofRuleEntityto the persistent store.voidcreate(Collection<? extends RuleEntity> entities)Creates a collection ofRuleEntityand 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 findByRoleIdRuleEntityload(Long id)Loads an instance ofRuleEntityfrom the persistent store.List<RuleEntity>loadAll()Loads all instances ofRuleEntityfrom the persistent store.RuleEntitynewRuleEntity()Creates an instance ofRuleEntity.List<RuleEntity>query(String query, Parameter[] parameters)Query ofRuleEntityfrom the persistent store.List<RuleEntity>query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofRuleEntityfrom the persistent store.voidremove(RuleEntity entity)Removes an instance ofRuleEntityfrom the persistent store.voidremove(Long id)Removes an instance ofRuleEntityfrom the persistent store.voidremove(Collection<? extends RuleEntity> entities)Removes a collection ofRuleEntityfrom the persistent store.RuleEntityruleToEntity(com.soffid.iam.api.Rule instance)Transforms fromRuleobjectvoidruleToEntity(com.soffid.iam.api.Rule source, RuleEntity target, boolean copyIfNull)Copy data fromRuleobjectList<RuleEntity>ruleToEntityList(Collection<com.soffid.iam.api.Rule> instances)Transforms fromRulelistcom.soffid.iam.api.RuletoRule(RuleEntity entity)Transforms toRuleobjectvoidtoRule(RuleEntity source, com.soffid.iam.api.Rule target)Copy data toRuleobjectList<com.soffid.iam.api.Rule>toRuleList(Collection<RuleEntity> entities)Transforms toRulelistvoidupdate(RuleEntity entity)Updates an instance ofRuleEntityat the persistent store.voidupdate(Collection<? extends RuleEntity> entities)Updates a collection ofRuleEntityin 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 toRuleobject
-
toRule
com.soffid.iam.api.Rule toRule(RuleEntity entity)
Transforms toRuleobject
-
toRuleList
List<com.soffid.iam.api.Rule> toRuleList(Collection<RuleEntity> entities)
Transforms toRulelist
-
ruleToEntity
void ruleToEntity(com.soffid.iam.api.Rule source, RuleEntity target, boolean copyIfNull)Copy data fromRuleobject
-
ruleToEntity
RuleEntity ruleToEntity(com.soffid.iam.api.Rule instance)
Transforms fromRuleobject
-
ruleToEntityList
List<RuleEntity> ruleToEntityList(Collection<com.soffid.iam.api.Rule> instances)
Transforms fromRulelist
-
newRuleEntity
RuleEntity newRuleEntity()
Creates an instance ofRuleEntity.
-
create
void create(RuleEntity entity)
Adds an instance ofRuleEntityto the persistent store.
-
update
void update(RuleEntity entity)
Updates an instance ofRuleEntityat the persistent store.
-
remove
void remove(RuleEntity entity)
Removes an instance ofRuleEntityfrom the persistent store.
-
load
RuleEntity load(Long id)
Loads an instance ofRuleEntityfrom the persistent store.
-
loadAll
List<RuleEntity> loadAll()
Loads all instances ofRuleEntityfrom the persistent store.
-
create
void create(Collection<? extends RuleEntity> entities)
Creates a collection ofRuleEntityand adds it to the persistent store.
-
update
void update(Collection<? extends RuleEntity> entities)
Updates a collection ofRuleEntityin the persistent store.
-
remove
void remove(Collection<? extends RuleEntity> entities)
Removes a collection ofRuleEntityfrom the persistent store.
-
remove
void remove(Long id)
Removes an instance ofRuleEntityfrom the persistent store.
-
query
List<RuleEntity> query(String query, Parameter[] parameters)
Query ofRuleEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters
-
query
List<RuleEntity> query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofRuleEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return
-
-