Google Data APIs Client Library (1.41.1)



com.google.gdata.client.finance
Class PortfolioQuery

java.lang.Object
  extended by com.google.gdata.client.Query
      extended by com.google.gdata.client.finance.PortfolioQuery

public class PortfolioQuery
extends Query

Describes a query for the feed of all the user's portfolios.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gdata.client.Query
Query.CategoryFilter, Query.CustomParameter, Query.ResultFormat
 
Field Summary
 
Fields inherited from class com.google.gdata.client.Query
UNDEFINED
 
Constructor Summary
PortfolioQuery(java.net.URL feedUrl)
          Constructs a new query object that targets a feed.
 
Method Summary
 java.lang.Boolean getIncludeReturns()
          Returns the flag indicating whether returns and performance stats should be included in the portfolio and position feed entries.
 java.lang.Boolean getInlinePositions()
          Returns the flag to inline positions under the portfolio feed.
 void setIncludeReturns(java.lang.Boolean includeReturns)
          Sets the flag indicating whether returns and performance stats should be included in the portfolio and position feed entries.
 void setInlinePositions(java.lang.Boolean inlinePositions)
          Sets the flag to inline positions under the portfolio feed.
 
Methods inherited from class com.google.gdata.client.Query
addCategoryFilter, addCustomParameter, appendQueryParameter, getAuthor, getCategoryFilters, getCustomParameters, getCustomParameters, getFeedUrl, getFields, getFullTextQuery, getIntegerCustomParameter, getMaxResults, getPublishedMax, getPublishedMin, getQueryUri, getResultFormat, getStartIndex, getStringCustomParameter, getUpdatedMax, getUpdatedMin, getUrl, isStrict, isValidState, setAuthor, setFields, setFullTextQuery, setIntegerCustomParameter, setMaxResults, setPublishedMax, setPublishedMin, setResultFormat, setStartIndex, setStrict, setStringCustomParameter, setUpdatedMax, setUpdatedMin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortfolioQuery

public PortfolioQuery(java.net.URL feedUrl)
Constructs a new query object that targets a feed. The initial state of the query contains no parameters, meaning all entries in the feed would be returned if the query was executed immediately after construction.

Parameters:
feedUrl - the URL of the feed against which queries will be executed.
Method Detail

getInlinePositions

public java.lang.Boolean getInlinePositions()
Returns the flag to inline positions under the portfolio feed.

Returns:
flag to inline positions under the portfolio feed.

setInlinePositions

public void setInlinePositions(java.lang.Boolean inlinePositions)
Sets the flag to inline positions under the portfolio feed.

Parameters:
inlinePositions - flag to inline positions under the portfolio feed or null to reset this parameter to default value false.

getIncludeReturns

public java.lang.Boolean getIncludeReturns()
Returns the flag indicating whether returns and performance stats should be included in the portfolio and position feed entries.

Returns:
flag indicating whether returns and performance stats should be included in the portfolio and position feed entries.

setIncludeReturns

public void setIncludeReturns(java.lang.Boolean includeReturns)
Sets the flag indicating whether returns and performance stats should be included in the portfolio and position feed entries.

Parameters:
includeReturns - flag indicating whether returns and performance stats should be included in the portfolio and position feed entries or null to reset this parameter to default value false.