wt.federation
Interface QuerySpecTranslator

All Known Implementing Classes:
DirectoryQuerySpecTranslator, IESQLQuerySpecTranslator

public interface QuerySpecTranslator

This interface defines the attributes and methods required of a class that implements translation of wt.query.QuerySpec objects to strings representing search filters in foreign systems, especially systems accessed via Info*Engine.

Supported API: true

Extendable: false


Method Summary
 void setService(FederatedService service)
          Associate a FederatedService with the translator instance.
 String translateQuerySpec(QuerySpec qs)
          Return a string representing a search filter that returns objects matching the specified QuerySpec.
 

Method Detail

translateQuerySpec

public String translateQuerySpec(QuerySpec qs)
                          throws FederationServicesException
Return a string representing a search filter that returns objects matching the specified QuerySpec.

Supported API: true

Parameters:
qs -
Returns:
String
Throws:
FederationServicesException

setService

public void setService(FederatedService service)
Associate a FederatedService with the translator instance.

Supported API: true

Parameters:
service -