| |
|
| java.lang.Object org.opencms.search.CmsSearchIndexUpdateData
CmsSearchIndexUpdateData | public class CmsSearchIndexUpdateData (Code) | | A collection of resources for the incremental update of a search index.
author: Alexander Kandzior version: $Revision: 1.5 $ since: 6.0.1 |
CmsSearchIndexUpdateData | public CmsSearchIndexUpdateData(CmsSearchIndexSource source, I_CmsIndexer indexer)(Code) | | Creates a new instance of an update collection.
Parameters: source - the search index source of this update collection Parameters: indexer - the indexer of this update collection |
addResourceToDelete | public void addResourceToDelete(CmsPublishedResource resource)(Code) | | Adds the given resource to the resources that must be deleted from the search index.
Parameters: resource - the resource to add |
addResourceToUpdate | public void addResourceToUpdate(CmsPublishedResource resource)(Code) | | Adds the given resource to the resources that must be updated in the search index.
Parameters: resource - the resource to add |
getIndexer | public I_CmsIndexer getIndexer()(Code) | | Returns the indexer of this update collection.
the indexer of this update collection |
getSource | public CmsSearchIndexSource getSource()(Code) | | Returns the search index source of this update collection.
the search index source of this update collection |
hasResourceToUpdate | public boolean hasResourceToUpdate()(Code) | | Returns true if this collections contains resources to update.
true if this collections contains resources to update |
hasResourcesToDelete | public boolean hasResourcesToDelete()(Code) | | Returns true if this collections contains resources to delete.
true if this collections contains resources to delete |
isEmpty | public boolean isEmpty()(Code) | | Returns true if this collections contains no resources to update or delete.
true if this collections contains no resources to update or delete |
|
|
|