public class SearchRendererStatus extends AbstractRendererStatus implements ISearchSessionProvider, IRefreshSurvivor, ISearchStatus
SearchRendererStatus
AbstractRendererStatus.CompleteResourceComparator
actions, context, list
DESELECT_ALL, ID, NAME, SELECT_ALL
Constructor and Description |
---|
SearchRendererStatus()
Deprecated.
As of NetWeaver 7.1
|
Modifier and Type | Method and Description |
---|---|
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
|
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
public SearchRendererStatus()
public void setSession(ISearchSession session) throws WcmException
setSession
in interface ISearchStatus
session
- the search session to use, must not be null
WcmException
public ISearchSession getSearchSession()
ISearchSessionProvider
getSearchSession
in interface ISearchSessionProvider
public void setSearchSession(ISearchSession searchSession)
public int getMaxDocsPerPage()
public void setMaxDocsPerPage(int maxDocsPerPage)
public void setEnableWebRepAccess(boolean value)
public boolean isEnableWebRepAccess()
public void filter()
AbstractRendererStatus
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 IResourceListFilter
IParameters
or AbstractRendererStatus.refresh()
method 0
, because the index
as it was might exceed the number of elements left over after the filtering. filter
in interface IRendererStatus
filter
in class AbstractRendererStatus
public void refresh() throws WcmException
refresh
in interface IRendererStatus
refresh
in class AbstractRendererStatus
WcmException
- WcmExceptionpublic void setParameters(Hashtable searchParameters)
setParameters
in interface IConfigurableRendererStatus
setParameters
in interface ISearchStatus
setParameters
in class AbstractRendererStatus
searchParameters
- the parameters from the iView, must not be null
, but might be emptypublic void setHasMore(boolean flag)
public boolean hasMore()
AbstractRendererStatus
hasMore
in interface IRendererStatus
hasMore
in class AbstractRendererStatus
false
, if all resources are includedpublic int getEntrySize()
IMassDataControlStatus
getEntrySize
in interface IMassDataControlStatus
getEntrySize
in class AbstractRendererStatus
public void setCurrentIndex(int index) throws WcmException
IRendererStatus
setCurrentIndex
in interface IRendererStatus
setCurrentIndex
in class AbstractRendererStatus
index
- indexWcmException
- if it is set to a value that
exceeds the number of IResource
s within this status. If not all elements
of the ITypedResourceList
or all children of the ICollection
have been retrieved yet (e.g. because of performance reasons), this method might trigger
a refresh of the list and increase that number.public ITypedResourceList getTypedResourceList()
IRendererStatus
ITypedResourceList
, whose elements are handled within this
status. Might be null
or might be of size 0.getTypedResourceList
in interface IRendererStatus
getTypedResourceList
in class AbstractRendererStatus
public List getActions()
IControlStatus
IExecutable
s defined by the
implementing classgetActions
in interface IControlStatus
public IConfigurableRendererStatus getNewInstance()
getNewInstance
in interface IConfigurableRendererStatus
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice