Class MapResourceEntityImpl.Empty
- java.lang.Object
-
- org.keycloak.models.map.common.UpdatableEntity.Impl
-
- org.keycloak.models.map.authorization.entity.MapResourceEntity.AbstractMapResourceEntity
-
- org.keycloak.models.map.authorization.entity.MapResourceEntityImpl.Empty
-
- All Implemented Interfaces:
MapResourceEntity
,AbstractEntity
,EntityWithAttributes
,UpdatableEntity
- Enclosing class:
- MapResourceEntityImpl
public static class MapResourceEntityImpl.Empty extends MapResourceEntity.AbstractMapResourceEntity implements MapResourceEntity
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.authorization.entity.MapResourceEntity
MapResourceEntity.AbstractMapResourceEntity
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Field Summary
Fields Modifier and Type Field Description static MapResourceEntityImpl.Empty
INSTANCE
-
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated
-
-
Constructor Summary
Constructors Constructor Description Empty()
-
Method Summary
-
Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
clearUpdatedFlag
-
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
-
-
-
-
Field Detail
-
INSTANCE
public static final MapResourceEntityImpl.Empty INSTANCE
-
-
Method Detail
-
setId
public void setId(String id)
- Specified by:
setId
in interfaceAbstractEntity
- Overrides:
setId
in classMapResourceEntity.AbstractMapResourceEntity
-
getId
public String getId()
- Specified by:
getId
in interfaceAbstractEntity
- Overrides:
getId
in classMapResourceEntity.AbstractMapResourceEntity
-
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
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceMapResourceEntity
-
setDisplayName
public void setDisplayName(String displayName)
- Specified by:
setDisplayName
in interfaceMapResourceEntity
-
getIconUri
public String getIconUri()
- Specified by:
getIconUri
in interfaceMapResourceEntity
-
setIconUri
public void setIconUri(String iconUri)
- Specified by:
setIconUri
in interfaceMapResourceEntity
-
getName
public String getName()
- Specified by:
getName
in interfaceMapResourceEntity
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceMapResourceEntity
-
getOwner
public String getOwner()
- Specified by:
getOwner
in interfaceMapResourceEntity
-
setOwner
public void setOwner(String owner)
- Specified by:
setOwner
in interfaceMapResourceEntity
-
isOwnerManagedAccess
public Boolean isOwnerManagedAccess()
- Specified by:
isOwnerManagedAccess
in interfaceMapResourceEntity
-
setOwnerManagedAccess
public void setOwnerManagedAccess(Boolean ownerManagedAccess)
- Specified by:
setOwnerManagedAccess
in interfaceMapResourceEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmId
in interfaceMapResourceEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmId
in interfaceMapResourceEntity
-
setResourceServerId
public void setResourceServerId(String resourceServerId)
- Specified by:
setResourceServerId
in interfaceMapResourceEntity
-
getResourceServerId
public String getResourceServerId()
- Specified by:
getResourceServerId
in interfaceMapResourceEntity
-
getScopeIds
public Set<String> getScopeIds()
- Specified by:
getScopeIds
in interfaceMapResourceEntity
-
setScopeIds
public void setScopeIds(Set<String> scopeIds)
- Specified by:
setScopeIds
in interfaceMapResourceEntity
-
getType
public String getType()
- Specified by:
getType
in interfaceMapResourceEntity
-
setType
public void setType(String type)
- Specified by:
setType
in interfaceMapResourceEntity
-
setUris
public void setUris(Set<String> uris)
- Specified by:
setUris
in interfaceMapResourceEntity
-
getUris
public Set<String> getUris()
- Specified by:
getUris
in interfaceMapResourceEntity
-
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
- Overrides:
isUpdated
in classUpdatableEntity.Impl
- Returns:
-
-