Package org.apache.aries.samples.blog.api.persistence

Examples of org.apache.aries.samples.blog.api.persistence.Author


  }
 
  public BlogAuthor getAuthor(String emailAddress)
  {
    if(emailAddress == null) throw new IllegalArgumentException("Email must not be null");
    Author a = persistenceService.getAuthor(emailAddress);
    if (a != null)
    return new BlogAuthorImpl(a);
  else
    return null;
  }
View Full Code Here


  }
 
  public BlogAuthor getAuthor(String emailAddress)
  {
    if(emailAddress == null) throw new IllegalArgumentException("Email must not be null");
    Author a = persistenceService.getAuthor(emailAddress);
    if (a != null)
      return new BlogAuthorImpl(a);
    else
      return null;
  }
View Full Code Here

TOP

Related Classes of org.apache.aries.samples.blog.api.persistence.Author

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.