|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flickrrecsys.util.Customisation
public class Customisation
This class deals with all customisation settings settings are also retrieved from the database and displayed in here.
| Constructor Summary | |
|---|---|
Customisation()
|
|
| Method Summary | |
|---|---|
boolean |
coacControlPanel(int limit,
java.lang.String servletPath,
java.lang.String nsid)
Update the number of people should be return based on coac recommendation |
java.lang.String |
coacNumberOfUsers(java.lang.String nsid,
java.lang.String servletPath)
Retrieve number of users should be displayed for recommendation based on the contact of a contact and construct the dropdown list |
java.lang.String |
createDropdownList(int selectedIndex,
java.lang.String id,
int sizeOfDropDownList,
java.lang.String functionName)
This method creates dropdown list |
boolean |
deletegroup(int gid,
java.lang.String servletPath,
java.lang.String nsid)
Deletes the group from the list of most frequently used |
boolean |
favoControlPanel(int limit,
java.lang.String servletPath,
java.lang.String nsid)
Update the number of users should be returned for favourite users |
java.lang.String |
favoNumberOfUsers(java.lang.String nsid,
java.lang.String servletPath)
Retrieve number of users should be displayed for recommendation based on the favouite photos and construct the dropdown list |
java.lang.String |
getThreshold(java.lang.String nsid,
java.lang.String servletPath)
Get the value of the threshold |
java.lang.String |
listOfGroupsToChooseFrom(java.lang.String nsid,
java.lang.String servletPath)
List the groups which have not yet been selected as frequently used |
java.lang.String |
mostFreqUsedGroups(java.lang.String nsid,
java.lang.String servletPath)
Create the list of groups that have been flagged as the more frequently used |
java.lang.String |
numberOfGroups(java.lang.String nsid,
java.lang.String servletPath)
Get the number of groups selected as commonly used |
boolean |
tsControlPanel(int limit,
java.lang.String servletPath,
java.lang.String nsid)
Update the number of user should be displayed based on tag similiarty recommendation |
java.lang.String |
tsNumberOfUsers(java.lang.String nsid,
java.lang.String servletPath)
Retrieve number of users should be displayed for recommendation based on the tag similarity and construct the dropdown list |
boolean |
tsThresholdControlPanel(float thresholdValue,
java.lang.String servletPath,
java.lang.String nsid)
Update the value of the threshold |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Customisation()
| Method Detail |
|---|
public java.lang.String createDropdownList(int selectedIndex,
java.lang.String id,
int sizeOfDropDownList,
java.lang.String functionName)
selectedIndex - which includes should be selectedid - is the name and id of the dropdown listsizeOfDropDownList - defines the size of the drop down listfunctionName - is the value of onchange in the dropdown list
public boolean deletegroup(int gid,
java.lang.String servletPath,
java.lang.String nsid)
gid - group idservletPath - where the property file isnsid - user id of the user from Flickr website
public boolean favoControlPanel(int limit,
java.lang.String servletPath,
java.lang.String nsid)
limit - the number of users only numbersservletPath - where the database property file is locatednsid - user id from the flickr website
public boolean coacControlPanel(int limit,
java.lang.String servletPath,
java.lang.String nsid)
limit - number of users to be displayedservletPath - where the database property file is locatednsid - user id from the flickr website
public java.lang.String favoNumberOfUsers(java.lang.String nsid,
java.lang.String servletPath)
nsid - user id from the flickr websiteservletPath - where the database property file is located
public java.lang.String coacNumberOfUsers(java.lang.String nsid,
java.lang.String servletPath)
nsid - user id from the flickr websiteservletPath - where the database property file is located
public java.lang.String tsNumberOfUsers(java.lang.String nsid,
java.lang.String servletPath)
nsid - user id from the flickr websiteservletPath - where the database property file is located
public java.lang.String getThreshold(java.lang.String nsid,
java.lang.String servletPath)
nsid - user id from the flickr websiteservletPath - where the database property file is located
public java.lang.String mostFreqUsedGroups(java.lang.String nsid,
java.lang.String servletPath)
nsid - user id from the Flickr websiteservletPath - where the database property file is located
public java.lang.String numberOfGroups(java.lang.String nsid,
java.lang.String servletPath)
nsid - user id from the flickr websiteservletPath - where the database property file is located
public java.lang.String listOfGroupsToChooseFrom(java.lang.String nsid,
java.lang.String servletPath)
nsid - user id from the flickr websiteservletPath - where the database property fiel is located
public boolean tsControlPanel(int limit,
java.lang.String servletPath,
java.lang.String nsid)
limit - the number users to be dislayedservletPath - wher the database property file is locatednsid - user id from the flickr website
public boolean tsThresholdControlPanel(float thresholdValue,
java.lang.String servletPath,
java.lang.String nsid)
thresholdValue - the value of the threshold which is from 0 to 100 is taken in percentageservletPath - where the database details file is locatednsid - user id from the Flickr account
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||