public abstract class MapPermissionTicketAdapter<K extends Comparable<K>> extends AbstractPermissionTicketModel<MapPermissionTicketEntity<K>>
PermissionTicket.FilterOption, PermissionTicket.SearchableFieldsentity, 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, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIdpublic MapPermissionTicketAdapter(MapPermissionTicketEntity<K> entity, StoreFactory storeFactory)
public String getOwner()
PermissionTicketpublic String getRequester()
public Resource getResource()
PermissionTicketResource associated with this instanceResource associated with this instancepublic Scope getScope()
PermissionTicketScope associated with this instanceScope associated with this instancepublic boolean isGranted()
public Long getCreatedTimestamp()
public Long getGrantedTimestamp()
public void setGrantedTimestamp(Long millis)
public ResourceServer getResourceServer()
PermissionTicketResourceServer where this policy belongs to.public Policy getPolicy()
public void setPolicy(Policy policy)
Copyright © 2021 JBoss by Red Hat. All rights reserved.