Class ContentResolverResponse
java.lang.Object
com.broadleafcommerce.catalogbrowse.domain.ContentResolverResponse
- All Implemented Interfaces:
Serializable
Represents a response to fetch CMS content to retrieve
ContentItems for a
commerce-facing context.- Author:
- Nathan Moore (nathandmoore)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanAny requested ids that did not match active content.Any requested names that did not match active content.Paginated results.Unpaginated list of results.inthashCode()booleanvoidsetIdsNotFound(Set<String> idsNotFound) Any requested ids that did not match active content.voidsetNamesNotFound(Set<String> namesNotFound) Any requested names that did not match active content.voidsetPaginatedResults(SimplePage<ContentItem> paginatedResults) Paginated results.voidsetResults(List<ContentItem> results) Unpaginated list of results.toString()
-
Constructor Details
-
ContentResolverResponse
public ContentResolverResponse()
-
-
Method Details
-
hasResults
public boolean hasResults() -
getResults
Unpaginated list of results. Only present if no pagination params were present in the request.- Returns:
- Unpaginated list of results.
-
getPaginatedResults
Paginated results. Only present if pagination params were present in the request.- Returns:
- Paginated results.
-
getNamesNotFound
Any requested names that did not match active content.- Returns:
- Any requested names that did not match active content.
-
getIdsNotFound
Any requested ids that did not match active content.- Returns:
- Any requested ids that did not match active content.
-
setResults
Unpaginated list of results. Only present if no pagination params were present in the request.- Parameters:
results- Unpaginated list of results.
-
setPaginatedResults
Paginated results. Only present if pagination params were present in the request.- Parameters:
paginatedResults- Paginated results.
-
setNamesNotFound
Any requested names that did not match active content. -
setIdsNotFound
Any requested ids that did not match active content. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-