com.netmera.mobile.model
Class RequestItem

java.lang.Object
  extended by com.netmera.mobile.model.RequestItem

public class RequestItem
extends java.lang.Object

Contains the request parameters for the API


Nested Class Summary
static class RequestItem.FilterOperation
           
 
Constructor Summary
RequestItem()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAction()
           
 java.lang.Boolean getAllChild()
           
 java.lang.String[] getCategoryPaths()
           
 org.json.JSONObject getContentData()
           
 java.lang.String getContentName()
           
 java.lang.String getContentPrivacy()
           
 java.lang.String getContentType()
           
 int getCount()
           
 java.lang.String getCustomCondition()
           
 double getDistance()
           
 java.lang.String getEmail()
           
 java.lang.String getFbId()
           
 java.lang.String[] getFields()
           
 java.lang.String getFilterBy()
           
 RequestItem.FilterOperation getFilterOp()
           
 java.lang.String getFilterValue()
           
 java.lang.String getFromPath()
           
 java.lang.String getLatitudes()
           
 java.lang.String getLocationSearchField()
           
 java.lang.String getLongitudes()
           
 int getMax()
           
 java.lang.String getName()
           
 java.lang.String getNewParentPath()
           
 java.lang.String getNickname()
           
 java.lang.String getOwnerId()
           
 int getPage()
           
 java.util.Map<java.lang.String,java.lang.String> getParameters()
           
 java.lang.String getParentPath()
           
 java.lang.String getPassword()
           
 java.lang.String getPath()
           
 java.util.Map<java.lang.String,java.lang.String> getProfileAttributes()
           
 java.lang.String getProperty()
           
 java.lang.String getRelationType()
           
 java.lang.String getSearchText()
           
 java.lang.String getSearchType()
           
 java.lang.String getService()
           
 java.lang.String getSortBy()
           
 NetmeraService.SortOrder getSortOrder()
           
 int getStartIndex()
           
 java.lang.String getStartPath()
           
 java.lang.String getSurname()
           
 java.lang.String getToPath()
           
 java.lang.String getTwId()
           
 int hashCode()
           
 void setAction(java.lang.String action)
           
 void setAllChild(java.lang.Boolean allChild)
           
 void setCategoryPaths(java.lang.String[] categoryPaths)
           
 void setContentData(org.json.JSONObject contentData)
           
 void setContentName(java.lang.String contentName)
           
 void setContentPrivacy(java.lang.String contentPrivacy)
           
 void setContentType(java.lang.String contentType)
           
 void setCount(int count)
           
 void setCustomCondition(java.lang.String customCondition)
           
 void setDistance(double distance)
           
 void setEmail(java.lang.String email)
           
 void setFbId(java.lang.String fbId)
           
 void setFields(java.lang.String[] fields)
           
 void setFilterBy(java.lang.String filterBy)
           
 void setFilterOp(RequestItem.FilterOperation filterOp)
           
 void setFilterValue(java.lang.String filterValue)
           
 void setFromPath(java.lang.String fromPath)
           
 void setLatitudes(java.lang.String latitudes)
           
 void setLocationSearchField(java.lang.String locationSearchField)
           
 void setLongitudes(java.lang.String longitudes)
           
 void setMax(int max)
           
 void setName(java.lang.String name)
           
 void setNewParentPath(java.lang.String newParentPath)
           
 void setNickname(java.lang.String nickname)
           
 void setOwnerId(java.lang.String ownerId)
           
 void setPage(int page)
           
 void setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
           
 void setParentPath(java.lang.String parentPath)
           
 void setPassword(java.lang.String password)
           
 void setPath(java.lang.String path)
           
 void setProfileAttributes(java.util.Map<java.lang.String,java.lang.String> profileAttributes)
           
 void setProperty(java.lang.String property)
           
 void setRelationType(java.lang.String relationType)
           
 void setSearchText(java.lang.String searchText)
           
 void setSearchType(java.lang.String searchType)
           
 void setService(java.lang.String service)
           
 void setSortBy(java.lang.String sortBy)
           
 void setSortOrder(NetmeraService.SortOrder sortOrder)
           
 void setStartIndex(int startIndex)
           
 void setStartPath(java.lang.String startPath)
           
 void setSurname(java.lang.String surname)
           
 void setToPath(java.lang.String toPath)
           
 void setTwId(java.lang.String twId)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestItem

