|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jayway.facebooktestjavaapi.testuser.impl.HttpClientFacebookTestUserAccount
public class HttpClientFacebookTestUserAccount
A FacebookTestUserAccount implementation that relies on HttpClientFacebookTestUserStore.
| Constructor Summary | |
|---|---|
HttpClientFacebookTestUserAccount(HttpClientFacebookTestUserStore helper,
org.json.simple.JSONObject user)
|
|
| Method Summary | |
|---|---|
String |
accessToken()
|
void |
copyToOtherApplication(String applicationId,
String accessToken,
boolean appInstalled,
String permissions)
Copies this test user to another application |
void |
copyToTestUserStore(FacebookTestUserStore testUserStore,
boolean appInstalled,
String permissions)
Copies this test user to another FacebookTestUserStore. |
void |
delete()
Deletes this test user in Facebook. |
String |
getBooks()
|
String |
getCheckins()
|
String |
getEvents()
|
String |
getFriends()
|
String |
getGroups()
|
String |
getLikes()
|
String |
getMovies()
|
String |
getMusic()
|
String |
getNewsFeed()
|
String |
getNotes()
|
String |
getPhotoAlbums()
|
String |
getPhotoTags()
|
String |
getProfileFeed()
|
String |
getUserDetails()
|
String |
getVideoTags()
|
String |
getVideoUploads()
|
String |
id()
|
String |
json()
|
String |
loginUrl()
The login URL gives access to the Facebook page for this test user. |
void |
makeFriends(FacebookTestUserAccount friend)
Creates a friend relationship between this test user and the test user in the parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpClientFacebookTestUserAccount(HttpClientFacebookTestUserStore helper,
org.json.simple.JSONObject user)
| Method Detail |
|---|
public void delete()
FacebookTestUserAccount
delete in interface FacebookTestUserAccount
public void copyToOtherApplication(String applicationId,
String accessToken,
boolean appInstalled,
String permissions)
FacebookTestUserAccount
copyToOtherApplication in interface FacebookTestUserAccountapplicationId - The application ID of the other applicationaccessToken - The access token for the other applicationappInstalled - True if the account should directly accept the application requesting the specified permissions,
false to use the FacebookTestUserAccount.loginUrl()}.permissions - Comma-separated list of permissions for the Facebook application. See
Permissions
documentation.
public void copyToTestUserStore(FacebookTestUserStore testUserStore,
boolean appInstalled,
String permissions)
FacebookTestUserAccount
copyToTestUserStore in interface FacebookTestUserAccounttestUserStore - The user store to copy this user to.appInstalled - True if the account should directly accept the application requesting the specified permissions,
false to use the FacebookTestUserAccount.loginUrl()}.permissions - Comma-separated list of permissions for the Facebook application. See
Permissions
documentation.public void makeFriends(FacebookTestUserAccount friend)
FacebookTestUserAccount
makeFriends in interface FacebookTestUserAccountfriend - A Facebook test user account.public String getFriends()
getFriends in interface FacebookTestUserAccountpublic String getProfileFeed()
getProfileFeed in interface FacebookTestUserAccountpublic String getNewsFeed()
getNewsFeed in interface FacebookTestUserAccountpublic String getLikes()
getLikes in interface FacebookTestUserAccountpublic String getMovies()
getMovies in interface FacebookTestUserAccountpublic String getMusic()
getMusic in interface FacebookTestUserAccountpublic String getBooks()
getBooks in interface FacebookTestUserAccountpublic String getNotes()
getNotes in interface FacebookTestUserAccountpublic String getPhotoTags()
getPhotoTags in interface FacebookTestUserAccountpublic String getPhotoAlbums()
getPhotoAlbums in interface FacebookTestUserAccountpublic String getVideoTags()
getVideoTags in interface FacebookTestUserAccountpublic String getVideoUploads()
getVideoUploads in interface FacebookTestUserAccountpublic String getEvents()
getEvents in interface FacebookTestUserAccountpublic String getGroups()
getGroups in interface FacebookTestUserAccountpublic String getCheckins()
getCheckins in interface FacebookTestUserAccountpublic String getUserDetails()
getUserDetails in interface FacebookTestUserAccountpublic String id()
id in interface FacebookTestUserAccountpublic String accessToken()
accessToken in interface FacebookTestUserAccountpublic String loginUrl()
FacebookTestUserAccount
loginUrl in interface FacebookTestUserAccountpublic String json()
json in interface FacebookTestUserAccount
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||