Class IdentityProvidersPartialImport

  • All Implemented Interfaces:
    PartialImport<org.keycloak.representations.idm.IdentityProviderRepresentation>

    public class IdentityProvidersPartialImport
    extends AbstractPartialImport<org.keycloak.representations.idm.IdentityProviderRepresentation>
    PartialImport handler for Identitiy Providers.
    Author:
    Stan Silvert [email protected] (C) 2016 Red Hat Inc.
    • Constructor Detail

      • IdentityProvidersPartialImport

        public IdentityProvidersPartialImport()
    • Method Detail

      • getRepList

        public List<org.keycloak.representations.idm.IdentityProviderRepresentation> getRepList​(org.keycloak.representations.idm.PartialImportRepresentation partialImportRep)
        Specified by:
        getRepList in class AbstractPartialImport<org.keycloak.representations.idm.IdentityProviderRepresentation>
      • getName

        public String getName​(org.keycloak.representations.idm.IdentityProviderRepresentation idpRep)
        Specified by:
        getName in class AbstractPartialImport<org.keycloak.representations.idm.IdentityProviderRepresentation>
      • getModelId

        public String getModelId​(org.keycloak.models.RealmModel realm,
                                 org.keycloak.models.KeycloakSession session,
                                 org.keycloak.representations.idm.IdentityProviderRepresentation idpRep)
        Specified by:
        getModelId in class AbstractPartialImport<org.keycloak.representations.idm.IdentityProviderRepresentation>
      • exists

        public boolean exists​(org.keycloak.models.RealmModel realm,
                              org.keycloak.models.KeycloakSession session,
                              org.keycloak.representations.idm.IdentityProviderRepresentation idpRep)
        Specified by:
        exists in class AbstractPartialImport<org.keycloak.representations.idm.IdentityProviderRepresentation>
      • existsMessage

        public String existsMessage​(org.keycloak.models.RealmModel realm,
                                    org.keycloak.representations.idm.IdentityProviderRepresentation idpRep)
        Specified by:
        existsMessage in class AbstractPartialImport<org.keycloak.representations.idm.IdentityProviderRepresentation>
      • remove

        public void remove​(org.keycloak.models.RealmModel realm,
                           org.keycloak.models.KeycloakSession session,
                           org.keycloak.representations.idm.IdentityProviderRepresentation idpRep)
        Specified by:
        remove in class AbstractPartialImport<org.keycloak.representations.idm.IdentityProviderRepresentation>
      • create

        public void create​(org.keycloak.models.RealmModel realm,
                           org.keycloak.models.KeycloakSession session,
                           org.keycloak.representations.idm.IdentityProviderRepresentation idpRep)
        Specified by:
        create in class AbstractPartialImport<org.keycloak.representations.idm.IdentityProviderRepresentation>