|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.identityconnectors.framework.impl.api.AbstractConnectorFacade
public abstract class AbstractConnectorFacade
Implements all the methods of the facade
| Field Summary |
|---|
| Fields inherited from interface org.identityconnectors.framework.api.operations.APIOperation |
|---|
NO_TIMEOUT |
| Constructor Summary | |
|---|---|
AbstractConnectorFacade(APIConfigurationImpl configuration)
Builds up the maps of supported operations and calls. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractConnectorFacade(APIConfigurationImpl configuration)
| Method Detail |
|---|
public final APIOperation getOperation(Class<? extends APIOperation> api)
getOperation in interface ConnectorFacadenull if the operation is not support otherwise
return an instance of the operation.ConnectorFacade.getOperation(java.lang.Class)public final Set<Class<? extends APIOperation>> getSupportedOperations()
getSupportedOperations in interface ConnectorFacadepublic final Schema schema()
schema in interface SchemaApiOp
public final Uid create(ObjectClass oclass,
Set<Attribute> attrs,
OperationOptions options)
create in interface CreateApiOp
public final void delete(ObjectClass objClass,
Uid uid,
OperationOptions options)
delete in interface DeleteApiOp
public final void search(ObjectClass oclass,
Filter filter,
ResultsHandler handler,
OperationOptions options)
search in interface SearchApiOp
public final Uid update(ObjectClass objclass,
Uid uid,
Set<Attribute> attrs,
OperationOptions options)
update in interface UpdateApiOp
public final Uid addAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> attrs,
OperationOptions options)
addAttributeValues in interface UpdateApiOp
public final Uid removeAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> attrs,
OperationOptions options)
removeAttributeValues in interface UpdateApiOp
public final Uid authenticate(ObjectClass objectClass,
String username,
GuardedString password,
OperationOptions options)
authenticate in interface AuthenticationApiOp
public final Uid resolveUsername(ObjectClass objectClass,
String username,
OperationOptions options)
resolveUsername in interface ResolveUsernameApiOp
public final Object runScriptOnConnector(ScriptContext request,
OperationOptions options)
runScriptOnConnector in interface ScriptOnConnectorApiOp
public final Object runScriptOnResource(ScriptContext request,
OperationOptions options)
runScriptOnResource in interface ScriptOnResourceApiOp
public final ConnectorObject getObject(ObjectClass objClass,
Uid uid,
OperationOptions options)
getObject in interface GetApiOppublic final void test()
test in interface TestApiOppublic final void validate()
validate in interface ValidateApiOp
public final void sync(ObjectClass objClass,
SyncToken token,
SyncResultsHandler handler,
OperationOptions options)
sync in interface SyncApiOppublic final SyncToken getLatestSyncToken(ObjectClass objectClass)
getLatestSyncToken in interface SyncApiOp
protected APIOperation newAPIOperationProxy(Class<? extends APIOperation> api,
InvocationHandler handler)
APIOperation proxy given a handler.
protected abstract APIOperation getOperationImplementation(Class<? extends APIOperation> api)
api - The operation to implement.
protected final APIConfigurationImpl getAPIConfiguration()
protected final APIOperation createTimeoutProxy(Class<? extends APIOperation> api,
APIOperation target)
api - The operationtarget - The underlying object
protected final APIOperation createLoggingProxy(Class<? extends APIOperation> api,
APIOperation target)
api - target -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||