org.connid.csvdir
Class CSVDirConnector

java.lang.Object
  extended by org.connid.csvdir.CSVDirConnector
All Implemented Interfaces:
org.identityconnectors.framework.spi.Connector, org.identityconnectors.framework.spi.operations.AuthenticateOp, org.identityconnectors.framework.spi.operations.CreateOp, org.identityconnectors.framework.spi.operations.DeleteOp, org.identityconnectors.framework.spi.operations.SchemaOp, org.identityconnectors.framework.spi.operations.SearchOp<org.identityconnectors.dbcommon.FilterWhereBuilder>, org.identityconnectors.framework.spi.operations.SPIOperation, org.identityconnectors.framework.spi.operations.SyncOp, org.identityconnectors.framework.spi.operations.TestOp, org.identityconnectors.framework.spi.operations.UpdateOp

public class CSVDirConnector
extends Object
implements org.identityconnectors.framework.spi.Connector, org.identityconnectors.framework.spi.operations.SearchOp<org.identityconnectors.dbcommon.FilterWhereBuilder>, org.identityconnectors.framework.spi.operations.SchemaOp, org.identityconnectors.framework.spi.operations.SyncOp, org.identityconnectors.framework.spi.operations.CreateOp, org.identityconnectors.framework.spi.operations.UpdateOp, org.identityconnectors.framework.spi.operations.DeleteOp, org.identityconnectors.framework.spi.operations.AuthenticateOp, org.identityconnectors.framework.spi.operations.TestOp

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


Constructor Summary
CSVDirConnector()
           
 
Method Summary
 org.identityconnectors.framework.common.objects.Uid authenticate(org.identityconnectors.framework.common.objects.ObjectClass objectClass, String username, org.identityconnectors.common.security.GuardedString password, org.identityconnectors.framework.common.objects.OperationOptions options)
           
 org.identityconnectors.framework.common.objects.Uid create(org.identityconnectors.framework.common.objects.ObjectClass oc, Set<org.identityconnectors.framework.common.objects.Attribute> set, org.identityconnectors.framework.common.objects.OperationOptions oo)
           
 org.identityconnectors.framework.common.objects.filter.FilterTranslator<org.identityconnectors.dbcommon.FilterWhereBuilder> createFilterTranslator(org.identityconnectors.framework.common.objects.ObjectClass oclass, org.identityconnectors.framework.common.objects.OperationOptions options)
           
 void delete(org.identityconnectors.framework.common.objects.ObjectClass oc, org.identityconnectors.framework.common.objects.Uid uid, org.identityconnectors.framework.common.objects.OperationOptions oo)
           
 void dispose()
           
 void executeQuery(org.identityconnectors.framework.common.objects.ObjectClass oclass, org.identityconnectors.dbcommon.FilterWhereBuilder where, org.identityconnectors.framework.common.objects.ResultsHandler handler, org.identityconnectors.framework.common.objects.OperationOptions options)
           
 org.identityconnectors.framework.spi.Configuration getConfiguration()
           
 org.identityconnectors.framework.common.objects.SyncToken getLatestSyncToken(org.identityconnectors.framework.common.objects.ObjectClass objectClass)
           
 void init(org.identityconnectors.framework.spi.Configuration cfg)
           
 org.identityconnectors.framework.common.objects.Schema schema()
           
 void sync(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.SyncToken syncToken, org.identityconnectors.framework.common.objects.SyncResultsHandler handler, org.identityconnectors.framework.common.objects.OperationOptions options)
           
 void test()
           
 org.identityconnectors.framework.common.objects.Uid update(org.identityconnectors.framework.common.objects.ObjectClass oc, org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> set, org.identityconnectors.framework.common.objects.OperationOptions oo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVDirConnector

public CSVDirConnector()
Method Detail

getConfiguration

public final org.identityconnectors.framework.spi.Configuration getConfiguration()
Specified by:
getConfiguration in interface org.identityconnectors.framework.spi.Connector

init

public final void init(org.identityconnectors.framework.spi.Configuration cfg)
Specified by:
init in interface org.identityconnectors.framework.spi.Connector
Parameters:
cfg - Saves the configuration for use in later calls.
See Also:
org.identityconnectors.framework.Connector#init( org.identityconnectors.framework.Configuration)

schema

public final org.identityconnectors.framework.common.objects.Schema schema()
Specified by:
schema in interface org.identityconnectors.framework.spi.operations.SchemaOp

createFilterTranslator

public final org.identityconnectors.framework.common.objects.filter.FilterTranslator<org.identityconnectors.dbcommon.FilterWhereBuilder> 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<org.identityconnectors.dbcommon.FilterWhereBuilder>

executeQuery

public final void executeQuery(org.identityconnectors.framework.common.objects.ObjectClass oclass,
                               org.identityconnectors.dbcommon.FilterWhereBuilder where,
                               org.identityconnectors.framework.common.objects.ResultsHandler handler,
                               org.identityconnectors.framework.common.objects.OperationOptions options)
Specified by:
executeQuery in interface org.identityconnectors.framework.spi.operations.SearchOp<org.identityconnectors.dbcommon.FilterWhereBuilder>

sync

public final void sync(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
                       org.identityconnectors.framework.common.objects.SyncToken syncToken,
                       org.identityconnectors.framework.common.objects.SyncResultsHandler handler,
                       org.identityconnectors.framework.common.objects.OperationOptions options)
Specified by:
sync in interface org.identityconnectors.framework.spi.operations.SyncOp

getLatestSyncToken

public final org.identityconnectors.framework.common.objects.SyncToken getLatestSyncToken(org.identityconnectors.framework.common.objects.ObjectClass objectClass)
Specified by:
getLatestSyncToken in interface org.identityconnectors.framework.spi.operations.SyncOp

dispose

public void dispose()
Specified by:
dispose in interface org.identityconnectors.framework.spi.Connector

create

public final org.identityconnectors.framework.common.objects.Uid create(org.identityconnectors.framework.common.objects.ObjectClass oc,
                                                                        Set<org.identityconnectors.framework.common.objects.Attribute> set,
                                                                        org.identityconnectors.framework.common.objects.OperationOptions oo)
Specified by:
create in interface org.identityconnectors.framework.spi.operations.CreateOp

update

public final org.identityconnectors.framework.common.objects.Uid update(org.identityconnectors.framework.common.objects.ObjectClass oc,
                                                                        org.identityconnectors.framework.common.objects.Uid uid,
                                                                        Set<org.identityconnectors.framework.common.objects.Attribute> set,
                                                                        org.identityconnectors.framework.common.objects.OperationOptions oo)
Specified by:
update in interface org.identityconnectors.framework.spi.operations.UpdateOp

delete

public final void delete(org.identityconnectors.framework.common.objects.ObjectClass oc,
                         org.identityconnectors.framework.common.objects.Uid uid,
                         org.identityconnectors.framework.common.objects.OperationOptions oo)
Specified by:
delete in interface org.identityconnectors.framework.spi.operations.DeleteOp

authenticate

public org.identityconnectors.framework.common.objects.Uid authenticate(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
                                                                        String username,
                                                                        org.identityconnectors.common.security.GuardedString password,
                                                                        org.identityconnectors.framework.common.objects.OperationOptions options)
Specified by:
authenticate in interface org.identityconnectors.framework.spi.operations.AuthenticateOp

test

public final void test()
Specified by:
test in interface org.identityconnectors.framework.spi.operations.TestOp


Copyright © 2012. All Rights Reserved.