Package org.keycloak.partialimport
Class IdentityProvidersPartialImport
- java.lang.Object
-
- org.keycloak.partialimport.AbstractPartialImport<IdentityProviderRepresentation>
-
- org.keycloak.partialimport.IdentityProvidersPartialImport
-
- All Implemented Interfaces:
PartialImport<IdentityProviderRepresentation>
public class IdentityProvidersPartialImport extends AbstractPartialImport<IdentityProviderRepresentation>
PartialImport handler for Identitiy Providers.- Author:
- Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc.
-
-
Field Summary
-
Fields inherited from class org.keycloak.partialimport.AbstractPartialImport
toOverwrite, toSkip
-
-
Constructor Summary
Constructors Constructor Description IdentityProvidersPartialImport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(RealmModel realm, KeycloakSession session, IdentityProviderRepresentation idpRep)
boolean
exists(RealmModel realm, KeycloakSession session, IdentityProviderRepresentation idpRep)
String
existsMessage(RealmModel realm, IdentityProviderRepresentation idpRep)
String
getModelId(RealmModel realm, KeycloakSession session, IdentityProviderRepresentation idpRep)
String
getName(IdentityProviderRepresentation idpRep)
List<IdentityProviderRepresentation>
getRepList(PartialImportRepresentation partialImportRep)
ResourceType
getResourceType()
void
remove(RealmModel realm, KeycloakSession session, IdentityProviderRepresentation idpRep)
-
Methods inherited from class org.keycloak.partialimport.AbstractPartialImport
added, doImport, existsError, overwritten, prepare, removeOverwrites, skipped
-
-
-
-
Method Detail
-
getRepList
public List<IdentityProviderRepresentation> getRepList(PartialImportRepresentation partialImportRep)
- Specified by:
getRepList
in classAbstractPartialImport<IdentityProviderRepresentation>
-
getName
public String getName(IdentityProviderRepresentation idpRep)
- Specified by:
getName
in classAbstractPartialImport<IdentityProviderRepresentation>
-
getModelId
public String getModelId(RealmModel realm, KeycloakSession session, IdentityProviderRepresentation idpRep)
- Specified by:
getModelId
in classAbstractPartialImport<IdentityProviderRepresentation>
-
exists
public boolean exists(RealmModel realm, KeycloakSession session, IdentityProviderRepresentation idpRep)
- Specified by:
exists
in classAbstractPartialImport<IdentityProviderRepresentation>
-
existsMessage
public String existsMessage(RealmModel realm, IdentityProviderRepresentation idpRep)
- Specified by:
existsMessage
in classAbstractPartialImport<IdentityProviderRepresentation>
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceType
in classAbstractPartialImport<IdentityProviderRepresentation>
-
remove
public void remove(RealmModel realm, KeycloakSession session, IdentityProviderRepresentation idpRep)
- Specified by:
remove
in classAbstractPartialImport<IdentityProviderRepresentation>
-
create
public void create(RealmModel realm, KeycloakSession session, IdentityProviderRepresentation idpRep)
- Specified by:
create
in classAbstractPartialImport<IdentityProviderRepresentation>
-
-