PK - the generic type of the primary keyDO - the generic type of the domain objectE - the element type of the entityREPOSITORY - the generic type of the data transfer objectM - the generic type of the entity mapper@Transactional public abstract class AbstractDomainService<PK extends Serializable,DO extends de.alpharogroup.domain.DomainObject<PK>,E extends de.alpharogroup.db.entity.BaseEntity<PK>,REPOSITORY extends de.alpharogroup.db.repository.api.GenericRepository<E,PK>,M extends EntityDOMapper<E,DO>> extends Object implements de.alpharogroup.service.domain.DomainService<PK,DO>
AbstractDomainService.| Constructor and Description |
|---|
AbstractDomainService() |
@Transactional public DO create(DO domainObject)
create in interface de.alpharogroup.service.domain.DomainService<PK extends Serializable,DO extends de.alpharogroup.domain.DomainObject<PK>>@Transactional public DO delete(PK id)
delete in interface de.alpharogroup.service.domain.DomainService<PK extends Serializable,DO extends de.alpharogroup.domain.DomainObject<PK>>public boolean exists(PK id)
exists in interface de.alpharogroup.service.domain.DomainService<PK extends Serializable,DO extends de.alpharogroup.domain.DomainObject<PK>>public List<DO> findAll()
findAll in interface de.alpharogroup.service.domain.DomainService<PK extends Serializable,DO extends de.alpharogroup.domain.DomainObject<PK>>@Transactional public Collection<PK> persist(Collection<DO> domainObjects)
persist in interface de.alpharogroup.service.domain.DomainService<PK extends Serializable,DO extends de.alpharogroup.domain.DomainObject<PK>>public DO read(PK id)
read in interface de.alpharogroup.service.domain.DomainService<PK extends Serializable,DO extends de.alpharogroup.domain.DomainObject<PK>>Copyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.