Package de.hybris.platform.persistence
Class StandardSearchContext
java.lang.Object
de.hybris.platform.jalo.SessionContext
de.hybris.platform.persistence.StandardSearchContext
- All Implemented Interfaces:
SearchContext,Serializable,Cloneable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.jalo.SessionContext
SessionContext.SessionContextAttributeSetter -
Field Summary
Fields inherited from class de.hybris.platform.jalo.SessionContext
CURRENCY, CURRENTDATE, CURRENTDATE_VALID_TO, LANGUAGE, LOCALE, PRICEFACTORY, TIMEOFFSET, TIMEZONE, TRANSACTION_4_ALLATTRIBUTES, TRANSACTION_IN_CREATE_DISABLED, USER, ZERO_TIME_OFFSETFields inherited from interface de.hybris.platform.jalo.SearchContext
RANGE_MAX -
Constructor Summary
ConstructorsConstructorDescriptionclone constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectclone()getCopy()Method getPropertiesgetProperty(String name) Method getPropertyintMethod getRangeCountintMethod getRangeStartvoidsetProperties(Map map) Method setPropertiesvoidsetProperty(String name, Object value) Method setPropertyvoidsetRange(int from, int count) Defines which range of objects should be returned to the client.Methods inherited from class de.hybris.platform.jalo.SessionContext
addAllAttributes, equals, fixStaleItemsInContext, fixStaleItemsInValue, getAdjustedCurrentDate, getAdjustedCurrentDateMillis, getAdjustedCurrentTime, getAdjustedCurrentTimeMillis, getAllAttributeNames, getAttribute, getAttributeNames, getAttributes, getCurrency, getCurrentTimeMillis, getLanguage, getLocale, getPriceFactory, getTimeOffset, getTimeZone, getUser, hashCode, initializeOnSessionStartup, removeAttribute, setAttribute, setAttributes, setCurrency, setCurrentTime, setCurrentTimeSystem, setLanguage, setLocale, setPriceFactory, setSession, setSessionContextAttributesLocally, setSessionContextAttributesLocally, setSessionContextValues, setTimeZome, setTimeZone, setUser, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.hybris.platform.jalo.SearchContext
getLanguage, setLanguage
-
Constructor Details
-
StandardSearchContext
-
StandardSearchContext
clone constructor
-
-
Method Details
-
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
getCopy
- Specified by:
getCopyin interfaceSearchContext
-
setRange
public void setRange(int from, int count) Description copied from interface:SearchContextDefines which range of objects should be returned to the client.
if range is not set, orsetRange( -1, -1 )is used, all elements will be returned. UseRANGE_MAXas range count to return all elements fromrange startto the end.- Specified by:
setRangein interfaceSearchContext
-
getRangeStart
public int getRangeStart()Description copied from interface:SearchContextMethod getRangeStart- Specified by:
getRangeStartin interfaceSearchContext
-
getRangeCount
public int getRangeCount()Description copied from interface:SearchContextMethod getRangeCount- Specified by:
getRangeCountin interfaceSearchContext
-
setProperty
Description copied from interface:SearchContextMethod setProperty- Specified by:
setPropertyin interfaceSearchContext
-
getProperty
Description copied from interface:SearchContextMethod getProperty- Specified by:
getPropertyin interfaceSearchContext
-
getProperties
Description copied from interface:SearchContextMethod getProperties- Specified by:
getPropertiesin interfaceSearchContext
-
setProperties
Description copied from interface:SearchContextMethod setProperties- Specified by:
setPropertiesin interfaceSearchContext
-