C# Class SenseNet.Search.Indexing.DocumentPopulator

Inheritance: IIndexPopulator
Mostra file Open project: maxpavlov/FlexNet Class Usage Examples

Public Methods

Method Description
BeginPopulateNode ( Node node, NodeSaveSettings settings, string originalPath, string newPath ) : object
ClearAndPopulateAll ( ) : void
CommitPopulateNode ( object data, IndexDocumentData indexDocument = null ) : void
DeleteForest ( IEnumerable idSet, bool moveOrRename ) : void
DeleteForest ( IEnumerable pathSet, bool moveOrRename ) : void
DeleteTree ( string path, bool moveOrRename ) : void
PopulateTree ( string path ) : void
RefreshIndex ( IEnumerable nodes ) : void
RefreshIndex ( Node node, bool recursive ) : void
RefreshIndexDocumentInfo ( IEnumerable nodes ) : void
RefreshIndexDocumentInfo ( Node node, bool recursive ) : void
RepopulateTree ( string path ) : void

Protected Methods

Method Description
OnNodeIndexed ( string path ) : void

Private Methods

Method Description
AddNewVersion ( Node newVersion, IndexDocumentData indexDocumentData ) : void
CreateActivity ( IndexingActivityType type, int nodeId, int versionId, long versionTimestamp, bool singleVersion, IndexDocumentData indexDocumentData ) : IndexingActivity
CreateActivity ( IndexingActivityType type, string path, bool moveOrRename, IndexDocumentData indexDocumentData ) : IndexingActivity
CreateActivityAndExecute ( IndexingActivityType type, int nodeId, int versionId, long versionTimestamp, bool singleVersion, IndexDocumentData indexDocumentData ) : void
CreateActivityAndExecute ( IndexingActivityType type, string path, bool moveOrRename, IndexDocumentData indexDocumentData ) : void
CreateBrandNewNode ( Node node, IndexDocumentData indexDocumentData ) : void
ExecuteActivity ( IndexingActivity activity ) : void
GetVersions ( Node node ) : IEnumerable
RefreshIndexDocumentInfoOneNode ( Node node ) : void
RefreshIndexOneNode ( Node node ) : void
UpdateVersion ( DocumentPopulatorData state, IndexDocumentData indexDocumentData ) : void

Method Details

BeginPopulateNode() public method

public BeginPopulateNode ( Node node, NodeSaveSettings settings, string originalPath, string newPath ) : object
node Node
settings SenseNet.ContentRepository.Storage.NodeSaveSettings
originalPath string
newPath string
return object

ClearAndPopulateAll() public method

public ClearAndPopulateAll ( ) : void
return void

CommitPopulateNode() public method

public CommitPopulateNode ( object data, IndexDocumentData indexDocument = null ) : void
data object
indexDocument IndexDocumentData
return void

DeleteForest() public method

public DeleteForest ( IEnumerable idSet, bool moveOrRename ) : void
idSet IEnumerable
moveOrRename bool
return void

DeleteForest() public method

public DeleteForest ( IEnumerable pathSet, bool moveOrRename ) : void
pathSet IEnumerable
moveOrRename bool
return void

DeleteTree() public method

public DeleteTree ( string path, bool moveOrRename ) : void
path string
moveOrRename bool
return void

OnNodeIndexed() protected method

protected OnNodeIndexed ( string path ) : void
path string
return void

PopulateTree() public method

public PopulateTree ( string path ) : void
path string
return void

RefreshIndex() public method

public RefreshIndex ( IEnumerable nodes ) : void
nodes IEnumerable
return void

RefreshIndex() public method

public RefreshIndex ( Node node, bool recursive ) : void
node Node
recursive bool
return void

RefreshIndexDocumentInfo() public method

public RefreshIndexDocumentInfo ( IEnumerable nodes ) : void
nodes IEnumerable
return void

RefreshIndexDocumentInfo() public method

public RefreshIndexDocumentInfo ( Node node, bool recursive ) : void
node Node
recursive bool
return void

RepopulateTree() public method

public RepopulateTree ( string path ) : void
path string
return void