public RequestItem()
Method Detail

getService

public java.lang.String getService()
Returns:
the service

setService

public void setService(java.lang.String service)
Parameters:
service - the service to set

getAction

public java.lang.String getAction()
Returns:
the action

setAction

public void setAction(java.lang.String action)
Parameters:
action - the action to set

getPath

public java.lang.String getPath()
Returns:
the path

setPath

public void setPath(java.lang.String path)
Parameters:
path - the path to set

getOwnerId

public java.lang.String getOwnerId()
Returns:
the ownerId

setOwnerId

public void setOwnerId(java.lang.String ownerId)
Parameters:
ownerId - the ownerId to set

getParentPath

public java.lang.String getParentPath()
Returns:
the parentPath

setParentPath

public void setParentPath(java.lang.String parentPath)
Parameters:
parentPath - the parentPath to set

getContentName

public java.lang.String getContentName()
Returns:
the contentName

setContentName

public void setContentName(java.lang.String contentName)
Parameters:
contentName - the contentName to set

getContentPrivacy

public java.lang.String getContentPrivacy()
Returns:
the contentPrivacy

setContentPrivacy

public void setContentPrivacy(java.lang.String contentPrivacy)
Parameters:
contentPrivacy - the contentPrivacy to set

getProperty

public java.lang.String getProperty()
Returns:
the property

setProperty

public void setProperty(java.lang.String property)
Parameters:
property - the property to set

getNewParentPath

public java.lang.String getNewParentPath()
Returns:
the newParentPath

setNewParentPath

public void setNewParentPath(java.lang.String newParentPath)
Parameters:
newParentPath - the newParentPath to set

getFromPath

public java.lang.String getFromPath()
Returns:
the fromPath

setFromPath

public void setFromPath(java.lang.String fromPath)
Parameters:
fromPath - the fromPath to set

getToPath

public java.lang.String getToPath()
Returns:
the toPath

setToPath

public void setToPath(java.lang.String toPath)
Parameters:
toPath - the toPath to set

getRelationType

public java.lang.String getRelationType()
Returns:
the relationType

setRelationType

public void setRelationType(java.lang.String relationType)
Parameters:
relationType - the relationType to set

getParameters

public java.util.Map<java.lang.String,java.lang.String> getParameters()
Returns:
the parameters

setParameters

public void setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
Parameters:
parameters - the parameters to set

getCategoryPaths

public java.lang.String[] getCategoryPaths()
Returns:
the categoryPaths

setCategoryPaths

public void setCategoryPaths(java.lang.String[] categoryPaths)
Parameters:
categoryPaths - the categoryPaths to set

getFields

public java.lang.String[] getFields()
Returns:
the fields

setFields

public void setFields(java.lang.String[] fields)
Parameters:
fields - the fields to set

getContentType

public java.lang.String getContentType()
Returns:
the contentType

setContentType

public void setContentType(java.lang.String contentType)
Parameters:
contentType - the contentType to set

getContentData

public org.json.JSONObject getContentData()
Returns:
the contentData

setContentData

public void setContentData(org.json.JSONObject contentData)
Parameters:
contentData - the contentData to set

getAllChild

public java.lang.Boolean getAllChild()
Returns:
the allChild

setAllChild

public void setAllChild(java.lang.Boolean allChild)
Parameters:
allChild - the allChild to set

getCount

public int getCount()
Returns:
the count

setCount

public void setCount(int count)
Parameters:
count - the count to set

getStartIndex

public int getStartIndex()
Returns:
the startIndex

setStartIndex

public void setStartIndex(int startIndex)
Parameters:
startIndex - the startIndex to set

getPage

public int getPage()
Returns:
the page

