|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserControllerInterface
Method Summary | |
---|---|
boolean |
changeEmail(java.lang.String newEmail)
Changes this user's profile email address. |
BlabInterface[] |
getAllBlabs()
Returns an array consisting of all of this user's blabs, sorted in reverse chronological order. |
BlabInterface[] |
getAllFriendBlabs()
Returns an array consisting of all of this user's friends' blabs, sorted in reverse chronological order. |
java.lang.String |
getEmail()
If this UserController's session ID is valid, return a string representation of this user's full email address. |
BlatherUserInterface[] |
getFriends()
Returns an array of this user's friends. |
BlabInterface[] |
getSomeBlabs(int howMany)
Returns an array consisting of some of this user's blabs, sorted in reverse chronological order. |
BlabInterface[] |
getSomeFriendBlabs(int howMany)
Returns an array consisting of some of this user's friends' blabs, sorted in reverse chronological order. |
java.lang.String |
getUsername()
Returns this user's username. |
boolean |
newBlab(java.lang.String blabContent)
Creates a new blab for this user with the given content, with a timestamp of now, and adds this blab to the list of user blabs. |
boolean |
newFriend(java.lang.String username)
Adds a friend to the list of users that this user is tracking. |
Method Detail |
---|
BlabInterface[] getAllBlabs()
BlabInterface[] getSomeBlabs(int howMany)
howMany
- the number of blabs to put in the array, starting with the most recent
BlabInterface[] getAllFriendBlabs()
BlabInterface[] getSomeFriendBlabs(int howMany)
howMany
- the number of blabs to put in the array, starting with the most recent
boolean changeEmail(java.lang.String newEmail)
newEmail
-
boolean newBlab(java.lang.String blabContent)
blabContent
-
boolean newFriend(java.lang.String username)
username
-
java.lang.String getUsername()
java.lang.String getEmail()
BlatherUserInterface[] getFriends()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |