Class LdapRoleEntity
java.lang.Object
org.keycloak.models.map.common.UpdatableEntity.Impl
org.keycloak.models.map.storage.ldap.role.entity.LdapRoleEntity
- All Implemented Interfaces:
EntityFieldDelegate<MapRoleEntity>
,UpdatableEntity
public class LdapRoleEntity
extends UpdatableEntity.Impl
implements EntityFieldDelegate<MapRoleEntity>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.delegate.EntityFieldDelegate
EntityFieldDelegate.WithEntity<E extends UpdatableEntity>
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
Field Summary
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated
-
Constructor Summary
ConstructorDescriptionLdapRoleEntity
(DeepCloner cloner, LdapMapRoleMapperConfig roleMapperConfig, LdapRoleMapStorage store, String clientId) LdapRoleEntity
(LdapMapObject ldapMapObject, LdapMapRoleMapperConfig roleMapperConfig, LdapRoleMapStorage store, String clientId) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCompositeRole
(String roleId) <T,
EF extends Enum<? extends EntityField<MapRoleEntity>> & EntityField<MapRoleEntity>>
voidcollectionAdd
(EF field, T value) <T,
EF extends Enum<? extends EntityField<MapRoleEntity>> & EntityField<MapRoleEntity>>
ObjectcollectionRemove
(EF field, T value) <EF extends Enum<? extends EntityField<MapRoleEntity>> & EntityField<MapRoleEntity>>
Objectget
(EF field) getAttribute
(String name) getId()
getName()
<K,
EF extends Enum<? extends EntityField<MapRoleEntity>> & EntityField<MapRoleEntity>>
ObjectmapGet
(EF field, K key) <K,
T, EF extends Enum<? extends EntityField<MapRoleEntity>> & EntityField<MapRoleEntity>>
voidmapPut
(EF field, K key, T value) <K,
EF extends Enum<? extends EntityField<MapRoleEntity>> & EntityField<MapRoleEntity>>
ObjectmapRemove
(EF field, K key) void
removeAttribute
(String name) void
removeCompositeRole
(String roleId) <T,
EF extends Enum<? extends EntityField<MapRoleEntity>> & EntityField<MapRoleEntity>>
voidset
(EF field, T value) void
setAttribute
(String name, List<String> value) void
setAttributes
(Map<String, List<String>> attributes) void
setClientId
(String clientId) void
setCompositeRoles
(Set<String> compositeRoles) void
setDescription
(String description) void
void
void
setRealmId
(String realmId) Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
clearUpdatedFlag, isUpdated, markUpdatedFlag
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag, isUpdated, markUpdatedFlag
-
Constructor Details
-
LdapRoleEntity
public LdapRoleEntity(DeepCloner cloner, LdapMapRoleMapperConfig roleMapperConfig, LdapRoleMapStorage store, String clientId) -
LdapRoleEntity
public LdapRoleEntity(LdapMapObject ldapMapObject, LdapMapRoleMapperConfig roleMapperConfig, LdapRoleMapStorage store, String clientId)
-
-
Method Details
-
getId
-
setId
-
getAttributes
-
setAttributes
-
getAttribute
-
setAttribute
-
removeAttribute
-
getRealmId
-
getClientId
-
getName
-
getDescription
-
setRealmId
-
setClientId
-
setName
-
setDescription
-
getCompositeRoles
-
setCompositeRoles
-
addCompositeRole
-
removeCompositeRole
-
getLdapMapObject
-
set
public <T,EF extends Enum<? extends EntityField<MapRoleEntity>> & EntityField<MapRoleEntity>> void set(EF field, T value) - Specified by:
set
in interfaceEntityFieldDelegate<MapRoleEntity>
-
collectionAdd
public <T,EF extends Enum<? extends EntityField<MapRoleEntity>> & EntityField<MapRoleEntity>> void collectionAdd(EF field, T value) - Specified by:
collectionAdd
in interfaceEntityFieldDelegate<MapRoleEntity>
-
collectionRemove
public <T,EF extends Enum<? extends EntityField<MapRoleEntity>> & EntityField<MapRoleEntity>> Object collectionRemove(EF field, T value) - Specified by:
collectionRemove
in interfaceEntityFieldDelegate<MapRoleEntity>
-
get
public <EF extends Enum<? extends EntityField<MapRoleEntity>> & EntityField<MapRoleEntity>> Object get(EF field) - Specified by:
get
in interfaceEntityFieldDelegate<MapRoleEntity>
-
mapGet
public <K,EF extends Enum<? extends EntityField<MapRoleEntity>> & EntityField<MapRoleEntity>> Object mapGet(EF field, K key) - Specified by:
mapGet
in interfaceEntityFieldDelegate<MapRoleEntity>
-
mapPut
public <K,T, void mapPutEF extends Enum<? extends EntityField<MapRoleEntity>> & EntityField<MapRoleEntity>> (EF field, K key, T value) - Specified by:
mapPut
in interfaceEntityFieldDelegate<MapRoleEntity>
-
mapRemove
public <K,EF extends Enum<? extends EntityField<MapRoleEntity>> & EntityField<MapRoleEntity>> Object mapRemove(EF field, K key) - Specified by:
mapRemove
in interfaceEntityFieldDelegate<MapRoleEntity>
-