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
Constructors Constructor Description LdapRoleEntity(DeepCloner cloner, LdapMapRoleMapperConfig roleMapperConfig, LdapRoleMapKeycloakTransaction transaction, String clientId)
LdapRoleEntity(LdapMapObject ldapMapObject, LdapMapRoleMapperConfig roleMapperConfig, LdapRoleMapKeycloakTransaction transaction, String clientId)
-
Method Summary
-
Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
clearUpdatedFlag, isUpdated
-
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
-
-
-
-
Constructor Detail
-
LdapRoleEntity
public LdapRoleEntity(DeepCloner cloner, LdapMapRoleMapperConfig roleMapperConfig, LdapRoleMapKeycloakTransaction transaction, String clientId)
-
LdapRoleEntity
public LdapRoleEntity(LdapMapObject ldapMapObject, LdapMapRoleMapperConfig roleMapperConfig, LdapRoleMapKeycloakTransaction transaction, String clientId)
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
removeAttribute
public void removeAttribute(String name)
-
getRealmId
public String getRealmId()
-
getClientId
public String getClientId()
-
getName
public String getName()
-
getDescription
public String getDescription()
-
setRealmId
public void setRealmId(String realmId)
-
setClientId
public void setClientId(String clientId)
-
setName
public void setName(String name)
-
setDescription
public void setDescription(String description)
-
addCompositeRole
public void addCompositeRole(String roleId)
-
removeCompositeRole
public void removeCompositeRole(String roleId)
-
getLdapMapObject
public LdapMapObject 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,EF extends Enum<? extends EntityField<MapRoleEntity>> & EntityField<MapRoleEntity>> void mapPut(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>
-
-