public class PortfolioQuery extends Query
Query.CategoryFilter, Query.CustomParameter, Query.ResultFormat
Constructor and Description |
---|
PortfolioQuery(java.net.URL feedUrl)
Constructs a new query object that targets a feed.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addCategoryFilter, addCustomParameter, 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
public PortfolioQuery(java.net.URL feedUrl)
feedUrl
- the URL of the feed against which queries will be executed.public java.lang.Boolean getInlinePositions()
public void setInlinePositions(java.lang.Boolean inlinePositions)
inlinePositions
- flag to inline positions under the portfolio feed or
null
to reset this parameter to default value
false
.public java.lang.Boolean getIncludeReturns()
public void setIncludeReturns(java.lang.Boolean includeReturns)
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
.