Package org.keycloak.models.map.role
Class MapRoleEntityDelegate
- java.lang.Object
-
- org.keycloak.models.map.role.MapRoleEntityDelegate
-
- All Implemented Interfaces:
AbstractEntity
,HasDelegateProvider<MapRoleEntity>
,EntityWithAttributes
,UpdatableEntity
,MapRoleEntity
- Direct Known Subclasses:
JpaMapRoleEntityDelegate
@Generated("org.keycloak.models.map.processor.GenerateEntityImplementationsProcessor") public class MapRoleEntityDelegate extends Object implements MapRoleEntity, HasDelegateProvider<MapRoleEntity>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.role.MapRoleEntity
MapRoleEntity.AbstractRoleEntity
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Constructor Summary
Constructors Constructor Description MapRoleEntityDelegate(DelegateProvider<MapRoleEntity> delegateProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCompositeRole(String roleId)
List<String>
getAttribute(String name)
Map<String,List<String>>
getAttributes()
String
getClientId()
Set<String>
getCompositeRoles()
DelegateProvider<MapRoleEntity>
getDelegateProvider()
String
getDescription()
String
getId()
String
getName()
String
getRealmId()
boolean
isUpdated()
Flag signalizing that any of the setters has been meaningfully used.void
removeAttribute(String name)
void
removeCompositeRole(String roleId)
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
setId(String id)
void
setName(String name)
void
setRealmId(String realmId)
-
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
-
-
-
-
Constructor Detail
-
MapRoleEntityDelegate
public MapRoleEntityDelegate(DelegateProvider<MapRoleEntity> delegateProvider)
-
-
Method Detail
-
getDelegateProvider
public DelegateProvider<MapRoleEntity> getDelegateProvider()
- Specified by:
getDelegateProvider
in interfaceHasDelegateProvider<MapRoleEntity>
-
getAttributes
public Map<String,List<String>> getAttributes()
- Specified by:
getAttributes
in interfaceEntityWithAttributes
-
setAttributes
public void setAttributes(Map<String,List<String>> attributes)
- Specified by:
setAttributes
in interfaceEntityWithAttributes
-
getAttribute
public List<String> getAttribute(String name)
- Specified by:
getAttribute
in interfaceEntityWithAttributes
-
setAttribute
public void setAttribute(String name, List<String> value)
- Specified by:
setAttribute
in interfaceEntityWithAttributes
-
removeAttribute
public void removeAttribute(String name)
- Specified by:
removeAttribute
in interfaceEntityWithAttributes
-
isUpdated
public boolean isUpdated()
Description copied from interface:UpdatableEntity
Flag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdated
in interfaceUpdatableEntity
- Returns:
-
getId
public String getId()
- Specified by:
getId
in interfaceAbstractEntity
-
setId
public void setId(String id)
- Specified by:
setId
in interfaceAbstractEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmId
in interfaceMapRoleEntity
-
getClientId
public String getClientId()
- Specified by:
getClientId
in interfaceMapRoleEntity
-
getName
public String getName()
- Specified by:
getName
in interfaceMapRoleEntity
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceMapRoleEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmId
in interfaceMapRoleEntity
-
setClientId
public void setClientId(String clientId)
- Specified by:
setClientId
in interfaceMapRoleEntity
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceMapRoleEntity
-
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interfaceMapRoleEntity
-
getCompositeRoles
public Set<String> getCompositeRoles()
- Specified by:
getCompositeRoles
in interfaceMapRoleEntity
-
setCompositeRoles
public void setCompositeRoles(Set<String> compositeRoles)
- Specified by:
setCompositeRoles
in interfaceMapRoleEntity
-
addCompositeRole
public void addCompositeRole(String roleId)
- Specified by:
addCompositeRole
in interfaceMapRoleEntity
-
removeCompositeRole
public void removeCompositeRole(String roleId)
- Specified by:
removeCompositeRole
in interfaceMapRoleEntity
-
-