Static Public Member Functions | |
static JSONObject | sendLoginRequest (String userName, String password) |
static JSONObject | getUserCategories (int userId) |
static JSONObject | getUserAllAlbums (int userId) |
static JSONObject | getUserAlbumsByCategory (int userId, String categoryName) |
static JSONObject | getAlbumInfo (int albumId) |
static String | addCategory (int userId, String categoryName) |
static boolean | sendAddAlbumReq (String barcodeNumber, int userId) |
static JSONObject | getSongsByAlbumId (int albumId) |
static JSONObject | getAlbumsByBarcode (String barcode) |
static JSONObject | getAlbumsByAlbumName (String albumName) |
static JSONObject | getAlbumsByArtistName (String artistName) |
static String | deleteAlbumByIdCategory (int userId, int albumId, String categoryName) |
static String | addAlbumByIdCategory (int userId, int albumId, String categoryName) |
static JSONObject | sendFacebookLoginRequest (String userName, String name, String surname, String email, int gender, String birthday) |
static String | incrementLike (int albumId, int userId) |
static String | getLikeCount (int albumId) |
This class makes the connection of Server Side and Client Side.
|
inlinestatic |
Adds a new album to the specified category.
userId | |
albumId | |
categoryName |
|
inlinestatic |
Sends request to add a new category for a user.
userId | |
categoryName |
|
inlinestatic |
Deletes an album in the server side.
userId | |
albumId | |
categoryName |
|
inlinestatic |
Gets the information about a specified album from server side.
albumId |
|
inlinestatic |
Get an album by its album name from the server side.
albumName |
|
inlinestatic |
Get an album by artist name from the server side.
artistName |
|
inlinestatic |
Get an album by its barcode from the server side.
barcode |
|
inlinestatic |
Gets the like count of an album.
albumId |
|
inlinestatic |
Gets the songs of an album from server side.
albumId |
|
inlinestatic |
Gets all albums of user in the specified category from server side.
userId | |
categoryName |
|
inlinestatic |
Gets all albums of user from server side.
userId |
|
inlinestatic |
Gets the user categories from server side.
userId |
|
inlinestatic |
Increments the like count of an album.
albumId | |
userId |
|
inlinestatic |
Sends adding a new album request for a user.
barcodeNumber | |
userId |
|
inlinestatic |
Sends login request with Facebook.
userName | |
name | |
surname | |
gender | |
birthday |
|
inlinestatic |
Sends login request to server side.
userName | |
password |