Biblioteca Java - Rev 18

Subversion Repositories:
Rev:
package com.linkscreens.graphsin.network;

import java.util.ArrayList;

import com.linkscreens.graphsin.model.*;

/**
 * Define basic social network operations.
 * @author evo2
 *
 */

public interface SocialNetworkService {

        public abstract void addStatus(String userEmail, String text);

        public abstract void createFriend(String userEmail1, String userEmail2);

        public abstract Person getFriendRecommandation(String userEmail);
       
        public abstract Person getPersonByEMail(String email);

        public abstract ArrayList<Person> getFriendsOf(String userEmail);

        public abstract ArrayList<Person> getAllPersons();

        public abstract ArrayList<StatusUpdate> retrieveFriendsStatusUpdates(String userEmail)
                        throws Exception;
       
        public abstract ArrayList<StatusUpdate> retreivePersonStatusUpdates(String userEmails);

        public abstract ArrayList<Album> retreivePersonMediaAlbums(String userEmail);

        public abstract ArrayList<MediaItem> getMediaItems(String albumId);

        public abstract ArrayList<Comment> getMediaItemComments(String itemId);

}