org.identityconnectors.flatfile
Class FlatFileConnector

java.lang.Object
  extended by org.identityconnectors.flatfile.FlatFileConnector
All Implemented Interfaces:
Connector, SchemaOp, SearchOp<String>, SPIOperation

public class FlatFileConnector
extends Object
implements Connector, SearchOp<String>, SchemaOp

Only implements search since this connector is only used to do sync.


Constructor Summary
FlatFileConnector()
           
 
Method Summary
 FilterTranslator<String> createFilterTranslator(ObjectClass oclass, OperationOptions options)
           
 void dispose()
          Nothing to do since there's not resources used.
 void executeQuery(ObjectClass oclass, String query, ResultsHandler handler, OperationOptions options)
          Searches for objects to return based on the filter provided with offset and limit features.
 Configuration getConfiguration()
           
 void init(Configuration cfg)
          Saves the configuration for use in later calls.
 Schema schema()
          Read the header from the file and determine the attributes for the account object this resource supports.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlatFileConnector

public FlatFileConnector()
Method Detail

getConfiguration

public Configuration getConfiguration()
Specified by:
getConfiguration in interface Connector

init

public void init(Configuration cfg)
Saves the configuration for use in later calls.

Specified by:
init in interface Connector
See Also:
org.identityconnectors.framework.Connector#init(org.identityconnectors.framework.Configuration)

dispose

public void dispose()
Nothing to do since there's not resources used.

Specified by:
dispose in interface Connector
See Also:
org.identityconnectors.framework.Connector#dispose()

schema

public Schema schema()
Read the header from the file and determine the attributes for the account object this resource supports.

Specified by:
schema in interface SchemaOp
See Also:
org.identityconnectors.framework.Connector#getSupportedObjectTypes()

createFilterTranslator

public FilterTranslator<String> createFilterTranslator(ObjectClass oclass,
                                                       OperationOptions options)
Specified by:
createFilterTranslator in interface SearchOp<String>

executeQuery

public void executeQuery(ObjectClass oclass,
                         String query,
                         ResultsHandler handler,
                         OperationOptions options)
Searches for objects to return based on the filter provided with offset and limit features.

Specified by:
executeQuery in interface SearchOp<String>


Copyright © 2011. All Rights Reserved.