com.flickrrecsys.engine
Class CoacEng

java.lang.Object
  extended by com.flickrrecsys.engine.CoacEng

public class CoacEng
extends java.lang.Object

This is the engine which recommend contacts based on contacts that a logged user is connected to.

Author:
Hossein Ghodsi

Constructor Summary
CoacEng(java.lang.String nsid, java.lang.String servletPath, com.aetrion.flickr.Flickr f)
          The constructor takes the parameters and assign them to global variable
 
Method Summary
 java.util.Vector<MyUser> getRecConsByCoac()
          This method finds all the recommended people and connect to the Flickr API in order to find their details
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoacEng

public CoacEng(java.lang.String nsid,
               java.lang.String servletPath,
               com.aetrion.flickr.Flickr f)
The constructor takes the parameters and assign them to global variable

Parameters:
nsid - user id from the flickr website
servletPath - where the database details are located
f - flickr object which contains API key and the secret key to connect to the Flickr API
Method Detail

getRecConsByCoac

public java.util.Vector<MyUser> getRecConsByCoac()
This method finds all the recommended people and connect to the Flickr API in order to find their details

Returns:
vector of MyUser