setPage

public void setPage(int page)
Parameters:
page - the page to set

getMax

public int getMax()
Returns:
the max

setMax

public void setMax(int max)
Parameters:
max - the max to set

getStartPath

public java.lang.String getStartPath()
Returns:
the startPath

setStartPath

public void setStartPath(java.lang.String startPath)
Parameters:
startPath - the startPath to set

getSearchText

public java.lang.String getSearchText()
Returns:
the searchText

setSearchText

public void setSearchText(java.lang.String searchText)
Parameters:
searchText - the searchText to set

getCustomCondition

public java.lang.String getCustomCondition()
Returns:
the customCondition

setCustomCondition

public void setCustomCondition(java.lang.String customCondition)
Parameters:
customCondition - the customCondition to set

getSortOrder

public NetmeraService.SortOrder getSortOrder()
Returns:
the sortOrder

setSortOrder

public void setSortOrder(NetmeraService.SortOrder sortOrder)
Parameters:
sortOrder - the sortOrder to set

getSortBy

public java.lang.String getSortBy()
Returns:
the sortBy

setSortBy

public void setSortBy(java.lang.String sortBy)
Parameters:
sortBy - the sortBy to set

getFilterBy

public java.lang.String getFilterBy()
Returns:
the filterBy

setFilterBy

public void setFilterBy(java.lang.String filterBy)
Parameters:
filterBy - the filterBy to set

getFilterOp

public RequestItem.FilterOperation getFilterOp()
Returns:
the filterOp

setFilterOp

public void setFilterOp(RequestItem.FilterOperation filterOp)
Parameters:
filterOp - the filterOp to set

getFilterValue

public java.lang.String getFilterValue()
Returns:
the filterValue

setFilterValue

public void setFilterValue(java.lang.String filterValue)
Parameters:
filterValue - the filterValue to set

getLatitudes

public java.lang.String getLatitudes()
Returns:
the latitude

setLatitudes

public void setLatitudes(java.lang.String latitudes)
Parameters:
latitudes - the latitude to set

getLongitudes

public java.lang.String getLongitudes()
Returns:
the longitude

setLongitudes

public void setLongitudes(java.lang.String longitudes)
Parameters:
longitudes - the longitude to set

getDistance

public double getDistance()
Returns:
the distance to use in circleSearch

setDistance

public void setDistance(double distance)
Parameters:
distance - the distance value to use in circleSearch

getSearchType

public java.lang.String getSearchType()
Returns:
the search type

setSearchType

public void setSearchType(java.lang.String searchType)
Parameters:
searchType - set the search type

getLocationSearchField

public java.lang.String getLocationSearchField()
Returns:
the field that holds location info

setLocationSearchField

public void setLocationSearchField(java.lang.String locationSearchField)
Parameters:
locationSearchField - field that holds location info

getEmail

public java.lang.String getEmail()
Returns:
the email

setEmail

public void setEmail(java.lang.String email)
Parameters:
email - of the User

getNickname

public java.lang.String getNickname()
Returns:
the nickname

setNickname

public void setNickname(java.lang.String nickname)
Parameters:
nickname - of the User

getPassword

public java.lang.String getPassword()
Returns:
the password

setPassword

public void setPassword(java.lang.String password)
Parameters:
password - of the User

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - of the User

getSurname

public java.lang.String getSurname()
Returns:
the surname

setSurname

public void setSurname(java.lang.String surname)
Parameters:
surname - of the User

getFbId

public java.lang.String getFbId()
Returns:
the facebook Id

setFbId

public void setFbId(java.lang.String fbId)
Parameters:
fbId - Id of the user

getTwId

public java.lang.String getTwId()
Returns:
the twitter Id

setTwId

public void setTwId(java.lang.String twId)
Parameters:
twId - Id of the user

getProfileAttributes

public java.util.Map<java.lang.String,java.lang.String> getProfileAttributes()

setProfileAttributes

public void setProfileAttributes(java.util.Map<java.lang.String,java.lang.String> profileAttributes)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object