Class OrganizationIdentityProvider

java.lang.Object
org.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.services.organization.User>
org.exoplatform.social.core.identity.provider.OrganizationIdentityProvider

public class OrganizationIdentityProvider extends org.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.services.organization.User>
The Class OrganizationIdentityProvider.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The Constant NAME.
  • Constructor Summary

    Constructors
    Constructor
    Description
    OrganizationIdentityProvider(org.exoplatform.services.organization.OrganizationService organizationService)
    Instantiates a new organization identity provider.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.exoplatform.social.core.identity.model.Identity
    createIdentity(org.exoplatform.services.organization.User user)
    org.exoplatform.services.organization.User
    Deprecated, for removal: This API element is subject to removal in a future version.
    Will be removed
     
    void
    onUpdateProfile(org.exoplatform.social.core.identity.model.Profile profile)
    Synchronizes profile's changes to user's information.
    void
    populateProfile(org.exoplatform.social.core.identity.model.Profile profile, org.exoplatform.services.organization.User user)

    Methods inherited from class org.exoplatform.social.core.identity.IdentityProvider

    getIdentityByRemoteId, onSaveIdentity, onSaveProfile

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • OrganizationIdentityProvider

      public OrganizationIdentityProvider(org.exoplatform.services.organization.OrganizationService organizationService)
      Instantiates a new organization identity provider.
      Parameters:
      organizationService - the organization service
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in class org.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.services.organization.User>
    • getAllUserId

      @Deprecated(forRemoval=true, since="the begining") public List<String> getAllUserId()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Will be removed
      Return only 500 maximum users for this duplicated method.
      Overrides:
      getAllUserId in class org.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.services.organization.User>
      Returns:
      list of string containing user names.
    • findByRemoteId

      public org.exoplatform.services.organization.User findByRemoteId(String remoteId)
      Specified by:
      findByRemoteId in class org.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.services.organization.User>
    • createIdentity

      public org.exoplatform.social.core.identity.model.Identity createIdentity(org.exoplatform.services.organization.User user)
      Specified by:
      createIdentity in class org.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.services.organization.User>
    • populateProfile

      public void populateProfile(org.exoplatform.social.core.identity.model.Profile profile, org.exoplatform.services.organization.User user)
      Specified by:
      populateProfile in class org.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.services.organization.User>
    • onUpdateProfile

      public void onUpdateProfile(org.exoplatform.social.core.identity.model.Profile profile)
      Synchronizes profile's changes to user's information.
      Overrides:
      onUpdateProfile in class org.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.services.organization.User>
      Parameters:
      profile -