C# Class Ecologylab.BigSemantics.Actions.FilterLocation

Inheritance: SemanticOperation
Show file Open project: ecologylab/BigSemanticsCSharp

Public Methods

Method Description
GetOperationName ( ) : String
HandleError ( ) : void
Perform ( Object obj ) : Object

Extract location ParsedURL parameters into a HashMap. Let ParamOps operate on this Map. Derive a new ParsedURL using the base of the original location's ParsedURL and the transformed parameter map. If the new ParsedURL is different than the old one, make the old one an additional location for this, and add the transformed ParsedURL to the DocumentLocationMap.

If the location changes, then reconnect to the new one.

Method Details

GetOperationName() public method

public GetOperationName ( ) : String
return String

HandleError() public method

public HandleError ( ) : void
return void

Perform() public method

Extract location ParsedURL parameters into a HashMap. Let ParamOps operate on this Map. Derive a new ParsedURL using the base of the original location's ParsedURL and the transformed parameter map. If the new ParsedURL is different than the old one, make the old one an additional location for this, and add the transformed ParsedURL to the DocumentLocationMap.

If the location changes, then reconnect to the new one.

public Perform ( Object obj ) : Object
obj Object
return Object