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
BROKER_PUBLIC, ORGANIZATION_ATTRIBUTE, ORGANIZATION_DOMAIN_ATTRIBUTE, ORGANIZATION_NAME_ATTRIBUTE
-
Constructor Summary
ConstructorDescriptionOrganizationAdapter
(RealmModel realm, OrganizationEntity entity, OrganizationProvider provider) OrganizationAdapter
(RealmModel realm, OrganizationProvider provider) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
getName()
int
hashCode()
boolean
boolean
void
setAttributes
(Map<String, List<String>> attributes) void
setDescription
(String description) void
setDomains
(Set<OrganizationDomainModel> domains) void
setEnabled
(boolean enabled) void
toString()
-
Constructor Details
-
OrganizationAdapter
-
OrganizationAdapter
public OrganizationAdapter(RealmModel realm, OrganizationEntity entity, OrganizationProvider provider)
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceOrganizationModel
-
setName
- Specified by:
setName
in interfaceOrganizationModel
-
getName
- Specified by:
getName
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
-
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
-
getEntity
- Specified by:
getEntity
in interfaceJpaModel<OrganizationEntity>
-
toString
-
equals
-
hashCode
public int hashCode()
-