|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.service.indexmanagement.retrieval.search.DefaultQueryExtender
public class DefaultQueryExtender
Basic class to extend the query of particular indexes by implementing a subclass of this class.
Changes between major releases 7.0 and 7.X
buildAdditionalQuery(IQueryEntryList, IRidList, IResourceContext)
indexSecurity()
provideProperties(IResource)
| Constructor Summary | |
|---|---|
DefaultQueryExtender()
|
|
DefaultQueryExtender(AbstractIndex index)
has to be implemented the following way public TestQueryExtender(AbstractIndex index){ super(index); } |
|
| Method Summary | |
|---|---|
IQueryEntryList |
buildAdditionalQuery(IQueryEntryList qList,
IResourceContext context)
Return the query which is added to the search for the index |
IQueryEntryList |
buildAdditionalQuery(IQueryEntryList qList,
com.sapportals.wcm.util.uri.IRidList searchFromHereList,
IResourceContext context)
Return the query which is added to the search for the index |
AbstractIndex |
getIndex()
Returns the index. |
boolean |
indexSecurity()
Has to be overwritten and should return true if the query extender rely on ACL infos. |
IPropertyMap |
provideProperties(IResource resource)
Provides additional properties which might be indexed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultQueryExtender()
public DefaultQueryExtender(AbstractIndex index)
index - | Method Detail |
|---|
public IQueryEntryList buildAdditionalQuery(IQueryEntryList qList,
IResourceContext context)
throws com.sapportals.wcm.WcmException
qList - the stabdart query list, which will be extended.context -
ResourceException
com.sapportals.wcm.WcmException
public IQueryEntryList buildAdditionalQuery(IQueryEntryList qList,
com.sapportals.wcm.util.uri.IRidList searchFromHereList,
IResourceContext context)
throws com.sapportals.wcm.WcmException
qList - the stabdart query list, which will be extended.searchFromHereList - specified for the searchcontext -
com.sapportals.wcm.WcmException
public IPropertyMap provideProperties(IResource resource)
throws com.sapportals.wcm.WcmException
resource -
com.sapportals.wcm.WcmExceptionpublic AbstractIndex getIndex()
public boolean indexSecurity()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||