org.identityconnectors.flatfile
Class FlatFileConnector

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

public class FlatFileConnector
extends Object
implements org.identityconnectors.framework.spi.Connector, org.identityconnectors.framework.spi.operations.SearchOp<String>, org.identityconnectors.framework.spi.operations.SchemaOp

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


Constructor Summary
FlatFileConnector()
           
 
Method Summary
 org.identityconnectors.framework.common.objects.filter.FilterTranslator<String> createFilterTranslator(org.identityconnectors.framework.common.objects.ObjectClass oclass, org.identityconnectors.framework.common.objects.OperationOptions options)
           
 void dispose()
          Nothing to do since there's not resources used.
 void executeQuery(org.identityconnectors.framework.common.objects.ObjectClass oclass, String query, org.identityconnectors.framework.common.objects.ResultsHandler handler, org.identityconnectors.framework.common.objects.OperationOptions options)
          Searches for objects to return based on the filter provided with offset and limit features.
 org.identityconnectors.framework.spi.Configuration getConfiguration()
           
 void init(org.identityconnectors.framework.spi.Configuration cfg)
          Saves the configuration for use in later calls.
 org.identityconnectors.framework.common.objects.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 org.identityconnectors.framework.spi.Configuration getConfiguration()
Specified by:
getConfiguration in interface org.identityconnectors.framework.spi.Connector

init

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

Specified by:
init in interface org.identityconnectors.framework.spi.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 org.identityconnectors.framework.spi.Connector
See Also:
org.identityconnectors.framework.Connector#dispose()

schema

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

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

createFilterTranslator

public org.identityconnectors.framework.common.objects.filter.FilterTranslator<String> createFilterTranslator(org.identityconnectors.framework.common.objects.ObjectClass oclass,
                                                                                                              org.identityconnectors.framework.common.objects.OperationOptions options)
Specified by:
createFilterTranslator in interface org.identityconnectors.framework.spi.operations.SearchOp<String>

executeQuery

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

Specified by:
executeQuery in interface org.identityconnectors.framework.spi.operations.SearchOp<String>


Copyright © 2011. All Rights Reserved.