public class

PortfolioQuery

extends Query
java.lang.Object
   ↳ com.google.gdata.client.Query
     ↳ com.google.gdata.client.finance.PortfolioQuery

Class Overview

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

Summary

[Expand]
Inherited Constants
From class com.google.gdata.client.Query
Fields
private Boolean includeReturns Flag indicating whether returns and performance stats should be included in the portfolio and position feed entries.
private Boolean inlinePositions Flag to inline positions under the portfolio feed.
[Expand]
Inherited Fields
From class com.google.gdata.client.Query
Public Constructors
PortfolioQuery(URL feedUrl)
Constructs a new query object that targets a feed.
Public Methods
Boolean getIncludeReturns()
Returns the flag indicating whether returns and performance stats should be included in the portfolio and position feed entries.
Boolean getInlinePositions()
Returns the flag to inline positions under the portfolio feed.
void setIncludeReturns(Boolean includeReturns)
Sets the flag indicating whether returns and performance stats should be included in the portfolio and position feed entries.
void setInlinePositions(Boolean inlinePositions)
Sets the flag to inline positions under the portfolio feed.
[Expand]
Inherited Methods
From class com.google.gdata.client.Query
From class java.lang.Object

Fields

private Boolean includeReturns

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

private Boolean inlinePositions

Flag to inline positions under the portfolio feed.

Public Constructors

public PortfolioQuery (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.

Public Methods

public 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.

public Boolean getInlinePositions ()

Returns the flag to inline positions under the portfolio feed.

Returns
  • flag to inline positions under the portfolio feed.

public void setIncludeReturns (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.

public void setInlinePositions (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.