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