C# Class CmisSync.Lib.Accumulator.RemoteObjectFetcher

Remote object fetcher.
Inheritance: SyncEventHandler
Show file Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

Method Description
Handle ( ISyncEvent e ) : bool

Handles the specified e.

RemoteObjectFetcher ( ISession session, IMetaDataStorage storage ) : System

Initializes a new instance of the RemoteObjectFetcher class. Fetches remote CMIS Objects and adds them to the handled events.

Private Methods

Method Description
FetchIdFromExtendedAttribute ( ISyncEvent e ) : string
FetchIdFromStorage ( ISyncEvent e ) : string
GetRemoteObject ( ISyncEvent e ) : ICmisObject
SetRemoteObject ( ISyncEvent e, ICmisObject remote ) : void

Method Details

Handle() public method

Handles the specified e.
public Handle ( ISyncEvent e ) : bool
e ISyncEvent sync events
return bool

RemoteObjectFetcher() public method

Initializes a new instance of the RemoteObjectFetcher class. Fetches remote CMIS Objects and adds them to the handled events.
public RemoteObjectFetcher ( ISession session, IMetaDataStorage storage ) : System
session ISession Session to be used.
storage IMetaDataStorage Storage to look for mapped objects.
return System