Locale locale, TimeZone timeZone, long companyId, long scopeGroupId,
long userId, Map<String, Serializable> attributes, int start,
int end)
throws Exception {
if (isSearchWithIndex(portletName, assetEntryQuery)) {
<BUG>long[] assetCategoryIds = getAssetCategoryIds(portletPreferences);
String[] assetTagNames = getAssetTagNames(portletPreferences);
String keywords = assetEntryQuery.getKeywords();</BUG>
return AssetUtil.searchAssetEntries(
<BUG>assetCategoryIds, assetTagNames, keywords, locale,
assetEntryQuery, companyId, scopeGroupId, layout, timeZone,
userId, start, end, attributes);
}</BUG>
int total = _assetEntryService.getEntriesCount(assetEntryQuery);

Locale locale, TimeZone timeZone, long companyId, long scopeGroupId,
long userId, Map<String, Serializable> attributes, int start,
int end)
throws Exception {
if (isSearchWithIndex(portletName, assetEntryQuery)) {
return AssetUtil.searchAssetEntries(
assetEntryQuery, getAssetCategoryIds(portletPreferences),
getAssetTagNames(portletPreferences), attributes, companyId,
assetEntryQuery.getKeywords(), layout, locale, scopeGroupId,
timeZone, userId, start, end);
}
int total = _assetEntryService.getEntriesCount(assetEntryQuery);
