|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BlatherUserInterface
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Method Summary | |
|---|---|
void |
addBlab(BlabInterface b)
Creates a new blab for this user. |
void |
addFriend(BlatherUserInterface newFriend)
Adds a new friend, so that this BlatherUser will be tracking the blabs of newFriend. |
int |
blabCount()
Returns the number of blabs this user has posted. |
boolean |
checkPassword(java.lang.String password)
Returns true if the given password is correct for this BlatherUser, false otherwise. |
int |
friendCount()
Returns the number of BlatherUsers this user has befriended. |
BlabInterface[] |
getAllBlabs()
Returns a copy of the array of all Blabs authored by this user. |
BlabInterface |
getBlab(int id)
Returns this user's blab with the given identifier. |
EmailAddressInterface |
getEmail()
Returns this BlatherUser's email address |
BlatherUserInterface |
getFriend(int id)
Returns a BlatherUser corresponding to this user's friend with friend identifier id. |
java.lang.String |
getUsername()
Returns this BlatherUser's username (that is, his or her display name). |
void |
setEmail(EmailAddressInterface email)
Updates this BlatherUser's email address. |
| Field Detail |
|---|
static final long serialVersionUID
| Method Detail |
|---|
java.lang.String getUsername()
EmailAddressInterface getEmail()
void setEmail(EmailAddressInterface email)
email - boolean checkPassword(java.lang.String password)
password -
int friendCount()
BlatherUserInterface getFriend(int id)
id - the id number of the friend to returnvoid addFriend(BlatherUserInterface newFriend)
newFriend - int blabCount()
BlabInterface getBlab(int id)
id -
void addBlab(BlabInterface b)
b - BlabInterface[] getAllBlabs()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||