Package de.hybris.platform.persistence
Class StandardSearchContext
- java.lang.Object
-
- de.hybris.platform.jalo.SessionContext
-
- de.hybris.platform.persistence.StandardSearchContext
-
- All Implemented Interfaces:
SearchContext,java.io.Serializable,java.lang.Cloneable
public class StandardSearchContext extends SessionContext implements SearchContext
- See Also:
- Serialized Form
-
-
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_OFFSET
-
Fields inherited from interface de.hybris.platform.jalo.SearchContext
RANGE_MAX
-
-
Constructor Summary
Constructors Constructor Description StandardSearchContext(SessionContext ctx)StandardSearchContext(StandardSearchContext ctx)clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Objectclone()SearchContextgetCopy()java.util.MapgetProperties()Method getPropertiesjava.lang.ObjectgetProperty(java.lang.String name)Method getPropertyintgetRangeCount()Method getRangeCountintgetRangeStart()Method getRangeStartvoidsetProperties(java.util.Map map)Method setPropertiesvoidsetProperty(java.lang.String name, java.lang.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, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.jalo.SearchContext
getLanguage, setLanguage
-
-
-
-
Constructor Detail
-
StandardSearchContext
public StandardSearchContext(SessionContext ctx)
-
StandardSearchContext
public StandardSearchContext(StandardSearchContext ctx)
clone constructor
-
-
Method Detail
-
clone
protected java.lang.Object clone() throws java.lang.CloneNotSupportedException- Overrides:
clonein classjava.lang.Object- Throws:
java.lang.CloneNotSupportedException
-
getCopy
public SearchContext 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
public void setProperty(java.lang.String name, java.lang.Object value)Description copied from interface:SearchContextMethod setProperty- Specified by:
setPropertyin interfaceSearchContext
-
getProperty
public java.lang.Object getProperty(java.lang.String name)
Description copied from interface:SearchContextMethod getProperty- Specified by:
getPropertyin interfaceSearchContext
-
getProperties
public java.util.Map getProperties()
Description copied from interface:SearchContextMethod getProperties- Specified by:
getPropertiesin interfaceSearchContext
-
setProperties
public void setProperties(java.util.Map map)
Description copied from interface:SearchContextMethod setProperties- Specified by:
setPropertiesin interfaceSearchContext
-
-