|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BloggingService
| Method Summary | |
|---|---|
void |
createBlogAuthor(String email,
String nickName,
String name,
String bio,
String dob)
Create a new author. |
void |
createBlogComment(String text,
String email,
long entryId)
Create a comment |
void |
createBlogEntry(String email,
String title,
String blogText,
String tags)
|
List<? extends BlogEntry> |
getAllBlogEntries()
Get all the blog entries |
BlogAuthor |
getBlogAuthor(String email)
Get the author associated with a given email address. |
List<? extends BlogEntry> |
getBlogEntries(int firstPostIndex,
int noOfPosts)
Get the a number of entries starting at the teh first index |
BlogEntry |
getBlogEntry(long id)
Get the blog post with the specified id. |
String |
getBlogTitle()
Get the blog |
List<? extends BlogComment> |
getCommentsForEntry(BlogEntry entry)
Get the comments associated with an entry |
int |
getNoOfEntries()
Get the number of entries(posts) in the blog |
boolean |
isCommentingAvailable()
Retrieve the state of the blog commenting service |
void |
updateBlogAuthor(String email,
String nickName,
String name,
String bio,
String dob)
Update the attributes of an author. |
| Method Detail |
|---|
String getBlogTitle()
BlogAuthor getBlogAuthor(String email)
email - the email address of interest
BlogEntry getBlogEntry(long id)
id - the blog entry id
void updateBlogAuthor(String email,
String nickName,
String name,
String bio,
String dob)
email - the email address of the author being updatednickName - the display name for this authorname - the full name for this authorbio - the biography for this authordob - the date of birth for this authorint getNoOfEntries()
List<? extends BlogEntry> getBlogEntries(int firstPostIndex,
int noOfPosts)
firstPostIndex - noOfPosts -
List<? extends BlogEntry> getAllBlogEntries()
void createBlogAuthor(String email,
String nickName,
String name,
String bio,
String dob)
email - the author's email addressnickName - the author's display namename - the author's full namebio - the author's biographydob - the author's date of birth
void createBlogEntry(String email,
String title,
String blogText,
String tags)
email - the email address of the authortitle - the title of the postblogText - the test of the posttags - list of tags associated with the postboolean isCommentingAvailable()
void createBlogComment(String text,
String email,
long entryId)
text - email - entryId - List<? extends BlogComment> getCommentsForEntry(BlogEntry entry)
entry -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||