Class BaseGroupsAdapter<U extends UserIdentityModel,​G extends GroupIdentityModel>

java.lang.Object
com.exclamationlabs.connid.base.connector.adapter.BaseAdapter<U,​G>
com.exclamationlabs.connid.base.connector.adapter.BaseGroupsAdapter<U,​G>

public abstract class BaseGroupsAdapter<U extends UserIdentityModel,​G extends GroupIdentityModel>
extends BaseAdapter<U,​G>
Base groups adapter that needs to be subclassed in order to map a specific group model data type to ConnId attributes and vice versa. This extends BaseAdapter so that the Adapter has composition and can reference the driver.
  • Constructor Summary

    Constructors 
    Constructor Description
    BaseGroupsAdapter()  
  • Method Summary

    Modifier and Type Method Description
    protected abstract org.identityconnectors.framework.common.objects.ConnectorObject constructConnectorObject​(G modelType)  
    protected abstract G constructGroup​(Set<org.identityconnectors.framework.common.objects.Attribute> attributes, boolean creation)  
    org.identityconnectors.framework.common.objects.Uid create​(Set<org.identityconnectors.framework.common.objects.Attribute> attributes)
    Service a request from IAM system to create the type on the destination system.
    void delete​(org.identityconnectors.framework.common.objects.Uid uid)
    Service a request from IAM system to delete the type on the destination system.
    void get​(String query, org.identityconnectors.framework.common.objects.ResultsHandler resultsHandler)
    Service a request from IAM to get one, some, or all items of a data type from the destination system.
    protected org.identityconnectors.framework.common.objects.ObjectClass getType()  
    org.identityconnectors.framework.common.objects.Uid update​(org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> attributes)
    Service a request from IAM system to update the type on the destination system.

    Methods inherited from class com.exclamationlabs.connid.base.connector.adapter.BaseAdapter

    getConnectorObjectBuilder, getDriver, queryAllRecords, setDriver

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • constructGroup

      protected abstract G constructGroup​(Set<org.identityconnectors.framework.common.objects.Attribute> attributes, boolean creation)
    • constructConnectorObject

      protected abstract org.identityconnectors.framework.common.objects.ConnectorObject constructConnectorObject​(G modelType)
    • getType

      protected org.identityconnectors.framework.common.objects.ObjectClass getType()
      Specified by:
      getType in class BaseAdapter<U extends UserIdentityModel,​G extends GroupIdentityModel>
    • create

      public org.identityconnectors.framework.common.objects.Uid create​(Set<org.identityconnectors.framework.common.objects.Attribute> attributes)
      Description copied from class: BaseAdapter
      Service a request from IAM system to create the type on the destination system.
      Specified by:
      create in class BaseAdapter<U extends UserIdentityModel,​G extends GroupIdentityModel>
      Parameters:
      attributes - Attributes from IAM system that map to data elements needed by the destination system for type creation.
      Returns:
      new unique identifier for newly created type
    • update

      public org.identityconnectors.framework.common.objects.Uid update​(org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> attributes)
      Description copied from class: BaseAdapter
      Service a request from IAM system to update the type on the destination system.
      Specified by:
      update in class BaseAdapter<U extends UserIdentityModel,​G extends GroupIdentityModel>
      Parameters:
      uid - Unique identifier for the data item being updated.
      attributes - Attributes from IAM system that map to data elements supported by the destination system to update the type.
      Returns:
      unique identifier applicable to the type that was just updated
    • delete

      public void delete​(org.identityconnectors.framework.common.objects.Uid uid)
      Description copied from class: BaseAdapter
      Service a request from IAM system to delete the type on the destination system.
      Specified by:
      delete in class BaseAdapter<U extends UserIdentityModel,​G extends GroupIdentityModel>
      Parameters:
      uid - Unique identifier for the data item to be deleted.
    • get

      public void get​(String query, org.identityconnectors.framework.common.objects.ResultsHandler resultsHandler)
      Description copied from class: BaseAdapter
      Service a request from IAM to get one, some, or all items of a data type from the destination system.
      Specified by:
      get in class BaseAdapter<U extends UserIdentityModel,​G extends GroupIdentityModel>
      Parameters:
      query - Query string to help identify which item(s) need to be retrieved.
      resultsHandler - ConnId ResultsHandler object used to send result data back to IAM system.