Package org.keycloak.partialimport
Class ClientsPartialImport
- java.lang.Object
-
- org.keycloak.partialimport.AbstractPartialImport<ClientRepresentation>
-
- org.keycloak.partialimport.ClientsPartialImport
-
- All Implemented Interfaces:
PartialImport<ClientRepresentation>
public class ClientsPartialImport extends AbstractPartialImport<ClientRepresentation>
PartialImport handler for Clients.- 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 ClientsPartialImport()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(RealmModel realm, KeycloakSession session, ClientRepresentation clientRep)
boolean
exists(RealmModel realm, KeycloakSession session, ClientRepresentation clientRep)
String
existsMessage(RealmModel realm, ClientRepresentation clientRep)
String
getModelId(RealmModel realm, KeycloakSession session, ClientRepresentation clientRep)
String
getName(ClientRepresentation clientRep)
List<ClientRepresentation>
getRepList(PartialImportRepresentation partialImportRep)
ResourceType
getResourceType()
static boolean
isInternalClient(String clientId)
void
remove(RealmModel realm, KeycloakSession session, ClientRepresentation clientRep)
-
Methods inherited from class org.keycloak.partialimport.AbstractPartialImport
added, doImport, existsError, overwritten, prepare, removeOverwrites, skipped
-
-
-
-
Method Detail
-
getRepList
public List<ClientRepresentation> getRepList(PartialImportRepresentation partialImportRep)
- Specified by:
getRepList
in classAbstractPartialImport<ClientRepresentation>
-
getName
public String getName(ClientRepresentation clientRep)
- Specified by:
getName
in classAbstractPartialImport<ClientRepresentation>
-
getModelId
public String getModelId(RealmModel realm, KeycloakSession session, ClientRepresentation clientRep)
- Specified by:
getModelId
in classAbstractPartialImport<ClientRepresentation>
-
exists
public boolean exists(RealmModel realm, KeycloakSession session, ClientRepresentation clientRep)
- Specified by:
exists
in classAbstractPartialImport<ClientRepresentation>
-
existsMessage
public String existsMessage(RealmModel realm, ClientRepresentation clientRep)
- Specified by:
existsMessage
in classAbstractPartialImport<ClientRepresentation>
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceType
in classAbstractPartialImport<ClientRepresentation>
-
remove
public void remove(RealmModel realm, KeycloakSession session, ClientRepresentation clientRep)
- Specified by:
remove
in classAbstractPartialImport<ClientRepresentation>
-
create
public void create(RealmModel realm, KeycloakSession session, ClientRepresentation clientRep)
- Specified by:
create
in classAbstractPartialImport<ClientRepresentation>
-
isInternalClient
public static boolean isInternalClient(String clientId)
-
-