|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BlogAuthorManager
| Method Summary | |
|---|---|
void |
createAuthor(String email,
String dob,
String name,
String displayName,
String bio)
Create an author. |
List<? extends BlogAuthor> |
getAllAuthors()
Get all authors from the database. |
BlogAuthor |
getAuthor(String emailAddress)
Get an individual author. |
void |
removeAuthor(String emailAddress)
Delete an author from the database. |
void |
updateAuthor(String email,
String dob,
String name,
String displayName,
String bio)
Update a specific author. |
| Method Detail |
|---|
void createAuthor(String email,
String dob,
String name,
String displayName,
String bio)
throws ParseException
email - the author's email address, this is used as the key in the databasedob - the author's date of birthname - the author's full namedisplayName - the author's display namebio - the author's biography
ParseExceptionList<? extends BlogAuthor> getAllAuthors()
BlogAuthor getAuthor(String emailAddress)
emailAddress - - the email address of the author to retrieve
void removeAuthor(String emailAddress)
emailAddress - the email address of the author to delete
void updateAuthor(String email,
String dob,
String name,
String displayName,
String bio)
throws ParseException
email - the email address of the author being updated.dob - the new date of birth (as a string)name - the new full namedisplayName - the new display namebio - the new biography
ParseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||