|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.rendering.collection.SearchSessionEntry
public final class SearchSessionEntry
The SearchRendererStatus class renders a search resultinput. A search search query gets passed via CFlSearchEvent to SearchResultControl. Search is done in SearchResultControl via federated search manager of WCM. Copyright (c) SAP Portals Europe GmbH 2001
SearchRendererStatus| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.sapportals.wcm.rendering.base.IRenderingEntry |
|---|
IRenderingEntry.InitializationData |
| Nested classes/interfaces inherited from interface com.sap.netweaver.kmc.navigationpersistence.IEntry |
|---|
com.sap.netweaver.kmc.navigationpersistence.IEntry.Visibility |
| Field Summary |
|---|
| Fields inherited from interface com.sap.netweaver.kmc.navigationpersistence.IEntry |
|---|
IVIEW, SELF, WINDOW |
| Constructor Summary | |
|---|---|
SearchSessionEntry()
Deprecated. As of NetWeaver 7.1 |
|
SearchSessionEntry(ISearchSession session,
RetrievalParameters parameters,
String resourcelisttype)
Deprecated. As of NetWeaver 7.1 |
|
SearchSessionEntry(ISearchSession session,
RetrievalParameters parameters,
String resourcelisttype,
com.sapportals.wcm.util.uri.RidSet selection)
Deprecated. As of NetWeaver 7.1 |
|
SearchSessionEntry(RetrievalParameters parameters,
String resourcelisttype)
Deprecated. As of NetWeaver 7.1 |
|
| Method Summary | |
|---|---|
void |
expand(IResourceContext context)
Deprecated. As of NetWeaver 7.1 |
void |
filter()
Deprecated. As of NetWeaver 7.1 |
com.sapportals.wcm.util.uri.RID |
getAccessRID(int index)
Deprecated. As of NetWeaver 7.1 |
int |
getCurrentIndex()
Deprecated. As of NetWeaver 7.1 |
IResourceList |
getList(IResourceContext context)
Deprecated. As of NetWeaver 7.1 |
IResourceList |
getList(IResourceContext context,
int startindex,
int stopindex)
Deprecated. As of NetWeaver 7.1 |
int |
getMaxDocsPerPage()
Deprecated. As of NetWeaver 7.1 |
IRenderingEntry |
getNewInstance(IRenderingEntry.InitializationData data,
com.sap.netweaver.kmc.navigationpersistence.IEntry.Visibility visibility,
RetrievalParameters parameters)
Deprecated. As of NetWeaver 7.1 |
ICollection |
getParent(IResourceContext context)
Deprecated. As of NetWeaver 7.1 |
Map |
getProperties(IResource res)
Deprecated. As of NetWeaver 7.1 |
IResource |
getResource(IResourceContext context,
int index)
Deprecated. As of NetWeaver 7.1 |
RetrievalParameters |
getRetrievalParameters()
Deprecated. As of NetWeaver 7.1 |
com.sapportals.wcm.util.uri.IRidList |
getRIDList()
Deprecated. As of NetWeaver 7.1 |
ISearchSession |
getSearchSession()
Deprecated. As of NetWeaver 7.1 |
com.sapportals.wcm.util.uri.RidSet |
getSelection()
Deprecated. As of NetWeaver 7.1 |
IResourceList |
getSelection(IResourceContext context)
Deprecated. As of NetWeaver 7.1 |
ITypedResourceList |
getTypedResourceList(IResourceContext context)
Deprecated. As of NetWeaver 7.1 |
com.sap.netweaver.kmc.navigationpersistence.IEntry.Visibility |
getVisibility()
Deprecated. As of NetWeaver 7.1 |
boolean |
hasMore()
Deprecated. As of NetWeaver 7.1 |
boolean |
isVolatile()
Deprecated. As of NetWeaver 7.1 |
void |
refresh(IResourceContext context)
Deprecated. As of NetWeaver 7.1 |
void |
setCurrentIndex(int index,
IResourceContext context)
Deprecated. As of NetWeaver 7.1 |
void |
setHasMore(boolean flag)
Deprecated. As of NetWeaver 7.1 |
void |
setMaxDocsPerPage(int maxDocsPerPage)
Deprecated. As of NetWeaver 7.1 |
void |
setSearchSession(ISearchSession searchSession)
Deprecated. As of NetWeaver 7.1 |
void |
setSelection(boolean selected)
Deprecated. As of NetWeaver 7.1 |
void |
setSelection(com.sapportals.wcm.util.uri.RidSet set)
Deprecated. As of NetWeaver 7.1 |
void |
setSession(ISearchSession session)
Deprecated. As of NetWeaver 7.1 |
void |
shrink()
Deprecated. As of NetWeaver 7.1 |
int |
size()
Deprecated. As of NetWeaver 7.1 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SearchSessionEntry()
public SearchSessionEntry(ISearchSession session,
RetrievalParameters parameters,
String resourcelisttype,
com.sapportals.wcm.util.uri.RidSet selection)
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException
public SearchSessionEntry(ISearchSession session,
RetrievalParameters parameters,
String resourcelisttype)
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException
public SearchSessionEntry(RetrievalParameters parameters,
String resourcelisttype)
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException| Method Detail |
|---|
public void setSession(ISearchSession session)
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmExceptionpublic boolean isVolatile()
isVolatile in interface IRenderingEntrytrue, if it might be deleted.public ICollection getParent(IResourceContext context)
getParent in interface IRenderingEntrycontext - the context for the current request. Must not be null.
null, if the entry does not support hierarchical structurespublic int getCurrentIndex()
getCurrentIndex in interface IRenderingEntryIResources.public ISearchSession getSearchSession()
ISearchSessionProvider
getSearchSession in interface ISearchSessionProviderpublic void setSearchSession(ISearchSession searchSession)
public int getMaxDocsPerPage()
public void setMaxDocsPerPage(int maxDocsPerPage)
public void filter()
public void refresh(IResourceContext context)
throws com.sapportals.wcm.WcmException
refresh in interface IRenderingEntrycontext - the context for the current request. Must not be null.
com.sapportals.wcm.WcmExceptionpublic void setHasMore(boolean flag)
public boolean hasMore()
hasMore in interface IRenderingEntryIRenderingEntry.size() method.
public void setCurrentIndex(int index,
IResourceContext context)
throws com.sapportals.wcm.WcmException
IRenderingEntrynull. If 20 resources are displayed per screen, the
paging command "show 21 to 40" should lead to a call of this method with the
value 20.
setCurrentIndex in interface IRenderingEntryindex - depending on the implementation, a value that is
index >= (this.size()-1) might lead to an IndexOutOfBoundsException.context - the context for the current request. Must not be null
com.sapportals.wcm.WcmExceptionpublic void setSelection(boolean selected)
setSelection in interface IRenderingEntryselected - selects all resources currently stored within the
implementation, if the parameter is set to true. Deselects
all resources otherwise. If more resources are stored within the entry
at a later time (for example, if the entry supports a "hasMore" mode),
the implementation has to specify if these additional resources are
selected or not.public void setSelection(com.sapportals.wcm.util.uri.RidSet set)
setSelection in interface IRenderingEntryset - of accessRIDs of resources that should be set to selected,
after this method has been carried out. Resources that were set to selected before
and are not included in this set, will not be selected after this call was carried
out.public int size()
size in interface IRenderingEntrypublic RetrievalParameters getRetrievalParameters()
getRetrievalParameters in interface IRenderingEntrypublic com.sapportals.wcm.util.uri.RID getAccessRID(int index)
getAccessRID in interface IRenderingEntryindex - the index to retrieve the accessRID for. Might result in an
IndexOutOfBoundsException
public IResourceList getList(IResourceContext context,
int startindex,
int stopindex)
throws com.sapportals.wcm.WcmException
getList in interface IRenderingEntrycontext - the context for the current request. Must not be null.startindex - the first resource to retrievestopindex - the last resource to retrieve
IResourceList instance, that contains the
specified resources. If not all resources could be retrieved, for example
because of security problems, the list might be smaller than expected.
com.sapportals.wcm.WcmException
public IResourceList getList(IResourceContext context)
throws com.sapportals.wcm.WcmException
IRenderingEntry
getList in interface IRenderingEntrycontext - the context for the current request. Must not be null.
com.sapportals.wcm.WcmException
public IResource getResource(IResourceContext context,
int index)
throws com.sapportals.wcm.WcmException
getResource in interface IRenderingEntrycontext - the context for the current request. Must not be null.index - the index to retrieve the resource for. Might result in an
IndexOutOfBoundsException
com.sapportals.wcm.WcmExceptionpublic com.sapportals.wcm.util.uri.IRidList getRIDList()
getRIDList in interface IRenderingEntrypublic com.sapportals.wcm.util.uri.RidSet getSelection()
getSelection in interface IRenderingEntry
public IResourceList getSelection(IResourceContext context)
throws com.sapportals.wcm.WcmException
getSelection in interface IRenderingEntrycontext - the context for the current request. Must not be null.
com.sapportals.wcm.WcmException
public ITypedResourceList getTypedResourceList(IResourceContext context)
throws com.sapportals.wcm.WcmException
IRenderingEntry
getTypedResourceList in interface IRenderingEntrycontext - the context for the current request. Must not be null.
ITypedResourceList containing all
resources currently managed by this instance
com.sapportals.wcm.WcmExceptionpublic void shrink()
shrink in interface com.sap.netweaver.kmc.navigationpersistence.IEntrypublic void expand(IResourceContext context)
expand in interface com.sap.netweaver.kmc.navigationpersistence.IEntry
public Map getProperties(IResource res)
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmExceptionpublic com.sap.netweaver.kmc.navigationpersistence.IEntry.Visibility getVisibility()
getVisibility in interface com.sap.netweaver.kmc.navigationpersistence.IEntry
public IRenderingEntry getNewInstance(IRenderingEntry.InitializationData data,
com.sap.netweaver.kmc.navigationpersistence.IEntry.Visibility visibility,
RetrievalParameters parameters)
throws com.sapportals.wcm.WcmException
IRenderingEntryPersistenceFactory, not by the
classes within the rendering framework.
getNewInstance in interface IRenderingEntrydata - must not be nullvisibility - the visibility for this entry, must not be nullparameters - must not be null
com.sapportals.wcm.WcmException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||