Package org.keycloak.organization.jpa
Class OrganizationAdapter
java.lang.Object
org.keycloak.organization.jpa.OrganizationAdapter
- All Implemented Interfaces:
JpaModel<OrganizationEntity>
,OrganizationModel
public final class OrganizationAdapter
extends Object
implements OrganizationModel, JpaModel<OrganizationEntity>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.OrganizationModel
OrganizationModel.IdentityProviderRedirectMode
-
Field Summary
Fields inherited from interface org.keycloak.models.OrganizationModel
ALIAS, ORGANIZATION_ATTRIBUTE, ORGANIZATION_DOMAIN_ATTRIBUTE, ORGANIZATION_NAME_ATTRIBUTE
-
Constructor Summary
ConstructorDescriptionOrganizationAdapter
(KeycloakSession session, RealmModel realm, OrganizationEntity entity, OrganizationProvider provider) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getAlias()
getId()
getName()
int
hashCode()
boolean
boolean
boolean
void
void
setAttributes
(Map<String, List<String>> attributes) void
setDescription
(String description) void
setDomains
(Set<OrganizationDomainModel> domains) void
setEnabled
(boolean enabled) void
void
setRedirectUrl
(String redirectUrl) toString()
-
Constructor Details
-
OrganizationAdapter
public OrganizationAdapter(KeycloakSession session, RealmModel realm, OrganizationEntity entity, OrganizationProvider provider)
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceOrganizationModel
-
getGroupId
-
setName
- Specified by:
setName
in interfaceOrganizationModel
-
getName
- Specified by:
getName
in interfaceOrganizationModel
-
getAlias
- Specified by:
getAlias
in interfaceOrganizationModel
-
setAlias
- Specified by:
setAlias
in interfaceOrganizationModel
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceOrganizationModel
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabled
in interfaceOrganizationModel
-
getDescription
- Specified by:
getDescription
in interfaceOrganizationModel
-
setDescription
- Specified by:
setDescription
in interfaceOrganizationModel
-
getRedirectUrl
- Specified by:
getRedirectUrl
in interfaceOrganizationModel
-
setRedirectUrl
- Specified by:
setRedirectUrl
in interfaceOrganizationModel
-
setAttributes
- Specified by:
setAttributes
in interfaceOrganizationModel
-
getAttributes
- Specified by:
getAttributes
in interfaceOrganizationModel
-
getDomains
- Specified by:
getDomains
in interfaceOrganizationModel
-
setDomains
- Specified by:
setDomains
in interfaceOrganizationModel
-
getIdentityProviders
- Specified by:
getIdentityProviders
in interfaceOrganizationModel
-
isManaged
- Specified by:
isManaged
in interfaceOrganizationModel
-
isMember
- Specified by:
isMember
in interfaceOrganizationModel
-
getEntity
- Specified by:
getEntity
in interfaceJpaModel<OrganizationEntity>
-
toString
-
equals
-
hashCode
public int hashCode()
-