Class ResourceEntity
- java.lang.Object
-
- org.keycloak.authorization.jpa.entities.ResourceEntity
-
@Entity public class ResourceEntity extends Object
- Author:
- Pedro Igor
-
-
Constructor Summary
Constructors Constructor Description ResourceEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Collection<ResourceAttributeEntity>
getAttributes()
String
getDisplayName()
String
getIconUri()
String
getId()
String
getName()
String
getOwner()
List<PolicyEntity>
getPolicies()
String
getResourceServer()
List<ScopeEntity>
getScopes()
String
getType()
Set<String>
getUris()
int
hashCode()
boolean
isOwnerManagedAccess()
void
setAttributes(Collection<ResourceAttributeEntity> attributes)
void
setDisplayName(String displayName)
void
setIconUri(String iconUri)
void
setId(String id)
void
setName(String name)
void
setOwner(String owner)
void
setOwnerManagedAccess(boolean ownerManagedAccess)
void
setPolicies(List<PolicyEntity> policies)
void
setResourceServer(String resourceServer)
void
setType(String type)
void
setUris(Set<String> uris)
-
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDisplayName
public String getDisplayName()
-
setDisplayName
public void setDisplayName(String displayName)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getScopes
public List<ScopeEntity> getScopes()
-
getIconUri
public String getIconUri()
-
setIconUri
public void setIconUri(String iconUri)
-
getResourceServer
public String getResourceServer()
-
setResourceServer
public void setResourceServer(String resourceServer)
-
getOwner
public String getOwner()
-
setOwner
public void setOwner(String owner)
-
setOwnerManagedAccess
public void setOwnerManagedAccess(boolean ownerManagedAccess)
-
isOwnerManagedAccess
public boolean isOwnerManagedAccess()
-
getPolicies
public List<PolicyEntity> getPolicies()
-
setPolicies
public void setPolicies(List<PolicyEntity> policies)
-
getAttributes
public Collection<ResourceAttributeEntity> getAttributes()
-
setAttributes
public void setAttributes(Collection<ResourceAttributeEntity> attributes)
-
-