public abstract class AbstractConnectorFacade extends Object implements org.identityconnectors.framework.api.ConnectorFacade
| Constructor and Description |
|---|
AbstractConnectorFacade(APIConfigurationImpl configuration)
Builds up the maps of supported operations and calls.
|
AbstractConnectorFacade(String configuration,
AbstractConnectorInfo connectorInfo)
Builds up the maps of supported operations and calls.
|
| Modifier and Type | Method and Description |
|---|---|
org.identityconnectors.framework.common.objects.Uid |
addAttributeValues(org.identityconnectors.framework.common.objects.ObjectClass objclass,
org.identityconnectors.framework.common.objects.Uid uid,
Set<org.identityconnectors.framework.common.objects.Attribute> attrs,
org.identityconnectors.framework.common.objects.OperationOptions options) |
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 objectClass,
Set<org.identityconnectors.framework.common.objects.Attribute> createAttributes,
org.identityconnectors.framework.common.objects.OperationOptions options) |
protected org.identityconnectors.framework.api.operations.APIOperation |
createLoggingProxy(Class<? extends org.identityconnectors.framework.api.operations.APIOperation> api,
org.identityconnectors.framework.api.operations.APIOperation target)
Creates a logging proxy.
|
protected org.identityconnectors.framework.api.operations.APIOperation |
createTimeoutProxy(Class<? extends org.identityconnectors.framework.api.operations.APIOperation> api,
org.identityconnectors.framework.api.operations.APIOperation target)
Creates the timeout proxy for the given operation.
|
void |
delete(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
org.identityconnectors.framework.common.objects.Uid uid,
org.identityconnectors.framework.common.objects.OperationOptions options) |
protected APIConfigurationImpl |
getAPIConfiguration() |
String |
getConnectorFacadeKey()
Gets the unique generated identifier of this ConnectorFacade.
|
org.identityconnectors.framework.common.objects.SyncToken |
getLatestSyncToken(org.identityconnectors.framework.common.objects.ObjectClass objectClass) |
org.identityconnectors.framework.common.objects.ConnectorObject |
getObject(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
org.identityconnectors.framework.common.objects.Uid uid,
org.identityconnectors.framework.common.objects.OperationOptions options) |
org.identityconnectors.framework.api.operations.APIOperation |
getOperation(Class<? extends org.identityconnectors.framework.api.operations.APIOperation> api)
Return an instance of an API operation.
|
protected abstract org.identityconnectors.framework.api.operations.APIOperation |
getOperationImplementation(Class<? extends org.identityconnectors.framework.api.operations.APIOperation> api)
Gets the implementation of the given operation.
|
Set<Class<? extends org.identityconnectors.framework.api.operations.APIOperation>> |
getSupportedOperations() |
protected org.identityconnectors.framework.api.operations.APIOperation |
newAPIOperationProxy(Class<? extends org.identityconnectors.framework.api.operations.APIOperation> api,
InvocationHandler handler)
Creates a new
APIOperation proxy given a handler. |
org.identityconnectors.framework.common.objects.Uid |
removeAttributeValues(org.identityconnectors.framework.common.objects.ObjectClass objclass,
org.identityconnectors.framework.common.objects.Uid uid,
Set<org.identityconnectors.framework.common.objects.Attribute> attrs,
org.identityconnectors.framework.common.objects.OperationOptions options) |
org.identityconnectors.framework.common.objects.Uid |
resolveUsername(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
String username,
org.identityconnectors.framework.common.objects.OperationOptions options) |
Object |
runScriptOnConnector(org.identityconnectors.framework.common.objects.ScriptContext request,
org.identityconnectors.framework.common.objects.OperationOptions options) |
Object |
runScriptOnResource(org.identityconnectors.framework.common.objects.ScriptContext request,
org.identityconnectors.framework.common.objects.OperationOptions options) |
org.identityconnectors.framework.common.objects.Schema |
schema() |
org.identityconnectors.framework.common.objects.SearchResult |
search(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
org.identityconnectors.framework.common.objects.filter.Filter filter,
org.identityconnectors.framework.common.objects.ResultsHandler handler,
org.identityconnectors.framework.common.objects.OperationOptions options) |
org.identityconnectors.framework.common.objects.SyncToken |
sync(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
org.identityconnectors.framework.common.objects.SyncToken token,
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 objectClass,
org.identityconnectors.framework.common.objects.Uid uid,
Set<org.identityconnectors.framework.common.objects.Attribute> attrs,
org.identityconnectors.framework.common.objects.OperationOptions options) |
Set<org.identityconnectors.framework.common.objects.AttributeDelta> |
updateDelta(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
org.identityconnectors.framework.common.objects.Uid uid,
Set<org.identityconnectors.framework.common.objects.AttributeDelta> attrsDelta,
org.identityconnectors.framework.common.objects.OperationOptions options) |
void |
validate() |
public AbstractConnectorFacade(APIConfigurationImpl configuration)
public AbstractConnectorFacade(String configuration, AbstractConnectorInfo connectorInfo)
public final org.identityconnectors.framework.api.operations.APIOperation getOperation(Class<? extends org.identityconnectors.framework.api.operations.APIOperation> api)
getOperation in interface org.identityconnectors.framework.api.ConnectorFacadenull if the operation is not support otherwise return an instance of the operation.ConnectorFacade.getOperation(java.lang.Class)public final String getConnectorFacadeKey()
getConnectorFacadeKey in interface org.identityconnectors.framework.api.ConnectorFacadepublic final Set<Class<? extends org.identityconnectors.framework.api.operations.APIOperation>> getSupportedOperations()
getSupportedOperations in interface org.identityconnectors.framework.api.ConnectorFacadepublic final org.identityconnectors.framework.common.objects.Schema schema()
schema in interface org.identityconnectors.framework.api.operations.SchemaApiOppublic final org.identityconnectors.framework.common.objects.Uid create(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
Set<org.identityconnectors.framework.common.objects.Attribute> createAttributes,
org.identityconnectors.framework.common.objects.OperationOptions options)
create in interface org.identityconnectors.framework.api.operations.CreateApiOppublic final void delete(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
org.identityconnectors.framework.common.objects.Uid uid,
org.identityconnectors.framework.common.objects.OperationOptions options)
delete in interface org.identityconnectors.framework.api.operations.DeleteApiOppublic final org.identityconnectors.framework.common.objects.SearchResult search(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
org.identityconnectors.framework.common.objects.filter.Filter filter,
org.identityconnectors.framework.common.objects.ResultsHandler handler,
org.identityconnectors.framework.common.objects.OperationOptions options)
search in interface org.identityconnectors.framework.api.operations.SearchApiOppublic final org.identityconnectors.framework.common.objects.Uid update(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
org.identityconnectors.framework.common.objects.Uid uid,
Set<org.identityconnectors.framework.common.objects.Attribute> attrs,
org.identityconnectors.framework.common.objects.OperationOptions options)
update in interface org.identityconnectors.framework.api.operations.UpdateApiOppublic final Set<org.identityconnectors.framework.common.objects.AttributeDelta> updateDelta(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.AttributeDelta> attrsDelta, org.identityconnectors.framework.common.objects.OperationOptions options)
updateDelta in interface org.identityconnectors.framework.api.operations.UpdateDeltaApiOppublic final org.identityconnectors.framework.common.objects.Uid addAttributeValues(org.identityconnectors.framework.common.objects.ObjectClass objclass,
org.identityconnectors.framework.common.objects.Uid uid,
Set<org.identityconnectors.framework.common.objects.Attribute> attrs,
org.identityconnectors.framework.common.objects.OperationOptions options)
addAttributeValues in interface org.identityconnectors.framework.api.operations.UpdateApiOppublic final org.identityconnectors.framework.common.objects.Uid removeAttributeValues(org.identityconnectors.framework.common.objects.ObjectClass objclass,
org.identityconnectors.framework.common.objects.Uid uid,
Set<org.identityconnectors.framework.common.objects.Attribute> attrs,
org.identityconnectors.framework.common.objects.OperationOptions options)
removeAttributeValues in interface org.identityconnectors.framework.api.operations.UpdateApiOppublic final 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)
authenticate in interface org.identityconnectors.framework.api.operations.AuthenticationApiOppublic final org.identityconnectors.framework.common.objects.Uid resolveUsername(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
String username,
org.identityconnectors.framework.common.objects.OperationOptions options)
resolveUsername in interface org.identityconnectors.framework.api.operations.ResolveUsernameApiOppublic final Object runScriptOnConnector(org.identityconnectors.framework.common.objects.ScriptContext request, org.identityconnectors.framework.common.objects.OperationOptions options)
runScriptOnConnector in interface org.identityconnectors.framework.api.operations.ScriptOnConnectorApiOppublic final Object runScriptOnResource(org.identityconnectors.framework.common.objects.ScriptContext request, org.identityconnectors.framework.common.objects.OperationOptions options)
runScriptOnResource in interface org.identityconnectors.framework.api.operations.ScriptOnResourceApiOppublic final org.identityconnectors.framework.common.objects.ConnectorObject getObject(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
org.identityconnectors.framework.common.objects.Uid uid,
org.identityconnectors.framework.common.objects.OperationOptions options)
getObject in interface org.identityconnectors.framework.api.operations.GetApiOppublic final void test()
test in interface org.identityconnectors.framework.api.operations.TestApiOppublic final void validate()
validate in interface org.identityconnectors.framework.api.operations.ValidateApiOppublic final org.identityconnectors.framework.common.objects.SyncToken sync(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
org.identityconnectors.framework.common.objects.SyncToken token,
org.identityconnectors.framework.common.objects.SyncResultsHandler handler,
org.identityconnectors.framework.common.objects.OperationOptions options)
sync in interface org.identityconnectors.framework.api.operations.SyncApiOppublic final org.identityconnectors.framework.common.objects.SyncToken getLatestSyncToken(org.identityconnectors.framework.common.objects.ObjectClass objectClass)
getLatestSyncToken in interface org.identityconnectors.framework.api.operations.SyncApiOpprotected org.identityconnectors.framework.api.operations.APIOperation newAPIOperationProxy(Class<? extends org.identityconnectors.framework.api.operations.APIOperation> api, InvocationHandler handler)
APIOperation proxy given a handler.protected abstract org.identityconnectors.framework.api.operations.APIOperation getOperationImplementation(Class<? extends org.identityconnectors.framework.api.operations.APIOperation> api)
api - The operation to implement.protected final APIConfigurationImpl getAPIConfiguration()
protected final org.identityconnectors.framework.api.operations.APIOperation createTimeoutProxy(Class<? extends org.identityconnectors.framework.api.operations.APIOperation> api, org.identityconnectors.framework.api.operations.APIOperation target)
api - The operationtarget - The underlying objectprotected final org.identityconnectors.framework.api.operations.APIOperation createLoggingProxy(Class<? extends org.identityconnectors.framework.api.operations.APIOperation> api, org.identityconnectors.framework.api.operations.APIOperation target)
api - The operationtarget - The underlying objectCopyright © 2018. All rights reserved.