Package org.company.recordshop.domain

Examples of org.company.recordshop.domain.Kader


  /**
   * {@inheritDoc}
   */
  public KaderDto readKaderAsKaderDto(Long id) {
    Kader result = stateChangeBusinessRuleDomainService.readKader(id);
    return (result == null) ? null : kaderDtoTranslator.toDto(result);
  }
View Full Code Here


  /**
   * {@inheritDoc}
   */
  public void updateKader(KaderDto object) {
    Kader domainObject = stateChangeBusinessRuleDomainService
        .readKader(object.getId());
    kaderDtoTranslator.fromDto(object, domainObject);
    stateChangeBusinessRuleDomainService.updateKader(domainObject);
  }
View Full Code Here

  /**
   * {@inheritDoc}
   */
  public void deleteKader(KaderDto object) {
    Assert.notNull(object, "argument [object] may not be null");
    Kader existing = stateChangeBusinessRuleDomainService.readKader(object
        .getId());
    stateChangeBusinessRuleDomainService.deleteKader(existing);
  }
View Full Code Here

    Assert.notNull(source, "argument [source] may not be null");
    Assert.isNull(source.getId(),
        "Can not translate a dto with existing id to a new domain object. Dto: "
            + source);
    Kader target = new Kader(source.getNaam()

    );
    return fromDto(source, target, translated);

  }
View Full Code Here

TOP

Related Classes of org.company.recordshop.domain.Kader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.