public class MapPermissionTicketAdapter extends AbstractPermissionTicketModel<MapPermissionTicketEntity>
PermissionTicket.FilterOption, PermissionTicket.SearchableFieldsentity, storeFactory| Constructor and Description |
|---|
MapPermissionTicketAdapter(MapPermissionTicketEntity entity,
StoreFactory storeFactory) |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCreatedTimestamp() |
Long |
getGrantedTimestamp() |
String |
getId()
Returns the unique identifier for this instance.
|
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, hashCodepublic MapPermissionTicketAdapter(MapPermissionTicketEntity entity, StoreFactory storeFactory)
public String getId()
PermissionTicketpublic 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.