|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.evolveum.midpoint.provisioning.ucf.impl.ConnectorInstanceIcfImpl
public class ConnectorInstanceIcfImpl
Implementation of ConnectorInstance for ICF connectors. This class implements the ConnectorInstance interface. The methods are converting the data from the "midPoint semantics" as seen by the ConnectorInstance interface to the "ICF semantics" as seen by the ICF framework.
| Constructor Summary | |
|---|---|
ConnectorInstanceIcfImpl(org.identityconnectors.framework.api.ConnectorFacade connector,
ResourceType resource)
|
|
| Method Summary | |
|---|---|
java.util.Set<ResourceObjectAttribute> |
addObject(ResourceObject object,
java.util.Set<Operation> additionalOperations,
OperationResult parentResult)
TODO: This should return indication how the operation went, e.g. |
void |
deleteObject(javax.xml.namespace.QName objectClass,
java.util.Set<ResourceObjectAttribute> identifiers,
OperationResult parentResult)
|
Property |
deserializeToken(java.lang.Object serializedToken)
Creates a live Java object from a token previously serialized to string. |
java.util.List<Change> |
fetchChanges(javax.xml.namespace.QName objectClass,
Property lastToken,
OperationResult parentResult)
Token may be null. |
Property |
fetchCurrentToken(javax.xml.namespace.QName objectClass,
OperationResult parentResult)
Returns the latest token. |
ResourceObject |
fetchObject(javax.xml.namespace.QName objectClass,
java.util.Set<ResourceObjectAttribute> identifiers,
OperationResult parentResult)
Retrieves a specific object from the resource. |
ResourceObject |
fetchObject(ResourceObjectDefinition resourceObjectDefinition,
java.util.Set<ResourceObjectAttribute> identifiers,
OperationResult parentResult)
|
Schema |
fetchResourceSchema(OperationResult parentResult)
Retrieves schema from the resource. |
void |
modifyObject(javax.xml.namespace.QName objectClass,
java.util.Set<ResourceObjectAttribute> identifiers,
java.util.Set<Operation> changes,
OperationResult parentResult)
TODO: This should return indication how the operation went, e.g. |
void |
search(javax.xml.namespace.QName objectClass,
ResourceObjectDefinition definition,
ResultHandler handler,
OperationResult parentResult)
Execute iterative search operation. |
void |
test(OperationResult parentResult)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectorInstanceIcfImpl(org.identityconnectors.framework.api.ConnectorFacade connector,
ResourceType resource)
| Method Detail |
|---|
public Schema fetchResourceSchema(OperationResult parentResult)
throws CommunicationException,
GenericFrameworkException
fetchResourceSchema in interface ConnectorInstanceCommunicationException
GenericFrameworkExceptionSchema
public ResourceObject fetchObject(ResourceObjectDefinition resourceObjectDefinition,
java.util.Set<ResourceObjectAttribute> identifiers,
OperationResult parentResult)
throws ObjectNotFoundException,
CommunicationException,
GenericFrameworkException
fetchObject in interface ConnectorInstanceObjectNotFoundException
CommunicationException
GenericFrameworkException
public ResourceObject fetchObject(javax.xml.namespace.QName objectClass,
java.util.Set<ResourceObjectAttribute> identifiers,
OperationResult parentResult)
throws ObjectNotFoundException,
CommunicationException,
GenericFrameworkException
ConnectorInstance
fetchObject in interface ConnectorInstanceobjectClass - objectClass of the object to fetch (QName).identifiers - primary identifiers of the object.
CommunicationException - error in communication to the resource
- nothing was fetched.
ObjectNotFoundException
GenericFrameworkException
public java.util.Set<ResourceObjectAttribute> addObject(ResourceObject object,
java.util.Set<Operation> additionalOperations,
OperationResult parentResult)
throws CommunicationException,
GenericFrameworkException,
SchemaException,
ObjectAlreadyExistsException
ConnectorInstance
addObject in interface ConnectorInstanceCommunicationException
SchemaException - resource schema violation
ObjectAlreadyExistsException - object already exists on the resource
GenericFrameworkException
public void modifyObject(javax.xml.namespace.QName objectClass,
java.util.Set<ResourceObjectAttribute> identifiers,
java.util.Set<Operation> changes,
OperationResult parentResult)
throws ObjectNotFoundException,
CommunicationException,
GenericFrameworkException,
SchemaException
ConnectorInstance
modifyObject in interface ConnectorInstanceCommunicationException
SchemaException
ObjectNotFoundException
GenericFrameworkException
public void deleteObject(javax.xml.namespace.QName objectClass,
java.util.Set<ResourceObjectAttribute> identifiers,
OperationResult parentResult)
throws ObjectNotFoundException,
CommunicationException,
GenericFrameworkException
deleteObject in interface ConnectorInstanceObjectNotFoundException
CommunicationException
GenericFrameworkExceptionpublic Property deserializeToken(java.lang.Object serializedToken)
ConnectorInstance
deserializeToken in interface ConnectorInstance
public Property fetchCurrentToken(javax.xml.namespace.QName objectClass,
OperationResult parentResult)
throws CommunicationException,
GenericFrameworkException
ConnectorInstance
fetchCurrentToken in interface ConnectorInstanceCommunicationException
GenericFrameworkException
public java.util.List<Change> fetchChanges(javax.xml.namespace.QName objectClass,
Property lastToken,
OperationResult parentResult)
throws CommunicationException,
GenericFrameworkException,
SchemaException
ConnectorInstance
fetchChanges in interface ConnectorInstanceCommunicationException
GenericFrameworkException
SchemaExceptionpublic void test(OperationResult parentResult)
test in interface ConnectorInstance
public void search(javax.xml.namespace.QName objectClass,
ResourceObjectDefinition definition,
ResultHandler handler,
OperationResult parentResult)
throws CommunicationException,
GenericFrameworkException
ConnectorInstance
search in interface ConnectorInstanceCommunicationException
GenericFrameworkException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||