Class CalendarListQueryBuilderImpl
- java.lang.Object
-
- org.springframework.social.google.api.query.impl.QueryBuilderImpl<Q,T>
-
- org.springframework.social.google.api.query.impl.ApiQueryBuilderImpl<CalendarListQueryBuilder,CalendarPage>
-
- org.springframework.social.google.api.calendar.impl.CalendarListQueryBuilderImpl
-
- All Implemented Interfaces:
CalendarListQueryBuilder,ApiQueryBuilder<CalendarListQueryBuilder,CalendarPage>,QueryBuilder<CalendarListQueryBuilder,CalendarPage>
public class CalendarListQueryBuilderImpl extends ApiQueryBuilderImpl<CalendarListQueryBuilder,CalendarPage> implements CalendarListQueryBuilder
CalendarListQueryBuilderimplementation.- Author:
- Martin Wink
-
-
Field Summary
-
Fields inherited from class org.springframework.social.google.api.query.impl.QueryBuilderImpl
feedUrl
-
-
Constructor Summary
Constructors Constructor Description CalendarListQueryBuilderImpl(String feedUrl, Class<CalendarPage> type, org.springframework.web.client.RestTemplate restTemplate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CalendarListQueryBuilderminAccessRole(PermissionRole minAccessRole)The minimum access role for the user in the returned entries.CalendarListQueryBuildershowDeleted(boolean showDeleted)Whether to include deleted calendar list entries in the result.CalendarListQueryBuildershowHidden(boolean showHidden)Whether to show hidden entries.-
Methods inherited from class org.springframework.social.google.api.query.impl.ApiQueryBuilderImpl
fromPage, getPage
-
Methods inherited from class org.springframework.social.google.api.query.impl.QueryBuilderImpl
appendQueryParam, appendQueryParam, appendQueryParam, appendQueryParam, appendQueryParam, appendQueryParam, build, castThis, encode, maxResultsNumber
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.social.google.api.query.ApiQueryBuilder
fromPage, getPage
-
Methods inherited from interface org.springframework.social.google.api.query.QueryBuilder
maxResultsNumber
-
-
-
-
Constructor Detail
-
CalendarListQueryBuilderImpl
public CalendarListQueryBuilderImpl(String feedUrl, Class<CalendarPage> type, org.springframework.web.client.RestTemplate restTemplate)
-
-
Method Detail
-
showDeleted
public CalendarListQueryBuilder showDeleted(boolean showDeleted)
Description copied from interface:CalendarListQueryBuilderWhether to include deleted calendar list entries in the result. Optional. The default is false.- Specified by:
showDeletedin interfaceCalendarListQueryBuilder- Parameters:
showDeleted- whether to include deleted calendar list entries in the result.- Returns:
- this
CalendarListQueryBuilder, for refining the query.
-
showHidden
public CalendarListQueryBuilder showHidden(boolean showHidden)
Description copied from interface:CalendarListQueryBuilderWhether to show hidden entries. Optional. The default is false.- Specified by:
showHiddenin interfaceCalendarListQueryBuilder- Parameters:
showHidden- whether to show hidden entries.- Returns:
- this
CalendarListQueryBuilder, for refining the query.
-
minAccessRole
public CalendarListQueryBuilder minAccessRole(PermissionRole minAccessRole)
Description copied from interface:CalendarListQueryBuilderThe minimum access role for the user in the returned entries. Optional. The default is no restriction.- Specified by:
minAccessRolein interfaceCalendarListQueryBuilder- Parameters:
minAccessRole- the minimum access role for the user in the returned entries.- Returns:
- this
CalendarListQueryBuilder, for refining the query.
-
-