com.sapportals.wcm.rendering.collection

Class SearchRendererStatus

java.lang.Object
  extended by com.sapportals.wcm.rendering.collection.AbstractRendererStatus
      extended by com.sapportals.wcm.rendering.collection.SearchRendererStatus
All Implemented Interfaces:
IConfigurableRendererStatus, IRefreshSurvivor, IRendererStatus, IVolatileStatus, ISearchStatus, ISearchSessionProvider, IControlStatus, IMassDataControlStatus

Deprecated. As of NetWeaver 7.1

public class SearchRendererStatus
extends AbstractRendererStatus
implements ISearchSessionProvider, IRefreshSurvivor, ISearchStatus

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

See Also:
SearchRendererStatus

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sapportals.wcm.rendering.collection.AbstractRendererStatus
AbstractRendererStatus.CompleteResourceComparator
 
Field Summary
 
Fields inherited from class com.sapportals.wcm.rendering.collection.AbstractRendererStatus
actions, context, list
 
Fields inherited from interface com.sapportals.wcm.rendering.base.IRendererStatus
DESELECT_ALL, ID, NAME, SELECT_ALL
 
Constructor Summary
SearchRendererStatus()
          Deprecated. As of NetWeaver 7.1
 
Method Summary
 void filter()
          Deprecated. As of NetWeaver 7.1
 List getActions()
          Deprecated. As of NetWeaver 7.1
 int getEntrySize()
          Deprecated. As of NetWeaver 7.1
 int getMaxDocsPerPage()
          Deprecated. As of NetWeaver 7.1
 IConfigurableRendererStatus getNewInstance()
          Deprecated. As of NetWeaver 7.1
 ISearchSession getSearchSession()
          Deprecated. As of NetWeaver 7.1
 ITypedResourceList getTypedResourceList()
          Deprecated. As of NetWeaver 7.1
 boolean hasMore()
          Deprecated. As of NetWeaver 7.1
 boolean isEnableWebRepAccess()
          Deprecated. As of NetWeaver 7.1
 void refresh()
          Deprecated. As of NetWeaver 7.1
 void setCurrentIndex(int index)
          Deprecated. As of NetWeaver 7.1
 void setEnableWebRepAccess(boolean value)
          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 setParameters(Hashtable searchParameters)
          Deprecated. As of NetWeaver 7.1
 void setSearchSession(ISearchSession searchSession)
          Deprecated. As of NetWeaver 7.1
 void setSession(ISearchSession session)
          Deprecated. As of NetWeaver 7.1
 
Methods inherited from class com.sapportals.wcm.rendering.collection.AbstractRendererStatus
execute, execute, getAction, getComparator, getCurrentIndex, getField, getFields, getFieldSet, getFieldSet, getFilter, getFilterParameters, getID, getMassFields, getParameters, getParent, getPropertyColumns, getResource, getResourceList, getResourceTypeMapping, getSelectedResources, getSortDefintion, getStatusInformation, initializeSelectionList, isVolatile, setComparator, setFilter, setFilterParameters, setID, setParent, setPropertyColumns, setResourceTypeMapping, setSortDefinition, setTypedResourceList, sort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchRendererStatus

public SearchRendererStatus()
Deprecated. As of NetWeaver 7.1

Method Detail

setSession

public void setSession(ISearchSession session)
                throws WcmException
Deprecated. As of NetWeaver 7.1

Specified by:
setSession in interface ISearchStatus
Parameters:
session - the search session to use, must not be null
Throws:
WcmException

getSearchSession

public ISearchSession getSearchSession()
Deprecated. As of NetWeaver 7.1

Description copied from interface: ISearchSessionProvider
get search session from SearchRendererStatus

Specified by:
getSearchSession in interface ISearchSessionProvider

setSearchSession

public void setSearchSession(ISearchSession searchSession)
Deprecated. As of NetWeaver 7.1


getMaxDocsPerPage

