public abstract class MapPermissionTicketAdapter<K extends Comparable<K>> extends AbstractPermissionTicketModel<MapPermissionTicketEntity<K>>
PermissionTicket.FilterOption, PermissionTicket.SearchableFields
entity, storeFactory
Constructor and Description |
---|
MapPermissionTicketAdapter(MapPermissionTicketEntity<K> entity,
StoreFactory storeFactory) |
Modifier and Type | Method and Description |
---|---|
Long |
getCreatedTimestamp() |
Long |
getGrantedTimestamp() |
String |
getOwner()
Returns the resource's owner, which is usually an identifier that uniquely identifies the resource's owner.
|
Policy |
getPolicy() |
String |
getRequester() |
Resource |
getResource()
Returns the
Resource associated with this instance |
ResourceServer |
getResourceServer()
Returns the
ResourceServer where this policy belongs to. |
Scope |
getScope()
Returns the
Scope associated with this instance |
boolean |
isGranted() |
void |
setGrantedTimestamp(Long millis) |
void |
setPolicy(Policy policy) |
String |
toString() |
equals, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId
public MapPermissionTicketAdapter(MapPermissionTicketEntity<K> entity, StoreFactory storeFactory)
public String getOwner()
PermissionTicket
public String getRequester()
public Resource getResource()
PermissionTicket
Resource
associated with this instanceResource
associated with this instancepublic Scope getScope()
PermissionTicket
Scope
associated with this instanceScope
associated with this instancepublic boolean isGranted()
public Long getCreatedTimestamp()
public Long getGrantedTimestamp()
public void setGrantedTimestamp(Long millis)
public ResourceServer getResourceServer()
PermissionTicket
ResourceServer
where this policy belongs to.public Policy getPolicy()
public void setPolicy(Policy policy)
Copyright © 2021 JBoss by Red Hat. All rights reserved.