@Transactional @Service(value="ruleViolationDomainService") public class RuleViolationDomainService extends de.alpharogroup.service.domain.AbstractDomainService<Integer,RuleViolation,de.alpharogroup.user.management.entities.RuleViolations,de.alpharogroup.user.management.daos.RuleViolationsDao,RuleViolationsMapper> implements RuleViolationService
RuleViolationDomainService.| Constructor and Description |
|---|
RuleViolationDomainService() |
| Modifier and Type | Method and Description |
|---|---|
List<RuleViolation> |
find(de.alpharogroup.user.domain.User detector,
de.alpharogroup.user.domain.User violator,
de.alpharogroup.user.management.enums.RuleViolationReason reason,
String description)
Find a all
RuleViolation objects from the given arguments. |
RuleViolation |
save(Infringement model)
Persist the given domain object
Infringement. |
RuleViolation |
save(de.alpharogroup.user.management.application.models.InfringementModel model)
Deprecated.
|
void |
setRuleViolationsDao(de.alpharogroup.user.management.daos.RuleViolationsDao ruleViolationsDao)
Sets the specific
RuleViolationsDao. |
void |
setRuleViolationsMapper(RuleViolationsMapper mapper)
Sets the specific
RuleViolationsMapper. |
create, delete, exists, findAll, getDao, getDomainObjectClass, getEntityClass, getMapper, persist, read, setDao, setMapper, updatepublic List<RuleViolation> find(de.alpharogroup.user.domain.User detector, de.alpharogroup.user.domain.User violator, de.alpharogroup.user.management.enums.RuleViolationReason reason, String description)
RuleViolation objects from the given arguments.find in interface RuleViolationServicedetector - the detectorviolator - the violatorreason - the reasondescription - the descriptionRuleViolation objects.public RuleViolation save(Infringement model)
Infringement.save in interface RuleViolationServicemodel - the modelRuleViolation object.@Deprecated public RuleViolation save(de.alpharogroup.user.management.application.models.InfringementModel model)
InfringementModel.save in interface RuleViolationServicemodel - the modelRuleViolation object.@Autowired public void setRuleViolationsDao(de.alpharogroup.user.management.daos.RuleViolationsDao ruleViolationsDao)
RuleViolationsDao.ruleViolationsDao - the new RuleViolationsDao.@Autowired public void setRuleViolationsMapper(RuleViolationsMapper mapper)
RuleViolationsMapper.mapper - the new RuleViolationsMapper.Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.