public int getMaxDocsPerPage()
Deprecated. As of NetWeaver 7.1


setMaxDocsPerPage

public void setMaxDocsPerPage(int maxDocsPerPage)
Deprecated. As of NetWeaver 7.1


setEnableWebRepAccess

public void setEnableWebRepAccess(boolean value)
Deprecated. As of NetWeaver 7.1


isEnableWebRepAccess

public boolean isEnableWebRepAccess()
Deprecated. As of NetWeaver 7.1


filter

public void filter()
Deprecated. As of NetWeaver 7.1

Description copied from class: AbstractRendererStatus
filters the current IResourceList attribute of the status using the set IResourceListFilter and the IParameters. If one of these is null, no filtering will be done, but a logging entry is written. Also, if the list has been filtered before and no new information has been provided by either
setting a new IResourceListFilter
setting new IParameters or
calling the AbstractRendererStatus.refresh() method
the method will not call the filter algorithm again due to performance reasons.
Also, this method will set the current index back to 0, because the index as it was might exceed the number of elements left over after the filtering.
The list of selected resources will be reseted as well, so no elements will be selected.

Specified by:
filter in interface IRendererStatus
Overrides:
filter in class AbstractRendererStatus

refresh

public void refresh()
             throws WcmException
Deprecated. As of NetWeaver 7.1

central refresh of list to be displayed

Specified by:
refresh in interface IRendererStatus
Overrides:
refresh in class AbstractRendererStatus
Throws:
WcmException

setParameters

public void setParameters(Hashtable searchParameters)
Deprecated. As of NetWeaver 7.1

set search parameters that are important for rendering info (docs per page, nof cats, search cascade)

Specified by:
setParameters in interface IConfigurableRendererStatus
Specified by:
setParameters in interface ISearchStatus
Overrides:
setParameters in class AbstractRendererStatus
Parameters:
searchParameters - the parameters from the iView, must not be null, but might be empty

setHasMore

public void setHasMore(boolean flag)
Deprecated. As of NetWeaver 7.1


hasMore

public boolean hasMore()
Deprecated. As of NetWeaver 7.1

Description copied from class: AbstractRendererStatus
flag telling, if all resources available for the given parent or the given resourcelist are included in the presently returned resourcelist.

Specified by:
hasMore in interface IRendererStatus
Overrides:
hasMore in class AbstractRendererStatus
Returns:
false, if all resources are included

getEntrySize

public int getEntrySize()
Deprecated. As of NetWeaver 7.1

Description copied from interface: IMassDataControlStatus
returns the number of entries that are managed within this status

Specified by:
getEntrySize in interface IMassDataControlStatus
Overrides:
getEntrySize in class AbstractRendererStatus
Returns:
entrySize

setCurrentIndex

public void setCurrentIndex(int index)
                     throws WcmException
Deprecated. As of NetWeaver 7.1

Description copied from interface: IRendererStatus
sets the index-attribute of the status to the given value. This is needed e.g. to store the part of the resourcelist that is currently displayed within an iView.

Specified by:
setCurrentIndex in interface IRendererStatus
Overrides:
setCurrentIndex in class AbstractRendererStatus
Throws:
WcmException

getTypedResourceList

public ITypedResourceList getTypedResourceList()
Deprecated. As of NetWeaver 7.1

Description copied from interface: IRendererStatus
returns the ITypedResourceList, whose elements are handled within this status. Might be null or might be of size 0.

Specified by:
getTypedResourceList in interface IRendererStatus
Overrides:
getTypedResourceList in class AbstractRendererStatus

getActions

public List getActions()
Deprecated. As of NetWeaver 7.1

Description copied from interface: IControlStatus
returns a list with all IExecutable s defined by the implementing class

Specified by:
getActions in interface IControlStatus
Returns:
actions

getNewInstance

public IConfigurableRendererStatus getNewInstance()
Deprecated. As of NetWeaver 7.1

Specified by:
getNewInstance in interface IConfigurableRendererStatus
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice