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 Object |
clone() |
SearchContext |
getCopy() |
Map |
getProperties()
Method getProperties
|
Object |
getProperty(String name)
Method getProperty
|
int |
getRangeCount()
Method getRangeCount
|
int |
getRangeStart()
Method getRangeStart
|
void |
setProperties(Map map)
Method setProperties
|
void |
setProperty(String name,
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 Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic 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(String name, Object value)
SearchContextsetProperty in interface SearchContextpublic Object getProperty(String name)
SearchContextgetProperty in interface SearchContextpublic Map getProperties()
SearchContextgetProperties in interface SearchContextpublic void setProperties(Map map)
SearchContextsetProperties in interface SearchContextCopyright © 2017 SAP SE. All Rights Reserved.