org.apache.aries.samples.blog.biz
Class BlogAuthorManagerImpl

java.lang.Object
  extended by org.apache.aries.samples.blog.biz.BlogAuthorManagerImpl
All Implemented Interfaces:
BlogAuthorManager

public class BlogAuthorManagerImpl
extends Object
implements BlogAuthorManager


Constructor Summary
BlogAuthorManagerImpl()
           
 
Method Summary
 void createAuthor(String email, String dob, String name, String displayName, String bio)
           
 List<? extends BlogAuthor> getAllAuthors()
           
 BlogAuthor getAuthor(String emailAddress)
           
 void removeAuthor(String emailAddress)
           
 void setPersistenceService(BlogPersistenceService persistenceService)
           
 void updateAuthor(String email, String dob, String name, String displayName, String bio)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogAuthorManagerImpl

public BlogAuthorManagerImpl()
Method Detail

setPersistenceService

public void setPersistenceService(BlogPersistenceService persistenceService)

createAuthor

public void createAuthor(String email,
                         String dob,
                         String name,
                         String displayName,
                         String bio)
                  throws ParseException
Specified by:
createAuthor in interface BlogAuthorManager
Throws:
ParseException

getAllAuthors

public List<? extends BlogAuthor> getAllAuthors()
Specified by:
getAllAuthors in interface BlogAuthorManager

getAuthor

public BlogAuthor getAuthor(String emailAddress)
Specified by:
getAuthor in interface BlogAuthorManager

removeAuthor

public void removeAuthor(String emailAddress)
Specified by:
removeAuthor in interface BlogAuthorManager

updateAuthor

public void updateAuthor(String email,
                         String dob,
                         String name,
                         String displayName,
                         String bio)
                  throws ParseException
Specified by:
updateAuthor in interface BlogAuthorManager
Throws:
ParseException


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.