Class RootItemSearchResult
java.lang.Object
de.hybris.platform.integrationservices.search.RootItemSearchResult
Represents the search result from the
RootItemSearchService-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RootItemSearchResultRepresents aRootItemSearchResulthaving no object in result. -
Method Summary
Modifier and TypeMethodDescriptionstatic RootItemSearchResultcreateFrom(Collection<Object> refPathExecutionResult) Creates an instance ofRootItemSearchResultfrom given collection of reference path execution.booleanGet the rootItemModelsbooleanIndicates whether there is any object in reference path executioninthashCode()toString()
-
Field Details
-
EMPTY_RESULT
Represents aRootItemSearchResulthaving no object in result.
-
-
Method Details
-
createFrom
Creates an instance ofRootItemSearchResultfrom given collection of reference path execution.- Parameters:
refPathExecutionResult- collection of objects after execution of reference path to root- Returns:
- an instance from given collection or
EMPTY_RESULTif collection is null, or empty.
-
hasAnyObjectInRefPathExecutionResult
public boolean hasAnyObjectInRefPathExecutionResult()Indicates whether there is any object in reference path execution- Returns:
trueif there is an object, elsefalse
-
getRootItems
Get the rootItemModels- Returns:
- Collection of root
ItemModels, or an empty collection
-
equals
-
hashCode
public int hashCode() -
toString
-