public interface QueryProvider
| Modifier and Type | Method and Description |
|---|---|
String[] |
getDynamicComponentPresentationsByCustomMetaQuery(String locale,
Map<String,Collection<String>> keyValueMap,
int templateId)
Retrieves content of a Dynamic Component Presentation by looking up its locale and keyValueMap
The returned content can for instance represent multiple Component Strings separated by |.
|
String[] |
getDynamicComponentPresentationsBySchema(String locale,
String schema,
int templateId)
Retrieves content of a Dynamic Component Presentation by doing a Broker Query
based on Schema Criteria.
|
String[] |
getDynamicComponentPresentationsBySchemaInKeyword(String locale,
String schema,
int categoryId,
int keywordId,
int templateId)
Retrieves content of a Dynamic Component Presentation by doing an AND Broker Query
based on Schema and Keyword Criteria.
|
String[] getDynamicComponentPresentationsByCustomMetaQuery(String locale, Map<String,Collection<String>> keyValueMap, int templateId) throws ItemNotFoundException, SerializationException
locale - String representing the locale to be queried, for e.g.: en_gbkeyValueMap - A Map representing the Key Value pairs to insert as Meta FiltersItemNotFoundException - if the requested CP does not existSerializationException - if something went wrong during deserializationString[] getDynamicComponentPresentationsBySchema(String locale, String schema, int templateId) throws ItemNotFoundException, SerializationException
locale - The locale, to be translated to a publication Idschema - The title of the schematemplateId - The Component template Id of CPs to returnItemNotFoundExceptionSerializationExceptionString[] getDynamicComponentPresentationsBySchemaInKeyword(String locale, String schema, int categoryId, int keywordId, int templateId) throws ItemNotFoundException, SerializationException
locale - The locale, to be translated to a publication Idschema - The title of the schemacategoryId - The Item Id of the categorykeywordId - The Item Id of the keywordtemplateId - The Component template Id of CPs to returnItemNotFoundExceptionSerializationExceptionCopyright © 2017. All rights reserved.