com.flickrrecsys.model
Class Settings

java.lang.Object
  extended by com.flickrrecsys.model.Settings
All Implemented Interfaces:
java.io.Serializable

public class Settings
extends java.lang.Object
implements java.io.Serializable

Settings model

Author:
Hossein Ghodsi
See Also:
Serialized Form

Constructor Summary
Settings()
           
 
Method Summary
 java.sql.Timestamp getContactLastUpdate()
          Get the last time contacts were updated
 java.sql.Timestamp getFavoLastUpdate()
          Get the last time favourite photos were updated
 java.sql.Timestamp getGroupLastUpdate()
          Get the last time groups were updated
 java.sql.Timestamp getInfoLastUpdate()
          Get the last time info were updated
 int getLimitCoac()
          Get limitation on the number of users to be displayed by Coac engine
 int getLimitFavo()
          Get number recommended contact to be displayed by Favo Engines
 int getLimitTs()
          Get number of recommended contacts to be displayed by Tag similarity engine
 int getNocoac()
          Get number of contacts
 java.lang.String getNsid()
          Get user id from the flickr website
 java.lang.String getPerformedTasks()
          Get performed tasks
 int getSid()
          get settings id
 java.sql.Timestamp getTagLastUpdate()
          Get the last time tags were updated
 double getTagsimilarity()
          Get similarity threshold value
 void setContactLastUpdate(java.sql.Timestamp contactLastUpdate)
          Set the last time contacts were updated
 void setFavoLastUpdate(java.sql.Timestamp favoLastUpdate)
          Set the last time favourite photos were updated
 void setGroupLastUpdate(java.sql.Timestamp groupLastUpdate)
          Set the last time groups were updated
 void setInfoLastUpdate(java.sql.Timestamp infoLastUpdate)
          Set the last time info were updated
 void setLimitCoac(int limitCoac)
          Set number recommended contact to be displayed
 void setLimitFavo(int limitFavo)
          Set number of recommended contact to be displayed by favo engine
 void setLimitTs(int limitTs)
          Set number of recommended contacts to be displayed by Tag similarity engine
 void setNocoac(int nocoac)
          Set number of contacts
 void setNsid(java.lang.String nsid)
          Set user id from the flickr website
 void setPerformedTasks(java.lang.String performedTasks)
          Set performed tasks
 void setSid(int sid)
          Set settings id
 void setTagLastUpdate(java.sql.Timestamp tagLastUpdate)
          Set the last time tags were updated
 void setTagsimilarity(double tagsimilarity)
          Set similarity value in percentage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Settings

public Settings()
Method Detail

getLimitCoac

public int getLimitCoac()
Get limitation on the number of users to be displayed by Coac engine

Returns:
number recommended contact to be displayed

setLimitCoac

public void setLimitCoac(int limitCoac)
Set number recommended contact to be displayed

Parameters:
limitCoac - number recommended contact to be displayed

getLimitFavo

public int getLimitFavo()
Get number recommended contact to be displayed by Favo Engines

Returns:
number recommended contact to be displayed by favo engine

setLimitFavo

public void setLimitFavo(int limitFavo)
Set number of recommended contact to be displayed by favo engine

Parameters:
limitFavo - number recommended contact to be displayed by favo engine

getLimitTs

public int getLimitTs()
Get number of recommended contacts to be displayed by Tag similarity engine

Returns:
number of recommended contacts to be displayed by Tag similarity engine

setLimitTs

public void setLimitTs(int limitTs)
Set number of recommended contacts to be displayed by Tag similarity engine

Parameters:
limitTs - number of recommended contacts to be displayed by Tag similarity engine

getPerformedTasks

public java.lang.String getPerformedTasks()
Get performed tasks

Returns:
get performed task

setPerformedTasks

public void setPerformedTasks(java.lang.String performedTasks)
Set performed tasks

Parameters:
performedTasks - performed tasks

getContactLastUpdate

public java.sql.Timestamp getContactLastUpdate()
Get the last time contacts were updated

Returns:
the last time contacts were updated

setContactLastUpdate

public void setContactLastUpdate(java.sql.Timestamp contactLastUpdate)
Set the last time contacts were updated

Parameters:
contactLastUpdate - the last time contacts were updated

getFavoLastUpdate

public java.sql.Timestamp getFavoLastUpdate()
Get the last time favourite photos were updated

Returns:
the last time favourite photos were updated

setFavoLastUpdate

public void setFavoLastUpdate(java.sql.Timestamp favoLastUpdate)
Set the last time favourite photos were updated

Parameters:
favoLastUpdate - the last time favourite photos were updated

getGroupLastUpdate

public java.sql.Timestamp getGroupLastUpdate()
Get the last time groups were updated

Returns:
the last time groups were updated

setGroupLastUpdate

public void setGroupLastUpdate(java.sql.Timestamp groupLastUpdate)
Set the last time groups were updated

Parameters:
groupLastUpdate - the last time groups were updated

getInfoLastUpdate

public java.sql.Timestamp getInfoLastUpdate()
Get the last time info were updated

Returns:
the last time info were updated

setInfoLastUpdate

public void setInfoLastUpdate(java.sql.Timestamp infoLastUpdate)
Set the last time info were updated

Parameters:
infoLastUpdate - the last time info were updated

getNocoac

public int getNocoac()
Get number of contacts

Returns:
number of contacts

setNocoac

public void setNocoac(int nocoac)
Set number of contacts

Parameters:
nocoac - number of contacts

getNsid

public java.lang.String getNsid()
Get user id from the flickr website

Returns:
user id from the flickr website

setNsid

public void setNsid(java.lang.String nsid)
Set user id from the flickr website

Parameters:
nsid - user id from the flickr website

getSid

public int getSid()
get settings id

Returns:
setting id

setSid

public void setSid(int sid)
Set settings id

Parameters:
sid - settings id

getTagLastUpdate

public java.sql.Timestamp getTagLastUpdate()
Get the last time tags were updated

Returns:
the last time tags were updated

setTagLastUpdate

public void setTagLastUpdate(java.sql.Timestamp tagLastUpdate)
Set the last time tags were updated

Parameters:
tagLastUpdate - the last time tags were updated

getTagsimilarity

public double getTagsimilarity()
Get similarity threshold value

Returns:
similarity threshold value in percentage

setTagsimilarity

public void setTagsimilarity(double tagsimilarity)
Set similarity value in percentage

Parameters:
tagsimilarity - similarity value in percentage