public class NoteQueryParametersConfigurator extends TimelineQueryParametersConfigurator<NoteQueryParameters>
NoteQueryParametersConfigurator can be used to configure a
NoteQueryParameters| Constructor and Description |
|---|
NoteQueryParametersConfigurator(QueryParametersParameterNameProvider nameProvider)
Constructor for this
QueryParametersConfigurator. |
NoteQueryParametersConfigurator(QueryParametersParameterNameProvider nameProvider,
int defaultMaxCount)
Constructor for this
QueryParametersConfigurator. |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Map<String,? extends Object> parameters,
NoteQueryParameters queryParameters)
Method to start the configuration process.
|
configureBlogSpecificQueryInstance, configureQueryParameters, determineViewType, determineViewTypegetParameterNameProvider, getResultSpecification, getResultSpecificationpublic NoteQueryParametersConfigurator(QueryParametersParameterNameProvider nameProvider)
QueryParametersConfigurator.nameProvider - To fetch parameters for the query instance.public NoteQueryParametersConfigurator(QueryParametersParameterNameProvider nameProvider, int defaultMaxCount)
QueryParametersConfigurator.nameProvider - To fetch parameters for the query instance.defaultMaxCount - the default value to use if maxCount parameter is not setpublic void configure(Map<String,? extends Object> parameters, NoteQueryParameters queryParameters)
configure in class TimelineQueryParametersConfigurator<NoteQueryParameters>parameters - Map which holds the parameters to be used to configure the query instance.queryParameters - Class of type QueryInstance.Copyright © 2019 Communote team. All rights reserved.