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 voidcreate(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep)booleanexists(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep)StringexistsMessage(RealmModel realm, GroupRepresentation groupRep)StringgetModelId(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep)StringgetName(GroupRepresentation group)List<GroupRepresentation>getRepList(PartialImportRepresentation partialImportRep)ResourceTypegetResourceType()voidremove(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:
getRepListin classAbstractPartialImport<GroupRepresentation>
-
getName
public String getName(GroupRepresentation group)
- Specified by:
getNamein classAbstractPartialImport<GroupRepresentation>
-
getModelId
public String getModelId(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep)
- Specified by:
getModelIdin classAbstractPartialImport<GroupRepresentation>
-
exists
public boolean exists(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep)
- Specified by:
existsin classAbstractPartialImport<GroupRepresentation>
-
existsMessage
public String existsMessage(RealmModel realm, GroupRepresentation groupRep)
- Specified by:
existsMessagein classAbstractPartialImport<GroupRepresentation>
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classAbstractPartialImport<GroupRepresentation>
-
remove
public void remove(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep)
- Specified by:
removein classAbstractPartialImport<GroupRepresentation>
-
create
public void create(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep)
- Specified by:
createin classAbstractPartialImport<GroupRepresentation>
-
-