@Exported
public interface ContentQueryManager
| Modifier and Type | Method and Description |
|---|---|
List<AssetResultRow> |
execute(long contentQueryId,
String siteName)
Given the id of Content Query, this fetches the list of assets matching Content Query's search criteria.
|
List<AssetResultRow> |
execute(long contentQueryId,
String siteName,
Integer listSize,
String sortField,
String sortOrder)
Given the name of Content Query, this fetches the list of assets matching Content Query's search criteria.
|
List<AssetResultRow> |
execute(String contentQueryName,
String siteName)
Given the name of Content Query, this fetches the list of assets matching Content Query's search criteria.
|
List<AssetResultRow> |
execute(String contentQueryName,
String siteName,
Integer listSize,
String sortField,
String sortOrder)
Given the name of Content Query, this fetches the list of assets matching Content Query's search criteria.
|
List<AssetResultRow> execute(String contentQueryName, String siteName) throws AssetAccessException
contentQueryName - Content Query asset name.siteName - Name of the site/publicationAssetAccessException - if there is no Content Query asset by the given name OR there are issues reading
the asset information.List<AssetResultRow> execute(String contentQueryName, String siteName, Integer listSize, String sortField, String sortOrder) throws AssetAccessException
contentQueryName - Content Query asset name.siteName - Name of the site/publicationlistSize - The maximum size of the list which you want from Content Query.
If no value is provided then it will pick "List Size" of Content Query asset.sortField - The field on which the list of assets will be sorted.
If no value is provided then it will pick the "Sort Field" value of Content Query asset.sortOrder - The order in which the list of assets will be sorted. The default sort order is "ascending".AssetAccessException - if there is no Content Query asset by the given name OR there are issues reading
the asset information.List<AssetResultRow> execute(long contentQueryId, String siteName) throws AssetAccessException
contentQueryId - Content Query asset's id.siteName - Name of the site/publicationAssetAccessException - if there are issues reading the asset information.List<AssetResultRow> execute(long contentQueryId, String siteName, Integer listSize, String sortField, String sortOrder) throws AssetAccessException
contentQueryId - Content Query asset's id.siteName - Name of the site/publicationlistSize - The maximum size of the list which you want from Content Query.
If no value is provided then it will pick "List Size" of Content Query asset.sortField - The field on which the list of assets will be sorted.
If no value is provided then it will pick the "Sort Field" value of Content Query asset.sortOrder - The order in which the list of assets will be sorted. The default sort order is "ascending".AssetAccessException - if there are issues reading the asset information.