public class ContentFeed
extends java.lang.Object
Constructor and Description |
---|
ContentFeed()
Content Feed Constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Content> |
getContentList()
Get Content Feed List
|
java.lang.String |
getHolidayName()
Current holiday name for yelp search
|
java.lang.String |
getKeyword()
Current keyword for yelp search
|
double |
getLatitude()
Get the current latitude that was passed as a param for the yelp search
|
double |
getLongitude()
Get current longitude that was passed as a param for the yelp search
|
void |
setContentList(java.util.List<Content> contentList)
Set Content Feed List
|
void |
setHolidayName(java.lang.String holidayName)
Set the string for the Holiday Name
|
void |
setKeyword(java.lang.String keyword)
Set the string for the keyword for the current holiday
|
void |
setLatitude(double currentLatitude)
Set the current latitude
|
void |
setLongitude(double currentLongitude)
Set the Current Longitude
|
void |
sortByDistance()
Sorts content by distance away from the user.
|
public java.util.List<Content> getContentList()
public java.lang.String getHolidayName()
public java.lang.String getKeyword()
public double getLatitude()
public double getLongitude()
public void setContentList(java.util.List<Content> contentList)
contentList
- public void setHolidayName(java.lang.String holidayName)
holidayName
- public void setKeyword(java.lang.String keyword)
keyword
- public void setLatitude(double currentLatitude)
currentLatitude
- public void setLongitude(double currentLongitude)
currentLongitude
- public void sortByDistance()