com.frevvo.forms.client
Class SubmissionQuery

java.lang.Object
  extended by com.google.gdata.client.Query
      extended by com.frevvo.forms.client.SubmissionQuery

public class SubmissionQuery
extends com.google.gdata.client.Query

Query for submissions supporting queries by categories, author, form name, updated date, revision, custom keys and/or by control values if there a configured to be saved.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gdata.client.Query
com.google.gdata.client.Query.CategoryFilter, com.google.gdata.client.Query.CustomParameter, com.google.gdata.client.Query.ResultFormat
 
Field Summary
static java.lang.String FILTER
           
static java.lang.String ORDERBY
           
 
Fields inherited from class com.google.gdata.client.Query
UNDEFINED
 
Constructor Summary
SubmissionQuery(java.net.URL feedUrl)
           
 
Method Summary
 void addCategoryFilter(com.google.gdata.client.Query.CategoryFilter f)
          Unsupported at this point: categories can only be included, not excluded
 java.lang.String[] getFilter()
          Get the filters for this query
 java.lang.String getOrderby()
           
 void parseFilter(java.net.URL feedUrl)
           
 void parseOrderby(java.net.URL feedUrl)
           
 void setAuthor(java.lang.String author)
          Unsupported at this point
 void setFields(java.lang.String fields)
          Unsupported at this point
 void setFilter(java.lang.String... filter)
          Set the filters for this query
 void setFullTextQuery(java.lang.String query)
          Unsupported at this point.
 void setOrderby(java.lang.String orderby)
          Set the ordering of results
 void setPublishedMax(com.google.gdata.data.DateTime publishedMax)
          Unsupported at this point.
 void setPublishedMin(com.google.gdata.data.DateTime publishedMin)
          Unsupported at this point.
 void setResultFormat(com.google.gdata.client.Query.ResultFormat resultFormat)
          Unsupported at this point.
 void setStrict(boolean strict)
          Unsupported at this point.
 
Methods inherited from class com.google.gdata.client.Query
addCustomParameter, appendQueryParameter, getAuthor, getCategoryFilters, getCustomParameters, getCustomParameters, getFeedUrl, getFields, getFullTextQuery, getIntegerCustomParameter, getMaxResults, getPublishedMax, getPublishedMin, getQueryUri, getResultFormat, getStartIndex, getStringCustomParameter, getUpdatedMax, getUpdatedMin, getUrl, isStrict, isValidState, setIntegerCustomParameter, setMaxResults, setStartIndex, setStringCustomParameter, setUpdatedMax, setUpdatedMin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER

public static final java.lang.String FILTER
See Also:
Constant Field Values

ORDERBY

public static final java.lang.String ORDERBY
See Also:
Constant Field Values
Constructor Detail

SubmissionQuery

public SubmissionQuery(java.net.URL feedUrl)
Method Detail

parseFilter

public void parseFilter(java.net.URL feedUrl)

setFilter

public void setFilter(java.lang.String... filter)
Set the filters for this query

Parameters:
filter - Any number of filters in an 'and' composition

getFilter

public java.lang.String[] getFilter()
Get the filters for this query

Returns:
An array containing all the filters in an 'and' composition

parseOrderby

public void parseOrderby(java.net.URL feedUrl)

setOrderby

public void setOrderby(java.lang.String orderby)
Set the ordering of results

Parameters:
orderby - A string in the format {field} (asc|desc)'. For instance:
  • $updated desc
  • $name asc

getOrderby

public java.lang.String getOrderby()

setPublishedMax

public void setPublishedMax(com.google.gdata.data.DateTime publishedMax)
Unsupported at this point. Use setUpdatedMax() instead.

Overrides:
setPublishedMax in class com.google.gdata.client.Query

setPublishedMin

public void setPublishedMin(com.google.gdata.data.DateTime publishedMin)
Unsupported at this point. Use setUpdatedMin() instead.

Overrides:
setPublishedMin in class com.google.gdata.client.Query

setAuthor

public void setAuthor(java.lang.String author)
Unsupported at this point

Overrides:
setAuthor in class com.google.gdata.client.Query

setFullTextQuery

public void setFullTextQuery(java.lang.String query)
Unsupported at this point.

Overrides:
setFullTextQuery in class com.google.gdata.client.Query

setResultFormat

public void setResultFormat(com.google.gdata.client.Query.ResultFormat resultFormat)
Unsupported at this point.

Overrides:
setResultFormat in class com.google.gdata.client.Query

setStrict

public void setStrict(boolean strict)
Unsupported at this point. Always returning Atom xml.

Overrides:
setStrict in class com.google.gdata.client.Query

setFields

public void setFields(java.lang.String fields)
Unsupported at this point

Overrides:
setFields in class com.google.gdata.client.Query

addCategoryFilter

public void addCategoryFilter(com.google.gdata.client.Query.CategoryFilter f)
Unsupported at this point: categories can only be included, not excluded

Overrides:
addCategoryFilter in class com.google.gdata.client.Query


Copyright © 2006-2011 frevvo Inc. All Rights Reserved.