public class StandardSearchContext extends SessionContext implements SearchContext
CURRENCY, CURRENTDATE, CURRENTDATE_VALID_TO, LANGUAGE, LOCALE, PRICEFACTORY, TIMEOFFSET, TIMEZONE, TRANSACTION_4_ALLATTRIBUTES, TRANSACTION_IN_CREATE_DISABLED, USER, ZERO_TIME_OFFSETRANGE_MAX| Constructor and Description |
|---|
StandardSearchContext(SessionContext ctx) |
StandardSearchContext(StandardSearchContext ctx)
clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
clone() |
SearchContext |
getCopy() |
java.util.Map |
getProperties()
Method getProperties
|
java.lang.Object |
getProperty(java.lang.String name)
Method getProperty
|
int |
getRangeCount()
Method getRangeCount
|
int |
getRangeStart()
Method getRangeStart
|
void |
setProperties(java.util.Map map)
Method setProperties
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
Method setProperty
|
void |
setRange(int from,
int count)
Defines which range of objects should be returned to the client.
|
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, setSessionContextValues, setTimeZome, setTimeZone, setUser, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetLanguage, setLanguagepublic StandardSearchContext(SessionContext ctx)
public StandardSearchContext(StandardSearchContext ctx)
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic SearchContext getCopy()
getCopy in interface SearchContextpublic void setRange(int from,
int count)
SearchContextsetRange( -1, -1 ) is used, all elements will be returned. Use
RANGE_MAX as range count to return all elements from range start to the end.setRange in interface SearchContextpublic int getRangeStart()
SearchContextgetRangeStart in interface SearchContextpublic int getRangeCount()
SearchContextgetRangeCount in interface SearchContextpublic void setProperty(java.lang.String name,
java.lang.Object value)
SearchContextsetProperty in interface SearchContextpublic java.lang.Object getProperty(java.lang.String name)
SearchContextgetProperty in interface SearchContextpublic java.util.Map getProperties()
SearchContextgetProperties in interface SearchContextpublic void setProperties(java.util.Map map)
SearchContextsetProperties in interface SearchContextCopyright © 2018 SAP SE. All Rights Reserved.