Biblioteca Java - Blame information for rev 18
Subversion Repositories:
(root)/Frameworks and Technologies/Neo4J Samples/Neo4JTutorial/src/main/java/com/linkscreens/graphsin/network/SocialNetworkService.java
Rev | Author | Line No. | Line |
---|---|---|---|
18 | mihai | 1 | package com.linkscreens.graphsin.network; |
2 | |||
3 | import java.util.ArrayList; | ||
4 | |||
5 | import com.linkscreens.graphsin.model.*; | ||
6 | |||
7 | /** | ||
8 | * Define basic social network operations. | ||
9 | * @author evo2 | ||
10 | * | ||
11 | */ | ||
12 | public interface SocialNetworkService { | ||
13 | |||
14 | public abstract void addStatus(String userEmail, String text); | ||
15 | |||
16 | public abstract void createFriend(String userEmail1, String userEmail2); | ||
17 | |||
18 | public abstract Person getFriendRecommandation(String userEmail); | ||
19 | |||
20 | public abstract Person getPersonByEMail(String email); | ||
21 | |||
22 | public abstract ArrayList<Person> getFriendsOf(String userEmail); | ||
23 | |||
24 | public abstract ArrayList<Person> getAllPersons(); | ||
25 | |||
26 | public abstract ArrayList<StatusUpdate> retrieveFriendsStatusUpdates(String userEmail) | ||
27 | throws Exception; | ||
28 | |||
29 | public abstract ArrayList<StatusUpdate> retreivePersonStatusUpdates(String userEmails); | ||
30 | |||
31 | public abstract ArrayList<Album> retreivePersonMediaAlbums(String userEmail); | ||
32 | |||
33 | public abstract ArrayList<MediaItem> getMediaItems(String albumId); | ||
34 | |||
35 | public abstract ArrayList<Comment> getMediaItemComments(String itemId); | ||
36 | |||
37 | } |