|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.service.indexmanagement.AbstractIndex
Generic index class, which must be extended by a specialized index implementation.
IIndex| Nested Class Summary | |
static class |
AbstractIndex.ErrorState
|
static class |
AbstractIndex.IndexingState
|
class |
AbstractIndex.Reindexer
This class handles the reindex process in a separate thread. |
static class |
AbstractIndex.RunningState
|
static class |
AbstractIndex.WhatToIndex
|
| Field Summary | |
static String |
CFG_PLUGIN_CM_INDEXES
|
static String |
CFG_PLUGIN_CM_INDEXES_INDEX_FOLDERS
|
static String |
INDEX_STRING_AS_STRING
|
protected String |
m_crawlerProfileId
ID of the default crawler profile for all index folders of the index. |
protected List |
m_crawlerQueue
Queue of crawlers. |
protected IIndexFolderList |
m_indexFolders
list of index folders that are assigned to the index |
protected String |
m_indexGroup
group of the index |
protected String |
m_indexId
id of the index |
protected String |
m_indexName
display name of the index |
protected boolean |
m_isActive
Indicates if an index is available or has be deactivated. |
protected String |
m_serviceId
the id of the implementing index service |
protected static String |
m_serviceUserId
ID of the service user. |
static String |
PROPERTIES
|
static String |
SYSTEM_FOLDER
|
| Constructor Summary | |
AbstractIndex(String indexId,
String indexName,
String indexGroup,
IIndexFolderList indexFolders,
String serviceId,
String serviceUserId,
Properties indexServiceProperties)
Deprecated. as of NW04. Use constructor with crawler profile ID |
|
AbstractIndex(String indexId,
String indexName,
String indexGroup,
IIndexFolderList indexFolders,
String serviceId,
String crawlerProfileId,
String serviceUserId,
Properties indexServiceProperties)
Constructor. |
|
| Method Summary | |
void |
addFolderUri(URI folderUri)
Deprecated. as of NW04. Use add(IIndexFolder) at the IIndexFolderList interface |
void |
checkIndexIsActive()
|
void |
checkProperties(Properties customProperties)
With this method the properties that should be set could be checked. |
int |
compareTo(Object o)
|
static Date |
convertDateToIndexTime(Date dateInput)
Converts the input date into a date used for indexing time attributeand returns this value. |
void |
createIndexOnServer()
Creates the index on the index server connected with the CM system. |
void |
deindexDocument(IResource resource)
Deindexes a document |
void |
deindexDocument(RID resourceRid)
Deindexes a document |
void |
deindexDocument(URI resourceUri)
Deprecated. as of NW04. Use deindexDocument(RID) |
void |
deindexDocuments(IResourceList resources)
Deindexes a document |
void |
deindexDocuments(IRidList resourceRids)
Deindexes a document |
void |
deindexDocuments(IUriList resourceUris)
Deprecated. as of NW04. Use deindexDocuments(IRidList) |
void |
deleteOnServer()
Deletes the index on the index server connected with the CM system. |
static void |
deleteOnServer(String indexId)
|
void |
deltaReindex()
Performs indexing of the documents that are not indexed yet or have been changed since the last crawl. |
boolean |
equals(Object o)
|
static StringBuffer |
escape(String s)
|
void |
flush()
Flushes the queue |
boolean |
flush(RID rid,
int counter)
Tries about counter of times to bring the documents decribed by the rid in a state such that the document can be found in the index. |
void |
flushAsync()
Asynchronous flush. |
void |
flushAsync(RID rid,
int counter)
Asynchronous flush. |
long |
getActiveTime()
Gives a rough estimation for the time duration needed for indexing the actual available documents. |
static com.sapportals.portal.security.usermanagement.IUser |
getConfigServiceUser()
AccessController.doPrivileged stops the security check on this level of the call stack. |
IContent |
getContent(RID rid)
Returns the content for the specified ridList. |
String |
getCrawlerProfileId()
ID of the default crawler profile for all index folders of the index. |
String |
getDetailsMonitorPageText(Locale locale)
Get Display Text for details monitor portal page |
String |
getDetailsMonitorPageURL()
Get details monitor portal page |
String |
getDetailsMonitorURL1()
Get first details monitor |
String |
getDetailsMonitorURL2()
Get second details monitor |
String |
getDetailsMonitorURL3()
Get third details monitor |
static PropertyName |
getDisplayNameAsStringPropName()
|
AbstractIndex.ErrorState |
getErrorState(double errorThreshold,
double warningThreshold,
Locale locale)
Returns an error state indicating the overall indexing status. |
IUriList |
getFolderUris()
Deprecated. as of NW04. Use getFolderRids() |
String[] |
getFrameSizes()
Get frame sizes of detailed monitors (and implicit number of detailed monitors) |
RID |
getHiddenIndexAreaStartRid()
Returns the start rid of an hidden index |
static Map |
getHiddenIndexIds()
|
IPropertyMap |
getIndexedProperties()
Returns the properties, indexed with the documents in the index. |
IIndexFolder |
getIndexFolderForDocument(RID documentRid)
Gets the next upper indexFolder for the document |
static PropertyName |
getIndexFolderRidPropName()
|
IIndexFolderList |
getIndexFolders()
Folders or start pages that are assigned to the index for indexing. |
String |
getIndexGroup()
Returns the group of indexes to which the index logically belongs. |
String |
getIndexId()
Identifies the index within the system. |
AbstractIndex.IndexingState |
getIndexingState()
|
String |
getIndexName()
Non-technical identifier of an index. |
List |
getLanguagesOfIndexedDocuments()
Returns the languages of an index, for which documents exist in. |
static byte |
getModeledPropertyIndexType(IMetaName metaName)
Returns the property type for a modelled property which is used for indexing. |
int |
getNumberOfCrawler(RID indexRid)
|
int |
getNumberOfDocumentsInQueue()
Returns the numbers of documents currently in work for indexing, but not in an error state. |
int |
getNumberOfErrors()
Returns the numbers of documents failed during indexing. |
int |
getNumberOfIndexedDocuments(IIndexFolder indexFolder,
IResourceContext context)
Returns the number of documents of the datasource of the index which are already in the index |
int |
getNumberOfSuccessfullyIndexedDocs()
Returns the numbers of documents successfully indexed and searchable. |
Collection |
getOriginalContent(IRidList ridList)
Returns the content for the specified ridList. |
Properties |
getProperties()
Gets index implementation specific data |
IPropertyMap |
getPropertiesForHiddenResource(RID rid)
Returns the properties for the resource specified by the rid. |
String |
getResourceInfo(RID documentRid)
|
RID |
getRID()
Gets the resource ID of the resource representation of this index. |
AbstractIndex.RunningState |
getRunningState()
Returns a state indicating what is actually happening with respect to indexing. |
ISchedulerTimeTable |
getSchedulerTimeTable()
Returns the timetable of a schedule for delta index crawling for the index. |
DefaultIMSecurityManager |
getSecManager()
|
String |
getServiceId()
Specifies the index implementation that is used for the index. |
List |
getServiceTypes(Locale locale)
Displays representations of the indexes service types in the locale's language. |
abstract ISupportedOptionSet |
getSupportedOptions()
The actions of the additional interfaces of an index are supported actions for the index in question (for example, ISearchIndex, IClassificationIndex)
that are supported by the index implementation.
|
static ISystemList |
getSystemList()
|
AbstractIndex.WhatToIndex |
getWhatToIndex()
|
String |
getWhatToIndexString()
|
boolean |
indexContentOfExternalLinks()
|
void |
indexDocument(IResource resource)
Indexes a document |
void |
indexDocument(IResource resource,
IResourceEvent resourceEvent)
Indexes a document |
void |
indexDocuments(IResourceList resources)
Indexes a list of documents |
void |
indexDocuments(IResourceList resources,
IResourceEvent resourceEvent)
Indexes a list of documents |
boolean |
indexInternalLinks()
|
static boolean |
indexStringAttributeAsString(IMetaName metaName)
Returns true if the attribute is indexed as a string and false if indexed as text. |
abstract void |
init(Properties properties)
Initializes the index with index implementation specific data |
void |
internalAddQueuedCrawler(IIndexServiceCrawler crawler)
For internal use only! |
protected abstract void |
internalDeindexDocuments(IRidList rids)
Deindexes documents |
protected abstract void |
internalIndexDocuments(IResourceList resources,
IResourceEvent resourceEvent)
Indexes a list of documents |
void |
internalRunQueuedIfNoActive()
|
void |
internalSetIndexFolders(IIndexFolderList indexFolders)
For internal use only! |
boolean |
isActive()
Returns the information if an index is available or has be set inactive. |
int |
reduceNumberOfCrawler()
|
void |
reindex()
Reindexes the index |
void |
reindex(boolean disablePostClearTasks)
Reindexes the index |
void |
reindexNotTrainingDocs()
|
protected void |
reindexPostClear(IIndexFolderList preClearIndexFolders)
Deprecated. as of NW04. Does not work with the new crawlers |
protected boolean |
reindexXPostClear(IIndexFolderList preClearIndexFolders)
|
void |
removeAllFolderUris()
Deprecated. as of NW04. Use clear() at the IIndexFolderList interface |
void |
removeFolderUri(URI folderUri)
Deprecated. as of NW04. Use remove(IIndexFolder) at the IIndexFolderList interface |
void |
repaireConfigurable()
|
void |
restartAll()
Stops all stopped and suspended tasks for indexing. |
void |
resumeAll()
Resumes all suspended tasks for indexing. |
boolean |
setActive(boolean isActive)
Sets an index inactive or activates it. |
void |
setActiveDuringStartup(boolean isActive)
|
void |
setCrawlerProfileId(String crawlerProfileId)
Sets the ID of the default crawler profile for all index folders of the index. |
void |
setInactiveIndexHasChanged()
Sets a property on true, if index documents have changed during index was inactive. |
void |
setIndexGroup(String indexGroup)
for internal use |
void |
setIndexingState(AbstractIndex.IndexingState state)
|
void |
setIndexName(String indexName)
For internal use only. |
void |
setNumberOfCrawler(int numOfCrawler)
|
void |
setProperties(Properties properties)
Sets index implementation specific data |
void |
setSchedulerTimeTable(ISchedulerTimeTable schedulerTimeTablePar)
Registers a schedule for delta index crawling for the index with the ISchedulerTimeTable. |
void |
setStateAndNumberOfCrawler(AbstractIndex.IndexingState state,
int numOfCrawler)
|
void |
setWhatToIndex(String s)
|
void |
startReindexer(boolean disablePostClearTasks)
|
void |
stopAll()
Stops all running tasks for indexing. |
void |
suspendAll()
Suspends all running tasks for indexing. |
boolean |
typeShouldBeIndexed(IResource res)
|
static String |
unescape(String s)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sapportals.wcm.service.indexmanagement.IIndex |
clear, delete, delete, generate, generate, getResourceInfo, getServiceTypes |
| Field Detail |
public static final String CFG_PLUGIN_CM_INDEXES
public static final String CFG_PLUGIN_CM_INDEXES_INDEX_FOLDERS
public static final String PROPERTIES
public static final String INDEX_STRING_AS_STRING
public static final String SYSTEM_FOLDER
protected String m_indexId
protected IIndexFolderList m_indexFolders
protected String m_serviceId
protected String m_indexName
protected String m_indexGroup
protected boolean m_isActive
protected String m_crawlerProfileId
protected static String m_serviceUserId
protected List m_crawlerQueue
| Constructor Detail |
public AbstractIndex(String indexId,
String indexName,
String indexGroup,
IIndexFolderList indexFolders,
String serviceId,
String serviceUserId,
Properties indexServiceProperties)
throws WcmException
indexId - - index identifierindexName - - display name of the indexindexGroup - - the group the index has been assigned toserviceId - - the identifier of the index serviceserviceUserId - - id of the index management service user, to set the service contextindexServiceProperties - - config properties of the index management service
WcmException - Exception raised in failure situation
public AbstractIndex(String indexId,
String indexName,
String indexGroup,
IIndexFolderList indexFolders,
String serviceId,
String crawlerProfileId,
String serviceUserId,
Properties indexServiceProperties)
throws WcmException
indexId - - index identifierindexName - - display name of the indexindexGroup - - the group the index has been assigned toserviceId - - the identifier of the index servicecrawlerProfileId - - ID of the default crawler profile for all index folders of the indexserviceUserId - - id of the index management service user, to set the service contextindexServiceProperties - - config properties of the index management service
WcmException - Exception raised in failure situation| Method Detail |
public static StringBuffer escape(String s)
public static String unescape(String s)
public static Date convertDateToIndexTime(Date dateInput)
dateInput -
public static byte getModeledPropertyIndexType(IMetaName metaName)
throws WcmException
IQueryEntry.
metaName -
WcmException
public static com.sapportals.portal.security.usermanagement.IUser getConfigServiceUser()
throws Exception
Exception
public IPropertyMap getIndexedProperties()
throws WcmException
getIndexedProperties in interface IIndexWcmException - Exception raised in failure situationpublic void setIndexName(String indexName)
setIndexName in interface IIndexindexName - The new IndexName valuepublic void setIndexGroup(String indexGroup)
setIndexGroup in interface IIndexindexGroup - The new IndexGroup value
public void setCrawlerProfileId(String crawlerProfileId)
throws WcmException
setCrawlerProfileId in interface IIndexWcmExceptionpublic void setProperties(Properties properties)
setProperties in interface IIndexproperties - The new Properties valuepublic String getIndexId()
IIndexIIndex object
from the IIndexService.
getIndexId in interface IIndexpublic String getIndexName()
IIndex
getIndexName in interface IIndexpublic IUriList getFolderUris()
getFolderUris in interface IIndexpublic IIndexFolderList getIndexFolders()
IIndexIIndexFolderList. If more than one superior folder
is attached to different indexes, the lower folder determines the index, in which
the document is stored.
getIndexFolders in interface IIndexpublic String getServiceId()
IIndexcom.sapportals.wcm.service.indexmanagement.retrieval.trex.TrexSearchAndClassificationIndexISearchIndex, IClassificationIndex
getServiceId in interface IIndexIt is configured in the wcm configuration file and links to the impementing class.
public String getIndexGroup()
IIndexgroup can be null.
getIndexGroup in interface IIndexAs an example indexes can be grouped to display them separated in groups.
public String getCrawlerProfileId()
getCrawlerProfileId in interface IIndexpublic List getServiceTypes(Locale locale)
IIndex
getServiceTypes in interface IIndexlocale - - locale of user context to return service types in locale language of user context
public Properties getProperties()
getProperties in interface IIndex
public void checkProperties(Properties customProperties)
throws WcmException
IIndex
checkProperties in interface IIndexcustomProperties -
WcmExceptionIIndexpublic abstract ISupportedOptionSet getSupportedOptions()
IIndexISearchIndex, IClassificationIndex)
that are supported by the index implementation.
Example:
String indexId = "abc";
IIndexService indexService = (IIndexService)ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.INDEX_SERVICE);
IIndex index = indexService.getIndex(indexId);
ISupportedOptionSet supportedOptions = index.getSupportedOptions();
if (supportedOptions.isSupported(SupportedOption.SEARCH)) {
//do search; it is supported by the index
}
getSupportedOptions in interface IIndex
public List getLanguagesOfIndexedDocuments()
throws WcmException
getLanguagesOfIndexedDocuments in interface IIndexWcmExceptionpublic void addFolderUri(URI folderUri)
addFolderUri in interface IIndexfolderUri - FolderUri to be addedpublic void removeAllFolderUris()
removeAllFolderUris in interface IIndexpublic void removeFolderUri(URI folderUri)
removeFolderUri in interface IIndexfolderUri - uri of folder to remove from index
public void indexDocuments(IResourceList resources,
IResourceEvent resourceEvent)
throws ResourceException,
WcmException,
IOException
indexDocuments in interface IIndexresources - resources to indexresourceEvent - event that caused the index request
ResourceException - Exception raised in failure situation
WcmException - Exception raised in failure situation
IOException - Exception raised in failure situation
public void indexDocuments(IResourceList resources)
throws ResourceException,
WcmException,
IOException
indexDocuments in interface IIndexresources - resources to index
ResourceException - Exception raised in failure situation
WcmException - Exception raised in failure situation
IOException - Exception raised in failure situation
public void indexDocument(IResource resource)
throws ResourceException,
WcmException,
IOException
indexDocument in interface IIndexresource - resource to index
ResourceException - Exception raised in failure situation
WcmException - Exception raised in failure situation
IOException - Exception raised in failure situation
public void indexDocument(IResource resource,
IResourceEvent resourceEvent)
throws ResourceException,
WcmException,
IOException
indexDocument in interface IIndexresource - resource to indexresourceEvent - event that caused the index request
ResourceException - Exception raised in failure situation
WcmException - Exception raised in failure situation
IOException - Exception raised in failure situation
public void deindexDocuments(IResourceList resources)
throws ResourceException,
WcmException
deindexDocuments in interface IIndexresources - resources to deindex
ResourceException - Exception raised in failure situation
WcmException - Exception raised in failure situation
public void deindexDocuments(IUriList resourceUris)
throws ResourceException,
WcmException
deindexDocuments in interface IIndexresourceUris - list of uris to deindex
ResourceException - Exception raised in failure situation
WcmException - Exception raised in failure situation
public void deindexDocuments(IRidList resourceRids)
throws ResourceException,
WcmException
deindexDocuments in interface IIndexresourceRids - list of rids to deindex
ResourceException - Exception raised in failure situation
WcmException - Exception raised in failure situation
public void deindexDocument(IResource resource)
throws ResourceException,
WcmException
deindexDocument in interface IIndexresource - resource to deindex
ResourceException - Exception raised in failure situation
WcmException - Exception raised in failure situation
public void deindexDocument(URI resourceUri)
throws ResourceException,
WcmException
deindexDocument in interface IIndexresourceUri - uri to deindex
ResourceException - Exception raised in failure situation
WcmException - Exception raised in failure situation
public void deindexDocument(RID resourceRid)
throws ResourceException,
WcmException
deindexDocument in interface IIndexresourceRid - rid to deindex
ResourceException - Exception raised in failure situation
WcmException - Exception raised in failure situation
public void reindex()
throws WcmException
reindex in interface IIndexWcmException - Exception raised in failure situation
public void reindex(boolean disablePostClearTasks)
throws WcmException
reindex in interface IIndexdisablePostClearTasks - - if true the tasks that can be performed by the index implementation after the index
has been cleared are skipped. Example: Don't train the classification index before reindex all documents.
WcmException - Exception raised in failure situation
public void deleteOnServer()
throws WcmException
IIndex
deleteOnServer in interface IIndexWcmException
public static void deleteOnServer(String indexId)
throws WcmException
WcmException
public void createIndexOnServer()
throws WcmException
IIndex
createIndexOnServer in interface IIndexWcmException
public void startReindexer(boolean disablePostClearTasks)
throws WcmException
WcmException
public void deltaReindex()
throws WcmException
deltaReindex in interface IIndexWcmException - exception raised in failure situationpublic abstract void init(Properties properties)
init in interface IIndexproperties - specific properties of the index implemenation
protected abstract void internalIndexDocuments(IResourceList resources,
IResourceEvent resourceEvent)
throws ResourceException,
WcmException,
IOException
resources - resources to indexresourceEvent - event that caused the index request
ResourceException - Exception raised in failure situation
WcmException - Exception raised in failure situation
IOException - Exception raised in failure situation
protected abstract void internalDeindexDocuments(IRidList rids)
throws ResourceException,
WcmException
rids - list of rids to deindex
ResourceException - Exception raised in failure situation
WcmException - Exception raised in failure situation
protected void reindexPostClear(IIndexFolderList preClearIndexFolders)
throws WcmException
preClearIndexFolders - index folders that have been attached befor the clear
WcmException - Exception raised in failure situation
protected boolean reindexXPostClear(IIndexFolderList preClearIndexFolders)
throws WcmException
WcmExceptionpublic IIndexFolder getIndexFolderForDocument(RID documentRid)
getIndexFolderForDocument in interface IIndexdocumentRid - rid of the document to get the index folder for
public void reindexNotTrainingDocs()
throws WcmException
WcmExceptionpublic int compareTo(Object o)
public boolean equals(Object o)
public void internalSetIndexFolders(IIndexFolderList indexFolders)
indexFolders -
public void internalAddQueuedCrawler(IIndexServiceCrawler crawler)
throws WcmException
crawler -
WcmException
public void internalRunQueuedIfNoActive()
throws WcmException
WcmException
public String getResourceInfo(RID documentRid)
throws WcmException
WcmException
public static ISystemList getSystemList()
throws WcmException
WcmException
public void setSchedulerTimeTable(ISchedulerTimeTable schedulerTimeTablePar)
throws WcmException
ISchedulerTimeTable. Thereby it sets this schedule for all
data sources with no own schedule.
Remark: It is recommended to use the similar method of the
IIndexService instead of this method.
setSchedulerTimeTable in interface IIndexschedulerTimeTablePar - ISchedulerTimeTable
WcmException - in case of an error.
public ISchedulerTimeTable getSchedulerTimeTable()
throws WcmException
IIndexService instead of this method.
getSchedulerTimeTable in interface IIndexISchedulerTimeTable
WcmException - in case of an error.public boolean isActive()
isActive in interface IIndex
public boolean setActive(boolean isActive)
throws WcmException
setActive in interface IIndexWcmException
public void setActiveDuringStartup(boolean isActive)
throws WcmException
setActiveDuringStartup in interface IIndexWcmException
public void setInactiveIndexHasChanged()
throws WcmException,
ResourceException
setInactiveIndexHasChanged in interface IIndexWcmException - in case of an error
ResourceException - in case of an error
public RID getRID()
throws WcmException
getRID in interface IIndexWcmException - in case of an error.
public void checkIndexIsActive()
throws WcmException
WcmException
public void setStateAndNumberOfCrawler(AbstractIndex.IndexingState state,
int numOfCrawler)
throws WcmException
setStateAndNumberOfCrawler in interface IIndexWcmException
public void setNumberOfCrawler(int numOfCrawler)
throws ResourceException,
WcmException
ResourceException
WcmException
public void setIndexingState(AbstractIndex.IndexingState state)
throws ResourceException,
WcmException
setIndexingState in interface IIndexResourceException
WcmException
public void repaireConfigurable()
throws Exception
Exception
public int getNumberOfCrawler(RID indexRid)
throws WcmException
WcmException
public int reduceNumberOfCrawler()
throws WcmException
reduceNumberOfCrawler in interface IIndexWcmException
public AbstractIndex.IndexingState getIndexingState()
throws ResourceException,
WcmException
getIndexingState in interface IIndexResourceException
WcmException
public String getDetailsMonitorURL1()
throws NotSupportedException
NotSupportedException - if the method is not implemented for an index
WcmException
public String getDetailsMonitorURL2()
throws NotSupportedException
NotSupportedException - if the method is not implemented for an index
WcmException
public String getDetailsMonitorURL3()
throws NotSupportedException
NotSupportedException - if the method is not implemented for an index
WcmException
public String getDetailsMonitorPageURL()
throws NotSupportedException
NotSupportedException - if the method is not implemented for an index
WcmException
public String getDetailsMonitorPageText(Locale locale)
throws NotSupportedException
NotSupportedException - if the method is not implemented for an index
WcmException
public String[] getFrameSizes()
throws NotSupportedException
NotSupportedException - if the method is not implemented for an index
WcmException
public AbstractIndex.ErrorState getErrorState(double errorThreshold,
double warningThreshold,
Locale locale)
throws NotSupportedException
errorThreshold - warningThreshold - locale -
NotSupportedException - if the method is not implemented for an index
public AbstractIndex.RunningState getRunningState()
throws WcmException
NotSupportedException - if the method is not implemented for an index
WcmException
public int getNumberOfSuccessfullyIndexedDocs()
throws WcmException
NotSupportedException - if the method is not implemented for an index
WcmException
public int getNumberOfDocumentsInQueue()
throws WcmException
NotSupportedException - if the method is not implemented for an index
WcmException
public int getNumberOfErrors()
throws WcmException
NotSupportedException - if the method is not implemented for an index
WcmException
public long getActiveTime()
throws WcmException
NotSupportedException - if the method is not implemented for an index
WcmExceptionpublic AbstractIndex.WhatToIndex getWhatToIndex()
public void setWhatToIndex(String s)
setWhatToIndex in interface IIndexs - public String getWhatToIndexString()
getWhatToIndexString in interface IIndexpublic boolean typeShouldBeIndexed(IResource res)
typeShouldBeIndexed in interface IIndexres -
public static PropertyName getDisplayNameAsStringPropName()
throws ResourceException
ResourceException
public static PropertyName getIndexFolderRidPropName()
throws ResourceException
ResourceException
public void suspendAll()
throws WcmException
NotSupportedException - if the method is not implemented for an index
WcmException
public void resumeAll()
throws WcmException
NotSupportedException - if the method is not implemented for an index
WcmException
public void stopAll()
throws WcmException
NotSupportedException - if the method is not implemented for an index
WcmException
public void restartAll()
throws WcmException
NotSupportedException - if the method is not implemented for an index
WcmExceptionpublic static boolean indexStringAttributeAsString(IMetaName metaName)
metaName -
public boolean indexInternalLinks()
indexInternalLinks in interface IIndex
public boolean flush(RID rid,
int counter)
throws WcmException
rid - counter -
WcmException
public void flushAsync(RID rid,
int counter)
throws WcmException
rid - counter -
WcmException
public void flush()
throws WcmException
WcmException
public void flushAsync()
throws WcmException
WcmException
public static Map getHiddenIndexIds()
throws ResourceException
ResourceExceptionpublic boolean indexContentOfExternalLinks()
public IPropertyMap getPropertiesForHiddenResource(RID rid)
throws WcmException
rid -
WcmException
public IContent getContent(RID rid)
throws WcmException
WcmException
public Collection getOriginalContent(IRidList ridList)
throws WcmException
ridList -
WcmException
public int getNumberOfIndexedDocuments(IIndexFolder indexFolder,
IResourceContext context)
throws NotSupportedException
indexFolder - context -
NotSupportedException - if the method is not implemented by the index type.public RID getHiddenIndexAreaStartRid()
public DefaultIMSecurityManager getSecManager()
throws ResourceException
ResourceException
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||