C# Class CmisSync.Lib.SelectiveIgnore.IgnoredEntitiesStorage

Ignored entities storage.
Inheritance: IIgnoredEntitiesStorage
Show file Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

Method Description
Add ( IIgnoredEntity ignore ) : void

Add the specified ignore to the given collection

AddOrUpdateEntryAndDeleteAllChildrenFromStorage ( IIgnoredEntity e ) : void

Adds or update an entry and deletes all children from storage.

IgnoredEntitiesStorage ( IIgnoredEntitiesCollection collection, IMetaDataStorage storage ) : System

Initializes a new instance of the CmisSync.Lib.SelectiveIgnore.IgnoredEntitiesStorage class.

IsIgnored ( IDocument doc ) : IgnoredState

Determines whether the given Document is ignored.

IsIgnored ( IFolder folder ) : IgnoredState

Determines whether the given folder is ignored.

IsIgnoredId ( string objectId ) : IgnoredState

Determines whether the object with the given objectId is ignored.

IsIgnoredPath ( string localPath ) : IgnoredState

Determines whether this the ignored path is ignored.

Remove ( IIgnoredEntity ignore ) : void

Remove the specified ignore form the given collection

Remove ( string objectId ) : void

Remove the specified objectId from the given collection

Method Details

Add() public method

Add the specified ignore to the given collection
public Add ( IIgnoredEntity ignore ) : void
ignore IIgnoredEntity Ignored entity.
return void

AddOrUpdateEntryAndDeleteAllChildrenFromStorage() public method

Adds or update an entry and deletes all children from storage.
public AddOrUpdateEntryAndDeleteAllChildrenFromStorage ( IIgnoredEntity e ) : void
e IIgnoredEntity Ignored Entity.
return void

IgnoredEntitiesStorage() public method

Initializes a new instance of the CmisSync.Lib.SelectiveIgnore.IgnoredEntitiesStorage class.
public IgnoredEntitiesStorage ( IIgnoredEntitiesCollection collection, IMetaDataStorage storage ) : System
collection IIgnoredEntitiesCollection Ignored entries collection.
storage IMetaDataStorage Meta data storage.
return System

IsIgnored() public method

Determines whether the given Document is ignored.
public IsIgnored ( IDocument doc ) : IgnoredState
doc IDocument Document to be checked.
return IgnoredState

IsIgnored() public method

Determines whether the given folder is ignored.
public IsIgnored ( IFolder folder ) : IgnoredState
folder IFolder Folder to be checked.
return IgnoredState

IsIgnoredId() public method

Determines whether the object with the given objectId is ignored.
public IsIgnoredId ( string objectId ) : IgnoredState
objectId string Object identifier.
return IgnoredState

IsIgnoredPath() public method

Determines whether this the ignored path is ignored.
public IsIgnoredPath ( string localPath ) : IgnoredState
localPath string Local path.
return IgnoredState

Remove() public method

Remove the specified ignore form the given collection
public Remove ( IIgnoredEntity ignore ) : void
ignore IIgnoredEntity Ignored entity.
return void

Remove() public method

Remove the specified objectId from the given collection
public Remove ( string objectId ) : void
objectId string Object identifier.
return void